News for hackers. Stuff that matters.
Re:Moving Away from Python 2 by takeda on Friday May 20, 2016 @10:24PM (#11742883)
The biggest obstacle people seem to complain about (besides print, which is trivial IMO) is unicode. This is generally also the most painful part of making python 2 code work on python 3.

The issue with it is that from unicode perspective your python 2 code is inherently broken. There's no automated tool that can fix it, and there's no way python 5 will be able to run python 2 code correctly unless unicode support would be removed. You have to manually tell python which string is made of characters and which one was made out of bytes.

There are no comments on this comment yet.