Free-Threaded Python Status and Tools
Free-Threaded Python Progress
Official Status Update
• Free-threaded Python has reached a major milestone with the acceptance of PEP 779.
• The experimental label is officially being removed starting in Python 3.14, signaling that the build is now in a supported status.
• Thomas Wooter confirmed it will take several years before it becomes the default, due to complex dependencies and stable ABI requirements.
Developer Productivity Tools
PyLeak
• PyLeak is a powerful utility for detecting leaks related to asyncio tasks, threads, and event loops.
• It acts as a safety net that warns or throws exceptions when coroutines are created without being awaited or when execution blocks the event loop.
Typed FFmpeg
• Typed FFmpeg provides a modern, type-safe Python interface for the powerful FFmpeg CLI, enabling complex filter graphs and better autocomplete support.
"If you pay hundreds or thousands of dollars to cloud providers to re-encode video for you, you definitely want to check this out."
Advanced Testing Techniques
Optimizing Test Execution
• A guide by Tim Kaminen highlights how to use pytest hook functions to reorder tests dynamically.
• By running end-to-end (E2E) tests that use slow fixtures like live_server last, developers gain faster feedback loops from unit tests.
• Hook functions such as pytest_collection_modifyitems allow for automatic application of markers and selective test execution.