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)?


Added file:

Python tracker <>
Python-bugs-list mailing list

Reply via email to