[issue5057] Unicode-width dependent optimization leads to non-portable pyc file

Serhiy Storchaka report at bugs.python.org
Sun Nov 4 22:40:09 CET 2012


Serhiy Storchaka added the comment:

issue5057-3.diff LGTM.

I added debug output in peepholer, ran tests and found that this optimization happened for unicode strings only in test_multibytecodec (where it used deliberately) and test_peepholer.  Seems as this is very rare case.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5057>
_______________________________________


More information about the Python-bugs-list mailing list