2008/4/14, Michael Urman <[EMAIL PROTECTED]>:

> 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.
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to