Discover the exciting enhancements to f-strings in Python 3.12 through this 31-minute conference talk from EuroPython 2023. Explore the implementation of PEP 701, which addresses lingering issues with f-strings and introduces powerful new capabilities. Uncover the behind-the-scenes process of revamping thousands of lines of C code, modifying CPython's core functionality, and teaching the PEG parser to comprehend f-strings. Learn about the advantages these improvements bring to both end-users and library developers, while also reducing maintenance costs for CPython. Gain insights into the previous limitations of f-strings and how Python 3.12 resolves them, ultimately supercharging this beloved feature for even greater functionality and efficiency.
Overview
Syllabus
f"yeah!" - How we are supercharging f-strings in Python 3.12 — Pablo Galindo Salgado, Marta Gomez
Taught by
EuroPython Conference