[Python-ideas] Smoothing transition to Python 3

Random832 random832 at fastmail.com
Sat Jun 4 13:24:41 EDT 2016


On Fri, Jun 3, 2016, at 21:19, Chris Barker wrote:
> On Fri, Jun 3, 2016 at 5:41 PM, Random832 <random832 at fastmail.com> wrote:
> 
> > *Emacs has two concrete types: "byte strings" which can contain no
> > non-ASCII characters, and "unicode strings" which use UTF-8 (plus those
> > extra code points)
> 
> 
> Uhm, I'm confused, isn't the exactly what py3 has now? byte strings and
> unicode strings?
> 
> _maybe_ you want a little more interoperability, but those types are
> there.

Er, no, I'm talking about two concrete implementations of the abstract
string type. Same as how Python has four: ASCII, Latin-1, UCS-2, and
UCS-4.


More information about the Python-ideas mailing list