Message133733
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. |
|
Date |
User |
Action |
Args |
2011-04-14 12:56:37 | ezio.melotti | set | recipients:
+ ezio.melotti, lemburg, rhettinger, amaury.forgeotdarc, pitrou |
2011-04-14 12:56:37 | ezio.melotti | set | messageid: <1302785797.28.0.828421149704.issue5057@psf.upfronthosting.co.za> |
2011-04-14 12:56:36 | ezio.melotti | link | issue5057 messages |
2011-04-14 12:56:36 | ezio.melotti | create | |
|