Debian Codegraph @

pypy/doc/release-v7.3.5.rst

raw
1 ========================================================
2 PyPy v7.3.5: release of 2.7 and 3.7, released 2021-05-23
3 ========================================================
4
5 We are releasing a PyPy 7.3.5 with bugfixes for PyPy 7.3.4, released April 4.
6 PyPy 7.3.4 was the first release that runs on windows 64-bit, so that support
7 is still "beta". We are releasing it in the hopes that we can garner momentum
8 for its continued support, but are already aware of some problems, for instance
9 it errors in the NumPy test suite (issue 3462_). Please help out with testing
10 the release and reporting successes and failures, financially supporting our
11 ongoing work, and helping us find the source of these problems.
12
13 - The new windows 64-bit builds improperly named c-extension modules
14 with the same extension as the 32-bit build (issue 3443_)
15 - Use the windows-specific ``PC/pyconfig.h`` rather than the posix one
16 - Fix the return type for ``_Py_HashDouble`` which impacts 64-bit windows
17 - A change to the python 3.7 ``sysconfig.get_config_var('LIBDIR')`` was wrong,
18 leading to problems finding `libpypy3-c.so` for embedded PyPy (issue 3442_).
19 - Instantiate ``distutils.command.install`` schema for PyPy-specific
20 ``implementation_lower``
21 - Delay thread-checking logic in greenlets until the thread is actually started
22 (continuation of issue 3441_)
23 - Four upstream (CPython) security patches were applied:
24
25 - `BPO 42988`_ to remove ``pydoc.getfile``
26 - `BPO 43285`_ to not trust the ``PASV`` response in ``ftplib``.
27 - `BPO 43075`_ to remove a possible ReDoS in urllib AbstractBasicAuthHandler
28 - `BPO 43882`_ to sanitize urls containing ASCII newline and tabs in
29 ``urllib.parse``
30
31 - Fix for json-specialized dicts (issue 3460_)
32 - Specialize ``ByteBuffer.setslice`` which speeds up binary file reading by a
33 factor of 3
34 - When assigning the full slice of a list, evaluate the rhs before clearing the
35 list (issue 3440_)
36 - On Python2, ``PyUnicode_Contains`` accepts bytes as well as unicode.
37 - Finish fixing ``_sqlite3`` - untested ``_reset()`` was missing an argument
38 (issue 3432_)
39 - Update the packaged sqlite3 to 3.35.5 on windows. While not a bugfix, this
40 seems like an easy win.
41
42 We recommend updating. These fixes are the direct result of end-user bug
43 reports, so please continue reporting issues as they crop up.
44
45 You can find links to download the v7.3.5 releases here:
46
47 https://pypy.org/download.html
48
49 We would like to thank our donors for the continued support of the PyPy
50 project. If PyPy is not quite good enough for your needs, we are available for
51 direct consulting work. If PyPy is helping you out, we would love to hear about
52 it and encourage submissions to our `renovated blog site`_ via a pull request
53 to https://github.com/pypy/pypy.org
54
55 We would also like to thank our contributors and encourage new people to join
56 the project. PyPy has many layers and we need help with all of them: `PyPy`_
57 and `RPython`_ documentation improvements, tweaking popular modules to run
58 on PyPy, or general `help`_ with making RPython's JIT even better.
59
60 If you are a python library maintainer and use C-extensions, please consider
61 making a CFFI_ / cppyy_ version of your library that would be performant on PyPy.
62 In any case both `cibuildwheel`_ and the `multibuild system`_ support
63 building wheels for PyPy.
64
65 .. _`PyPy`: index.html
66 .. _`RPython`: https://rpython.readthedocs.org
67 .. _`help`: project-ideas.html
68 .. _CFFI: https://cffi.readthedocs.io
69 .. _cppyy: https://cppyy.readthedocs.io
70 .. _`multibuild system`: https://github.com/matthew-brett/multibuild
71 .. _`cibuildwheel`: https://github.com/joerick/cibuildwheel
72 .. _`renovated blog site`: https://pypy.org/blog
73
74
75 What is PyPy?
76 =============
77
78 PyPy is a Python interpreter, a drop-in replacement for CPython 2.7, 3.7, and
79 soon 3.8. It's fast (`PyPy and CPython 3.7.4`_ performance
80 comparison) due to its integrated tracing JIT compiler.
81
82 We also welcome developers of other `dynamic languages`_ to see what RPython
83 can do for them.
84
85 This PyPy release supports:
86
87 * **x86** machines on most common operating systems
88 (Linux 32/64 bits, Mac OS X 64 bits, Windows 32/64 bits, OpenBSD, FreeBSD)
89
90 * big- and little-endian variants of **PPC64** running Linux,
91
92 * **s390x** running Linux
93
94 * 64-bit **ARM** machines running Linux.
95
96 PyPy does support ARM 32 bit processors, but does not release binaries.
97
98 .. _`PyPy and CPython 3.7.4`: https://speed.pypy.org
99 .. _`dynamic languages`: https://rpython.readthedocs.io/en/latest/examples.html
100
101 .. _3443: https://foss.heptapod.net/pypy/pypy/-/issues/3443
102 .. _3442: https://foss.heptapod.net/pypy/pypy/-/issues/3442
103 .. _3441: https://foss.heptapod.net/pypy/pypy/-/issues/3441
104 .. _3440: https://foss.heptapod.net/pypy/pypy/-/issues/3440
105 .. _3460: https://foss.heptapod.net/pypy/pypy/-/issues/3460
106 .. _3462: https://foss.heptapod.net/pypy/pypy/-/issues/3462
107 .. _3432: https://foss.heptapod.net/pypy/pypy/-/issues/3432
108 .. _`BPO 42988`: https://bugs.python.org/issue42988
109 .. _`BPO 43285`: https://bugs.python.org/issue43285
110 .. _`BPO 43075`: https://bugs.python.org/issue43075
111 .. _`BPO 43882`: https://bugs.python.org/issue43882
112