[issue3282] Undefined unicode characters should be non-printable

2008-07-04 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Should be fixed in r64701... -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue3282] Undefined unicode characters should be non-printable

2008-07-04 Thread Amaury Forgeot d'Arc
New submission from Amaury Forgeot d'Arc <[EMAIL PROTECTED]>: str.isprintable() returns True for undefined unicode code points: >>> c = "\ufffe" >>> unicodedata.category(c) 'Cn' # (Other, Not Assigned) >>> c.isprintable() True Same for "\u0242", "\ufb12"... The cause is probably in