Debian Codegraph @

pypy/doc/whatsnew-pypy2-5.8.0.rst

raw
1 ==========================
2 What's new in PyPy2.7 5.8+
3 ==========================
4
5 .. this is a revision shortly after release-pypy2.7-v5.7.0
6 .. startrev: 44f31f6dd39f
7
8 Add cpyext interfaces for ``PyModule_New``
9
10 Correctly handle `dict.pop`` where the ``pop``
11 key is not the same type as the ``dict``'s and ``pop``
12 is called with a default (will be part of release 5.7.1)
13
14 .. branch: issue2522
15
16 Fix missing tp_new on w_object called through multiple inheritance
17 (will be part of release 5.7.1)
18
19 .. branch: lstrip_to_empty_string
20
21 .. branch: vmprof-native
22
23 PyPy support to profile native frames in vmprof.
24
25 .. branch: reusing-r11
26 .. branch: branch-prediction
27
28 Performance tweaks in the x86 JIT-generated machine code: rarely taken
29 blocks are moved off-line. Also, the temporary register used to contain
30 large constants is reused across instructions.
31
32 .. branch: vmprof-0.4.4
33
34 .. branch: controller-refactor
35
36 Refactor rpython.rtyper.controllerentry.
37
38 .. branch: PyBuffer-backport
39
40 Internal refactoring of buffers and memoryviews. Memoryviews will now be
41 accepted in a few more places, e.g. in compile().
42
43 .. branch: sthalik/fix-signed-integer-sizes-1494493539409
44
45 .. branch: cpyext-obj-stealing
46
47 Redo much of the refcount semantics in PyList_{SG}etItem to closer match
48 CPython and ensure the same PyObject stored in the list can be later
49 retrieved
50
51 .. branch: cpyext-recursionlimit
52
53 Implement Py_EnterRecursiveCall and associated functions
54
55 .. branch: pypy_ctypes_nosegfault_nofastpath
56
57 Remove faulty fastpath from ctypes
58
59 .. branch: sockopt_zero
60
61 Passing a buffersize of 0 to socket.getsockopt
62
63 .. branch: better-test-whatsnew
64
65 .. branch: faster-rstruct-2
66
67 Improve the performance of struct.pack and struct.pack_into by using raw_store
68 or gc_store_indexed whenever possible. Moreover, enable the existing
69 struct.unpack fast path to all the existing buffer types, whereas previously
70 it was enabled only for strings
71
72 .. branch: Kounavi/fix-typo-depricate-to-deprecate-p-1495624547235
73
74 .. branch: PyPy_profopt_enabled
75
76 Add profile-based optimization option ``profopt``, and specify training data
77 via ``profoptpath``