Why has python3 been created as a seperate language where there is still python2.7 ?

Chris Angelico rosuav at gmail.com
Thu Jun 28 12:14:35 CEST 2012


On Thu, Jun 28, 2012 at 7:34 PM,  <wxjmfauth at gmail.com> wrote:
> On the other side, one can argue this (elegancy):
>
> b'a series of bytes'
> u'a unicode, a series of code points'

Alas, not perfectly so. A 'bytes' object and a 'unicode' object can be
described that way (with 'str' an alias for one or t'other), but
literal strings are never that simple. (Backslash escapes, delimiters,
newlines, etc, etc, etc.) However, it is a nice idea, to the extent
that it's possible.

ChrisA


More information about the Python-list mailing list