| 1 |
========== |
| 2 |
PyPy 4.0.1 |
| 3 |
========== |
| 4 |
|
| 5 |
We have released PyPy 4.0.1, three weeks after PyPy 4.0.0. We have fixed |
| 6 |
a few critical bugs in the JIT compiled code, reported by users. We therefore |
| 7 |
encourage all users of PyPy to update to this version. There are a few minor |
| 8 |
enhancements in this version as well. |
| 9 |
|
| 10 |
You can download the PyPy 4.0.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. |
| 16 |
|
| 17 |
We would also like to thank our contributors and |
| 18 |
encourage new people to join the project. PyPy has many |
| 19 |
layers and we need help with all of them: `PyPy`_ and `RPython`_ documentation |
| 20 |
improvements, tweaking popular `modules`_ to run on pypy, or general `help`_ |
| 21 |
with making RPython's JIT even better. |
| 22 |
|
| 23 |
CFFI |
| 24 |
==== |
| 25 |
|
| 26 |
While not applicable only to PyPy, `cffi`_ is arguably our most significant |
| 27 |
contribution to the python ecosystem. PyPy 4.0.1 ships with |
| 28 |
`cffi-1.3.1`_ with the improvements it brings. |
| 29 |
|
| 30 |
.. _`PyPy`: https://doc.pypy.org |
| 31 |
.. _`RPython`: https://rpython.readthedocs.org |
| 32 |
.. _`cffi`: https://cffi.readthedocs.org |
| 33 |
.. _`cffi-1.3.1`: https://cffi.readthedocs.org/en/latest/whatsnew.html#v1-3-1 |
| 34 |
.. _`modules`: https://doc.pypy.org/project-ideas.html#make-more-python-modules-pypy-friendly |
| 35 |
.. _`help`: https://doc.pypy.org/project-ideas.html |
| 36 |
.. _`numpy`: https://bitbucket.org/pypy/numpy |
| 37 |
|
| 38 |
What is PyPy? |
| 39 |
============= |
| 40 |
|
| 41 |
PyPy is a very compliant Python interpreter, almost a drop-in replacement for |
| 42 |
CPython 2.7. It's fast (`pypy and cpython 2.7.x`_ performance comparison) |
| 43 |
due to its integrated tracing JIT compiler. |
| 44 |
|
| 45 |
We also welcome developers of other |
| 46 |
`dynamic languages`_ to see what RPython can do for them. |
| 47 |
|
| 48 |
This release supports **x86** machines on most common operating systems |
| 49 |
(Linux 32/64, Mac OS X 64, Windows 32, OpenBSD, freebsd), |
| 50 |
newer **ARM** hardware (ARMv6 or ARMv7, with VFPv3) running Linux, and the |
| 51 |
big- and little-endian variants of **ppc64** running Linux. |
| 52 |
|
| 53 |
.. _`pypy and cpython 2.7.x`: https://speed.pypy.org |
| 54 |
.. _`dynamic languages`: https://pypyjs.org |
| 55 |
|
| 56 |
Other Highlights (since 4.0.0 released three weeks ago) |
| 57 |
======================================================= |
| 58 |
|
| 59 |
* Bug Fixes |
| 60 |
|
| 61 |
* Fix a bug when unrolling double loops in JITted code |
| 62 |
|
| 63 |
* Fix multiple memory leaks in the ssl module, one of which affected |
| 64 |
`cpython` as well (thanks to Alex Gaynor for pointing those out) |
| 65 |
|
| 66 |
* Use pkg-config to find ssl headers on OS-X |
| 67 |
|
| 68 |
* Issues reported with our previous release were resolved_ after reports from users on |
| 69 |
our issue tracker at https://bitbucket.org/pypy/pypy/issues or on IRC at |
| 70 |
#pypy |
| 71 |
|
| 72 |
* New features: |
| 73 |
|
| 74 |
* Internal cleanup of RPython class handling |
| 75 |
|
| 76 |
* Support stackless and greenlets on PPC machines |
| 77 |
|
| 78 |
* Improve debug logging in subprocesses: use PYPYLOG=jit:log.%d |
| 79 |
for example to have all subprocesses write the JIT log to a file |
| 80 |
called 'log.%d', with '%d' replaced with the subprocess' PID. |
| 81 |
|
| 82 |
* Support PyOS_double_to_string in our cpyext capi compatibility layer |
| 83 |
|
| 84 |
* Numpy: |
| 85 |
|
| 86 |
* Improve support for __array_interface__ |
| 87 |
|
| 88 |
* Propagate NAN mantissas through float16-float32-float64 conversions |
| 89 |
|
| 90 |
|
| 91 |
* Performance improvements and refactorings: |
| 92 |
|
| 93 |
* Improvements in slicing byte arrays |
| 94 |
|
| 95 |
* Improvements in enumerate() |
| 96 |
|
| 97 |
* Silence some warnings while translating |
| 98 |
|
| 99 |
.. _resolved: https://doc.pypy.org/whatsnew-4.0.1.html |
| 100 |
|
| 101 |
Please update, and continue to help us make PyPy better. |
| 102 |
|
| 103 |
Cheers |
| 104 |
|
| 105 |
The PyPy Team |
| 106 |
|