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