Message149059
| Author |
vstinner |
| Recipients |
ezio.melotti, loewis, python-dev, skrah, vstinner |
| Date |
2011年12月08日.22:42:09 |
| SpamBayes Score |
3.919698e-11 |
| Marked as misclassified |
No |
| Message-id |
<1323384130.77.0.149073183875.issue13441@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年12月08日 22:42:10 | vstinner | set | recipients:
+ vstinner, loewis, ezio.melotti, skrah, python-dev |
| 2011年12月08日 22:42:10 | vstinner | set | messageid: <1323384130.77.0.149073183875.issue13441@psf.upfronthosting.co.za> |
| 2011年12月08日 22:42:10 | vstinner | link | issue13441 messages |
| 2011年12月08日 22:42:09 | vstinner | create |
|