I've mailed Stefan about this some time ago.

I can reproduce this problem with

- system Python 2.6.2 from Fedora 12 in Linux 32 bits
- system Python 2.6.2 from Fedora 12 in Linux 64 bits
- system Python 2.6.4 from Fedora 13 in Linux 32 bits

but not with:

- system Python 3.1.2 from Fedora 13 in Linux 32 bits

In all cases, these system Pythons are wide unicode builds.

Additionally, I DO NOT get the failure with custom, debug, short
unicode Python builds from 2.3 to 3.2 on Linux 32.

Any clue? Could this issue be very specific to Py2.6 + wide-unicode?


======================================================================
FAIL: Doctest: unicodeliterals
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.6/doctest.py", line 2145, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for unicodeliterals
  File "/u/dalcinl/Devel/Cython/cython-devel/BUILD/run/c/unicodeliterals.so",
line 339, in unicodeliterals

----------------------------------------------------------------------
File "/u/dalcinl/Devel/Cython/cython-devel/BUILD/run/c/unicodeliterals.so",
line 408, in unicodeliterals
Failed example:
    if wide_literal == expected: print(True)
    else: print(repr(wide_literal), repr(expected), sys.maxunicode)
Expected:
    True
Got:
    ("u'\\U00101234'", "u'\\udbc4\\ude34'", 1114111)




-- 
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to