[Python-3000] Recursive str
atsuo ishimoto
ishimoto at gembook.org
Tue Apr 15 05:04:38 CEST 2008
2008/4/14, Michael Urman <murman at gmail.com>:
> This theory sounds good to me. Should it perhaps also convert Unicode
> whitespace and control characters (categories Z* and C*)? While these
> will often still be printable, like \n and \t they may not be
> distinguishable from some number of ASCII spaces in printed form.
It would be nice, but make result of repr() less predictable a bit,
since result
of repr() depends on version of Unicode spec, not Python language.
I'm not sure it is harmful or not, but having a list of characters converted
in repr() (e.g. sys.nonprintablechars) might help.
More information about the Python-3000
mailing list