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 ezio.melotti
Recipients amaury.forgeotdarc, ezio.melotti, lemburg, pitrou, rhettinger
Date 2011-04-14.12:56:36
SpamBayes Score 1.2408539e-05
Marked as misclassified No
Message-id <1302785797.28.0.828421149704.issue5057@psf.upfronthosting.co.za>
In-reply-to
Content
Here's a new patch that checks that newconst is not NULL and that it's a unicode object.
I added a test for the case where it's NULL.  I don't think it's possible to test the case when newconst is not unicode though, because unicode subclasses are not literals and don't get optimized in the first place.
History
Date User Action Args
2011-04-14 12:56:37ezio.melottisetrecipients: + ezio.melotti, lemburg, rhettinger, amaury.forgeotdarc, pitrou
2011-04-14 12:56:37ezio.melottisetmessageid: <1302785797.28.0.828421149704.issue5057@psf.upfronthosting.co.za>
2011-04-14 12:56:36ezio.melottilinkissue5057 messages
2011-04-14 12:56:36ezio.melotticreate