Message133733
| 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. |
|