With the acceptance of PEP 750, I would like to propose PEP 787: adding t-string support to the subprocess module. Support for t-strings inside the subprocess module was a part of PEP 501. PEP 501 was closed, giving preference to PEP 750, but PEP 750 did not have this part of it. I think this would serve as a good consumer reference implementation in the standard library for how to implement t-strings, to show the advantages, and capabilities, of t-strings. We are aiming for python 3.14, to p...| Discussions on Python.org
Discussions related to the Python Programming Language, Python Community, and Python Software Foundation operations.| Discussions on Python.org
Hi folks 👋 Starting a thread to share news & info about the 2025 PSF Board Election. I have one update to share: Starting this year, the PSF Board Election will be held a couple of months later. And one call to action: Have you considered running for the PSF Board? It’s time to start thinking about whether you’d like to run. If you do, we recommend you find opportunities to connect with current or past Board members to find out what Board service is all about! Learn more about th...| Discussions on Python.org
On behalf of the Python Steering Council, We are accepting PEP-594 Removing dead batteries from the standard library. It removes a non-controversial set of very old unmaintained or obsolete libraries from the Python standard library. We expect this PEP to be a one time event, and for future deprecations to be handled differently. One thing we’d like to see happen while implementing it: Document the status of the modules being deprecated and removed and backport those deprecation updates to ...| Discussions on Python.org
tl;dr Java has virtual threads. Virtual threads are a better way of doing concurrency than Python’s async and await. We should add virtual threads to Python. Virtual Threads Virtual threads were added to Java a few years ago. Virtual Threads combine the best of async Tasks and normal threads. Like normal threads, virtual threads: require no new syntax provide a more intuitive mode of execution than async/await. Like tasks, virtual threads: only switch execution at well defined points in ...| Discussions on Python.org
(Posting for the whole Steering Council) The Steering Council, following a recommendation from the PSF’s Code of Conduct Workgroup, has decided to suspend a Core Developer for three months. Quoting the CoC WG’s recommendation: The user showed these repeated violations of the following behaviors expected by the Code of Conduct: Overloading the discussion of the bylaws change (47 out of 177 posts in topic at the time the moderators closed the topic), which created an atmosphere of fear, unc...| Discussions on Python.org
– Posting collectively for the entire 2024 Python Steering Council – Python Community and CPython Core Developers - In the recent discussion threads covering the upcoming (ongoing) PSF ballot measures both here on Discuss and in parallel over on the psf-vote (members only) mailing list we witnessed some disturbingly unprofessional conversations take place, involving many well known individuals. These comments have alienated many members in our community and act to prevent others from want...| Discussions on Python.org
Issue Named arguments confer many benefits by promoting explicit is better than implicit, thus increasing readability and minimising the risk of inadvertent transposition. However, the syntax can become needlessly repetitive and verbose. Consider the following call: my_function( my_first_variable=my_first_variable, my_second_variable=my_second_variable, my_third_variable=my_third_variable, ) The verbosity and redundancy discourages use of named arguments (and therefore, their benefits)...| Discussions on Python.org
Two years since PEP 665 was rejected and three years since I started working towards some lock file solution, I present my next (and last regardless of outcome) attempt at coming up with a lock file standard. Terms “platform”: OS plus CPU “environment”: interpreter plus platform “distribution”: in the PyPA spec sense, i.e. a project “lock entry”: a set of distribution files locked for a specific environment “lock file”: a set of lock entries for a specific set of dependenc...| Discussions on Python.org
I came across this PEP a few weeks ago and thought it was really interesting. I wrote a blog post about it and a proof of concept called pythonloc. Overall I like the idea, but I think some minor implementation changes can have big changes on how useful and adopted this feature becomes. I wanted to share some of my feedback here. Falling back to site-packages reduces usefulness of __pypackages__ If I am developing an app or library and I want to test it, I need to know exactly which packages ...| Discussions on Python.org
Zac-HD| Discussions on Python.org