4 ms·
> Why try to create an inferior python 3? I think the point is -- it will not be an inferior python 3. It will be a python 2 with the best non-code-breaking p
by daveguy 10y ago
> Why try to create an inferior python 3?
I think the point is -- it will not be an inferior python 3.
It will be a python 2 with the best non-code-breaking parts of python 3. Sane byte handling + bug fixes - breaking changes.
That will make it a superior python 3.
- rcthompson 10y agoHow do you get sane byte handling without breaking backward compatibility? I thought that was the original reason for breaking compatibility in Py3k.
- daveguy 10y agoSane is py2. Default is bytes not some Unicode string. If you want Unicode use u"". If you want what is usually needed in algorithms (aka bytes) use "".
- mfukar 10y ago> what is usually needed in algorithms Depends what you're working with, obviously.
- cthalupa 10y agoIf you think py2 is the sane one, then you must work on a project where everything is written and communicated in bone standard roman characters. For the vast majority of the actual planet, this simply isn't the case.
- rcthompson 10y agoSo you admit that byte strings and Unicode strings are different data types, yet you claim that Python 2 is the sane one for choosing to both using exactly the same class?