The annual conference opening.
Python is losing the GIL, and it is not handing you a concurrency model in return.
Free-threading gives you parallelism, but safety is left as an exercise for the reader. The standard answer -- threads, locks and queues -- is the toolkit Java and C++ have spent twenty years trying to escape, and Python is a worse place to use it. Classes, modules and globals are mutable objects reachable from almost anywhere, so sharing is the default rather than the exception. This is leaves the door open for data races.
One of Python's strengths has been kindness to its users: garbage collection, strong typing, powerful libraries. Concurrency deserves the same treatment: deadlock-free and with data races manifesting as debuggable exceptions instead of inexplicable values.
In this talk, I will start with some of the fundamental pitfalls concurrent programming, and then describe a vision for a concurrent Python that comes with batteries included. At its simplest, support for deep immutability, so that data which cannot change can be shared without locks or copies. Then add regions, groups of objects that can be accessed together or not at all -- like a lock that knows which objects it guards, and catch attempts to reach past it. And finally behaviours, where you declare the data a task needs and the scheduler runs it once that data is yours alone. This model is deadlock-free and data-race free.
None of this is speculative. You can pip install bocpy today^1, and we are bringing it to free-threaded Python. Immutability is working its way through the PEP process; regions run in a CPython branch you can build.
The question is not whether Python can run in parallel, but what
it hands you when it does.
^1 So far, only for multiple sub interpreters.
Most coding-agent demos end when the model produces a patch. In production, that is where the work starts.
A coding agent on a laptop is a good tool and a poor system: it runs as you, on your machine, dies when the lid closes, leaves no record, and its only gate is you pressing merge. We built a software factory in Python that gives a team what the laptop does not. A structured Jira ticket goes through specification, research, estimation, coding in an ephemeral E2B sandbox, review, a dev deploy with a live check, and a merge request that a person still has to merge.
This talk is about why that architecture works: a durable Temporal workflow that retries one stage and survives a worker restart; typed Pydantic handoffs the workflow branches on; one model gateway with a scoped key per agent; prompts, rubrics and context in a reviewed registry; one run id across traces, transcript, branch and ticket; and gates where a person acts with a scored spec and a verified deploy in front of them.
The evidence is one week in July: the same change run in three repositories. The first run failed and the records said why. We changed the inputs, not the model, and the next two ran in 1 h 45 min and 28 min.
You'll leave with an architecture you can adapt and a rule for deciding what to automate, retry, measure, escalate, or hand to a person. Intermediate Python; no Temporal experience needed.
These may be the most important skills to keep your job or to find a new one in the future!
AI-generated code is a powerful tool, but it should never be blindly trusted. This intensive workshop, "Audit and evaluate AI generated Python code," teaches you the critical skills you need to stay relevant in the future: how to ensure AI-generated code is secure, functional, and aligns with your standards.
Everyone knows what a variable is until 300 is 300 returns False.
Something is going on under the hood that (hopefully) most Python developers never question. This talk pulls back the curtain on how CPython actually represents your everyday int, why the rules seem to bend at certain thresholds, and what any of this has to do with idle games throwing around numbers bigger than the atoms in the universe.
Python is becoming more parallel with Free-Threading and Subinterpreters. Both approaches allow threads to run in parallel without the restriction of a single GIL. The downside is that parallelization comes with a safety tax: Free-threading adds a lock per object and subinterpreters typically involve pickling and copying data between interpreters to ensure isolation. This has a negative impact on performance with both CPU and memory overheads. This talk is about PEP795, which proposes to add immutability to Python. It allows threads to share data without the risk of data races. This enables different optimisations: on free-threaded Python, interpreter-level synchronisation is no longer needed to ensure safe access to shared data structures (think PEP frozendict but for any type), it allows multiple subinterpreters to directly share objects without copying, and it improves GC performance by simplifying cycle detection.
We will present the design and rationale for immutability in Python, the API for creating and managing immutable state, decorators for communicating immutability in code, as well as opting out of immutability where necessary. We will also discuss our prototype implementation on-top of Python 3.15 and demonstrate how immutable sharing across sub-interpreters improves performance and compare the speed of freezing (the act of making objects immutable) to pickling and unpickling.
This is an updated version of our immutability talk at EuroPython'26 based on feedback from the Python community.
Why do data engineers, analysts, managers, and ML people so often seem to talk past each other? This talk looks at the real, painful, and sometimes funny ways how misunderstanding between data roles happens and what we as data folks can do to make working together less annoying.
Authors of many Python packages, in particular those that perform network operations, want to write async Python for the convenient and performant concurrency model it provides.
For your users' benefit you may still want to ship both sync and async variants of your API.
In this talk, we walk through some strategies we've developed at Modal for how to manage release of such dual APIs, including:
- Automating API translation using the
synchronicityopen source package - Managing a dedicated event loop
- An opinionated
.aio()async API syntax - Advanced usage of the Python type system to make all of this type safe
- Speculation on the future: codegen or ai-gen in the release process?
Tired of copy-pasting Python code from one project to the other? Let's fix that and learn how to use modern tools for developing resuable Python code with uv!
Energy bills are rising, especially during peak hours. By shifting energy usage to cheaper periods, both households and businesses can save money, but planning it manually is, well, boring.
Luckily, boring automation is where Python shines. In this talk, you’ll learn how to optimize energy usage with Python, the Tibber API, and hardware integrations. Whether it’s a fun hobby with a quick ROI or a real-world project that keeps the finance department happy, you’ll see how smart automation can make energy cheaper. The Winter is coming, let’s start saving money with Python.
Computer vision allows computers to "see", but how?
What can computer vision do for me?
And how can it be used on me by others?
This talk will show you how computer vision models work, what they can do for you, what they can do against you, what they cannot do, and how to not send a 24/7 broadcast of your home to an AI company.
Your apps already have APIs — MCP is how AI agents get to use them safely. This talk shows how to wrap an existing API into an MCP server with Python, scope what agents can read and write, and connect coding agents locally or remotely, demonstrated live on an open-source kanban board.
Python gives us a fast feedback loop: change some code, run it, see what happens. But once our applications depend on databases, queues, and other services, that feedback loop gets much slower. Code can work locally and still fail in production because of a configuration mistake or a mismatch between what the application expects and what’s deployed.
What if we could catch those integration problems before deploying?
In this talk, I’ll show how we’ve built an open source project that understands the infrastructure an application needs directly from its code. We’ll follow a change from local development to deployment, look at integration mistakes we can catch in seconds, and unpack how it works under the hood. You’ll leave with a different way to think about the boundary between application code and infrastructure, and what happens when developers and their AI coding agents can quickly get feedback on both, instead of waiting for deployment to find out what’s wrong.
"Sovereign AI" is everywhere now: sovereign clouds, sovereign data centres, sovereign models. I wanted to know what it takes for one person. So I built LCARS Online, a crew of data science agents that runs entirely on my laptop, and then audited every layer of its stack. This talk is what I found, what each fix cost, and why the most important question in any agent system is who's in command.
I share the journey from building Nokia apps back in 2005, maintaining Pillow, working as a triager, a PEP editor, and a CPython core developer, all the way to taking charge of the Python 3.14 and 3.15 releases.
TBD
This hands-on workshop introduces gRPC, a modern RPC framework for building microservices. Learn Protocol Buffers, implement gRPC services from scratch, and explore communication patterns in Python. Discover how gRPC compares to REST APIs and use pre-configured Docker environments to test, benchmark, and monitor your services. By the end, you'll have practical knowledge to build communication with gRPC. Basic Python knowledge required. All tools and infrastructure provided—bring a laptop with Docker installed.
Your pytest suite runs one test at a time. The usual fix: pytest-xdisthelps, but it schedules by file, so one slow file pins one worker, and it's something you have to remember to turn on.
rstest is a pytest-compatible test runner that flips the default: parallel
out of the box, scheduled per-test rather than per-file, and crash-safe when
a native test segfaults. Crucially, it isn't a reimplementation, it vendors
real pytest, so your fixtures, plugins, config, and flags all work unchanged.
You replace one word on the command line.
This talk covers how the drop-in claim actually holds, an honest reading of
the benchmarks (where it wins, where it only ties), and the diagnostic tools:
--doctor--watch--changed
These make it worth adopting even when the raw speedup is zero.
The novelty is the new test runner that makes your life easier and how it fits into the agentic coding eco system.
Not a cliffhanger! The … is the very topic of this talk! The "Ellipsis" is an often-overlooked part of the python language specification. It's a built-in singleton object with some niche but very practical uses!
The Ellipsis can be used to describe "arbitrary length", "intentional incompleteness" or a sentinel value where None, 0 or False carries different meaning. It is hashable, comparable, safe to use as method argument default, and even works in modern match statements! Let's look at how it's implemented and practical examples of where it's useful.
Your Python program is slow, so you run cProfile. It reports exact call counts and instrumented timings, but tracing every function call can change the workload you are trying to understand. Run a sampling profiler on the same program and a different picture emerges. Neither result is inherently wrong: each profiler answers a different question.
In this talk, we will compare cProfile, external sampling tools such as py-spy and austin, and Python 3.15's new standard-library sampling profiler, profiling.sampling, also known as Tachyon.
Using the same mixed workload throughout, we will see why call-heavy code is especially vulnerable to tracing overhead, how periodic stack samples become estimated hotspots, and what sampling can miss. We will then compare Tachyon's wall-clock and CPU modes to reveal an important distinction: time spent waiting can dominate one profile and disappear from the other.
We will also see how Tachyon can profile a script or attach to an existing Python process without modifying or restarting it.
You will leave with a practical framework: use tracing when you need exact call counts, sampling when you need representative hotspots or production diagnostics, and benchmarking when you need to compare small performance differences.
Good documentation is really important for the success of a Python package. Good docs open the door for discovery, installation and usage. Great docs have guides, examples, and a complete reference for the Python API surface.
Python docstrings are the perfect place to write the reference docs. They sit next to the code that's being written, staying updated and helping contributors. No-one wants to write the same thing twice, so the reference docs should be generated from the Python source directly.
Astro Starlight is a modern, fast, and static site generator for documentation websites that is rapidly gaining popularity. It handles the hand-written half beautifully, with lots of functionality and components available out the box. It also has a strong community of theme and plugin authors. I wrote starlight-pydocs to make it super easy to build Starlight documentation websites for your Python package. It's the perfect package for anyone moving away from mkdocs and mkdocstrings.
All that Starlight Pydocs needs is a couple of lines of configuration, and you get an automatically built API docs section with one page per module. Docs show signatures with hyperlinked types, parameter tables, inherited members with provenance and full syntax highlighting. The plugin is agent-friendly: every page also answers as plain Markdown, and each package publishes an llms.txt and a Sphinx inventory so other sites can link to yours.
In this talk I'll build a new docs site from scratch, live, and show how easy it is to get a beautiful docs site with Starlight.
A walkthrough of running workloads at scale with Modal.
We will go over the different modal primitives (functions, sandboxes, images, secrets, storage and networking controls, inference endpoints) and use them to build a working vibecoding platform that can run at scale on Modal.
As many developers, I'm using agents for software development. I went all-in Agentic Engineering in early 2026 and quickly found that many coding practices are still very relevant. I've learned (and constantly learning) which developer tools and methods work well with this workflow - and what I think should be avoided. In this talk, I will reflect on what I think Agentic Engineering is about (and what it isn't), the shift that I made towards Agentic Engineering and what I have in my toolbox for software development.
Python has made it easy for engineers and scientists to turn equations into computational models. NumPy, SciPy, and domain-specific libraries such as CALFEM can take us from a mathematical formulation to working code in very few lines. But turning that model into a usable application—with an interface, visualisation, documentation, and reports—has traditionally required a much broader set of software-development skills.
Large language models are changing this workflow.
In this talk I will explore an AI-assisted engineering workflow built around a small, Python computational core. Using a structural mechanics example implemented in NumPy and CALFEM, we develop and verify an engineering model and then use an LLM to help create the software surrounding it: user interaction, visualisation, result presentation, and reporting.
The interesting question is not whether AI can write Python. It clearly can. The question is how we divide responsibility between the engineer and AI.
I will argue for a simple principle: the engineer owns the model and its validation; AI can help build the application and tools around it.
This approach has implications not only for engineering software development, but also for how we teach Python to future engineers and scientists.
See description below