This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2010-05-18.23:50:19
SpamBayes Score 8.403886e-06
Marked as misclassified No
Message-id <1274226622.99.0.33307621938.issue8761@psf.upfronthosting.co.za>
In-reply-to
Content
In unicodeobject.h, you can see:

# define PyUnicode_CompareWithASCII PyUnicodeUCS2_CompareASCII
...
# define PyUnicode_CompareWithASCII PyUnicodeUCS4_CompareWithASCII
...
PyAPI_FUNC(int) PyUnicode_CompareWithASCIIString(
    PyObject *left,
    const char *right
    );

The defines miss the String suffix :-/

Attached patch adds the suffix but I guess that it breaks backward compatibility. Is it a problem to apply this patch in Python 3.2 (but not in Python 3.1)?
History
Date User Action Args
2010-05-18 23:50:23vstinnersetrecipients: + vstinner
2010-05-18 23:50:22vstinnersetmessageid: <1274226622.99.0.33307621938.issue8761@psf.upfronthosting.co.za>
2010-05-18 23:50:21vstinnerlinkissue8761 messages
2010-05-18 23:50:21vstinnercreate