Issue ·

New to PEPs? What the badges mean

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.

2 changes.

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.

NewsPEPper (28 November 2026) [this week’s PEPs, ground]

Type "help" for what each status means, or "history" for past issues.

issue

<Issue 2026-11-28: 2 changes>

print(issue.intro)

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.

issue.updates # 2

[1] PEP 671 Syntax for late-bound function argument defaults

Pep(status='Draft', python='3.12' → '3.17')

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

# By Chris Angelico · discussion ↗

[2] PEP 847 Problem Details for the Simple Repository API

Pep(status='Draft' → 'Accepted', topics=['Packaging'])

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.

# By Luis Gonzalez, William Woodruff, Zsolt Dollenstein · decision ↗

'')

# One email on Saturdays, a five-minute read. Confirm from your inbox. Privacy