PyPy 2.6.1 released
PyPy 2.6.1
We’re pleased to announce PyPy 2.6.1, an update to PyPy 2.6.0 released June 1. We have fixed many issues, updated stdlib to 2.7.10, cffi to version 1.3, extended support for the new vmprof statistical profiler for multiple threads, and increased functionality of numpy.You can download the PyPy 2.6.1 release here:
We would like to thank our donors for the continued support of the PyPy project, and our volunteers and contributors.
We would also like to encourage new people to join the project. PyPy has many layers and we need help with all of them: PyPy and RPython documentation improvements, tweaking popular modules to run on pypy, or general help with making RPython’s JIT even better.
What is PyPy?
PyPy is a very compliant Python interpreter, almost a drop-in replacement for CPython 2.7. It’s fast (pypy and cpython 2.7.x performance comparison) due to its integrated tracing JIT compiler.This release supports x86 machines on most common operating systems (Linux 32/64, Mac OS X 64, Windows 32, OpenBSD, freebsd), as well as newer ARM hardware (ARMv6 or ARMv7, with VFPv3) running Linux.
We also welcome developers of other dynamic languages to see what RPython can do for them.
Highlights
- Bug Fixes
- Revive non-SSE2 support
- Fixes for detaching _io.Buffer*
- On Windows, close (and flush) all open sockets on exiting
- Drop support for ancient macOS v10.4 and before
- Clear up contention in the garbage collector between trace-me-later and pinning
- Issues reported with our previous release were resolved after reports from users on our issue tracker at https://foss.heptapod.net/pypy/pypy/-/issues or on IRC at #pypy.
- New features:
- cffi was updated to version 1.3
- The python stdlib was updated to 2.7.10 from 2.7.9
- vmprof now supports multiple threads and OS X
- The translation process builds cffi import libraries for some stdlib packages, which should prevent confusion when package.py is not used
- better support for gdb debugging
- freebsd should be able to translate PyPy “out of the box” with no patches
- Numpy:
- Better support for record dtypes, including the
align
keyword - Implement casting and create output arrays accordingly (still missing some corner cases)
- Support creation of unicode ndarrays
- Better support ndarray.flags
- Support
axis
argument in more functions - Refactor array indexing to support ellipses
- Allow the docstrings of built-in numpy objects to be set at run-time
- Support the
buffered
nditer creation keyword
- Better support for record dtypes, including the
- Performance improvements:
- Delay recursive calls to make them non-recursive
- Skip loop unrolling if it compiles too much code
- Tweak the heapcache
- Add a list strategy for lists that store both floats and 32-bit integers. The latter are encoded as nonstandard NaNs. Benchmarks show that the speed of such lists is now very close to the speed of purely-int or purely-float lists.
- Simplify implementation of ffi.gc() to avoid most weakrefs
- Massively improve the performance of map() with more than one sequence argument
Cheers
The PyPy Team
Comments
Cool! Really nice, thank you. Any ETA for Python 3.3 compatibility in pypy?
Thanks!
Thanks!
Still waiting for PyPy3's update. The latest version of PyPy is much faster than the latest version of PyPy3. Please update soon. :)
Contrary to what the front page is still saying, the non-SSE2 backend for older x86 processors is fully working and can be built from source, which takes almost 7h on a 2.2GHz Athlon XP.
You can download a 2.6.1 build from here:
https://www.dropbox.com/sh/6i7ktwv9551asfc/AADOd55Br0lDJRH8HsKpbIwTa?dl=0
It should work on any P2 class processor.