[Python-Dev] RE: [Zope-Coders] core dump in Zope 2.7 test suite

Martin v. Löwis martin at v.loewis.de
Tue Sep 16 16:05:18 EDT 2003


"Tim Peters" <tim at zope.com> writes:

> Or is there an implicit assumption that Py_UNICODE is always an
> unsigned type (in which case, why isn't the literal 256U?

Likely, the author of the code was subconsciously assuming
so. However, that assumption is invalid, and sharing should only
happen for ordinals in range(256).

Regards,
Martin



More information about the Python-Dev mailing list