Christian Heimes added the comment: The new patch does a far more better job. I had the idea after a discussion with Alexandre on #python and a small debugging session.
The tests for profile, cProfile and doctest are failing on my Linux box because Py_FileSystemDefaultEncoding is "UTF-8" but PyUnicode_Decode() has a shortcut for "utf-8" only. I've added a tolower loop and shortcuts for UTF-16 and UTF-32 to PyUnicode_Decode(). I've also disabled the tests on system with a fs encoding that isn't built in. ---------- nosy: +alexandre.vassalotti type: -> behavior Added file: http://bugs.python.org/file8584/py3k_profile_fix2.patches __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1302> __________________________________
py3k_profile_fix2.patches
Description: Binary data
_______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com