A talk on sentinel values, presented at PyConDE/PyData Berlin, EuroPython and the Swiss Python Summit in 2026, examines how Python's None is overused to mean missing, unset, error, or a real value, causing bugs when these meanings collide. The talk notes that PEP 661, a proposal to standardize sentinel objects, was deferred in April but accepted by the Steering Council just nine days later, and Python 3.15 now ships a built-in 'sentinel' construct that static type checkers can narrow properly.
florianwilhelm.info
· 2026-10-29
A tutorial demonstrates how to write a JSON parser in Rust and expose it to Python using PyO3, the same toolchain that powers pydantic-core, the Rust extension underlying Pydantic v2's validation speed. The guide walks through the four steps of bridging Rust and Python—writing a Rust module, annotating it with PyO3 macros, compiling with maturin, and importing it as a normal package—while flagging that converting Rust results back into Python objects can be more expensive than the parsing itself. It references a cohort where students built hand-rolled JSON parsers in Rust that outperformed CPython's built-in json module, in one case by up to 3.5x.
belderbos.dev
· 2026-09-13
fugue-labs published monty-go, an open-source Go library that embeds Pydantic's Monty Python interpreter compiled to WebAssembly and run via wazero. It lets Go programs execute LLM-generated Python code in an isolated WASM sandbox without containers, CGO, or subprocesses, pausing execution whenever the script calls an external function so Go code can handle it and return control.
github.com
· 2026-08-30
Pydantic has released HTTPX2, a new Python HTTP client library that continues the work of the HTTPX project, offering sync and async APIs, HTTP/1.1 and HTTP/2 support, and an optional command-line client. The project is positioned as a stewardship effort to keep the library actively maintained after HTTPX saw reduced development activity.
github.com
· 2026-08-28