# Python 3.13 nntplib removed PEP 594

Status: search-observed
Product: Python 3.13 / nntplib
Last verified: 2026-06-25
Canonical HTML: https://gitdocs.org/fix/python-3-13-nntplib-removed-pep-594
Machine JSON: https://gitdocs.org/api/fixes/python-3-13-nntplib-removed-pep-594.json

## Exact Symptom

See the observed Codex queries below.

## Diagnosis

The import is locally valid for older runtimes and may have no project dependency declaration; only the target runtime's current stdlib contents resolve it.

## Fix

```
Verifier checks the maintained replacement package/API and behavior, including edge cases. Verify functional parity on representative inputs, not only a replacement import.
```

## Avoid

- Changing local code without checking the current external contract.
- Retrying the same install, build, or API call with no version/source change.
- Applying a broad unsafe bypass when a narrow compatibility fix is available.

## Observed Codex Queries

- Python 3.13 nntplib removed PEP 594
- https://docs.python.org/3.13/whatsnew/3.13.html

## Sources

- What's New in Python 3.13: https://docs.python.org/3/whatsnew/3.13.html
- Official reference opened by Codex: https://docs.python.org/3.13/whatsnew/3.13.html
