News for hackers. Stuff that matters.
Re:Three Tales of Second System Syndrome by ekimekim on Monday May 04, 2015 @02:51PM (#9488220)
I'll get downvotes for this, but my reason for sticking with python2 isn't library support, it's that I prefer python2's strings. Sure, it made unicode handling less painful in cases where encodings are always known and everything should be in unicode, but it makes things much harder for people working with bytes interfaces that want to treat all non-ascii bytes agnostically.
Re:Three Tales of Second System Syndrome by aidos on Tuesday May 05, 2015 @04:19AM (#9491406)
But Python 2 strings are bytes. So in Python 3 just use bytes everywhere. Or am I misunderstanding something?