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 brute.py 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: http://bugs.python.org/file27906/brute.py
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list