Walter Dörwald <[EMAIL PROTECTED]> added the comment:

For a wide build, the code
        if (x <= 0xffff)
                *p++ = (Py_UNICODE) x;
        else {
                *p++ = (Py_UNIC0DE) x;

looks strange.

Furthermore with the patch applied Python no longer complains about
illegal code points:

>>> ur'\U11111111'
u'\u1c04\udd11'

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1477>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to