]> git.ipfire.org Git - thirdparty/automake.git/commit
py-compile: fix optimized compiling for Python 3.5+
authorMike Frysinger <vapier@gentoo.org>
Sun, 6 Feb 2022 06:25:59 +0000 (01:25 -0500)
committerMike Frysinger <vapier@gentoo.org>
Thu, 24 Feb 2022 04:48:55 +0000 (23:48 -0500)
commitbde43d0481ff540418271ac37012a574a4fcf097
treea5dc801faf6d7b982ebf488f149f40981abace4a
parentd5dc4e0aeca11a998396f5328ce2a12fa2afd9af
py-compile: fix optimized compiling for Python 3.5+

Fixes automake bug https://bugs.gnu.org/38043.

Split the optimized compilation logic into a new section.  This avoids
trying to support multiple versions of major versions in a single script
as it gets harder to verify new changes don't break old versions as time
goes on.

Now for Python 3.5+, compile with -O0 (which is "higher" than -O).

* NEWS: Mention fix.
* THANKS: Add Michal Górny.
* lib/py-compile: Add new section for compiling Python 3.5+.
NEWS
THANKS
lib/py-compile