Debian Codegraph @

pypy/doc/release-v5.10.0.rst

raw
1 ======================================
2 PyPy2.7 and PyPy3.5 v5.10 dual release
3 ======================================
4
5 The PyPy team is proud to release both PyPy2.7 v5.10 (an interpreter supporting
6 Python 2.7 syntax), and a final PyPy3.5 v5.10 (an interpreter for Python
7 3.5 syntax). The two releases are both based on much the same codebase, thus
8 the dual release.
9
10 This release is an incremental release with very few new features, the main
11 feature being the final PyPy3.5 release that works on linux and OS X with beta
12 windows support. It also includes fixes for `vmprof`_ cooperation with greenlets.
13
14 Compared to 5.9, the 5.10 release contains mostly bugfixes and small improvements.
15 We have in the pipeline big new features coming for PyPy 6.0 that did not make
16 the release cut and should be available within the next couple months.
17
18 As always, this release is 100% compatible with the previous one and fixed
19 several issues and bugs raised by the growing community of PyPy users.
20 As always, we strongly recommend updating.
21
22 There are quite a few important changes that are in the pipeline that did not
23 make it into the 5.10 release. Most important are speed improvements to cpyext
24 (which will make numpy and pandas a bit faster) and utf8 branch that changes
25 internal representation of unicode to utf8, which should help especially the
26 Python 3.5 version of PyPy.
27
28 This release concludes the Mozilla Open Source `grant`_ for having a compatible
29 PyPy 3.5 release and we're very grateful for that. Of course, we will continue
30 to improve PyPy 3.5 and probably move to 3.6 during the course of 2018.
31
32 You can download the v5.10 releases here:
33
34 https://pypy.org/download.html
35
36 We would like to thank our donors for the continued support of the PyPy
37 project.
38
39 We would also like to thank our contributors and
40 encourage new people to join the project. PyPy has many
41 layers and we need help with all of them: `PyPy`_ and `RPython`_ documentation
42 improvements, tweaking popular `modules`_ to run on pypy, or general `help`_
43 with making RPython's JIT even better.
44
45 .. _vmprof: https://vmprof.readthedocs.io
46 .. _grant: https://morepypy.blogspot.com/2016/08/pypy-gets-funding-from-mozilla-for.html
47 .. _`PyPy`: index.html
48 .. _`RPython`: https://rpython.readthedocs.org
49 .. _`modules`: project-ideas.html#make-more-python-modules-pypy-friendly
50 .. _`help`: project-ideas.html
51
52 What is PyPy?
53 =============
54
55 PyPy is a very compliant Python interpreter, almost a drop-in replacement for
56 CPython 2.7 and CPython 3.5. It's fast (`PyPy and CPython 2.7.x`_ performance comparison)
57 due to its integrated tracing JIT compiler.
58
59 We also welcome developers of other `dynamic languages`_ to see what RPython
60 can do for them.
61
62 The PyPy release supports:
63
64 * **x86** machines on most common operating systems
65 (Linux 32/64 bits, Mac OS X 64 bits, Windows 32 bits, OpenBSD, FreeBSD)
66
67 * newer **ARM** hardware (ARMv6 or ARMv7, with VFPv3) running Linux,
68
69 * big- and little-endian variants of **PPC64** running Linux,
70
71 * **s390x** running Linux
72
73 .. _`PyPy and CPython 2.7.x`: https://speed.pypy.org
74 .. _`dynamic languages`: https://rpython.readthedocs.io/en/latest/examples.html
75
76 Changelog
77 =========
78
79 * improve ssl handling on windows for pypy3 (makes pip work)
80 * improve unicode handling in various error reporters
81 * fix vmprof cooperation with greenlets
82 * fix some things in cpyext
83 * test and document the cmp(nan, nan) == 0 behaviour
84 * don't crash when calling sleep with inf or nan
85 * fix bugs in _io module
86 * inspect.isbuiltin() now returns True for functions implemented in C
87 * allow the sequences future-import, docstring, future-import for CPython bug compatibility
88 * Issue #2699: non-ascii messages in warnings
89 * posix.lockf
90 * fixes for FreeBSD platform
91 * add .debug files, so builds contain debugging info, instead of being stripped
92 * improvements to cppyy
93 * issue #2677 copy pure c PyBuffer_{From,To}Contiguous from cpython
94 * issue #2682, split firstword on any whitespace in sqlite3
95 * ctypes: allow ptr[0] = foo when ptr is a pointer to struct
96 * matplotlib will work with tkagg backend once `matplotlib pr #9356`_ is merged
97 * improvements to utf32 surrogate handling
98 * cffi version bump to 1.11.2
99
100 .. _`matplotlib pr #9356`: https://github.com/matplotlib/matplotlib/pull/9356