GNU bug report logs - #38043
Incorrect Python byte-compiling for Python 3.5+ and PyPy3

Previous Next

Package: automake;

Reported by: Michał Górny <mgorny <at> gentoo.org>

Date: Sun, 3 Nov 2019 10:47:02 UTC

Severity: normal

Tags: confirmed, patch

Done: Mike Frysinger <vapier <at> gentoo.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mike Frysinger <vapier <at> gentoo.org>
To: Michał Górny <mgorny <at> gentoo.org>
Cc: 38043 <at> debbugs.gnu.org
Subject: bug#38043: Incorrect Python byte-compiling for Python 3 and PyPy3
Date: Tue, 18 Jan 2022 01:51:35 -0500
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 wrongly skipped for PyPy3.

i'm inclined to drop support for <Python-3.6.  i know even 3.6 has reached
EOL upstream now (as of Sep 2021), but might as well pick a fairly stable
version as a base to cut off somewhere for now.
-mike




This bug report was last modified 3 years and 84 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.