3 ms·
> Regarding 2to3 not being flawless: agree, could be better. The thing to remember though is that 2to3 will never be flawless. Since the underlying representat
by viraptor 10y ago
> Regarding 2to3 not being flawless: agree, could be better.
The thing to remember though is that 2to3 will never be flawless. Since the underlying representation of some things has been split into different types, it simply impossible to automatically fix some code.
For example a function returning the first letter read from a file object is going to be completely different and more explicit in py3 than it was in py2. And the end result it better. You have to fix some code now - tough.