3 ms·
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
by ekimekim 11y ago
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.
- aidos 11y agoBut Python 2 strings are bytes. So in Python 3 just use bytes everywhere. Or am I misunderstanding something?