Planet Python
Follow
PyPy: PyPy v8.0.0 release
PyPy has released version 8.0.0, marking a significant update. This release includes support for Python 2.7, Python 3.11, and a beta version of Python 3.12. The Linux buildbots have been updated to use manylinux_2_28 images, now requiring glibc2.28. A major development is PyPy's new C layer model that aims for compatibility with CPython's limited ABI for wheels. This update hides PyPy-specific extensions in C extension modules, aligning PyPy's C headers with CPython's when using the limited API. While the import machinery and ecosystem tools still need to fully recognize abi3.so objects, efforts are underway with Cython and PyO3 to ensure seamless integration. RPython code generation has seen improvements, including computed gotos and more aggressive inlining, though performance gains are modest. The internal HPy backend has been dropped as it did not gain sufficient support. A revived tool, pyhdrdump, is available to compare PyPy and CPython header files. The release offers three interpreters: PyPy2.7, PyPy3.11 (which will be the last for this version), and PyPy3.12 beta. PyPy is a fast, drop-in replacement for CPython, utilizing a tracing JIT compiler. Binary builds are available for various common architectures, with support for more platforms provided by downstream packagers.