

#436 Slow tests go last
Jun 16, 2025
Explore the exciting news that free-threaded Python is now officially supported, thanks to PEP 779! Dive into the management of asynchronous tasks with PyLeak and learn about optimizing test execution with PyTest. Discover a new Python wrapper for FFmpeg that simplifies video processing and enhances efficiency. Plus, the hosts thoughtfully discuss vital authentication for B2B SaaS and share insights on naming conventions and Python upgrades. Don’t miss the blend of technical depth and light-hearted banter!
AI Snips
Chapters
Transcript
Episode notes
Free-Threaded Python Gains Support
- Python 3.14 free-threaded build is now officially supported, dropping the "experimental" label.
- It may take years before free-threading becomes the default due to required stable ABI and documentation needs.
Consider Locks with Free Threading
- In free-threaded Python, you may need locks if you perform multi-line thread-sensitive operations.
- Thread safety concerns for multi-line atomicity and error handling remain important under free-threading.
PyLeak Helps Catch Async Leaks
- Use PyLeak to detect async tasks, threads, and event loop leaks in your Python code.
- Integrate it in tests to catch unawaited async calls, abandoned threads, and blocking calls in async loops.