Re:The Case Against Python 3
by rtpg on Wednesday November 23, 2016 @01:33AM
(#13020568)
One major plus in the differences is that Python3 makes standard libraries always return text or bytes, instead of depending on the input to decide on the return type.
This( + no longer allowing "encoding" of bytes or "decoding" of unicode) means that you have a much higher chance of writing correct code when it comes to handling encodings.
This( + no longer allowing "encoding" of bytes or "decoding" of unicode) means that you have a much higher chance of writing correct code when it comes to handling encodings.