On Wed, Feb 26, 2020 at 09:08:49AM -0600, Jerry Spicklemire wrote: > In other words, within the range of ASCII characters, the UTF8 representation > is identical to the ASCII representation. So, does that mean we can put the > 'u' > and 'b' prefix nightmares behind us? It would help some diehards finally make > the switch to v.3.X, in spite of the bad taste that lingers from > early attempts.
You can think of 'u' as being the default in python3 where 'b' was the default in python2 (not ascii) - but most stdlib functions would accept bytes as strings. So in python3, you don't need 'u' and you only occasionally need 'b' or to convert between the two. The defaults are generally better for the programming most people do imo. m -- Matt Billenstein m...@vazor.com http://www.vazor.com/ _______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev