| 1 |
========== |
| 2 |
PyPy 2.6.1 |
| 3 |
========== |
| 4 |
|
| 5 |
We're pleased to announce PyPy 2.6.1, an update to PyPy 2.6.0 released June 1. |
| 6 |
We have updated stdlib to 2.7.10, `cffi`_ to version 1.3, extended support for |
| 7 |
the new vmprof_ statistical profiler for multiple threads, and increased |
| 8 |
functionality of numpy. |
| 9 |
|
| 10 |
You can download the PyPy 2.6.1 release here: |
| 11 |
|
| 12 |
https://pypy.org/download.html |
| 13 |
|
| 14 |
We would like to thank our donors for the continued support of the PyPy |
| 15 |
project, and our volunteers and contributors. |
| 16 |
|
| 17 |
.. _`cffi`: https://cffi.readthedocs.org |
| 18 |
|
| 19 |
We would also like to encourage new people to join the project. PyPy has many |
| 20 |
layers and we need help with all of them: `PyPy`_ and `RPython`_ documentation |
| 21 |
improvements, tweaking popular `modules`_ to run on pypy, or general `help`_ with making |
| 22 |
RPython's JIT even better. |
| 23 |
|
| 24 |
.. _`PyPy`: https://doc.pypy.org |
| 25 |
.. _`RPython`: https://rpython.readthedocs.org |
| 26 |
.. _`modules`: https://doc.pypy.org/project-ideas.html#make-more-python-modules-pypy-friendly |
| 27 |
.. _`help`: https://doc.pypy.org/project-ideas.html |
| 28 |
|
| 29 |
What is PyPy? |
| 30 |
============= |
| 31 |
|
| 32 |
PyPy is a very compliant Python interpreter, almost a drop-in replacement for |
| 33 |
CPython 2.7. It's fast (`pypy and cpython 2.7.x`_ performance comparison) |
| 34 |
due to its integrated tracing JIT compiler. |
| 35 |
|
| 36 |
This release supports **x86** machines on most common operating systems |
| 37 |
(Linux 32/64, Mac OS X 64, Windows 32, OpenBSD_, freebsd_), |
| 38 |
as well as newer **ARM** hardware (ARMv6 or ARMv7, with VFPv3) running Linux. |
| 39 |
|
| 40 |
We also welcome developers of other |
| 41 |
`dynamic languages`_ to see what RPython can do for them. |
| 42 |
|
| 43 |
.. _`pypy and cpython 2.7.x`: https://speed.pypy.org |
| 44 |
.. _OpenBSD: https://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/lang/pypy |
| 45 |
.. _freebsd: https://svnweb.freebsd.org/ports/head/lang/pypy/ |
| 46 |
.. _`dynamic languages`: https://pypyjs.org |
| 47 |
|
| 48 |
Highlights |
| 49 |
=========== |
| 50 |
|
| 51 |
* Bug Fixes |
| 52 |
|
| 53 |
* Revive non-SSE2 support |
| 54 |
|
| 55 |
* Fixes for detaching _io.Buffer* |
| 56 |
|
| 57 |
* On Windows, close (and flush) all open sockets on exiting |
| 58 |
|
| 59 |
* Drop support for ancient macOS v10.4 and before |
| 60 |
|
| 61 |
* Clear up contention in the garbage collector between trace-me-later and pinning |
| 62 |
|
| 63 |
* Issues reported with our previous release were resolved_ after reports from users on |
| 64 |
our issue tracker at https://bitbucket.org/pypy/pypy/issues or on IRC at |
| 65 |
#pypy. |
| 66 |
|
| 67 |
* New features: |
| 68 |
|
| 69 |
* cffi was updated to version 1.3 |
| 70 |
|
| 71 |
* The python stdlib was updated to 2.7.10 from 2.7.9 |
| 72 |
|
| 73 |
* vmprof now supports multiple threads and OS X |
| 74 |
|
| 75 |
* The translation process builds cffi import libraries for some stdlib |
| 76 |
packages, which should prevent confusion when package.py is not used |
| 77 |
|
| 78 |
* better support for gdb debugging |
| 79 |
|
| 80 |
* freebsd should be able to translate PyPy "out of the box" with no patches |
| 81 |
|
| 82 |
* Numpy: |
| 83 |
|
| 84 |
* Better support for record dtypes, including the ``align`` keyword |
| 85 |
|
| 86 |
* Implement casting and create output arrays accordingly (still missing some corner cases) |
| 87 |
|
| 88 |
* Support creation of unicode ndarrays |
| 89 |
|
| 90 |
* Better support ndarray.flags |
| 91 |
|
| 92 |
* Support ``axis`` argument in more functions |
| 93 |
|
| 94 |
* Refactor array indexing to support ellipses |
| 95 |
|
| 96 |
* Allow the docstrings of built-in numpy objects to be set at run-time |
| 97 |
|
| 98 |
* Support the ``buffered`` nditer creation keyword |
| 99 |
|
| 100 |
* Performance improvements: |
| 101 |
|
| 102 |
* Delay recursive calls to make them non-recursive |
| 103 |
|
| 104 |
* Skip loop unrolling if it compiles too much code |
| 105 |
|
| 106 |
* Tweak the heapcache |
| 107 |
|
| 108 |
* Add a list strategy for lists that store both floats and 32-bit integers. |
| 109 |
The latter are encoded as nonstandard NaNs. Benchmarks show that the speed |
| 110 |
of such lists is now very close to the speed of purely-int or purely-float |
| 111 |
lists. |
| 112 |
|
| 113 |
* Simplify implementation of ffi.gc() to avoid most weakrefs |
| 114 |
|
| 115 |
* Massively improve the performance of map() with more than |
| 116 |
one sequence argument |
| 117 |
|
| 118 |
.. _`vmprof`: https://vmprof.readthedocs.org |
| 119 |
.. _resolved: https://doc.pypy.org/whatsnew-2.6.1.html |
| 120 |
|
| 121 |
Please try it out and let us know what you think. We welcome |
| 122 |
success stories, `experiments`_, or `benchmarks`_, we know you are using PyPy, please tell us about it! |
| 123 |
|
| 124 |
Cheers |
| 125 |
|
| 126 |
The PyPy Team |
| 127 |
|
| 128 |
.. _`experiments`: https://morepypy.blogspot.com/2015/02/experiments-in-pyrlang-with-rpython.html |
| 129 |
.. _`benchmarks`: https://mithrandi.net/blog/2015/03/axiom-benchmark-results-on-pypy-2-5-0 |