Victor Stinner

@vstinner.bsky.social

Maintain Python upstream (http://python.org) and downstream (RHEL and Fedora) for Red Hat. Python core developer.

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

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,
}

🎙️ 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/...

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...

creators.spotify.com