summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/3.6.0rc1.rst
blob: 5e7e2b0af63a78359bf44e0f7b9aa1845acd1545 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
.. bpo: 23722
.. date: 9491
.. nonce: e8BH5h
.. release date: 2016-12-06
.. section: Core and Builtins

Rather than silently producing a class that doesn't support zero-argument
``super()`` in methods, failing to pass the new ``__classcell__`` namespace
entry up to ``type.__new__`` now results in a ``DeprecationWarning`` and a
class that supports zero-argument ``super()``.

..

.. bpo: 28797
.. date: 9490
.. nonce: _A0_Z5
.. section: Core and Builtins

Modifying the class __dict__ inside the __set_name__ method of a descriptor
that is used inside that class no longer prevents calling the __set_name__
method of other descriptors.

..

.. bpo: 28782
.. date: 9489
.. nonce: foJV_E
.. section: Core and Builtins

Fix a bug in the implementation ``yield from`` when checking if the next
instruction is YIELD_FROM. Regression introduced by WORDCODE (issue #26647).

..

.. bpo: 27030
.. date: 9488
.. nonce: 88FOrz
.. section: Library

Unknown escapes in re.sub() replacement template are allowed again.  But
they still are deprecated and will be disabled in 3.7.

..

.. bpo: 28835
.. date: 9487
.. nonce: iWBYH7
.. section: Library

Fix a regression introduced in warnings.catch_warnings(): call
warnings.showwarning() if it was overridden inside the context manager.

..

.. bpo: 27172
.. date: 9486
.. nonce: mVKfLT
.. section: Library

To assist with upgrades from 2.7, the previously documented deprecation of
``inspect.getfullargspec()`` has been reversed. This decision may be
revisited again after the Python 2.7 branch is no longer officially
supported.

..

.. bpo: 26273
.. date: 9485
.. nonce: ilNIWN
.. section: Library

Add new :data:`socket.TCP_CONGESTION` (Linux 2.6.13) and
:data:`socket.TCP_USER_TIMEOUT` (Linux 2.6.37) constants. Patch written by
Omar Sandoval.

..

.. bpo: 24142
.. date: 9484
.. nonce: IrZnFs
.. section: Library

Reading a corrupt config file left configparser in an invalid state.
Original patch by Florian Höch.

..

.. bpo: 28843
.. date: 9483
.. nonce: O7M0LE
.. section: Library

Fix asyncio C Task to handle exceptions __traceback__.

..

.. bpo: 28808
.. date: 9482
.. nonce: A03X6r
.. section: C API

PyUnicode_CompareWithASCIIString() now never raises exceptions.

..

.. bpo: 23722
.. date: 9481
.. nonce: 6HX6fk
.. section: Documentation

The data model reference and the porting section in the What's New guide now
cover the additional ``__classcell__`` handling needed for custom
metaclasses to fully support PEP 487 and zero-argument ``super()``.

..

.. bpo: 28023
.. date: 9480
.. nonce: 4gzSGp
.. section: Tools/Demos

Fix python-gdb.py didn't support new dict implementation.