Talk Python to Me is a weekly podcast for Python developers, data scientists, and AI builders, hosted by developer and entrepreneur Michael Kennedy. We dive deep into the packages, tools, and people shaping Python, from web development and data science to AI and LLMs. If you're new to Python, you'll quickly learn the…
Guests on the show
Thu26Nov
CAChristopher ArizaGuest
NumPy already releases the GIL. So threads should already pay off for your NumPy code, right? Christopher Ariza tested that. He summed the rows of a 10,000 by 10,000 array on Python 3.14. Sequential took 360 milliseconds. A thread pool took 373, slower than doing nothing. The same code on free-threaded Python 3.14t took 83.7 milliseconds. Free-threaded Python is officially supported as of 3.14. The GIL isn’t gone, though. It’s a zombie. Import one compiled package that hasn’t opted in, psycopg2 for example, and the GIL comes back for your entire process. You get a warning, not an error.
Chris is the creator of StaticFrame and its C extension library ArrayKit. We dig into when threads beat plain NumPy, how to tell if you’re actually running free-threaded, and conditional-futures, his drop-in thread pool that stops your code from getting slower when the GIL wakes back up.
Episode sponsors
Talk Python Membership
Talk Python Membership
Talk Python Courses
Links from the show
Guest
Christopher Ariza: github.com
GIL Guard project: mkennedy.codes
chameleon-rs: mkennedy.codes
diskcache-oxide: mkennedy.codes
Black Friday at Talk Python: talkpython.fm/black-friday
episode 204: talkpython.fm
Fetter: fetter.io
PyBay 2026: pybay.org
StaticFrame: github.com
Free-threaded row-wise apply: static-frame.readthedocs.io
Getting Started with Free-Threaded Python Using NumPy: github.com
Free-threaded Python: docs.python.org
abi3t: peps.python.org
TonIO: talkpython.fm
did a whole course: training.talkpython.fm
psycopg2: pypi.org
ArrayKit: github.com
217 of the top 360: hugovk.dev
Quansights free-threading guide: py-free-threading.github.io
conditional-futures: github.com
rayon: github.com
Watch this episode on YouTube: youtube.com
Episode #570 deep-dive: talkpython.fm/570
Episode transcripts: talkpython.fm
Theme Song: Developer Rap
🥁 Served in a Flask 🎸: talkpython.fm/flasksong
---== Don't be a stranger ==---
YouTube: youtube.com/@talkpython
Bluesky: @talkpython.fm
Mastodon: @talkpython@fosstodon.org
X.com: @talkpython
Michael on Bluesky: @mkennedy.codes
Michael on Mastodon: @mkennedy@fosstodon.org
Michael on X.com: @mkennedy
1 h 02 min
Mon16Nov
PFPamela FoxGuest
Should your agent call an MCP server or just run a CLI? Pamela Fox joins us to share how she thinks about connecting AI and her data. She’s taught MCP workshops from PyCon to WeAreDevelopers. And, every week, an agent combs her Gmail, Outlook, and X history to build her news roundup. She uses MCP all day. Yet, there are still times you when to skip it. You'll hear how her colleague pitted the GitHub CLI against the GitHub MCP server on a real bug fix. The CLI used fewer tokens. It succeeded more often. So do we choose CLIs, MCPs, or even just APIs for connecting our agents to our data and services? Let's find out.
Episode sponsors
Talk Python Membership
Talk Python Membership
Talk Python Courses
Links from the show
Guest
Pamela Fox: pamelafox.org
Meetup: SQLite Might *Actually* Be All You Need: talkpython.fm
MCP: modelcontextprotocol.io
WeAreDevelopers workshop: pamelafox.github.io
slide 16: pamelafox.github.io
To MCP or not to MCP: blog.pamelafox.org
MCP: Bringing mashups back: blog.pamelafox.org
MCP auth session: www.youtube.com
Pydantic AI \+ Playwright: blog.pamelafox.org
post: blog.pamelafox.org
PyAI talk: www.youtube.com
post: blog.pamelafox.org
POSETTE talk: www.youtube.com
post: blog.pamelafox.org
Can MCP choose my outfit: blog.pamelafox.org
Talk Python now has a CLI: talkpython.fm
FastMCP: gofastmcp.com
Typer: typer.tiangolo.com
Click CLI: click.palletsprojects.com
Boldin: www.boldin.com
Sentry MCP: mcp.sentry.dev
X.com MCP: docs.x.com
Watch this episode on YouTube: youtube.com
Episode #569 deep-dive: talkpython.fm/569
Episode transcripts: talkpython.fm
Theme Song: Developer Rap
🥁 Served in a Flask 🎸: talkpython.fm/flasksong
---== Don't be a stranger ==---
YouTube: youtube.com/@talkpython
Bluesky: @talkpython.fm
Mastodon: @talkpython@fosstodon.org
X.com: @talkpython
Michael on Bluesky: @mkennedy.codes
Michael on Mastodon: @mkennedy@fosstodon.org
Michael on X.com: @mkennedy
1 h 03 min
Tue3Nov
DPDominik PichetaGyeongjae ChoiHood ChathamGuest
Where does your Python code actually run? A server in Virginia? A container in Frankfurt? Pyodide put Python into the browser. Cloudflare put the browser into the server. Combine the two and you get Python Workers, now generally available. My guests are Hood Chatham, Gyeongjae Choi, and Dominik Picheta from Cloudflare. Hood and Gyeongjae maintain Pyodide. Dominik got Python running in Cloudflare Workers in the first place. Your FastAPI app ships as plain Python files. It runs on CPython compiled to WebAssembly, inside V8, at over 350 locations worldwide.
Episode sponsors
Talk Python Membership
Talk Python Membership
Talk Python Courses
Links from the show
Guests
Gyeongjae Choi: linkedin.com
Hood Chatham
Dominik Picheta
Pyodide: pyodide.com
Python Everywhere: The State of Python on WebAssembly - Hood Chatham, Gyeongjae Choi: www.youtube.com
PEP 783: peps.python.org
D1 Databases: www.cloudflare.com
Hyperdrive: www.cloudflare.com
R2 Object Storage: www.cloudflare.com
Queues: developers.cloudflare.com
AI: www.cloudflare.com
now generally available: blog.cloudflare.com
Memory Snapshots for CPython (Python Language Summit 2026\): blog.python.org
Cloudflare Worker Limits: developers.cloudflare.com
Litestream: litestream.io
workerd: github.com
Are we PEP 783 yet?: pyodide.github.io
The Birth & Death of JavaScript: www.destroyallsoftware.com
Watch this episode on YouTube: youtube.com
Episode #568 deep-dive: talkpython.fm/568
Episode transcripts: talkpython.fm
Theme Song: Developer Rap
🥁 Served in a Flask 🎸: talkpython.fm/flasksong
---== Don't be a stranger ==---
YouTube: youtube.com/@talkpython
Bluesky: @talkpython.fm
Mastodon: @talkpython@fosstodon.org
X.com: @talkpython
Michael on Bluesky: @mkennedy.codes
Michael on Mastodon: @mkennedy@fosstodon.org
Michael on X.com: @mkennedy
1 h 02 min
Tue27Oct
JTJeff TriplettGuest
The most popular Python project you've probably never heard of has 252,000 GitHub stars and merged over 1,800 pull requests in a single week. It's Hermes, a self-hosted AI agent you program just by talking to it. And it never clocks out. It runs 24/7 on a box in your house, wakes up every 15 minutes, keeps your YouTube channel in sync, and has your morning briefing ready before you're up. Mine started as a few config files. A few months later, it's 16,000 files of skills, memories, and tools it built for itself, all while I wasn't watching. Jeff Triplett joins me to explore this honestly weird but kind of amazing world. And yes, Hermes has a few words for you, too.
Episode sponsors
Talk Python Membership
Talk Python Membership
Talk Python Courses
Links from the show
Talk Python Tech Talks: talkpython.fm/meetups
Hermes: github.com
Ollama cloud models: ollama.com
https\://hermes-agent.nousresearch.com: hermes-agent.nousresearch.com
Hermes Web UI: get-hermes.ai
built my own UI: blobs.talkpython.fm
the Hermes Dashboard: blobs.talkpython.fm
the audio from the chat example: blobs.talkpython.fm
the CLI: blobs.talkpython.fm
Tailscale: tailscale.com
Hindsight: hindsight.vectorize.io
trmnl display: trmnl.com
JEV: typesafe.ai
Home Assistant Green: www.home-assistant.io
QMD - Query Markup Documents: github.com
OrangePi: www.orangepi.org
Watch this episode on YouTube: youtube.com
Episode #567 deep-dive: talkpython.fm/567
Episode transcripts: talkpython.fm
Theme Song: Developer Rap
🥁 Served in a Flask 🎸: talkpython.fm/flasksong
---== Don't be a stranger ==---
YouTube: youtube.com/@talkpython
Bluesky: @talkpython.fm
Mastodon: @talkpython@fosstodon.org
X.com: @talkpython
Michael on Bluesky: @mkennedy.codes
Michael on Mastodon: @mkennedy@fosstodon.org
Michael on X.com: @mkennedy
1 h 07 min
Fri2Oct
LKLászló Kiss KollárPablo Galindo SalgadoGuest
Do you know what's actually slow in your Python app? Or are you guessing? Until now, profiling Python meant a tracing profiler that made your code 2 to 3 times slower. Or a third-party tool that broke with every new release. Python 3.15 fixes that. It ships Tachyon, a sampling profiler built into the standard library. It attaches to live production apps with almost zero overhead. My guests are Pablo Galindo Salgado, CPython core developer and Steering Council member, and László Kiss Kollár from Bloomberg's Python infrastructure team. Their first prototype ran at two samples a second. Now it does over a million hz. And it lands in Python 3.15 this October.
Episode sponsors
Sentry Error Monitoring, Code talkpython26
Python in Production
Talk Python Courses
Links from the show
Guests
László Kiss Kollár: linkedin.com
Pablo Galindo Salgado
3.11: talkpython.fm
Memray: talkpython.fm
PyStack: talkpython.fm
profile and cProfile: docs.python.org
py-spy: github.com
Austin: github.com
PEP 799: peps.python.org
PEP 768: peps.python.org
PyCon US 2026 talk: us.pycon.org
The docs: docs.python.org
Backport to 3.14: github.com
Watch this episode on YouTube: youtube.com
Episode #565 deep-dive: talkpython.fm/565
Episode transcripts: talkpython.fm
Theme Song: Developer Rap
🥁 Served in a Flask 🎸: talkpython.fm/flasksong
---== Don't be a stranger ==---
YouTube: youtube.com/@talkpython
Bluesky: @talkpython.fm
Mastodon: @talkpython@fosstodon.org
X.com: @talkpython
Michael on Bluesky: @mkennedy.codes
Michael on Mastodon: @mkennedy@fosstodon.org
Michael on X.com: @mkennedy
1 h 28 min
Tue22Sep
KSKristinn SigurbergssonJamie BannisterThomas DählingGuest
Every ship in EVE Online eventually undocks and leaves the station. This time, it's the whole game. EVE has run on Python 2 since it launched in 2003, all 2.4 million lines of it, on a custom Stackless interpreter that stopped at 3.8 and was archived last year. Destination: Python 3.12. The route runs through 6,500 lines of division that decide who wins a fight, and 100 gigabytes of pickled Python objects that have to survive the jump intact. Kristinn Sigurbergsson was on this show ten years ago. He's back, with Jamie Bannister, who is flying the EVE Online migration right now, and Thomas Dähling, who took EVE Frontier through first. In EVE, a destroyed ship is gone for good. There are no do-overs, and the universe has to stay online the whole way.
Episode sponsors
Sentry Error Monitoring, Code talkpython26
Talk Python Courses
Links from the show
Guests
Jamie Bannister: linkedin.com
Thomas Dähling: linkedin.com
Kristinn Sigurbergsson: linkedin.com
EVE Online: www.eveonline.com
EVE Frontier: evefrontier.com
2.4 million lines of Python: www.eveonline.com
Example of graphics, ships walk-through: www.youtube.com
Stackless: www.stackless.com
futurize: python-future.org
blue: github.com
Dev blog on the Frontier upgrade: evefrontier.com
Upgrading CARBON to Python 3: www.youtube.com
carbon-scheduler: github.com
Scheduling in Carbon: Leaving Stackless Python Behind: www.youtube.com
All of Carbon is on GitHub now: github.com
did a whole course: training.talkpython.fm
Trade Wars BBS (Wikipedia): en.wikipedia.org
TW 3002 - TradeWars 2002, reimagined as a modern browser game: www.reddit.com
Watch this episode on YouTube: youtube.com
Episode #564 deep-dive: talkpython.fm/564
Episode transcripts: talkpython.fm
Theme Song: Developer Rap
🥁 Served in a Flask 🎸: talkpython.fm/flasksong
---== Don't be a stranger ==---
YouTube: youtube.com/@talkpython
Bluesky: @talkpython.fm
Mastodon: @talkpython@fosstodon.org
X.com: @talkpython
Michael on Bluesky: @mkennedy.codes
Michael on Mastodon: @mkennedy@fosstodon.org
Michael on X.com: @mkennedy
1 h 08 min
Wed16Sep
CTChristopher TrudeauGuest
Lint the entire CPython code base from scratch. It takes 0.3 seconds. Three blinks of an eye.
That is ruff, and it is written in Rust. So are Pydantic, Polars, uv, and Granian. Rust shows up in Python three ways: tools that happen to be Rust, libraries Python imports, and servers that run Python inside Rust. This is Rust for Python developers, not Rust experts.
Christopher Trudeau is back on Talk Python to discuss Rust and his latest course Up and Running with Rust. The core rule is that only one thing can own a value at a time. Pass it around freely in Python and the garbage collector cleans up. Do that in Rust and it will not compile.
Episode sponsors
Sentry Error Monitoring, Code talkpython26
Python in Production
Talk Python Courses
Links from the show
Up and Running with Rust course: training.talkpython.fm
Rust: rust-lang.org
pydantic: pydantic.dev
ruff: docs.astral.sh
granian: github.com
By example: doc.rust-lang.org
rust-lang.org: rust-lang.org
rustup.rs: rustup.rs
crates.io: crates.io
main.rs: main.rs
PyO3: github.com
https://github.com/ritwiktiwari/awesome-python-rs: github.com
ty: docs.astral.sh
pyrefly: pyrefly.org
uv: github.com
polars: pola.rs
Watch this episode on YouTube: youtube.com
Episode #563 deep-dive: talkpython.fm/563
Episode transcripts: talkpython.fm
Theme Song: Developer Rap
🥁 Served in a Flask 🎸: talkpython.fm/flasksong
---== Don't be a stranger ==---
YouTube: youtube.com/@talkpython
Bluesky: @talkpython.fm
Mastodon: @talkpython@fosstodon.org
X.com: @talkpython
Michael on Bluesky: @mkennedy.codes
Michael on Mastodon: @mkennedy@fosstodon.org
Michael on X.com: @mkennedy
1 h 11 min
Guests from more than 12 months ago are part of Pro. See plans