STINNER Victor <[email protected]> added the comment:
Changeset 489ea02ed351 changed PyUnicode_FromWideChar() and
PyUnicode_FromUnicode(): raise a ValueError if a character in not in range
[U+0000; U+10ffff].
test__locale errors:
======================================================================
ERROR: test_float_parsing (test.test__locale._LocaleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home2/buildbot/slave/3.x.loewis-sun/build/Lib/test/test__locale.py",
line 134, in test_float_parsing
if localeconv()['decimal_point'] != '.':
ValueError: character U+30000020 is not in range [U+0000; U+10ffff]
======================================================================
ERROR: test_lc_numeric_basic (test.test__locale._LocaleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home2/buildbot/slave/3.x.loewis-sun/build/Lib/test/test__locale.py",
line 105, in test_lc_numeric_basic
li_radixchar = localeconv()[lc]
ValueError: character U+30000020 is not in range [U+0000; U+10ffff]
======================================================================
ERROR: test_lc_numeric_localeconv (test.test__locale._LocaleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home2/buildbot/slave/3.x.loewis-sun/build/Lib/test/test__locale.py",
line 91, in test_lc_numeric_localeconv
self.numeric_tester('localeconv', localeconv()[lc], lc, loc)
ValueError: character U+30000020 is not in range [U+0000; U+10ffff]
======================================================================
ERROR: test_lc_numeric_nl_langinfo (test.test__locale._LocaleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home2/buildbot/slave/3.x.loewis-sun/build/Lib/test/test__locale.py",
line 79, in test_lc_numeric_nl_langinfo
self.numeric_tester('nl_langinfo', nl_langinfo(li), lc, loc)
ValueError: character U+30000020 is not in range [U+0000; U+10ffff]
----------------------------------------------------------------------
If the issue is specific to the hu_HU locale, a possible workaround is to skip
this locale on Solaris. I changed to test to display the locale on failure.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue13441>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com