[Python-3000] PEP 3138 - String representation in Python 3000

Nick Coghlan ncoghlan at gmail.com
Tue May 6 12:41:32 CEST 2008


Atsuo Ishimoto wrote:
> I've written a PEP for new string representation in Python 3000.

+1 from me - with this PEP in place getting the old repr() behaviour 
back is fairly straightforward (as shown in the PEP), but it's hard to 
get the unicode-friendly repr() behaviour any other way (because the 
current repr() loses too much information, as demonstrated fairly 
thoroughly in the python-dev thread that inspired the PEP).

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org


More information about the Python-3000 mailing list