Debian Codegraph @

pypy/doc/whatsnew-pypy3-7.3.6.rst

raw
1 ===========================
2 What's new in PyPy3.7 7.3.6
3 ===========================
4
5 .. this is the revision after release-pypy3.6-v7.3.3
6 .. startrev: a57ea1224248
7
8 .. branch: hpy
9
10 Merge latest hpy
11
12 .. branch: py3.7-errormsg-improvements
13
14 Produce better error messages for IndentationErrors (showing statement and line
15 that opened the block that is missing), AttributeErrors and NameErrors (showing
16 suggestions which name could have been meant instead in case of typos). This
17 follows the upcoming CPython 3.10 features.
18
19 .. branch: distutils-implementation
20
21 Instantiate the ``distutils.command.install`` schema for the python
22 implementation (issue 3436)
23
24 .. branch: py3.7-bpo-30245
25
26 Avoid overflow in ``struct.pack_into`` error message (BPO 30245)
27
28
29 .. branch: py3.7-newtext-const-arg-caching
30
31 Reduce memory allocations at runtime caused by interpreter-internal
32 identifiers.
33
34 .. branch: py3.7-import-speedup
35
36 Speed up cached imports by re-implementing (a subset of) BPO-22557. This brings
37 it very close to PyPy2 standards.
38
39 .. branch: py3.7-ignore-finalizer-files-after-close
40
41 Make creation and destruction of many files cheaper: don't call ``.__del__`` of
42 streams that had their ``.close()`` method called (and aren't user defined
43 classes).
44
45 .. branch: multiarch
46
47 Add a ``sys.implementation._multiarch`` field like CPython on linux, darwin via
48 ``__pypy__.os._get_multiarch()``
49
50 .. branch: sysconfigdata
51
52 Add a ``lib_pypy/_sysconfigdata__*.py`` file like CPython on linux, darwin
53 during packaging via ``sysconfig._generate_posix_vars()`` (issue 3483).
54
55 .. branch: py3.8-reversed-dict
56 Implement ``reversed(dict)``
57 .. branch: py3.8-new-opcodes
58 Implement new opcodes that CPython 3.8 uses
59
60 .. branch: py3.8-buffer-gets-w_obj
61 Refactor the buffer implementation to add a ``.w_obj`` field to ``BufferView``.
62 .. branch: hpy-0.0.2
63
64 Update HPy backend to 0.0.2
65
66 .. branch: implement_timezone_c_api
67
68 Implement missing PyDateTimeAPI functions related to timezones (issue 3320)
69
70 .. branch: libffi-win64
71
72 Use libffi v3.3 like CPython instead of the very old ``libffi_msvc`` on windows
73
74 .. branch: compact-unicode
75
76 When creating a PyUnicodeObject, use the compact form to store the data
77 directly on the object and not via an additional buffer. This is used in
78 pythran via _PyUnicode_COMPACT_DATA even though it is a "private" interface.
79
80 .. branch: hpy-refactor-exceptions
81
82 Use the cpyext error indicator to implement HPy exceptions