[Python-Dev] Re: Request for comments on final version of PEP 653 (Precise Semantics for Pattern Matching)

2021-04-04 Thread Paul Moore
On Sun, 4 Apr 2021 at 01:37, Brandt Bucher wrote: > > Mark Shannon said: > > I was relying on the "reference" implementation, which is also in the PEP. > > Can you please stop putting scare quotes around "reference implementation"? Agreed - apart from the implication Brandt noted, it's also misle

[Python-Dev] Re: Request for comments on final version of PEP 653 (Precise Semantics for Pattern Matching)

2021-04-04 Thread Antoine Pitrou
On Sun, 04 Apr 2021 00:34:18 - "Brandt Bucher" wrote: > Mark Shannon said: > > I was relying on the "reference" implementation, which is also in the PEP. > > Can you please stop putting scare quotes around "reference implementation"? > You've done it twice now, and it's been a weekend-ruin

[Python-Dev] Re: Request for comments on final version of PEP 653 (Precise Semantics for Pattern Matching)

2021-04-04 Thread Chris Angelico
On Sun, Apr 4, 2021 at 6:20 PM Paul Moore wrote: > > On Sun, 4 Apr 2021 at 01:37, Brandt Bucher wrote: > > > > Mark Shannon said: > > > I was relying on the "reference" implementation, which is also in the PEP. > > > > Can you please stop putting scare quotes around "reference implementation"? >

[Python-Dev] Re: Request for comments on final version of PEP 653 (Precise Semantics for Pattern Matching)

2021-04-04 Thread Mark Shannon
Hi Brandt, On 04/04/2021 1:34 am, Brandt Bucher wrote: Mark Shannon said: I was relying on the "reference" implementation, which is also in the PEP. Can you please stop putting scare quotes around "reference implementation"? You've done it twice now, and it's been a weekend-ruiner for me eac

[Python-Dev] Re: NOTE: Python 3.9.3 contains an unintentional ABI incompatibility leading to crashes on 32-bit systems

2021-04-04 Thread Matthias Klose
On 4/4/21 4:44 AM, Terry Reedy wrote: > On 4/3/2021 7:15 PM, Miro Hrončok wrote: >> On 03. 04. 21 21:44, Łukasz Langa wrote: >>> The memory layout of PyThreadState was unintentionally changed in the recent >>> 3.9.3 bugfix release. This leads to crashes on 32-bit systems when importing >>> binary e

[Python-Dev] Re: Request for comments on final version of PEP 653 (Precise Semantics for Pattern Matching)

2021-04-04 Thread Stephen J. Turnbull
Antoine Pitrou writes: > On Sun, 04 Apr 2021 00:34:18 - > "Brandt Bucher" wrote: > > Can you please stop putting scare quotes > I'm not a native English speaker, but I don't understand how > putting quotes around a reasonably polite expression devalues > anyone's work. "Scare quotes"

[Python-Dev] Re: Request for comments on final version of PEP 653 (Precise Semantics for Pattern Matching)

2021-04-04 Thread Stephen J. Turnbull
Mark Shannon writes: > Calling something a "reference" implementation suggests that it is > something that people can refer to, that is near perfectly correct and > fills in the gaps in the specification. Shoe fits, doesn't it? Both Guido and Brandt to my recall have specifically considered

[Python-Dev] Re: NOTE: Python 3.9.3 contains an unintentional ABI incompatibility leading to crashes on 32-bit systems

2021-04-04 Thread Stephen J. Turnbull
Matthias Klose writes: > Looking at the failing CI tests triggered by these builds, yes I > see that 32bit archs have the ABI change. I'm not sure precisely what you mean by that, but if you mean that CI has caught the bug, then > So maybe it's worth to re-introduce these RC builds, seems to

[Python-Dev] Re: Request for comments on final version of PEP 653 (Precise Semantics for Pattern Matching)

2021-04-04 Thread Paul Moore
On Sun, 4 Apr 2021 at 13:49, Stephen J. Turnbull wrote: > Final note: once this is merged and publicly released, it will lose > its status as reference implementation in the above, strong sense. It *is* merged and publicly released - it's in the latest 3.10 alpha. That's really the point I was t

[Python-Dev] Re: NOTE: Python 3.9.3 contains an unintentional ABI incompatibility leading to crashes on 32-bit systems

2021-04-04 Thread Matthias Klose
On 4/4/21 2:49 PM, Stephen J. Turnbull wrote: > Matthias Klose writes: > > > Looking at the failing CI tests triggered by these builds, yes I > > see that 32bit archs have the ABI change. > > I'm not sure precisely what you mean by that, but if you mean that CI > has caught the bug, then > >

[Python-Dev] Re: NOTE: Python 3.9.3 contains an unintentional ABI incompatibility leading to crashes on 32-bit systems

2021-04-04 Thread Łukasz Langa
> On 4 Apr 2021, at 11:34, Matthias Klose wrote: > > On 4/4/21 4:44 AM, Terry Reedy wrote: >> >> Unless the mistake was just introduced, the mistake would have happened. One >> this severe would likely have been caught within the week or two before a >> final. But as Łukasz noted when announc

[Python-Dev] Re: NOTE: Python 3.9.3 contains an unintentional ABI incompatibility leading to crashes on 32-bit systems

2021-04-04 Thread Michał Górny
On Sat, 2021-04-03 at 21:44 +0200, Łukasz Langa wrote: > The memory layout of PyThreadState was unintentionally changed in the recent > 3.9.3 bugfix release. This leads to crashes on 32-bit systems when importing > binary extensions compiled for Python 3.9.0 - 3.9.2. This is a regression. > > We

[Python-Dev] Re: NOTE: Python 3.9.3 contains an unintentional ABI incompatibility leading to crashes on 32-bit systems

2021-04-04 Thread Łukasz Langa
> On 4 Apr 2021, at 01:15, Miro Hrončok wrote: > > However, I need to ask: Would this also happen if there was a rc version of > 3.9.3? Good question. The RC would not help. Most importantly, 3.9.3 was itself an expedited release due to its security content. When I did use an RC phase for 3.

[Python-Dev] Re: NOTE: Python 3.9.3 contains an unintentional ABI incompatibility leading to crashes on 32-bit systems

2021-04-04 Thread Miro Hrončok
On 04. 04. 21 16:34, Łukasz Langa wrote: On 4 Apr 2021, at 01:15, Miro Hrončok > wrote: However, I need to ask: Would this also happen if there was a rc version of 3.9.3? Good question. The RC would not help. Most importantly, 3.9.3 was itself an expedited relea

[Python-Dev] [RELEASE] Python 3.9.4 hotfix is now available

2021-04-04 Thread Łukasz Langa
Python 3.9.3 was released two days ago on Friday, April 2nd. It contains important security content listed below for reference. Unfortunately, it also introduced an unintentional ABI incompatibility, making some C extensions built with Python 3.9.0 - 3.9.2 crash with Python 3.9.3 on 32-bit syst

[Python-Dev] Re: NOTE: Python 3.9.3 contains an unintentional ABI incompatibility leading to crashes on 32-bit systems

2021-04-04 Thread Terry Reedy
On 4/4/2021 9:57 AM, Łukasz Langa wrote: On 4 Apr 2021, at 11:34, Matthias Klose > wrote: I always tested the release candidates, and built them for various Linux architectures.  And I'm filing issues marked as 'released-blocker' when I see regressions introduced, it'