Issue ·
This Week in Python
A quiet week with two PEP changes. The most significant is PEP 847, Problem Details for the Simple Repository API, which moved from Draft to Accepted on 23 November 2026. PEP 671's target version moved from 3.12 to 3.17.
Updates 2
PEP 671
Draft
3.12→3.17
Syntax for late-bound function argument defaults
You can write a default argument that is evaluated fresh on every call, not once at definition time, using a new => syntax. Python 3.17 is the target version. The proposal is still a draft, so the syntax may change.
def add_item(item, target=>[]):
target.append(item)
return target
PEP 847
Draft→Accepted
Packaging
Problem Details for the Simple Repository API
Package indexes will return errors in the standard RFC 9457 format, so installers can show clearer messages while existing clients keep working. This is accepted and implementation is pending.