Issue ·
This Week in Python
This is the first issue of NewsPEPper, so thanks for being here from the start. From now on, NewsPEPper grinds the latest PEP changes into one short email every Saturday, because reading every PEP is not realistic.
A busy week for Python, led by the stable Python 3.15.0 feature release, which outranks the three PEP edits. Python 3.10 also reached end of life after its final security release, so users should move to a supported version.
Updates 3
PEP 619
Active→Final
3.10
Release
Python 3.10 Release Schedule
This is the release schedule for Python 3.10, now a finished record rather than a living document. It covers development and release dates for the version, not any change to the language itself.
PEP 755
Draft→Withdrawn
Packaging
Implicit namespace policy for PyPI
The author has dropped this proposal, which would have set PyPI's rules for implicit namespace packages. Nothing changes for package publishers or installers. Code and documentation remain as they were.
PEP 818
Draft
3.15→3.16
Adding the Core of the Pyodide Foreign Function Interface to Python
Adds a core JavaScript foreign function interface, letting Python code call and pass objects to JavaScript in browsers and other JS runtimes. Planned for Python 3.16, so it will not be in 3.15.
from jstypes.code import run_js
set_x = run_js("(x) => { globalThis.x = x; }")
get_x = run_js("(x) => globalThis.x")
set_x({})
get_x()
Python releases 5
Pre-release
Python 3.16.0a1
The first of seven planned alpha previews of Python 3.16, not recommended for production; try it to check your libraries and report bugs, rather than upgrading.
Feature release
Python 3.15.0
Stable feature release with new interpreter, standard library, typing and C API features; upgrade if you want the newer language and performance work, though macOS 27 Tk/IDLE users should wait.
- UTF-8 becomes the default encoding
- Lazy imports for faster startup
- Built-in frozendict type
- Tachyon statistical sampling profiler
Pre-release
Python 3.15.0rc3
Final planned release candidate for 3.15.0 with about 156 bugfixes and documentation changes; not for production, but upgrade-test now since final is due 2026-10-09.
- Lazy-import release blockers fixed, moved into 3.15.0 final
- No more ABI changes in the 3.15 series from this point
- Interpreter, standard library and typing features listed in What's New
- Warns of macOS 27.0 IDLE and tkinter dialogs hanging
Security release
Python 3.11.17
Fixes security issues in tarfile, zipfile, ssl, urllib and other modules; upgrade if you extract untrusted archives or use TLS on Python 3.11. Source-only, no installers.
- tarfile extraction filter escapes and hard-link-to-symlink exposure fixed
- zipfile bzip2 and LZMA decompression bounded to prevent unbounded allocations
- ssl wrap_bio and asyncio now validate server_hostname and related arguments
- urllib.request password manager credentials scoped by URL scheme
Security release
Python 3.10.22
Final security release of the end-of-life 3.10 series, fixing several tarfile, zipfile and ssl security issues; upgrade to a supported Python version, as no further updates will come.
- Tarfile extraction filter vulnerabilities involving links and paths outside the destination
- Zipfile bounded decompression for bzip2 and LZMA members
- ssl crash when an SNI callback switches contexts
- urllib.request scopes HTTPPasswordMgr credentials by URL scheme
Version support
-
Python 3.15
Pre-release→BugfixGets regular bugfix releases with installers. Supported until October 2031.
-
Python 3.13
Bugfix→Security fixes onlyGets security fixes only, as source releases, until October 2029.
-
Python 3.10
Security fixes only→End of lifeGets no more releases, not even for security issues. Move to a supported version.