#cpython

[ follow ]
#python
fromArtem Golubin
2 weeks ago

Recent optimizations in Python's Reference Counting

Reference counting is the primary memory management technique used in CPython. In short, every Python object (the actual value behind a variable) has a reference counter field that tracks how many references point to it. When an object's reference count drops to zero, the memory occupied by that object is immediately deallocated.
Software development
Python
fromPython Software Foundation Blog
1 month ago

Sovereign Tech Agency and PSF Security Partnership

Investment improves CPython and PyPI security and reliability via archive-module fuzz-testing and OAuth/OIDC-based verified account recovery, enhancing supply chain resilience and user experience.
Python
fromTheregister
1 month ago

Rust edges toward CPython and older platforms won't like it

CPython maintainers propose integrating Rust gradually, starting with optional extensions and eventually requiring Rust across the CPython codebase.
Software development
fromAntocuni
3 months ago

Tracing JITs in the real world @ CPython Core Dev Sprint

Work on CPython aims to evolve a safer native C API (PyNI), upstream colorful REPL completions, and improve JIT through PyPy-informed collaboration.
Python
fromThepythoncodingstack
4 months ago

When You No Longer Need That Object * Dealing With Garbage in Python

CPython automatically reclaims unused objects via garbage collection and calls __del__() as a finaliser just before object destruction.
fromQuansight
8 months ago

The first year of free-threaded Python

Support for free-threaded Python unlocks the full compute power of modern hardware, allowing for better parallel algorithms and performance with multicore CPUs and GPUs.
Python
[ Load more ]