The Python test suite now pass on Alpine Linux (musl C library): https://discuss.python.org/t/the-python-test-suite-now-pass-on-alpine-linux-musl-c-library/107792 I increased the stack size to 1 MiB and skipped the few tests known to fail on musl.
Victor Stinner 🐍
Maintain Python upstream (python.org) and downstream (RHEL and Fedora) for Red Hat. Python core developer. he/him
I'm writing an article series on Free Threading internals. The 3rd article https://vstinner.github.io/free-threading-pymutex.html 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.
I'm writing an article series on Free Threading internals. The second article https://vstinner.github.io/free-threading-deferred-reference-counting.html analyzes immortal objects, deferred reference count, and stack references which reduce reference count contention by optimizing Py_INCREF()/Py_DECREF().
I'm writing an article serie on Free Threading internals. The first article explores the problem of tracking objects lifetime using reference counting in an efficient fashion: https://vstinner.github.io/free-threading-reference-counting.html We will see how the Gilectomy project started with atomic operations and then switched to buffered reference counting, and how the nogil project managed to solve the performance issue using Biased Reference Counting.
Python 3.15a7 is now ready for testing with the new built-in frozendict type!