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 thomaslee
Recipients thomaslee
Date 2007-10-11.12:20:47
SpamBayes Score 0.0049677496
Marked as misclassified No
Message-id <1192105247.69.0.759609123255.issue1263@psf.upfronthosting.co.za>
In-reply-to
Content
The main patch - while exactly what is needed to make str8/str equality
checks return False - breaks a bunch of tests due to PyString_* still
being used elsewhere when it should be using PyUnicode.

The second patch modifies structmember.c to use PyUnicode_* where it was
previously using PyString_*, which fixes the first problem I stumbled
across in trying to get test_unicode to run.

Unfortunately, similar errors are present in Python/codecs.c and other
places (maybe Python/modsupport.c too? not 100% sure yet) - these still
need to be fixed!
Files
File name Uploaded
unicode-string-eq-false-r2.patch thomaslee, 2007-10-11.12:20:47
History
Date User Action Args
2007-10-11 12:20:47thomasleesetspambayes_score: 0.00496775 -> 0.0049677496
recipients: + thomaslee
2007-10-11 12:20:47thomasleesetspambayes_score: 0.00496775 -> 0.00496775
messageid: <1192105247.69.0.759609123255.issue1263@psf.upfronthosting.co.za>
2007-10-11 12:20:47thomasleelinkissue1263 messages
2007-10-11 12:20:47thomasleecreate