Change by Peter Ebden :
--
keywords: +patch
pull_requests: +8885
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue34722>
___
___
Py
Peter Ebden added the comment:
Thanks for the pointer, I'll have a bit more of a dig into it (although Serhiy
makes a good point too...).
--
___
Python tracker
<https://bugs.python.org/is
New submission from Peter Ebden :
We've found that the following code produces non-deterministic bytecode,
even post PEP-552:
def test(x):
if x in {'ONE', 'TWO', 'THREE'}:
pass
It's not too hard to test it:
$ python3.7 -m compileall --
New submission from Peter Ebden:
In Python 2.7.13, using zipfile.ZipFile to write into a file with some initial
preamble produces a zip file that cannot be read again by some zip
implementations.
Our use case is using pex (https://github.com/pantsbuild/pex) which writes a
zip that begins with