Hugo van Kemenade

@hugovk
1.8K Followers
510 Following
6.3K Posts
Python 3.14 & 3.15 release manager, core developer, Sovereign Tech Fellow, PSF Fellow, open-source maintainer, PEP editor, NaNoGenMo organiser, winter bicycler
Bloghttps://hugovk.dev
GitHubhttps://github.com/hugovk

PEP news:

PEP 661 – Sentinel Values: accepted

Originally created in 2021, and revived just in time for Python 3.15.

https://discuss.python.org/t/pep-661-sentinel-values/9126/337

PEP 806 – Mixed sync/async context managers with precise async marking: rejected

There's a high cost to adding new syntax. "The problem this PEP addresses, while genuine, does not in our view meet that bar."

https://discuss.python.org/t/pep-806-mixed-sync-async-context-managers-with-precise-async-marking/103971/12

#Python #PEP661 #PEP806 #Python315 #PEP #PEPs

PEP 661: Sentinel Values

On behalf of the Python Steering Council, I’m very happy to share that we have accepted PEP 661 for Python 3.15. Thank you @taleinat for creating the PEP and @Jelle for reviving it in time for 3.15. We especially appreciate how all of the SC’s earlier feedback was addressed nicely in the latest iteration of the PEP, resolving all of our previous concerns. Congrats!

Discussions on Python.org
Please congratulate our newest PSF Fellow Members for Q1, 2026! Their continued contributions to the Python ecosystem are so very important to our community. #python
https://pyfound.blogspot.com/2026/04/announcing-python-software-foundation.html
Announcing Python Software Foundation Fellow Members for Q1 2026! 🎉

Python Software Foundation Blog

Current status of PEPs for 3.15 with 12 days until feature freeze:

Informational: 1 (release schedule)

Open (under consideration): 24

Submitted for Steering Council decision: 8

Accepted (may not be implemented yet): 7

Finished (done, with a stable interface): 5

Deferred (postponed pending further research or updates): 2

Rejected, Superseded, and Withdrawn: 2

(Some are further along but the PEP's not updated yet)

https://peps.python.org
https://hugovk.dev/next-release/

#Python #Python315 #PEPs

PEP 0 – Index of Python Enhancement Proposals (PEPs) | peps.python.org

This PEP contains the index of all Python Enhancement Proposals, known as PEPs. PEP numbers are assigned by the PEP editors, and once assigned are never changed. The version control history of the PEP texts represent their historical record.

Python Enhancement Proposals (PEPs)

The newest gh CLI has added telemetry:

"As agentic adoption of GitHub CLI grows, our team needs visibility into how features are being used in practice."

Opt out with any of these:

export GH_TELEMETRY=false # any falsy value: 0, false, disabled

export DO_NOT_TRACK=true

gh config set telemetry disabled

https://cli.github.com/telemetry
https://github.com/cli/cli/releases/tag/v2.91.0

Edit: Here's a script to set the env vars for GitHub Actions in your orgs and user repos: https://github.com/hugovk/github-tools/blob/main/disable_gha_telemetry.py

#GitHub #CLI #telemetry

Telemetry

Take GitHub to the command line

GitHub CLI

I made a thing last week and Earth Day seems like a great day to announce it. 🌏

https://Whereabouts.Earth is a fun (for me at least) app for learning the location of every country on Earth.

It uses a very effective learning technique (spaced repetition), but you don't need to know how that part works. It will work.

My geography knowledge has improved a LOT over the past week.

Join me in learning about the only home we'll ever have.

(And please share your feedback if you actually use this)

Whereabouts?

Learn where every country is, a few minutes at a time.

Whereabouts

Anyone up for a bit of fun at #PyConUS?

Someone just showed me this website. https://unofficial-pycon.com/ It looks like a good way to see the sights and make some friends.

PyCon US 2026 Long Beach - Unofficial Community Guide

Your community-curated adventure companion for PyCon US 2026. Find the best karaoke, restaurants, and activities in Long Beach!

We are thrilled to share that Guido van Rossum will be returning to EuroPython as one of our keynote speakers!

Guido is the creator of Python. He served as Python’s Benevolent Dictator For Life until 2018, guiding the language’s design and evolution, and helping to shape one of the most influential open source communities in the world.

Don’t miss your chance to hear what Guido has to say - join us in Kraków, or watch remotely, between 13th and 19th July.

#europython #conference #opensource

GRSSK Natural Yoghurt 🤔

✍️ New post detailing a workaround I came up with for “leak” beahviour from Python 3.14’s new garbage collection algorithm.

Topical as @hugovk recently announced that the algorithm will be reverted in the next patch release!

https://adamj.eu/tech/2026/04/20/django-python-3.14-incremental-gc/

#Django #Python

Django: fixing a memory “leak” from Python 3.14’s incremental garbage collection - Adam Johnson

Back in February, I encountered an out-of-memory error while migrating a client project to Python 3.14. The issue occurred when running Django’s database migration command (migrate) on a limited-resource server, and seemed to be caused by the new incremental garbage collection algorithm in Python 3.14.

PEP news:

PEP 822 – Dedented Multiline String (d-string)

"The Python Steering Council has reviewed PEP 822. While we’re generally positive about the PEP, we think it would be best to defer this feature until Python 3.16, to give it more time to solidify."

See the rest:
https://discuss.python.org/t/pep-822-dedented-multiline-string-d-string/105519/130

#Python #PEP822 #dstring #Python315 #Python316

PEP 822: Dedented Multiline String (d-string)

Hello @methane ! The Python Steering Council has reviewed PEP 822. While we’re generally positive about the PEP, we think it would be best to defer this feature until Python 3.16, to give it more time to solidify. The main feedback we have is that this feature is baking into the language specific formatting style and expectations, which would be very difficult to change if we get some of the corner cases wrong. We note that the discussions about this PEP still express different opinions and we...

Discussions on Python.org