bug#38043: Incorrect Python byte-compiling for Python 3 and PyPy3

2022-01-18 Thread Karl Berry
i'm inclined to drop support for

bug#38043: Incorrect Python byte-compiling for Python 3 and PyPy3

2022-01-17 Thread Mike Frysinger
On 03 Nov 2019 11:45, Michał Górny wrote: > I've noticed that the logic in py-compile is built on assumptions from > Python 2 and does not fit Python 3 well. Notably, there are two or > three bugs here: > > 1. .opt-2 (-OO) level is not compiled for py3.5+. > > 2. .opt-1 (-O) and .opt-2 (-OO) are

bug#38043: Incorrect Python byte-compiling for Python 3 and PyPy3

2019-11-03 Thread Michał Górny
Hello, I've noticed that the logic in py-compile is built on assumptions from Python 2 and does not fit Python 3 well. Notably, there are two or three bugs here: 1. .opt-2 (-OO) level is not compiled for py3.5+. 2. .opt-1 (-O) and .opt-2 (-OO) are wrongly skipped for PyPy3. Firstly, the code