Marc-Andre Lemburg <m...@egenix.com> added the comment: Ezio Melotti wrote: > > Ezio Melotti <ezio.melo...@gmail.com> added the comment: > > 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.
Thank you. ---------- title: Unicode-width dependent optimization leads to non-portable pyc file -> Unicode-width dependent optimization leads to non-portable pyc file _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5057> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com