[issue7080] locale.strxfrm raises MemoryError

egreen report at bugs.python.org
Sat Oct 17 21:29:29 CEST 2009


egreen <egreen at operamail.com> added the comment:

I've added the tests.

I found that on Windows, strxfrm has been unavailable in py3k since
r61306, because of an omission in PC/pyconfig.h.  (cf. patch)

In determining whether I should first test for the existence of strcoll
(or strxfrm) in the locale module, as was done in TestMiscellaneous, I
found this is no longer needed in py3k since r61339.  (cf. patch)  (In
python2 such checks are still necessary.)

----------
Added file: http://bugs.python.org/file15158/strxfrm_fixes_and_collation_tests.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7080>
_______________________________________


More information about the Python-bugs-list mailing list