STINNER Victor <victor.stin...@haypocalc.com> added the comment:

> ... which does not give the same result in UCS-2 and UCS-4 builds.
> As a result, the pyc file is not portable across those builds.

Since Python 3.2, the pyc filename contains a tag (u) to indicate wide build 
(sys.maxunicode==0x10FFFF), instead of narrow (sys.maxunicode==0xFFFF).

I think we can keep the optimizer for Python >= 3.2. I suppose that Python 3.1 
has the bug.

----------
nosy: +haypo
versions: +Python 3.1 -Python 3.2, Python 3.3

_______________________________________
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

Reply via email to