[Python-Dev] Re: [python-committers] Acceptance of Pattern Matching PEPs 634, 635, 636, Rejection of PEPs 640 and 642

2021-02-08 Thread Paul Sokolovsky
Hello, On Tue, 9 Feb 2021 08:56:02 +1000 Nick Coghlan wrote: > > After much deliberation, the Python Steering Council is happy to > > announce that we have chosen to accept PEP 634, and its companion > > PEPs 635 and 636, collectively known as the Pattern Matching PEPs. > > We acknowledge that P

[Python-Dev] It is really necessary to check that a object has a Py_TPFLAGS_HEAPTYPE flag?

2021-02-08 Thread Kazantcev Andrey
Hi everywhere. I decided to figure out why it is impossible to change methods of built-in types and found ``` if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) { PyErr_Format( PyExc_TypeError, "can't set attributes of built-in/extension type '%s'", type-

[Python-Dev] bpo-42819 PR review request

2021-02-08 Thread Dustin Rodrigues
Hello, I submitted https://bugs.python.org/issue42819 a little over a month ago with an accompanying PR: https://github.com/python/cpython/pull/24108. Would it be possible to get feedback on it? This addresses a bug that occurs when Python is compiled with the most recent release of GNU Readlin

[Python-Dev] Re: [python-committers] Acceptance of Pattern Matching PEPs 634, 635, 636, Rejection of PEPs 640 and 642

2021-02-08 Thread Nick Coghlan
On Tue, 9 Feb 2021, 6:21 am Python Steering Council, < steering-coun...@python.org> wrote: > After much deliberation, the Python Steering Council is happy to announce > that we have chosen to accept PEP 634, and its companion PEPs 635 and 636, > collectively known as the Pattern Matching PEPs. We

[Python-Dev] Re: Change windows installation program name

2021-02-08 Thread Terry Reedy
On 2/8/2021 3:12 PM, Ivan Pozdeev via Python-Dev wrote: You want to make a poll or something? Discourse can do that: https://meta.discourse.org/t/how-to-create-polls/77548 On 08.02.2021 23:07, Barry Scott wrote: I raise https://bugs.python.org/issue43156 that suggests that new users on windo

[Python-Dev] Re: PR Review request - bpo-41928: Add support for Unicode Path Extra Field in ZipFile

2021-02-08 Thread Terry Reedy
On 2/7/2021 1:55 PM, Andrea Giudiceandrea via Python-Dev wrote: Hi Python Dev team, I submitted a PR https://github.com/python/cpython/pull/23736 two months ago. The PR, which fixes an issue https://bugs.python.org/issue41928 in ZipFile, is "awaiting core review". I nosied and requested a rev

[Python-Dev] Re: Acceptance of Pattern Matching PEPs 634, 635, 636, Rejection of PEPs 640 and 642

2021-02-08 Thread Ethan Furman
On 2/8/21 12:07 PM, Python Steering Council wrote: After much deliberation, the Python Steering Council is happy to announce that we have chosen to accept PEP 634, and its companion PEPs 635 and 636, collectively known as the Pattern Matching PEPs. Yay! Congratulations Guido, Brandt, Tobias

[Python-Dev] Acceptance of Pattern Matching PEPs 634, 635, 636, Rejection of PEPs 640 and 642

2021-02-08 Thread Python Steering Council
After much deliberation, the Python Steering Council is happy to announce that we have chosen to accept PEP 634, and its companion PEPs 635 and 636, collectively known as the Pattern Matching PEPs. We acknowledge that Pattern Matching is an extensive change to Python and that reaching consensus

[Python-Dev] Re: Change windows installation program name

2021-02-08 Thread Ivan Pozdeev via Python-Dev
You want to make a poll or something? Discourse can do that: https://meta.discourse.org/t/how-to-create-polls/77548 On 08.02.2021 23:07, Barry Scott wrote: I raise https://bugs.python.org/issue43156 that suggests that new users on windows would be less confused if the name of the installation p

[Python-Dev] Change windows installation program name

2021-02-08 Thread Barry Scott
I raise https://bugs.python.org/issue43156 that suggests that new users on windows would be less confused if the name of the installation program did not seem to imply it was the python program. In a nutshell the proposal is to change from this: python-3.10.0a5.exe python-3.10.0a5-amd64.exe

[Python-Dev] Re: Comments on PEP 558

2021-02-08 Thread Sven R. Kunze
Hi Mark, On 04.02.21 12:47, Mark Shannon wrote: Hi Sven, On 04/02/2021 9:06 am, Sven R. Kunze wrote: As long as it is possible to **write** to existing keys to **add new keys** to frame.f_locals, I am actually quite happy. Out of interest, why would you want to add new keys to the locals of

[Python-Dev] Re: What's up with assignment expression and tuples?

2021-02-08 Thread Paul Sokolovsky
Hello, On Mon, 8 Feb 2021 07:26:27 -0800 Guido van Rossum wrote: > This was intentional in PEP 572 so it is not a grammar bug fix. > > Put your money where your mouth is, or become another armchair > language designer. Your choice. Thanks for encouragement ;-). Adding "const" on the language l

[Python-Dev] Re: What's up with assignment expression and tuples?

2021-02-08 Thread Guido van Rossum
This was intentional in PEP 572 so it is not a grammar bug fix. Put your money where your mouth is, or become another armchair language designer. Your choice. On Sun, Feb 7, 2021 at 23:58 Paul Sokolovsky wrote: > Hello, > > On Sun, 7 Feb 2021 13:10:55 -0800 > Guido van Rossum wrote: > > > Hi P

[Python-Dev] Re: What's up with assignment expression and tuples?

2021-02-08 Thread Paul Sokolovsky
Hello, On Sun, 7 Feb 2021 13:10:55 -0800 Guido van Rossum wrote: > Hi Paul, > > I suggest that you just go straight to the PEP phase. Thanks. In all fairness, I don't expect immediate resolution to this issue. But I'm aware of out for at least a year, and keep returning to it (yes, in context