What’s up Python? d-strings, SSE in Pydantic and... a new Python?
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
A roundup of recent Python ecosystem news covering four main topics: Pydantic's new Monty project (a sandboxed Python VM written in Rust designed for AI workflows and safe code execution), PEP 821 proposing d-strings for automatic dedentation of multiline strings, PEP 764 proposing inline TypedDict syntax, and FastAPI's new native support for Server-Sent Events. Also briefly mentions PEP 747 acceptance and the JetBrains Python developer survey.
Table of contents
Pydantic creates a whole new Python implementationPEP 821, a proposal for a dedented stringsPEP 764 – Inline typed dictionariesFast API gets Server Side EventsAnd MoarSort: