List of videos

Python Software Foundation - Meet our Security Engineers

Meet the Python Software Foundation Security Engineers - Mike Fiedler and Seth Larson

Watch
Keynote Speaker - Sumana Harihareswara

Sumana Harihareswara (https://harihareswara.net/) is an open source contributor and leader who has managed work on pip, PyPI, GNOME, MediaWiki, HTTPS Everywhere, autoconf, GNU Mailman, and other projects -- and who is working on a book to teach what she's learned along the way. Between 2016 and 2021, Harihareswara led fundraising for and managed the next-generation overhauls of PyPI and of pip's dependency resolver and user experience. Her work has earned her an Open Source Citizen Award and a Google Open Source Peer Bonus. Harihareswara has keynoted LibrePlanet, code4lib, SeaGL, and other conventions, and has previously spoken at PyCon US and PyGotham. She also performs stand-up comedy, and volunteers to improve local emergency preparedness and open data. She lives in New York City, runs Changeset Consulting, and microblogs in the Fediverse.

Watch
Python Software Foundation Update

Python Software Foundation Update from the PSF Executive Director, Deb Nicholson

Watch
PyCon US 2024 Closing

The closing statement of PyCon US 2024 by PyCon US 2024 Conference Chair, Mariatta Wijaya and PyCon US 2025 Chair, Elaine Wong

Watch
Python Steering Council Panel

Presented by Emily Morehouse Barry Warsaw Pablo Galindo Salgado Thomas Wouters Gregory P. Smith The Python Steering Council is a 5-person elected committee that assumes a mandate to maintain the quality and stability of the Python language and CPython interpreter, improve the contributor experience, formalize and maintain a relationship between the Python core team and the PSF, establish decision making processes for Python Enhancement Proposals, seek consensus among contributors and the Python core team, and resolve decisions and disputes in decision making among the language.

Watch
Talks - Yury Selivanov: Overcoming GIL with subinterpreters and immutability

The talk will focus on a novel idea of efficient structured data sharing between Python subinterpreters. I'll be presenting a new Python framework "memhive", which implements a worker pool of subinterpreters, efficient RPC mechanism between them, async/await-ready API, as well as fundamental data structures ( tuples, mappings and scalar types). I'll demonstrate that it's possible to unlock true parallelism with subinterpreters without paying the overhead of data serialization. I'll explain how this is possible and what algorithms under the hood drive this. Slides: https://pycon-assets.s3.amazonaws.com/2024/media/presentation_slides/67/2024-05-18T03%3A28%3A48.709949/subint.pdf

Watch
Talks - Anthony Shaw: Unlocking the Parallel Universe: Subinterpreters and Free-Threading in...

Full title: Unlocking the Parallel Universe: Subinterpreters and Free-Threading in Python 3.13 Presented by: Anthony Shaw Python 3.12 introduced a new parallel execution model called "sub interpreters" that uses a per-interpreter GIL to unlock a new way of writing parallel code that's faster than multiprocessing. Python 3.13 introduces another new parallel execution model called "free-threading" (previously called no-gil) that replaces that optionally removes the GIL so that threads can truly be parallel. Does free-threading make sub interpreters redundant? We'll answer that question in this talk. We unpack what sub interpreters are, how to use them and their limitations. We'll explore free-threading, the optional flag to remove the GIL in 3.13. Finally we look at a use case for sub interpreters and free-threading together, a multi-worker, multi-thread ASGI web server. We benchmark this against traditional web server architecture with multiprocessing and threading. So fasten your seatbelts, fellow Pythonistas! Let’s ride the comet tail of parallelism, leaving behind the single-threaded past. 🚀✨

Watch
Talks - Brandt Bucher: Building a JIT compiler for CPython

CPython is a programming language implementation that is mostly maintained by volunteers, but has a huge, diverse user base spread across a wide variety of platforms. These factors present a difficult set of challenges and tradeoffs when making design decisions, especially those related to just-in-time machine code generation. As one of the engineers working on Microsoft's ambitious "Faster CPython" project, I'll introduce our prototype of "copy-and-patch", an interesting technique for generating high-quality template JIT compilers. Along the way, I'll also cover some of the important work in recent CPython releases that this approach builds upon, and how copy-and-patch promises to be an incredibly attractive tool for pushing Python's performance forward in a scalable, maintainable way. Slides: https://pycon-assets.s3.amazonaws.com/2024/media/presentation_slides/124/2024-05-19T12%3A47%3A04.463944/PyCon_US_2024.pdf

Watch
Talks - Liz Acosta: Mock It Till You Make It: How to Verify Your External Mocks Without Ever...

Full Title: Mock It Till You Make It: How to Verify Your External Mocks Without Ever Leaving Unittest Presented by: Liz Acosta A controlled environment and consistent dependencies are crucial to writing good and – most importantly – relevant tests in Python. While the advent of APIs has made using external services so much more accessible, APIs can lead to flaky or deceptive tests, ultimately putting applications at risk. In this talk, you will learn how to use Python’s Mock object to create more reliable stand-ins for APIs beyond your control … all within the unittest framework. Slides: https://pycon-assets.s3.amazonaws.com/2024/media/presentation_slides/26/2024-05-12T03%3A21%3A52.898279/202405_slides_pycon_acosta-liz_mock-it_4B2TDaN.pdf

Watch