STINNER Victor added the comment:

> If NONASCII is None I suggest the followed fallback code

I prefer to not "brute force" Unicode because it would slow down any test, even 
tests not using FS_NONASCII. I wrote attached script to compute an 
exhaustive list of non-ASCII characters encodable to "any" locale encoding. My 
locale encoding list is not complete, but it should be enough for our purpose. 
The list can be completed later.

Added file:

Python tracker <>
Python-bugs-list mailing list

Reply via email to