[issue16414] Add support.NONASCII to test non-ASCII characters

STINNER Victor report at bugs.python.org
Tue Nov 6 00:10:47 CET 2012


STINNER Victor added the comment:

> I think you should ensure that os.fsdecode(os.fsencode(character)) == character.

Chosen characters respect this property, but it doesn't hurt to add such check.

> Can you use a name that reflects that this is a specific type
> of non-ASCII character having a special property (e.g. FS_NONASCII)?

Done.

----------
Added file: http://bugs.python.org/file27905/support_non_ascii-2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16414>
_______________________________________


More information about the Python-bugs-list mailing list