| 1 |
============================================================== |
| 2 |
PyPy v7.1.1: release of 2.7, and 3.6-beta, released 2019-04-18 |
| 3 |
============================================================== |
| 4 |
|
| 5 |
The PyPy team is proud to release a bug-fix release version 7.1.1 of PyPy, which |
| 6 |
includes two different interpreters: |
| 7 |
|
| 8 |
- PyPy2.7, which is an interpreter supporting the syntax and the features of |
| 9 |
Python 2.7 |
| 10 |
|
| 11 |
- PyPy3.6-beta: this is the second official release of PyPy to support 3.6 |
| 12 |
features, although it is still considered beta quality. |
| 13 |
|
| 14 |
The interpreters are based on much the same codebase, thus the double |
| 15 |
release. |
| 16 |
|
| 17 |
As always, this release is 100% compatible with the previous one and fixed |
| 18 |
several issues and bugs raised by the growing community of PyPy users. |
| 19 |
We strongly recommend updating. |
| 20 |
|
| 21 |
The PyPy3.6 release is still not production quality so your mileage may vary. |
| 22 |
There are open issues with incomplete compatibility and c-extension support. |
| 23 |
|
| 24 |
You can download the v7.1.1 releases here: |
| 25 |
|
| 26 |
https://pypy.org/download.html |
| 27 |
|
| 28 |
We would like to thank our donors for the continued support of the PyPy |
| 29 |
project. If PyPy is not quite good enough for your needs, we are available for |
| 30 |
direct consulting work. |
| 31 |
|
| 32 |
We would also like to thank our contributors and encourage new people to join |
| 33 |
the project. PyPy has many layers and we need help with all of them: `PyPy`_ |
| 34 |
and `RPython`_ documentation improvements, tweaking popular modules to run |
| 35 |
on pypy, or general `help`_ with making RPython's JIT even better. |
| 36 |
|
| 37 |
.. _`PyPy`: index.html |
| 38 |
.. _`RPython`: https://rpython.readthedocs.org |
| 39 |
.. _`help`: project-ideas.html |
| 40 |
|
| 41 |
What is PyPy? |
| 42 |
============= |
| 43 |
|
| 44 |
PyPy is a very compliant Python interpreter, almost a drop-in replacement for |
| 45 |
CPython 2.7, 3.6. It's fast (`PyPy and CPython 2.7.x`_ performance |
| 46 |
comparison) due to its integrated tracing JIT compiler. |
| 47 |
|
| 48 |
We also welcome developers of other `dynamic languages`_ to see what RPython |
| 49 |
can do for them. |
| 50 |
|
| 51 |
This PyPy release supports: |
| 52 |
|
| 53 |
* **x86** machines on most common operating systems |
| 54 |
(Linux 32/64 bits, Mac OS X 64 bits, Windows 32 bits, OpenBSD, FreeBSD) |
| 55 |
|
| 56 |
* big- and little-endian variants of **PPC64** running Linux, |
| 57 |
|
| 58 |
* **s390x** running Linux |
| 59 |
|
| 60 |
Unfortunately at the moment of writing our ARM buildbots are out of service, |
| 61 |
so for now we are **not** releasing any binary for the ARM architecture, |
| 62 |
although PyPy does support ARM 32 bit processors. |
| 63 |
|
| 64 |
.. _`PyPy and CPython 2.7.x`: https://speed.pypy.org |
| 65 |
.. _`dynamic languages`: https://rpython.readthedocs.io/en/latest/examples.html |
| 66 |
|
| 67 |
|
| 68 |
Changelog |
| 69 |
========= |
| 70 |
|
| 71 |
Changes shared across versions: |
| 72 |
|
| 73 |
* Improve performance of ``u''.append`` |
| 74 |
|
| 75 |
* Prevent a crash in ``zlib`` when flushing a closed stream |
| 76 |
|
| 77 |
* Fix a few corner cases when encountering unicode values above 0x110000 |
| 78 |
|
| 79 |
* Teach the JIT how to handle very large constant lists, sets, or dicts |
| 80 |
* Fix building on ARM32 (issue 2984_) |
| 81 |
* Fix a bug in register assignment in ARM32 |
| 82 |
* Package windows DLLs needed by cffi modules next to the cffi c-extensions |
| 83 |
(issue 2988_) |
| 84 |
* Cleanup and refactor JIT code to remove ``rpython.jit.metainterp.typesystem`` |
| 85 |
* Fix memoryviews of ctype structures with padding, (cpython issue 32780_) |
| 86 |
* CFFI updated to as-yet-unreleased 1.12.3 |
| 87 |
|
| 88 |
Python 3.6 only: |
| 89 |
|
| 90 |
* Override some ``errno.E*`` values that were added to MSVC in v2010 |
| 91 |
so that ``errno.E* == errno.WSAE*`` as in CPython |
| 92 |
* Do the same optimization that CPython does for ``(1, 2, 3, *a)`` (but at the |
| 93 |
AST level) |
| 94 |
* ``str.maketrans`` was broken (issue 2991_) |
| 95 |
* Raise a ``TypeError`` when using buffers and unicode such as ``''.strip(buffer)`` |
| 96 |
and ``'a' < buffer`` |
| 97 |
* Support ``_overlapped`` and asyncio on win32 |
| 98 |
* Fix an issue where ``''.join(list_of_strings)`` would rarely confuse utf8 and |
| 99 |
bytes (issue 2997_) |
| 100 |
|
| 101 |
.. _2984: https://bitbucket.org/pypy/pypy/issues/2984 |
| 102 |
.. _2991: https://bitbucket.org/pypy/pypy/issues/2991 |
| 103 |
.. _2988: https://bitbucket.org/pypy/pypy/issues/2988 |
| 104 |
.. _2997: https://bitbucket.org/pypy/pypy/issues/2997 |
| 105 |
.. _32780: https://bugs.python.org/issue32780 |