New long article on PEP 814 Add frozendict built-in type vstinner.github.io/pep-814-add-fr… Donghee Na @dongheena92 & me wrote PEP 814 to add frozendict implemented in C. Here is the long journey of adding the type to Python 3.15: implementation, stdlib changes, optimizations, complex bugs.
I'm writing an article series on Free Threading internals. The 3rd article vstinner.github.io/free-threading… introduces PyMutex: one byte lock with fast, inlineable lock and unlock functions for the common uncontended case. The design is based on WebKit's WTF::Lock.
The Python test suite now pass on Alpine Linux (musl C library): discuss.python.org/t/the-python-t… I increased the stack size to 1 MiB and skipped the few tests known to fail on musl.
I'm writing an article serie on Free Threading internals. The second article vstinner.github.io/free-threading… analyzes immortal objects, deferred reference count, and stack references which reduce reference count contention by optimizing Py_INCREF()/Py_DECREF().