[issue2630] repr() should not escape non-ASCII characters

atsuo ishimoto report at bugs.python.org
Tue Apr 15 14:19:59 CEST 2008


atsuo ishimoto <ishimoto at users.sourceforge.net> added the comment:

I revised a patch against Python 3.0a4.

- As-per suggestion from Michael Urman, unicode_repr() 
  refers unicode database to determine characters to be 
  hex-encoded.
  
- sys.stdout doesn't use 'backslashreplace'.

Added file: http://bugs.python.org/file10034/diff2.txt

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2630>
__________________________________


More information about the Python-bugs-list mailing list