blob: 2b1b98a4316fc159c7314257212a2b90c24834d6 [file] [log] [blame]
larryhastingsf9f17342017-09-04 13:30:19 -07001.. bpo: 23573
Ned Deilyaee5df52018-06-27 18:45:50 -04002.. date: 9263
larryhastingsf9f17342017-09-04 13:30:19 -07003.. nonce: HdJPs7
4.. release date: 2015-07-26
5.. section: Core and Builtins
6
7Restored optimization of bytes.rfind() and bytearray.rfind() for single-byte
8argument on Linux.
9
10..
11
12.. bpo: 24569
Ned Deilyaee5df52018-06-27 18:45:50 -040013.. date: 9262
larryhastingsf9f17342017-09-04 13:30:19 -070014.. nonce: bqh6PQ
15.. section: Core and Builtins
16
Stéphane Wirtel12e696b2018-10-27 00:58:26 +020017Make :pep:`448` dictionary evaluation more consistent.
larryhastingsf9f17342017-09-04 13:30:19 -070018
19..
20
21.. bpo: 24583
Ned Deilyaee5df52018-06-27 18:45:50 -040022.. date: 9261
larryhastingsf9f17342017-09-04 13:30:19 -070023.. nonce: Ooq0Tn
24.. section: Core and Builtins
25
26Fix crash when set is mutated while being updated.
27
28..
29
30.. bpo: 24407
Ned Deilyaee5df52018-06-27 18:45:50 -040031.. date: 9260
larryhastingsf9f17342017-09-04 13:30:19 -070032.. nonce: GmCBB3
33.. section: Core and Builtins
34
35Fix crash when dict is mutated while being updated.
36
37..
38
39.. bpo: 24619
Ned Deilyaee5df52018-06-27 18:45:50 -040040.. date: 9259
larryhastingsf9f17342017-09-04 13:30:19 -070041.. nonce: cnfZGo
42.. section: Core and Builtins
43
44New approach for tokenizing async/await. As a consequence, it is now
45possible to have one-line 'async def foo(): await ..' functions.
46
47..
48
49.. bpo: 24687
Ned Deilyaee5df52018-06-27 18:45:50 -040050.. date: 9258
larryhastingsf9f17342017-09-04 13:30:19 -070051.. nonce: 0UaXFe
52.. section: Core and Builtins
53
54Plug refleak on SyntaxError in function parameters annotations.
55
56..
57
58.. bpo: 15944
Ned Deilyaee5df52018-06-27 18:45:50 -040059.. date: 9257
larryhastingsf9f17342017-09-04 13:30:19 -070060.. nonce: 4GuwqX
61.. section: Core and Builtins
62
63memoryview: Allow arbitrary formats when casting to bytes. Patch by Martin
64Panter.
65
66..
67
68.. bpo: 23441
Ned Deilyaee5df52018-06-27 18:45:50 -040069.. date: 9256
larryhastingsf9f17342017-09-04 13:30:19 -070070.. nonce: JXt2Yt
71.. section: Library
72
73rcompleter now prints a tab character instead of displaying possible
74completions for an empty word. Initial patch by Martin Sekera.
75
76..
77
78.. bpo: 24683
Ned Deilyaee5df52018-06-27 18:45:50 -040079.. date: 9255
larryhastingsf9f17342017-09-04 13:30:19 -070080.. nonce: aJdWEv
81.. section: Library
82
83Fixed crashes in _json functions called with arguments of inappropriate
84type.
85
86..
87
88.. bpo: 21697
Ned Deilyaee5df52018-06-27 18:45:50 -040089.. date: 9254
larryhastingsf9f17342017-09-04 13:30:19 -070090.. nonce: jpATha
91.. section: Library
92
93shutil.copytree() now correctly handles symbolic links that point to
94directories. Patch by Eduardo Seabra and Thomas Kluyver.
95
96..
97
98.. bpo: 14373
Ned Deilyaee5df52018-06-27 18:45:50 -040099.. date: 9253
larryhastingsf9f17342017-09-04 13:30:19 -0700100.. nonce: Je0yDg
101.. section: Library
102
103Fixed segmentation fault when gc.collect() is called during constructing
104lru_cache (C implementation).
105
106..
107
108.. bpo: 24695
Ned Deilyaee5df52018-06-27 18:45:50 -0400109.. date: 9252
larryhastingsf9f17342017-09-04 13:30:19 -0700110.. nonce: QjZzFb
111.. section: Library
112
113Fix a regression in traceback.print_exception(). If exc_traceback is None
114we shouldn't print a traceback header like described in the documentation.
115
116..
117
118.. bpo: 24620
Ned Deilyaee5df52018-06-27 18:45:50 -0400119.. date: 9251
larryhastingsf9f17342017-09-04 13:30:19 -0700120.. nonce: rrnxB-
121.. section: Library
122
123Random.setstate() now validates the value of state last element.
124
125..
126
127.. bpo: 22485
Ned Deilyaee5df52018-06-27 18:45:50 -0400128.. date: 9250
larryhastingsf9f17342017-09-04 13:30:19 -0700129.. nonce: HvJf6T
130.. section: Library
131
132Fixed an issue that caused `inspect.getsource` to return incorrect results
133on nested functions.
134
135..
136
137.. bpo: 22153
Ned Deilyaee5df52018-06-27 18:45:50 -0400138.. date: 9249
larryhastingsf9f17342017-09-04 13:30:19 -0700139.. nonce: 6n6yld
140.. section: Library
141
142Improve unittest docs. Patch from Martin Panter and evilzero.
143
144..
145
146.. bpo: 24580
Ned Deilyaee5df52018-06-27 18:45:50 -0400147.. date: 9248
larryhastingsf9f17342017-09-04 13:30:19 -0700148.. nonce: AGi4Gm
149.. section: Library
150
151Symbolic group references to open group in re patterns now are explicitly
152forbidden as well as numeric group references.
153
154..
155
156.. bpo: 24206
Ned Deilyaee5df52018-06-27 18:45:50 -0400157.. date: 9247
larryhastingsf9f17342017-09-04 13:30:19 -0700158.. nonce: ffkVHH
159.. section: Library
160
161Fixed __eq__ and __ne__ methods of inspect classes.
162
163..
164
165.. bpo: 24631
Ned Deilyaee5df52018-06-27 18:45:50 -0400166.. date: 9246
larryhastingsf9f17342017-09-04 13:30:19 -0700167.. nonce: uljPxM
168.. section: Library
169
170Fixed regression in the timeit module with multiline setup.
171
172..
173
174.. bpo: 18622
Ned Deilyaee5df52018-06-27 18:45:50 -0400175.. date: 9245
larryhastingsf9f17342017-09-04 13:30:19 -0700176.. nonce: i6nCCW
177.. section: Library
178
179unittest.mock.mock_open().reset_mock would recurse infinitely. Patch from
180Nicola Palumbo and Laurent De Buyst.
181
182..
183
184.. bpo: 23661
Ned Deilyaee5df52018-06-27 18:45:50 -0400185.. date: 9244
larryhastingsf9f17342017-09-04 13:30:19 -0700186.. nonce: 5VHJmh
187.. section: Library
188
189unittest.mock side_effects can now be exceptions again. This was a
190regression vs Python 3.4. Patch from Ignacio Rossi
191
192..
193
194.. bpo: 24608
Ned Deilyaee5df52018-06-27 18:45:50 -0400195.. date: 9243
larryhastingsf9f17342017-09-04 13:30:19 -0700196.. nonce: 0TndL0
197.. section: Library
198
199chunk.Chunk.read() now always returns bytes, not str.
200
201..
202
203.. bpo: 18684
Ned Deilyaee5df52018-06-27 18:45:50 -0400204.. date: 9242
larryhastingsf9f17342017-09-04 13:30:19 -0700205.. nonce: S2es0F
206.. section: Library
207
208Fixed reading out of the buffer in the re module.
209
210..
211
212.. bpo: 24259
Ned Deilyaee5df52018-06-27 18:45:50 -0400213.. date: 9241
larryhastingsf9f17342017-09-04 13:30:19 -0700214.. nonce: vMAi1A
215.. section: Library
216
217tarfile now raises a ReadError if an archive is truncated inside a data
218segment.
219
220..
221
222.. bpo: 15014
Ned Deilyaee5df52018-06-27 18:45:50 -0400223.. date: 9240
larryhastingsf9f17342017-09-04 13:30:19 -0700224.. nonce: hwXwCH
225.. section: Library
226
Serhiy Storchaka3f819ca2018-10-31 02:26:06 +0200227SMTP.auth() and SMTP.login() now support RFC 4954's optional
228initial-response argument to the SMTP AUTH command.
larryhastingsf9f17342017-09-04 13:30:19 -0700229
230..
231
232.. bpo: 24669
Ned Deilyaee5df52018-06-27 18:45:50 -0400233.. date: 9239
larryhastingsf9f17342017-09-04 13:30:19 -0700234.. nonce: kFThK0
235.. section: Library
236
237Fix inspect.getsource() for 'async def' functions. Patch by Kai Groner.
238
239..
240
241.. bpo: 24688
Ned Deilyaee5df52018-06-27 18:45:50 -0400242.. date: 9238
larryhastingsf9f17342017-09-04 13:30:19 -0700243.. nonce: -yWfcO
244.. section: Library
245
246ast.get_docstring() for 'async def' functions.
247
248..
249
250.. bpo: 24603
Ned Deilyaee5df52018-06-27 18:45:50 -0400251.. date: 9237
larryhastingsf9f17342017-09-04 13:30:19 -0700252.. nonce: PyHyF5
253.. section: Build
254
255Update Windows builds and OS X 10.5 installer to use OpenSSL 1.0.2d.