[Python-Dev] Accepting PEP 670 – Convert macros to functions in the Python C API

2022-04-12 Thread Petr Viktorin

Hello,
The Steering Council is **Accepting** the latest iteration of PEP 670: 
Convert macros to functions in the Python C API. Congratulations!



- Petr, on behalf of the Steering Council
___
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/QQFCJ7LR36RUZSC3WI6WZZMQVQ3ZI4MS/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Re: Declarative imports

2022-04-12 Thread Christopher Barker
On Mon, Apr 11, 2022 at 2:03 PM Brett Cannon  wrote:

> That is an extremely subtle shift for what `import x.y` does compared to
> `(import x.y)`. That requires a context switch of not only seeing `import`
> in an expression context, but that the statement also acts differently in
> terms of what is returned by the equivalent statement. I really don't to
> try and teach that distinction to a newcomer.
>

Frankly, there are already an overwhelming-to-a-newcomer number of ways to
import modules. We really don't want nore!

-CHB


-- 
Christopher Barker, PhD (Chris)

Python Language Consulting
  - Teaching
  - Scientific Software Development
  - Desktop GUI and Web Development
  - wxPython, numpy, scipy, Cython
___
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/FR3SSOXKWPQJNI2YGLITOW6NXADZGMCU/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Re: PEP 687 – Isolating modules in the standard library

2022-04-12 Thread Erlend Egeberg Aasland


> On 12 Apr 2022, at 01:23, Nick Coghlan  wrote:
> On Tue, 12 Apr 2022, 3:59 am Guido van Rossum,  wrote:
> In the sentence starting with
> 
> Making that final paragraph the first paragraph in the section should help on 
> both points (reminds me of flipping an if/else in code so the one-liner 
> branch is the first one).

Good suggestion; this is a great improvement. (I prefer this to using bold 
type.)

> Definite +1 from me on the overall PEP.

Thanks :)


E
___
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/TO4IQ32MS62W7OKMMDBWJSFBYOHIQW6I/
Code of Conduct: http://python.org/psf/codeofconduct/