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> <http://bugs.python.org/issue16414> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com