Advertisement · 728 × 90

Posts by Victor Stinner

Preview
PEP 831 – Frame Pointers Everywhere: Enabling System-Level Observability for Python | peps.python.org This PEP proposes two things:

Frame pointers? Frame pointers!
peps.python.org/pep-0831/

1 week ago 17 2 1 0
Preview
Reflecting on Five Years as the PSF’s First CPython Developer in Residence After nearly five wonderful years at the Python Software Foundation as the inaugural CPython Developer in Residence, it's time for me to move on. I feel honored and honestly so lucky to have had the opportunity to kick off the program that now includes several wonderful full-time engineers. I'm glad to see the program left in good hands. The vacancy created by my departure will be filled after PyCon US as the PSF is currently focused on delivering a strong event. I'm happy to share that Meta will continue to sponsor the CPython Developer in Residence role at least through mid-2027. The program is safe.

Nearly 5 years, countless PRs, a program grown from 1 to 5. Thank you, Łukasz Langa, for defining the CPython Developer in Residence role. Best of luck on the next step of your journey and we'll see you around the community!

1 week ago 43 11 2 3
Preview
Team log This page lists the historical members of the Python core team. (The master list is kept in a private repository due to containing sensitive contact information.),,,,, Name, GitHub username, Joined...

Please welcome Stan Ulbrych as the newest member of the Python core team!

discuss.python.org/t/vote-to-pr...

hugovk.github.io/python-core-...
#Python #CPython #CoreTeam

2 weeks ago 8 1 1 0
Preview
Core Dispatch #1 — Core Dispatch A regular digest of what's happening in CPython — from merged PRs and PEP decisions to community discussions and upcoming events.

Core Dispatch #1

New releases are slated to drop on Monday: 3.13.13, 3.14.4, and 3.15.0a8.

PEP 803 got accepted, so free-threaded builds will have a stable ABI.

Ken Jin also wrote up what's going on with the JIT in 3.15.

coredispatch.xyz/editions/1

2 weeks ago 12 8 0 1
Preview
Rust for CPython Progress Update April 2026 | Python Insider Rust for CPython project status update April 2026

Just posted the Rust for CPython Progress Update for April 2026 to the Python Insider Blog!

This covers what we've been up to and our roadmap to a PEP. If you're interested in contributing please join our Discord!

blog.python.org/2026/04/rust...

1 week ago 28 5 0 0
Example pprint without and with expand=True.

>>> pprint(config)
{'allowed_origins': ['https://app.example.com', 'https://admin.example.com'],
 'database': {'engine': 'postgresql',
              'host': 'db-primary.internal',
              'pool': {'overflow': 10, 'size': 20, 'timeout': 30}},
 'host': 'api.example.com',
 'logging': {'handlers': ['console', 'file', 'syslog'], 'level': 'INFO'},
 'port': 8443}
>>>
>>> pprint(config, expand=True)
{
 'allowed_origins': ['https://app.example.com', 'https://admin.example.com'],
 'database': {
  'engine': 'postgresql',
  'host': 'db-primary.internal',
  'pool': {'overflow': 10, 'size': 20, 'timeout': 30},
 },
 'host': 'api.example.com',
 'logging': {'handlers': ['console', 'file', 'syslog'], 'level': 'INFO'},
 'port': 8443,
}

Example pprint without and with expand=True. >>> pprint(config) {'allowed_origins': ['https://app.example.com', 'https://admin.example.com'], 'database': {'engine': 'postgresql', 'host': 'db-primary.internal', 'pool': {'overflow': 10, 'size': 20, 'timeout': 30}}, 'host': 'api.example.com', 'logging': {'handlers': ['console', 'file', 'syslog'], 'level': 'INFO'}, 'port': 8443} >>> >>> pprint(config, expand=True) { 'allowed_origins': ['https://app.example.com', 'https://admin.example.com'], 'database': { 'engine': 'postgresql', 'host': 'db-primary.internal', 'pool': {'overflow': 10, 'size': 20, 'timeout': 30}, }, 'host': 'api.example.com', 'logging': {'handlers': ['console', 'file', 'syslog'], 'level': 'INFO'}, 'port': 8443, }

More in this 3.15 alpha:

🖨️ pprint: new `expand` arg for Black-like output (let's make it default?)
🧛 bytes.replace() count arg can be a keyword
🌊 wave: IEEE floating-point WAVE audio support, new getformat()/setformat()
⏱️ timeit: configurable target time for autorange()

#Python #Python315 #release

1 week ago 7 2 0 1
REPL showing:

import random
random.

And then I press tab and it shows the things in random in different colours, like functions in blue, methods in cyan, numbers in yellow, and types in magenta.

REPL showing: import random random. And then I press tab and it shows the things in random in different colours, like functions in blue, methods in cyan, numbers in yellow, and types in magenta.

New in this alpha:

🧵 PEP 803: “abi3t”: Stable ABI for free-threaded builds
🪟 Official Windows 64-bit binaries now use the tail-calling interpreter for up to 40% speedup!
docs.python.org/3.15/whatsne...
🦋 REPL: colour tab completion with fancycompleter

#Python #Python315 #release

1 week ago 5 1 1 0
Preview
Python 3.15.0a8, 3.14.4 and 3.13.13 are out! | Python Insider A final alpha and two bug fixes are awaiting your upgrade.

New releases!

🐍 Python 3.15.0a8!
🐍 Python 3.14.4!
🐍 Python 3.13.3!
🖼️ Pillow 12.2.0!

blog.python.org/2026/04/pyth...
pillow.readthedocs.io/en/latest/re...

⚠️ This is the final 3.15 alpha: only 4 weeks until the feature freeze! 🧊

#Python #Python313 #Python314 #Python315 #Pillow #release

1 week ago 19 5 1 0

Brocards for vulnerability triage
blog.yossarian.net/2026/04/11/Brocards-for-...
#security #oss

1 week ago 5 6 1 0
Advertisement
"On a besoin de vous pour trouver le prochain lieu de la PyconFR", sur une image dans une classe de la PyconFR 2025, avec le logo de l'AFPY.

"On a besoin de vous pour trouver le prochain lieu de la PyconFR", sur une image dans une classe de la PyconFR 2025, avec le logo de l'AFPY.

📣 L’AFPy a besoin de vous pour trouver un lieu pour la PyConFR 2026.
L’événement doit normalement se tenir à l’automne prochain mais nous n’avons actuellement trouvé aucun local pour nous accueillir.

La PyConFR est un événement gratuit pour ses participant·e·s […]

[Original post on mamot.fr]

3 weeks ago 2 8 1 0
Preview
PEP 803: Stable ABI for Free-Threaded Builds (packaging thread) Hi @encukou , On behalf of the Steering Council, I am happy to share that PEP 803 has been approved. Congratulations, and thank you for your work on this PEP. We are particularly pleased to see this...

Happy to share that PEP 803 has been accepted.

A meaningful step toward Stable ABI for free threading in Python 3.15, with clear importance for C extension support.

discuss.python.org/t/pep-803-st...

3 weeks ago 25 7 1 0
Preview
Vote to promote Itamar Oren I think it’s time to promote Itamar Oren to the Core Team. poll Itamar has been a triager since July 2023, has given two Language Summit talks and organized the 2024 Core Dev sprint at Meta in Bellev...

Please welcome the newest member to the CPython core team, Itamar Oren!

discuss.python.org/t/vote-to-pr...

hugovk.github.io/python-core-...

#Python #CPython #CoreTeam

2 months ago 20 7 0 0
Preview
PEP 814: Add frozendict built-in type After careful deliberation, the Python Steering Council is pleased to accept PEP 814 – Add frozendict built-in type. The absence of an immutable dict counterpart has been a long-standing gap in Pytho...

Stoked to share that the Steering Council has accepted PEP 814. frozendict is coming to Python 3.15!

discuss.python.org/t/pep-814-ad...

2 months ago 57 13 0 1
Preview
PEP 814: Add frozendict built-in type After careful deliberation, the Python Steering Council is pleased to accept PEP 814 – Add frozendict built-in type. The absence of an immutable dict counterpart has been a long-standing gap in Pytho...

Coming soon to Python 3.15: frozendict

The Steering Council has just accepted @vstinner.bsky.social and @corona10.bsky.social's PEP 814 "Add frozendict built-in type".

discuss.python.org/t/pep-814-ad...

peps.python.org/pep-0814/

#Python #PEP814 #frozendict #Python315

2 months ago 20 4 1 1
Preview
PEP 814: Add frozendict built-in type After careful deliberation, the Python Steering Council is pleased to accept PEP 814 – Add frozendict built-in type. The absence of an immutable dict counterpart has been a long-standing gap in Pytho...

I am very happy to share that PEP 814 is accepted.
Huge kudos to @vstinner.bsky.social for driving this PEP from the start!
discuss.python.org/t/pep-814-ad...

2 months ago 17 6 0 0
Preview
Python Developers Survey 2026 The official Python Developers Survey 2026. Join and contribute to the community knowledge!

How do you use Python and its related technologies? Let us know in the 2026 Python Developers Survey! 🐍 #python #pythondevsurvey

2 months ago 9 5 0 0
Infographic of PyPI statistics, with a yellow background, blue and grey text, and blue rectangles to highlight each statistic. Title states "PyPI in 2025". Underneath are 5 statistics: 
    3.9 million+ new files published
    130,000+ new projects created
    1.92 exabytes of total data transferred
    2.56 trillion total requests served
    81,000 requests per second on average
At the bottom is the PyPI logo, "Python package index" with blocks in the shape of the Python logo.

Infographic of PyPI statistics, with a yellow background, blue and grey text, and blue rectangles to highlight each statistic. Title states "PyPI in 2025". Underneath are 5 statistics: 3.9 million+ new files published 130,000+ new projects created 1.92 exabytes of total data transferred 2.56 trillion total requests served 81,000 requests per second on average At the bottom is the PyPI logo, "Python package index" with blocks in the shape of the Python logo.

2025 was another eventful year for PyPI! Critical security enhancements, powerful new org features, a better overall user experience, and transparent security incident response 🎉👏 Thank you, PyPI team & community!

Learn more on our blog: blog.pypi.org/posts/2025-1...

3 months ago 43 17 1 2
Advertisement
Preview
Language Summit at EuroPython 2026 Following on from this topic and this poll, I’m happy to announce that the Steering Council has approved having the next Language Summit at EuroPython 2026! The EuroPython Society plan to announce th...

I’m happy to announce that the Steering Council has approved my proposal to hold the next Language Summit at @europython.eu 2026 and then alternate with @pycon.us!

discuss.python.org/t/language-s...

ep2026.europython.eu

#Python #LanguageSummit #EuroPython

3 months ago 32 8 1 1
A 'frozen' dictionary for Python Dictionaries are ubiquitous in Python code; they are the data structure of choice for a wide va [...]

An introduction to PEP-814: lwn.net/SubscriberLi...

My best wishes for having it in 3.15! ❤️🤞🏼

4 months ago 4 1 0 0
Preview
PEP 814: Add frozendict built-in type You can read the PEP at: PEP 814 – Add frozendict built-in type. Abstract A new public immutable type frozendict is added to the builtins module. We expect frozendict to be safe by design, as it pre...

I wrote a new PEP with Donghee Na: "PEP 814: Add frozendict built-in type": discuss.python.org/t/104854 A new public immutable type frozendict is added to the builtins module. The insertion order is preserved and a frozendict can be hashed.

5 months ago 8 4 1 0
Preview
Argparse issues • python Argparse issues

Looking to make a CPython contribution? I'm going to start working on maintaining a "Good First Issue" board for argparse.

If you're interested, have a look and let me know on the GitHub issue if you have any questions. Happy to help 🤝🏻!

github.com/orgs/python/...

5 months ago 59 15 5 1
Emma's Blog - Decompression is up to 30% faster in CPython 3.15

New blog post!

Decompression is up to 30% faster in CPython 3.15

This blog goes over a journey to find an optimization in some lower-level code in CPython that yields a speedup of 10-30% when decompressing more than 1MiB of data.

emmatyping.dev/decompressio...

5 months ago 16 6 0 0
Preview
PEP 810: Explicit lazy imports Dear PEP 810 authors. The Steering Council is happy to unanimously[1] accept “PEP 810, Explicit lazy imports”. Congratulations! We appreciate the way you were able to build on and improve the previ...

Wooo, unanimous acceptance of 810!

Python is getting lazy imports!

So excited about this!

discuss.python.org/t/pep-810-ex...

5 months ago 52 14 0 2
Episode 26.2: CPython Sprint Week in Cambridge UK, Part 2 by core.py More interviews from the core sprint! This time we have: Greg P. Smith, Thomas Wouters, Paul Ganssle, Pradyun Gedam, Carol Willing, Guido van Rossum, Brett Cannon, Erlend Aasland, Tal Einat, Lysandros...

🎙️ Bored this weekend? Part 2 of the interviews from the CPython core sprint in Cambridge UK is out. Don’t worry, it's shorter than Part 1. Only 2 hours 18 minutes!

✨ Hear from Greg, Thomas, Paul, Pradyun, Carol, Guido, Brett, Erlend, Tal, Lys, Yury, and Diego.

creators.spotify.com/pod/profile/...

5 months ago 19 5 0 0
The Secret World of Arrietty

The Secret World of Arrietty

In the Python C API, I dislike APIs modifying immutable objects like _PyBytes_Resize(). I designed a new PyBytesWriter API to replace this function. As usual in Python, it took multiple iterations and one year to design the API and to reach an agreement. vstinner.github.io/pep-782-pyby...

6 months ago 2 0 0 0
Preview
os — Miscellaneous operating system interfaces Source code: Lib/os.py This module provides a portable way of using operating system dependent functionality. If you just want to read or write a file see open(), if you want to manipulate paths, s...

The future Python 3.15 just got a new os.statx() function thanks to Jeffrey Bosboom! Documentation: docs.python.org/dev/library/... The syscall was added to Linux 4.11 (released in 2017) and glibc 2.28 (2018). For example, it gives access to birthtime, mount ID and subvolume ID.

6 months ago 2 0 0 0
Behind the Python Release: Motivation, Fails & Rituals with Łukasz, Pablo & Hugo
Behind the Python Release: Motivation, Fails & Rituals with Łukasz, Pablo & Hugo YouTube video by Behind the Commit

🚀 Python 3.14 is out and so is 3.15 alpha! I chatted with @hugovk.dev, @pablogsal.com, and @lukasz.langa.pl about which release was the least successful, why release notes always say “and now for something completely different”, how Python actually gets released and many more!
youtu.be/BHUWyM2cxwE

6 months ago 19 10 1 0
Advertisement
Preview
Python 3.15 alpha 1 This is an early developer preview of Python 3.15 Major new features of the 3.15 series, compared to 3.14 Python 3.15 is still in development. This release, 3.15.0a1, is the first of seven planned ...

Forget* about Python 3.14, the cool kids are on 3.15.0a1! 🚀

🔬 Dedicated profiling package for Python profiling tools
💬 UTF-8 as default encoding
🌊 New C API to create bytes object
⚠️ Better error messages

discuss.python.org/t/python-3-1...

* Don't forget about 3.14

#Python #Python315 #release

6 months ago 15 3 1 1
Preview
PEP 11 – CPython platform support | peps.python.org This PEP documents how an operating system (platform) becomes supported in CPython, what platforms are currently supported, and documents past support.

64-bit Raspberry Pi is now supported as a Tier 3 platform 🫡🎉
peps.python.org/pep-0011/

6 months ago 24 6 2 0
Post image Post image Post image

🐍 CPython Core Dev Sprint 2025 wrap:

~50 core devs (yes, Guido too) and invited guests hacking in Cambridge. JIT, free-threading, C-API, endless side discussions.

It's safe to say the best ideas start over coffee and a whiteboard with @python.org: community.arm.com/arm-communit...

6 months ago 11 4 0 1