[Python-Dev] PEP 558: Defined semantics for locals() (December 2019 edition)

2019-12-30 Thread Nick Coghlan
Hi folks, I've finally updated PEP 558 and it's reference implementation based on Nathaniel's feedback back in May. The latest version of the PEP can now be found at https://www.python.org/dev/peps/pep-0558/, and I've created a discussion thread on Discourse: https://discuss.python.org/t/pep-558-

[Python-Dev] Re: Should set objects maintain insertion order too?

2019-12-30 Thread pylang
A set was requested with preserved insertion order. Mathematically, such a structure relates more to an Oset (having order) than a Set. See relationships in the image below: [image: libo.png] Each of the mentioned structure types has a dedicated role. Python's sets work well and correlate with

[Python-Dev] Re: Last call for comments on PEP 573 (Module State Access from C Extension Methods)

2019-12-30 Thread Nick Coghlan
On Wed, 4 Dec 2019 at 09:44, Nick Coghlan wrote: > > I have a few minor copy-editing comments, but I'll submit those as a PR to > the PEPs repo (it's nothing substantial, just a few wording clarifications, > and making sure the list of added methods is complete). Belatedly working on those copy