[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2012-10-17 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea superseder: - test_local.TestEnUSCollection failures on Solaris 10 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13441 ___

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-12-09 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 2a2d0872d993 by Victor Stinner in branch 'default': Issue #13441: Skip some locales (e.g. cs_CZ and hu_HU) on Solaris to workaround http://hg.python.org/cpython/rev/2a2d0872d993 --

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-12-09 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 7ffe3d304487 by Victor Stinner in branch 'default': Issue #13441: Enable the workaround for Solaris locale bug http://hg.python.org/cpython/rev/7ffe3d304487 -- ___ Python

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-12-09 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I collected the locale list triggering the mbstowcs() bug thanks my previous commit: * hu_HU (ISO8859-2): character U+3020 * de_AT (ISO8859-1): character U+3076 * cs_CZ (ISO8859-2): character U+3020 * sk_SK

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-12-09 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: The Solaris buildbot is green, let's close it. I didn't report the bug upstream. Feel free to report it to Oracle! -- resolution: - fixed status: open - closed ___ Python tracker

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-12-08 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13441 ___ ___ Python-bugs-list

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-12-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: See also the issue #7442. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13441 ___

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-12-08 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: localeconv_wchar.c runs fine on Ubuntu with hu_HU and fi_FI. I tried on OpenSolaris, but I only have UTF-8 locales. The package with ISO locales seems to be SUNWlang-cs-extra, but Oracle took down http://pkg.opensolaris.org/release/ .

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-12-08 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 93bab8400ca5 by Victor Stinner in branch 'default': Issue #13441: Log the locale when localeconv() fails http://hg.python.org/cpython/rev/93bab8400ca5 -- ___ Python

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-12-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Changeset 489ea02ed351 changed PyUnicode_FromWideChar() and PyUnicode_FromUnicode(): raise a ValueError if a character in not in range [U+; U+10]. test__locale errors:

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-12-08 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 87c6be1e393a by Victor Stinner in branch 'default': Issue #13441: Don't test the hu_HU locale on Solaris to workaround a mbstowcs() http://hg.python.org/cpython/rev/87c6be1e393a --

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-12-07 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: localeconv_wchar.c: test program to dump the thousands separator on a locale specified on the command line. I wrote this program to try to reproduce the hu_HU issue, but I cannot reproduce it on OpenIndiana. I only have UTF-8

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-11-21 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Is Python supposed to support characters outside U+-U+10 range? No, they should be rejected. Allowing them in some specific places might cause them to leak somewhere else and cause problems, so I'd rather stick with that range

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-11-21 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset a19dad38d4e8 by Victor Stinner in branch 'default': Issue #13441: _PyUnicode_CheckConsistency() dumps the string if the maximum http://hg.python.org/cpython/rev/a19dad38d4e8 --

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-11-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: No, they should be rejected. Allowing them in some specific places might cause them to leak somewhere else and cause problems, so I'd rather stick with that range and reject all the chars U+10 everywhere. That's why I added

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-11-21 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset d1b3b1d00811 by Victor Stinner in branch 'default': Another temporary hack to debug the issue #13441 http://hg.python.org/cpython/rev/d1b3b1d00811 -- ___ Python tracker

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-11-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I dumped some values to try to debug this issue. Last failure in test__locale.test_lc_numeric_basic() on localeconv(): [ 25/361] test_float Decode localeconv() decimal_point: {0x2c} (len=1) Decode

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-11-21 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset acda16de630c by Victor Stinner in branch 'default': Remove temporary hacks for the issue #13441 http://hg.python.org/cpython/rev/acda16de630c -- ___ Python tracker

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-11-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Here is a more complete output. localeconv() fails in the hu_HU locale for the thousands_sep field: localeconv() returns b'\xa0' which is decoded as the wchar_t* string: {U+3020} (len=1). This is an invalid character

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-11-21 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: -pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13441 ___ ___ Python-bugs-list mailing

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-11-21 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset d6d15fcf5eb6 by Victor Stinner in branch 'default': Issue #13441: Reenable strxfrm() tests on Solaris http://hg.python.org/cpython/rev/d6d15fcf5eb6 -- ___ Python tracker

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-11-21 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 6f9af4e3c1db by Victor Stinner in branch 'default': Issue #13441: Disable temporary the check on the maximum character until http://hg.python.org/cpython/rev/6f9af4e3c1db --

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-11-20 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: I added a test in _PyUnicode_CheckConsistency() (in debug mode) to ensure that all characters of a string are in the range U+-U+10. Locale tests are now failing on Solaris: --- [ 28/361]

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-11-20 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 31baf1363ba1 by Victor Stinner in branch 'default': Issue #13441: Disable temporary strxfrm() tests on Solaris http://hg.python.org/cpython/rev/31baf1363ba1 -- nosy: +python-dev

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-11-20 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Is Python supposed to support characters outside U+-U+10 range? If not, PyUnicode_FromUnicode(), PyUnicode_FromWideChar() and PyUnicode_FromKindAndData() should be patched to raise an error if a bigger character is

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-11-20 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: strxfrm(buffer, a\0, 100) returns 21 (bytes) but only 2 bytes are written (\x01\x00). The next bytes are unchanged. Woops, it was a bug in my program. I attached the fixed version. The correct program writes: strxfrm: len=21

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-11-20 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file23741/strxfrm.c ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13441 ___

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-11-20 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 78123afb3ea4 by Victor Stinner in branch 'default': Issue #13441: Disable temporary localeconv() tests on Solaris http://hg.python.org/cpython/rev/78123afb3ea4 -- ___