blob: 99b4675ed5e0ef034a8260fbd2e70f47f9b494b9 [file] [log] [blame]
larryhastingsf9f17342017-09-04 13:30:19 -07001.. bpo: 29073
Ned Deilyaee5df52018-06-27 18:45:50 -04002.. date: 9898
larryhastingsf9f17342017-09-04 13:30:19 -07003.. nonce: EFpHQ7
4.. release date: 2017-01-02
5.. section: Core and Builtins
6
7bytearray formatting no longer truncates on first null byte.
8
9..
10
11.. bpo: 28932
Ned Deilyaee5df52018-06-27 18:45:50 -040012.. date: 9897
larryhastingsf9f17342017-09-04 13:30:19 -070013.. nonce: QnLx8A
14.. section: Core and Builtins
15
16Do not include <sys/random.h> if it does not exist.
17
18..
19
20.. bpo: 28147
Ned Deilyaee5df52018-06-27 18:45:50 -040021.. date: 9896
larryhastingsf9f17342017-09-04 13:30:19 -070022.. nonce: EV4bm6
23.. section: Core and Builtins
24
25Fix a memory leak in split-table dictionaries: setattr() must not convert
26combined table into split table.
27
28..
29
30.. bpo: 25677
Ned Deilyaee5df52018-06-27 18:45:50 -040031.. date: 9895
larryhastingsf9f17342017-09-04 13:30:19 -070032.. nonce: RWhZrb
33.. section: Core and Builtins
34
35Correct the positioning of the syntax error caret for indented blocks.
36Based on patch by Michael Layzell.
37
38..
39
40.. bpo: 29000
Ned Deilyaee5df52018-06-27 18:45:50 -040041.. date: 9894
larryhastingsf9f17342017-09-04 13:30:19 -070042.. nonce: K6wQ-3
43.. section: Core and Builtins
44
45Fixed bytes formatting of octals with zero padding in alternate form.
46
47..
48
49.. bpo: 28512
Ned Deilyaee5df52018-06-27 18:45:50 -040050.. date: 9893
larryhastingsf9f17342017-09-04 13:30:19 -070051.. nonce: i-pv6d
52.. section: Core and Builtins
53
54Fixed setting the offset attribute of SyntaxError by
55PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject().
56
57..
58
59.. bpo: 28991
Ned Deilyaee5df52018-06-27 18:45:50 -040060.. date: 9892
larryhastingsf9f17342017-09-04 13:30:19 -070061.. nonce: -qOTxS
62.. section: Core and Builtins
63
64functools.lru_cache() was susceptible to an obscure reentrancy bug caused by
65a monkey-patched len() function.
66
67..
68
69.. bpo: 28648
Ned Deilyaee5df52018-06-27 18:45:50 -040070.. date: 9891
larryhastingsf9f17342017-09-04 13:30:19 -070071.. nonce: z7B52W
72.. section: Core and Builtins
73
74Fixed crash in Py_DecodeLocale() in debug build on Mac OS X when decode
75astral characters. Patch by Xiang Zhang.
76
77..
78
79.. bpo: 19398
Ned Deilyaee5df52018-06-27 18:45:50 -040080.. date: 9890
larryhastingsf9f17342017-09-04 13:30:19 -070081.. nonce: RYbEGH
82.. section: Core and Builtins
83
Ned Deilyaee5df52018-06-27 18:45:50 -040084Extra slash no longer added to sys.path components in case of empty compile-
85time PYTHONPATH components.
larryhastingsf9f17342017-09-04 13:30:19 -070086
87..
88
89.. bpo: 28426
Ned Deilyaee5df52018-06-27 18:45:50 -040090.. date: 9889
larryhastingsf9f17342017-09-04 13:30:19 -070091.. nonce: E_quyK
92.. section: Core and Builtins
93
94Fixed potential crash in PyUnicode_AsDecodedObject() in debug build.
95
96..
97
98.. bpo: 23782
Ned Deilyaee5df52018-06-27 18:45:50 -040099.. date: 9888
larryhastingsf9f17342017-09-04 13:30:19 -0700100.. nonce: lonDzj
101.. section: Core and Builtins
102
103Fixed possible memory leak in _PyTraceback_Add() and exception loss in
104PyTraceBack_Here().
105
106..
107
108.. bpo: 28379
Ned Deilyaee5df52018-06-27 18:45:50 -0400109.. date: 9887
larryhastingsf9f17342017-09-04 13:30:19 -0700110.. nonce: DuXlco
111.. section: Core and Builtins
112
113Added sanity checks and tests for PyUnicode_CopyCharacters(). Patch by Xiang
114Zhang.
115
116..
117
118.. bpo: 28376
Ned Deilyaee5df52018-06-27 18:45:50 -0400119.. date: 9886
larryhastingsf9f17342017-09-04 13:30:19 -0700120.. nonce: oPD-5D
121.. section: Core and Builtins
122
123The type of long range iterator is now registered as Iterator. Patch by Oren
124Milman.
125
126..
127
128.. bpo: 28376
Ned Deilyaee5df52018-06-27 18:45:50 -0400129.. date: 9885
larryhastingsf9f17342017-09-04 13:30:19 -0700130.. nonce: fLeHM2
131.. section: Core and Builtins
132
133The constructor of range_iterator now checks that step is not 0. Patch by
134Oren Milman.
135
136..
137
138.. bpo: 26906
Ned Deilyaee5df52018-06-27 18:45:50 -0400139.. date: 9884
larryhastingsf9f17342017-09-04 13:30:19 -0700140.. nonce: YBjcwI
141.. section: Core and Builtins
142
143Resolving special methods of uninitialized type now causes implicit
144initialization of the type instead of a fail.
145
146..
147
148.. bpo: 18287
Ned Deilyaee5df52018-06-27 18:45:50 -0400149.. date: 9883
larryhastingsf9f17342017-09-04 13:30:19 -0700150.. nonce: k6jffS
151.. section: Core and Builtins
152
153PyType_Ready() now checks that tp_name is not NULL. Original patch by Niklas
154Koep.
155
156..
157
158.. bpo: 24098
Ned Deilyaee5df52018-06-27 18:45:50 -0400159.. date: 9882
larryhastingsf9f17342017-09-04 13:30:19 -0700160.. nonce: XqlP_1
161.. section: Core and Builtins
162
163Fixed possible crash when AST is changed in process of compiling it.
164
165..
166
167.. bpo: 28350
Ned Deilyaee5df52018-06-27 18:45:50 -0400168.. date: 9881
larryhastingsf9f17342017-09-04 13:30:19 -0700169.. nonce: 8M5Eg9
170.. section: Core and Builtins
171
172String constants with null character no longer interned.
173
174..
175
176.. bpo: 26617
Ned Deilyaee5df52018-06-27 18:45:50 -0400177.. date: 9880
larryhastingsf9f17342017-09-04 13:30:19 -0700178.. nonce: Gh5LvN
179.. section: Core and Builtins
180
181Fix crash when GC runs during weakref callbacks.
182
183..
184
185.. bpo: 27942
Ned Deilyaee5df52018-06-27 18:45:50 -0400186.. date: 9879
larryhastingsf9f17342017-09-04 13:30:19 -0700187.. nonce: ZGuhns
188.. section: Core and Builtins
189
190String constants now interned recursively in tuples and frozensets.
191
192..
193
194.. bpo: 21578
Ned Deilyaee5df52018-06-27 18:45:50 -0400195.. date: 9878
larryhastingsf9f17342017-09-04 13:30:19 -0700196.. nonce: GI1bhj
197.. section: Core and Builtins
198
199Fixed misleading error message when ImportError called with invalid keyword
200args.
201
202..
203
204.. bpo: 28203
Ned Deilyaee5df52018-06-27 18:45:50 -0400205.. date: 9877
larryhastingsf9f17342017-09-04 13:30:19 -0700206.. nonce: kOgvtp
207.. section: Core and Builtins
208
209Fix incorrect type in error message from ``complex(1.0, {2:3})``. Patch by
210Soumya Sharma.
211
212..
213
214.. bpo: 27955
Ned Deilyaee5df52018-06-27 18:45:50 -0400215.. date: 9876
larryhastingsf9f17342017-09-04 13:30:19 -0700216.. nonce: HC4pZ4
217.. section: Core and Builtins
218
219Fallback on reading /dev/urandom device when the getrandom() syscall fails
220with EPERM, for example when blocked by SECCOMP.
221
222..
223
224.. bpo: 28131
Ned Deilyaee5df52018-06-27 18:45:50 -0400225.. date: 9875
larryhastingsf9f17342017-09-04 13:30:19 -0700226.. nonce: owq0wW
227.. section: Core and Builtins
228
229Fix a regression in zipimport's compile_source(). zipimport should use the
230same optimization level as the interpreter.
231
232..
233
234.. bpo: 25221
Ned Deilyaee5df52018-06-27 18:45:50 -0400235.. date: 9874
larryhastingsf9f17342017-09-04 13:30:19 -0700236.. nonce: Zvkz9i
237.. section: Core and Builtins
238
239Fix corrupted result from PyLong_FromLong(0) when Python is compiled with
240NSMALLPOSINTS = 0.
241
242..
243
244.. bpo: 25758
Ned Deilyaee5df52018-06-27 18:45:50 -0400245.. date: 9873
larryhastingsf9f17342017-09-04 13:30:19 -0700246.. nonce: yR-YTD
247.. section: Core and Builtins
248
249Prevents zipimport from unnecessarily encoding a filename (patch by Eryk
250Sun)
251
252..
253
254.. bpo: 28189
Ned Deilyaee5df52018-06-27 18:45:50 -0400255.. date: 9872
larryhastingsf9f17342017-09-04 13:30:19 -0700256.. nonce: c_nbR_
257.. section: Core and Builtins
258
259dictitems_contains no longer swallows compare errors. (Patch by Xiang Zhang)
260
261..
262
263.. bpo: 27812
Ned Deilyaee5df52018-06-27 18:45:50 -0400264.. date: 9871
larryhastingsf9f17342017-09-04 13:30:19 -0700265.. nonce: sidcs8
266.. section: Core and Builtins
267
268Properly clear out a generator's frame's backreference to the generator to
269prevent crashes in frame.clear().
270
271..
272
273.. bpo: 27811
Ned Deilyaee5df52018-06-27 18:45:50 -0400274.. date: 9870
larryhastingsf9f17342017-09-04 13:30:19 -0700275.. nonce: T4AuBo
276.. section: Core and Builtins
277
278Fix a crash when a coroutine that has not been awaited is finalized with
279warnings-as-errors enabled.
280
281..
282
283.. bpo: 27587
Ned Deilyaee5df52018-06-27 18:45:50 -0400284.. date: 9869
larryhastingsf9f17342017-09-04 13:30:19 -0700285.. nonce: mbavY2
286.. section: Core and Builtins
287
288Fix another issue found by PVS-Studio: Null pointer check after use of 'def'
289in _PyState_AddModule(). Initial patch by Christian Heimes.
290
291..
292
293.. bpo: 26020
Ned Deilyaee5df52018-06-27 18:45:50 -0400294.. date: 9868
larryhastingsf9f17342017-09-04 13:30:19 -0700295.. nonce: niLbLa
296.. section: Core and Builtins
297
298set literal evaluation order did not match documented behaviour.
299
300..
301
302.. bpo: 27782
Ned Deilyaee5df52018-06-27 18:45:50 -0400303.. date: 9867
larryhastingsf9f17342017-09-04 13:30:19 -0700304.. nonce: C8OBQD
305.. section: Core and Builtins
306
307Multi-phase extension module import now correctly allows the ``m_methods``
308field to be used to add module level functions to instances of non-module
309types returned from ``Py_create_mod``. Patch by Xiang Zhang.
310
311..
312
313.. bpo: 27936
Ned Deilyaee5df52018-06-27 18:45:50 -0400314.. date: 9866
larryhastingsf9f17342017-09-04 13:30:19 -0700315.. nonce: AdOann
316.. section: Core and Builtins
317
318The round() function accepted a second None argument for some types but not
319for others. Fixed the inconsistency by accepting None for all numeric
320types.
321
322..
323
324.. bpo: 27487
Ned Deilyaee5df52018-06-27 18:45:50 -0400325.. date: 9865
larryhastingsf9f17342017-09-04 13:30:19 -0700326.. nonce: jeTQNr
327.. section: Core and Builtins
328
329Warn if a submodule argument to "python -m" or runpy.run_module() is found
330in sys.modules after parent packages are imported, but before the submodule
331is executed.
332
333..
334
335.. bpo: 27558
Ned Deilyaee5df52018-06-27 18:45:50 -0400336.. date: 9864
larryhastingsf9f17342017-09-04 13:30:19 -0700337.. nonce: VmltMh
338.. section: Core and Builtins
339
340Fix a SystemError in the implementation of "raise" statement. In a brand new
341thread, raise a RuntimeError since there is no active exception to reraise.
342Patch written by Xiang Zhang.
343
344..
345
346.. bpo: 27419
Ned Deilyaee5df52018-06-27 18:45:50 -0400347.. date: 9863
larryhastingsf9f17342017-09-04 13:30:19 -0700348.. nonce: JZ94ju
349.. section: Core and Builtins
350
351Standard __import__() no longer look up "__import__" in globals or builtins
Ned Deilyaee5df52018-06-27 18:45:50 -0400352for importing submodules or "from import". Fixed handling an error of non-
353string package name.
larryhastingsf9f17342017-09-04 13:30:19 -0700354
355..
356
357.. bpo: 27083
Ned Deilyaee5df52018-06-27 18:45:50 -0400358.. date: 9862
larryhastingsf9f17342017-09-04 13:30:19 -0700359.. nonce: F4ZT1C
360.. section: Core and Builtins
361
362Respect the PYTHONCASEOK environment variable under Windows.
363
364..
365
366.. bpo: 27514
Ned Deilyaee5df52018-06-27 18:45:50 -0400367.. date: 9861
larryhastingsf9f17342017-09-04 13:30:19 -0700368.. nonce: NLbwPG
369.. section: Core and Builtins
370
371Make having too many statically nested blocks a SyntaxError instead of
372SystemError.
373
374..
375
376.. bpo: 27473
Ned Deilyaee5df52018-06-27 18:45:50 -0400377.. date: 9860
larryhastingsf9f17342017-09-04 13:30:19 -0700378.. nonce: _nOtTA
379.. section: Core and Builtins
380
381Fixed possible integer overflow in bytes and bytearray concatenations.
382Patch by Xiang Zhang.
383
384..
385
386.. bpo: 27507
Ned Deilyaee5df52018-06-27 18:45:50 -0400387.. date: 9859
larryhastingsf9f17342017-09-04 13:30:19 -0700388.. nonce: 3pX0Be
389.. section: Core and Builtins
390
391Add integer overflow check in bytearray.extend(). Patch by Xiang Zhang.
392
393..
394
395.. bpo: 27581
Ned Deilyaee5df52018-06-27 18:45:50 -0400396.. date: 9858
larryhastingsf9f17342017-09-04 13:30:19 -0700397.. nonce: KezjNt
398.. section: Core and Builtins
399
400Don't rely on wrapping for overflow check in PySequence_Tuple(). Patch by
401Xiang Zhang.
402
403..
404
405.. bpo: 27443
Ned Deilyaee5df52018-06-27 18:45:50 -0400406.. date: 9857
larryhastingsf9f17342017-09-04 13:30:19 -0700407.. nonce: 87ZwZ1
408.. section: Core and Builtins
409
410__length_hint__() of bytearray iterators no longer return a negative integer
411for a resized bytearray.
412
413..
414
415.. bpo: 27942
Ned Deilyaee5df52018-06-27 18:45:50 -0400416.. date: 9856
larryhastingsf9f17342017-09-04 13:30:19 -0700417.. nonce: wCAkW5
418.. section: Core and Builtins
419
420Fix memory leak in codeobject.c
421
422..
423
424.. bpo: 15812
Ned Deilyaee5df52018-06-27 18:45:50 -0400425.. date: 9855
larryhastingsf9f17342017-09-04 13:30:19 -0700426.. nonce: R1U-Ec
427.. section: Library
428
429inspect.getframeinfo() now correctly shows the first line of a context.
430Patch by Sam Breese.
431
432..
433
434.. bpo: 29094
Ned Deilyaee5df52018-06-27 18:45:50 -0400435.. date: 9854
larryhastingsf9f17342017-09-04 13:30:19 -0700436.. nonce: 460ZQo
437.. section: Library
438
439Offsets in a ZIP file created with extern file object and modes "w" and "x"
440now are relative to the start of the file.
441
442..
443
444.. bpo: 13051
Ned Deilyaee5df52018-06-27 18:45:50 -0400445.. date: 9853
larryhastingsf9f17342017-09-04 13:30:19 -0700446.. nonce: YzC1Te
447.. section: Library
448
449Fixed recursion errors in large or resized curses.textpad.Textbox. Based on
450patch by Tycho Andersen.
451
452..
453
454.. bpo: 29119
Ned Deilyaee5df52018-06-27 18:45:50 -0400455.. date: 9852
larryhastingsf9f17342017-09-04 13:30:19 -0700456.. nonce: Ov69fr
457.. section: Library
458
459Fix weakrefs in the pure python version of collections.OrderedDict
460move_to_end() method. Contributed by Andra Bogildea.
461
462..
463
464.. bpo: 9770
Ned Deilyaee5df52018-06-27 18:45:50 -0400465.. date: 9851
larryhastingsf9f17342017-09-04 13:30:19 -0700466.. nonce: WJJnwP
467.. section: Library
468
469curses.ascii predicates now work correctly with negative integers.
470
471..
472
473.. bpo: 28427
Ned Deilyaee5df52018-06-27 18:45:50 -0400474.. date: 9850
larryhastingsf9f17342017-09-04 13:30:19 -0700475.. nonce: vUd-va
476.. section: Library
477
478old keys should not remove new values from WeakValueDictionary when
479collecting from another thread.
480
481..
482
483.. bpo: 28923
Ned Deilyaee5df52018-06-27 18:45:50 -0400484.. date: 9849
larryhastingsf9f17342017-09-04 13:30:19 -0700485.. nonce: naVULD
486.. section: Library
487
488Remove editor artifacts from Tix.py.
489
490..
491
492.. bpo: 28871
Ned Deilyaee5df52018-06-27 18:45:50 -0400493.. date: 9848
larryhastingsf9f17342017-09-04 13:30:19 -0700494.. nonce: cPMXCJ
495.. section: Library
496
497Fixed a crash when deallocate deep ElementTree.
498
499..
500
501.. bpo: 19542
Ned Deilyaee5df52018-06-27 18:45:50 -0400502.. date: 9847
larryhastingsf9f17342017-09-04 13:30:19 -0700503.. nonce: 5tCkaK
504.. section: Library
505
506Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop()
507when a GC collection happens in another thread.
508
509..
510
511.. bpo: 20191
Ned Deilyaee5df52018-06-27 18:45:50 -0400512.. date: 9846
larryhastingsf9f17342017-09-04 13:30:19 -0700513.. nonce: P_EZ7c
514.. section: Library
515
516Fixed a crash in resource.prlimit() when pass a sequence that doesn't own
517its elements as limits.
518
519..
520
521.. bpo: 28779
Ned Deilyaee5df52018-06-27 18:45:50 -0400522.. date: 9845
larryhastingsf9f17342017-09-04 13:30:19 -0700523.. nonce: t-mjED
524.. section: Library
525
526multiprocessing.set_forkserver_preload() would crash the forkserver process
527if a preloaded module instantiated some multiprocessing objects such as
528locks.
529
530..
531
532.. bpo: 28847
Ned Deilyaee5df52018-06-27 18:45:50 -0400533.. date: 9844
larryhastingsf9f17342017-09-04 13:30:19 -0700534.. nonce: J7d3nG
535.. section: Library
536
537dbm.dumb now supports reading read-only files and no longer writes the index
538file when it is not changed.
539
540..
541
542.. bpo: 25659
Ned Deilyaee5df52018-06-27 18:45:50 -0400543.. date: 9843
larryhastingsf9f17342017-09-04 13:30:19 -0700544.. nonce: lE2IlT
545.. section: Library
546
547In ctypes, prevent a crash calling the from_buffer() and from_buffer_copy()
548methods on abstract classes like Array.
549
550..
551
552.. bpo: 28732
Ned Deilyaee5df52018-06-27 18:45:50 -0400553.. date: 9842
larryhastingsf9f17342017-09-04 13:30:19 -0700554.. nonce: xkG8k7
555.. section: Library
556
557Fix crash in os.spawnv() with no elements in args
558
559..
560
561.. bpo: 28485
Ned Deilyaee5df52018-06-27 18:45:50 -0400562.. date: 9841
larryhastingsf9f17342017-09-04 13:30:19 -0700563.. nonce: WuKqKh
564.. section: Library
565
566Always raise ValueError for negative compileall.compile_dir(workers=...)
567parameter, even when multithreading is unavailable.
568
569..
570
571.. bpo: 28387
Ned Deilyaee5df52018-06-27 18:45:50 -0400572.. date: 9840
larryhastingsf9f17342017-09-04 13:30:19 -0700573.. nonce: 1clJu7
574.. section: Library
575
576Fixed possible crash in _io.TextIOWrapper deallocator when the garbage
577collector is invoked in other thread. Based on patch by Sebastian Cufre.
578
579..
580
581.. bpo: 27517
Ned Deilyaee5df52018-06-27 18:45:50 -0400582.. date: 9839
larryhastingsf9f17342017-09-04 13:30:19 -0700583.. nonce: 1CYM8A
584.. section: Library
585
586LZMA compressor and decompressor no longer raise exceptions if given empty
587data twice. Patch by Benjamin Fogle.
588
589..
590
591.. bpo: 28549
Ned Deilyaee5df52018-06-27 18:45:50 -0400592.. date: 9838
larryhastingsf9f17342017-09-04 13:30:19 -0700593.. nonce: ShnM2y
594.. section: Library
595
596Fixed segfault in curses's addch() with ncurses6.
597
598..
599
600.. bpo: 28449
Ned Deilyaee5df52018-06-27 18:45:50 -0400601.. date: 9837
larryhastingsf9f17342017-09-04 13:30:19 -0700602.. nonce: 5JK6ES
603.. section: Library
604
605tarfile.open() with mode "r" or "r:" now tries to open a tar file with
606compression before trying to open it without compression. Otherwise it had
60750% chance failed with ignore_zeros=True.
608
609..
610
611.. bpo: 23262
Ned Deilyaee5df52018-06-27 18:45:50 -0400612.. date: 9836
larryhastingsf9f17342017-09-04 13:30:19 -0700613.. nonce: 6EVB7N
614.. section: Library
615
616The webbrowser module now supports Firefox 36+ and derived browsers. Based
617on patch by Oleg Broytman.
618
619..
620
621.. bpo: 27939
Ned Deilyaee5df52018-06-27 18:45:50 -0400622.. date: 9835
larryhastingsf9f17342017-09-04 13:30:19 -0700623.. nonce: mTfADV
624.. section: Library
625
626Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale caused by
627representing the scale as float value internally in Tk. tkinter.IntVar now
628works if float value is set to underlying Tk variable.
629
630..
631
632.. bpo: 28255
Ned Deilyaee5df52018-06-27 18:45:50 -0400633.. date: 9834
larryhastingsf9f17342017-09-04 13:30:19 -0700634.. nonce: _ZH4wm
635.. section: Library
636
637calendar.TextCalendar().prmonth() no longer prints a space at the start of
638new line after printing a month's calendar. Patch by Xiang Zhang.
639
640..
641
642.. bpo: 20491
Ned Deilyaee5df52018-06-27 18:45:50 -0400643.. date: 9833
larryhastingsf9f17342017-09-04 13:30:19 -0700644.. nonce: ObgnQ2
645.. section: Library
646
647The textwrap.TextWrapper class now honors non-breaking spaces. Based on
648patch by Kaarle Ritvanen.
649
650..
651
652.. bpo: 28353
Ned Deilyaee5df52018-06-27 18:45:50 -0400653.. date: 9832
larryhastingsf9f17342017-09-04 13:30:19 -0700654.. nonce: sKGbLL
655.. section: Library
656
657os.fwalk() no longer fails on broken links.
658
659..
660
661.. bpo: 25464
Ned Deilyaee5df52018-06-27 18:45:50 -0400662.. date: 9831
larryhastingsf9f17342017-09-04 13:30:19 -0700663.. nonce: HDUTCu
664.. section: Library
665
666Fixed HList.header_exists() in tkinter.tix module by addin a workaround to
667Tix library bug.
668
669..
670
671.. bpo: 28488
Ned Deilyaee5df52018-06-27 18:45:50 -0400672.. date: 9830
larryhastingsf9f17342017-09-04 13:30:19 -0700673.. nonce: NlkjBM
674.. section: Library
675
676shutil.make_archive() no longer add entry "./" to ZIP archive.
677
678..
679
680.. bpo: 24452
Ned Deilyaee5df52018-06-27 18:45:50 -0400681.. date: 9829
larryhastingsf9f17342017-09-04 13:30:19 -0700682.. nonce: m9Kyg3
683.. section: Library
684
685Make webbrowser support Chrome on Mac OS X.
686
687..
688
689.. bpo: 20766
Ned Deilyaee5df52018-06-27 18:45:50 -0400690.. date: 9828
larryhastingsf9f17342017-09-04 13:30:19 -0700691.. nonce: 4kvCzx
692.. section: Library
693
694Fix references leaked by pdb in the handling of SIGINT handlers.
695
696..
697
698.. bpo: 26293
Ned Deilyaee5df52018-06-27 18:45:50 -0400699.. date: 9827
larryhastingsf9f17342017-09-04 13:30:19 -0700700.. nonce: 2mjvwX
701.. section: Library
702
703Fixed writing ZIP files that starts not from the start of the file. Offsets
704in ZIP file now are relative to the start of the archive in conforming to
705the specification.
706
707..
708
709.. bpo: 28321
Ned Deilyaee5df52018-06-27 18:45:50 -0400710.. date: 9826
larryhastingsf9f17342017-09-04 13:30:19 -0700711.. nonce: bQ-IIX
712.. section: Library
713
714Fixed writing non-BMP characters with binary format in plistlib.
715
716..
717
718.. bpo: 28322
Ned Deilyaee5df52018-06-27 18:45:50 -0400719.. date: 9825
larryhastingsf9f17342017-09-04 13:30:19 -0700720.. nonce: l9hzap
721.. section: Library
722
723Fixed possible crashes when unpickle itertools objects from incorrect pickle
724data. Based on patch by John Leitch.
725
726..
727
728.. bpo: 0
Ned Deilyaee5df52018-06-27 18:45:50 -0400729.. date: 9824
larryhastingsf9f17342017-09-04 13:30:19 -0700730.. nonce: 81jNns
731.. section: Library
732
733Fix possible integer overflows and crashes in the mmap module with unusual
734usage patterns.
735
736..
737
738.. bpo: 1703178
Ned Deilyaee5df52018-06-27 18:45:50 -0400739.. date: 9823
larryhastingsf9f17342017-09-04 13:30:19 -0700740.. nonce: meb49K
741.. section: Library
742
743Fix the ability to pass the --link-objects option to the distutils build_ext
744command.
745
746..
747
748.. bpo: 28253
Ned Deilyaee5df52018-06-27 18:45:50 -0400749.. date: 9822
larryhastingsf9f17342017-09-04 13:30:19 -0700750.. nonce: aLfmhe
751.. section: Library
752
753Fixed calendar functions for extreme months: 0001-01 and 9999-12.
754
755Methods itermonthdays() and itermonthdays2() are reimplemented so that they
756don't call itermonthdates() which can cause datetime.date under/overflow.
757
758..
759
760.. bpo: 28275
Ned Deilyaee5df52018-06-27 18:45:50 -0400761.. date: 9821
larryhastingsf9f17342017-09-04 13:30:19 -0700762.. nonce: EhWIsz
763.. section: Library
764
765Fixed possible use after free in the decompress() methods of the
766LZMADecompressor and BZ2Decompressor classes. Original patch by John Leitch.
767
768..
769
770.. bpo: 27897
Ned Deilyaee5df52018-06-27 18:45:50 -0400771.. date: 9820
larryhastingsf9f17342017-09-04 13:30:19 -0700772.. nonce: I0Ppmx
773.. section: Library
774
775Fixed possible crash in sqlite3.Connection.create_collation() if pass
776invalid string-like object as a name. Patch by Xiang Zhang.
777
778..
779
780.. bpo: 18893
Ned Deilyaee5df52018-06-27 18:45:50 -0400781.. date: 9819
larryhastingsf9f17342017-09-04 13:30:19 -0700782.. nonce: osiX5c
783.. section: Library
784
785Fix invalid exception handling in Lib/ctypes/macholib/dyld.py. Patch by
786Madison May.
787
788..
789
790.. bpo: 27611
Ned Deilyaee5df52018-06-27 18:45:50 -0400791.. date: 9818
larryhastingsf9f17342017-09-04 13:30:19 -0700792.. nonce: qL-UVQ
793.. section: Library
794
795Fixed support of default root window in the tkinter.tix module.
796
797..
798
799.. bpo: 27348
Ned Deilyaee5df52018-06-27 18:45:50 -0400800.. date: 9817
larryhastingsf9f17342017-09-04 13:30:19 -0700801.. nonce: tDx7Vw
802.. section: Library
803
804In the traceback module, restore the formatting of exception messages like
805"Exception: None". This fixes a regression introduced in 3.5a2.
806
807..
808
809.. bpo: 25651
Ned Deilyaee5df52018-06-27 18:45:50 -0400810.. date: 9816
larryhastingsf9f17342017-09-04 13:30:19 -0700811.. nonce: 3UhyPo
812.. section: Library
813
814Allow falsy values to be used for msg parameter of subTest().
815
816..
817
818.. bpo: 27932
Ned Deilyaee5df52018-06-27 18:45:50 -0400819.. date: 9815
larryhastingsf9f17342017-09-04 13:30:19 -0700820.. nonce: mtgl-6
821.. section: Library
822
823Prevent memory leak in win32_ver().
824
825..
826
827.. bpo: 0
Ned Deilyaee5df52018-06-27 18:45:50 -0400828.. date: 9814
larryhastingsf9f17342017-09-04 13:30:19 -0700829.. nonce: iPpjqX
830.. section: Library
831
832Fix UnboundLocalError in socket._sendfile_use_sendfile.
833
834..
835
836.. bpo: 28075
Ned Deilyaee5df52018-06-27 18:45:50 -0400837.. date: 9813
larryhastingsf9f17342017-09-04 13:30:19 -0700838.. nonce: aLiUs9
839.. section: Library
840
841Check for ERROR_ACCESS_DENIED in Windows implementation of os.stat(). Patch
842by Eryk Sun.
843
844..
845
846.. bpo: 25270
Ned Deilyaee5df52018-06-27 18:45:50 -0400847.. date: 9812
larryhastingsf9f17342017-09-04 13:30:19 -0700848.. nonce: jrZruM
849.. section: Library
850
851Prevent codecs.escape_encode() from raising SystemError when an empty
852bytestring is passed.
853
854..
855
856.. bpo: 28181
Ned Deilyaee5df52018-06-27 18:45:50 -0400857.. date: 9811
larryhastingsf9f17342017-09-04 13:30:19 -0700858.. nonce: NGc4Yv
859.. section: Library
860
861Get antigravity over HTTPS. Patch by Kaartic Sivaraam.
862
863..
864
865.. bpo: 25895
Ned Deilyaee5df52018-06-27 18:45:50 -0400866.. date: 9810
larryhastingsf9f17342017-09-04 13:30:19 -0700867.. nonce: j92qoQ
868.. section: Library
869
870Enable WebSocket URL schemes in urllib.parse.urljoin. Patch by Gergely Imreh
871and Markus Holtermann.
872
873..
874
875.. bpo: 27599
Ned Deilyaee5df52018-06-27 18:45:50 -0400876.. date: 9809
larryhastingsf9f17342017-09-04 13:30:19 -0700877.. nonce: itvm8T
878.. section: Library
879
880Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().
881
882..
883
884.. bpo: 19003
Ned Deilyaee5df52018-06-27 18:45:50 -0400885.. date: 9808
larryhastingsf9f17342017-09-04 13:30:19 -0700886.. nonce: UUcK_F
887.. section: Library
888
889m email.generator now replaces only ``\r`` and/or ``\n`` line endings, per
890the RFC, instead of all unicode line endings.
891
892..
893
894.. bpo: 28019
Ned Deilyaee5df52018-06-27 18:45:50 -0400895.. date: 9807
larryhastingsf9f17342017-09-04 13:30:19 -0700896.. nonce: KUhBaS
897.. section: Library
898
899itertools.count() no longer rounds non-integer step in range between 1.0 and
9002.0 to 1.
901
902..
903
904.. bpo: 25969
Ned Deilyaee5df52018-06-27 18:45:50 -0400905.. date: 9806
larryhastingsf9f17342017-09-04 13:30:19 -0700906.. nonce: qSPkl-
907.. section: Library
908
909Update the lib2to3 grammar to handle the unpacking generalizations added in
9103.5.
911
912..
913
914.. bpo: 14977
Ned Deilyaee5df52018-06-27 18:45:50 -0400915.. date: 9805
larryhastingsf9f17342017-09-04 13:30:19 -0700916.. nonce: 4MvALg
917.. section: Library
918
919mailcap now respects the order of the lines in the mailcap files ("first
920match"), as required by RFC 1542. Patch by Michael Lazar.
921
922..
923
924.. bpo: 24594
Ned Deilyaee5df52018-06-27 18:45:50 -0400925.. date: 9804
larryhastingsf9f17342017-09-04 13:30:19 -0700926.. nonce: 9CnFVS
927.. section: Library
928
929Validates persist parameter when opening MSI database
930
931..
932
933.. bpo: 17582
Ned Deilyaee5df52018-06-27 18:45:50 -0400934.. date: 9803
larryhastingsf9f17342017-09-04 13:30:19 -0700935.. nonce: MXEHxQ
936.. section: Library
937
938xml.etree.ElementTree nows preserves whitespaces in attributes (Patch by
939Duane Griffin. Reviewed and approved by Stefan Behnel.)
940
941..
942
943.. bpo: 28047
Ned Deilyaee5df52018-06-27 18:45:50 -0400944.. date: 9802
larryhastingsf9f17342017-09-04 13:30:19 -0700945.. nonce: pDu3Fm
946.. section: Library
947
948Fixed calculation of line length used for the base64 CTE in the new email
949policies.
950
951..
952
953.. bpo: 27445
Ned Deilyaee5df52018-06-27 18:45:50 -0400954.. date: 9801
larryhastingsf9f17342017-09-04 13:30:19 -0700955.. nonce: wOG0C0
956.. section: Library
957
958Don't pass str(_charset) to MIMEText.set_payload(). Patch by Claude Paroz.
959
960..
961
962.. bpo: 22450
Ned Deilyaee5df52018-06-27 18:45:50 -0400963.. date: 9800
larryhastingsf9f17342017-09-04 13:30:19 -0700964.. nonce: T3Sn_J
965.. section: Library
966
967urllib now includes an ``Accept: */*`` header among the default headers.
968This makes the results of REST API requests more consistent and predictable
969especially when proxy servers are involved.
970
971..
972
973.. bpo: 0
Ned Deilyaee5df52018-06-27 18:45:50 -0400974.. date: 9799
larryhastingsf9f17342017-09-04 13:30:19 -0700975.. nonce: PVZStR
976.. section: Library
977
978lib2to3.pgen3.driver.load_grammar() now creates a stable cache file between
979runs given the same Grammar.txt input regardless of the hash randomization
980setting.
981
982..
983
984.. bpo: 27570
Ned Deilyaee5df52018-06-27 18:45:50 -0400985.. date: 9798
larryhastingsf9f17342017-09-04 13:30:19 -0700986.. nonce: pU0Zie
987.. section: Library
988
989Avoid zero-length memcpy() etc calls with null source pointers in the
990"ctypes" and "array" modules.
991
992..
993
994.. bpo: 22233
Ned Deilyaee5df52018-06-27 18:45:50 -0400995.. date: 9797
larryhastingsf9f17342017-09-04 13:30:19 -0700996.. nonce: uXSN0R
997.. section: Library
998
999Break email header lines *only* on the RFC specified CR and LF characters,
1000not on arbitrary unicode line breaks. This also fixes a bug in HTTP header
1001parsing.
1002
1003..
1004
1005.. bpo: 27988
Ned Deilyaee5df52018-06-27 18:45:50 -04001006.. date: 9796
larryhastingsf9f17342017-09-04 13:30:19 -07001007.. nonce: VfMzZH
1008.. section: Library
1009
1010Fix email iter_attachments incorrect mutation of payload list.
1011
1012..
1013
1014.. bpo: 27691
Ned Deilyaee5df52018-06-27 18:45:50 -04001015.. date: 9795
larryhastingsf9f17342017-09-04 13:30:19 -07001016.. nonce: TMYF5_
1017.. section: Library
1018
1019Fix ssl module's parsing of GEN_RID subject alternative name fields in X.509
1020certs.
1021
1022..
1023
1024.. bpo: 27850
Ned Deilyaee5df52018-06-27 18:45:50 -04001025.. date: 9794
larryhastingsf9f17342017-09-04 13:30:19 -07001026.. nonce: kIVQ0m
1027.. section: Library
1028
1029Remove 3DES from ssl module's default cipher list to counter measure sweet32
1030attack (CVE-2016-2183).
1031
1032..
1033
1034.. bpo: 27766
Ned Deilyaee5df52018-06-27 18:45:50 -04001035.. date: 9793
larryhastingsf9f17342017-09-04 13:30:19 -07001036.. nonce: WI70Tc
1037.. section: Library
1038
1039Add ChaCha20 Poly1305 to ssl module's default ciper list. (Required OpenSSL
10401.1.0 or LibreSSL).
1041
1042..
1043
1044.. bpo: 26470
Ned Deilyaee5df52018-06-27 18:45:50 -04001045.. date: 9792
larryhastingsf9f17342017-09-04 13:30:19 -07001046.. nonce: QGu_wo
1047.. section: Library
1048
1049Port ssl and hashlib module to OpenSSL 1.1.0.
1050
1051..
1052
1053.. bpo: 0
Ned Deilyaee5df52018-06-27 18:45:50 -04001054.. date: 9791
larryhastingsf9f17342017-09-04 13:30:19 -07001055.. nonce: 6TjEgz
1056.. section: Library
1057
1058Remove support for passing a file descriptor to os.access. It never worked
1059but previously didn't raise.
1060
1061..
1062
1063.. bpo: 12885
Ned Deilyaee5df52018-06-27 18:45:50 -04001064.. date: 9790
larryhastingsf9f17342017-09-04 13:30:19 -07001065.. nonce: r-IV1g
1066.. section: Library
1067
1068Fix error when distutils encounters symlink.
1069
1070..
1071
1072.. bpo: 27881
Ned Deilyaee5df52018-06-27 18:45:50 -04001073.. date: 9789
larryhastingsf9f17342017-09-04 13:30:19 -07001074.. nonce: fkETd9
1075.. section: Library
1076
1077Fixed possible bugs when setting sqlite3.Connection.isolation_level. Based
1078on patch by Xiang Zhang.
1079
1080..
1081
1082.. bpo: 27861
Ned Deilyaee5df52018-06-27 18:45:50 -04001083.. date: 9788
larryhastingsf9f17342017-09-04 13:30:19 -07001084.. nonce: DBYuo9
1085.. section: Library
1086
1087Fixed a crash in sqlite3.Connection.cursor() when a factory creates not a
1088cursor. Patch by Xiang Zhang.
1089
1090..
1091
1092.. bpo: 19884
Ned Deilyaee5df52018-06-27 18:45:50 -04001093.. date: 9787
larryhastingsf9f17342017-09-04 13:30:19 -07001094.. nonce: MO8AWH
1095.. section: Library
1096
1097Avoid spurious output on OS X with Gnu Readline.
1098
1099..
1100
1101.. bpo: 27706
Ned Deilyaee5df52018-06-27 18:45:50 -04001102.. date: 9786
larryhastingsf9f17342017-09-04 13:30:19 -07001103.. nonce: ZY67yu
1104.. section: Library
1105
1106Restore deterministic behavior of random.Random().seed() for string seeds
1107using seeding version 1. Allows sequences of calls to random() to exactly
1108match those obtained in Python 2. Patch by Nofar Schnider.
1109
1110..
1111
1112.. bpo: 10513
Ned Deilyaee5df52018-06-27 18:45:50 -04001113.. date: 9785
larryhastingsf9f17342017-09-04 13:30:19 -07001114.. nonce: tQIQD_
1115.. section: Library
1116
1117Fix a regression in Connection.commit(). Statements should not be reset
1118after a commit.
1119
1120..
1121
1122.. bpo: 0
Ned Deilyaee5df52018-06-27 18:45:50 -04001123.. date: 9784
larryhastingsf9f17342017-09-04 13:30:19 -07001124.. nonce: cYraeH
1125.. section: Library
1126
1127A new version of typing.py from https://github.com/python/typing: -
1128Collection (only for 3.6) (Issue #27598) - Add FrozenSet to __all__
1129(upstream #261) - fix crash in _get_type_vars() (upstream #259) - Remove the
1130dict constraint in ForwardRef._eval_type (upstream #252)
1131
1132..
1133
1134.. bpo: 27539
Ned Deilyaee5df52018-06-27 18:45:50 -04001135.. date: 9783
larryhastingsf9f17342017-09-04 13:30:19 -07001136.. nonce: S4L1cq
1137.. section: Library
1138
1139Fix unnormalised ``Fraction.__pow__`` result in the case of negative
1140exponent and negative base.
1141
1142..
1143
1144.. bpo: 21718
Ned Deilyaee5df52018-06-27 18:45:50 -04001145.. date: 9782
larryhastingsf9f17342017-09-04 13:30:19 -07001146.. nonce: FUJd-7
1147.. section: Library
1148
1149cursor.description is now available for queries using CTEs.
1150
1151..
1152
1153.. bpo: 2466
Ned Deilyaee5df52018-06-27 18:45:50 -04001154.. date: 9781
larryhastingsf9f17342017-09-04 13:30:19 -07001155.. nonce: VRNlkg
1156.. section: Library
1157
1158posixpath.ismount now correctly recognizes mount points which the user does
1159not have permission to access.
1160
1161..
1162
1163.. bpo: 27773
Ned Deilyaee5df52018-06-27 18:45:50 -04001164.. date: 9780
larryhastingsf9f17342017-09-04 13:30:19 -07001165.. nonce: hMSSeX
1166.. section: Library
1167
1168Correct some memory management errors server_hostname in _ssl.wrap_socket().
1169
1170..
1171
1172.. bpo: 26750
Ned Deilyaee5df52018-06-27 18:45:50 -04001173.. date: 9779
larryhastingsf9f17342017-09-04 13:30:19 -07001174.. nonce: rv76vt
1175.. section: Library
1176
1177unittest.mock.create_autospec() now works properly for subclasses of
1178property() and other data descriptors.
1179
1180..
1181
1182.. bpo: 0
Ned Deilyaee5df52018-06-27 18:45:50 -04001183.. date: 9778
larryhastingsf9f17342017-09-04 13:30:19 -07001184.. nonce: Ny9oPv
1185.. section: Library
1186
1187In the curses module, raise an error if window.getstr() or window.instr() is
1188passed a negative value.
1189
1190..
1191
1192.. bpo: 27783
Ned Deilyaee5df52018-06-27 18:45:50 -04001193.. date: 9777
larryhastingsf9f17342017-09-04 13:30:19 -07001194.. nonce: cR1jXH
1195.. section: Library
1196
1197Fix possible usage of uninitialized memory in operator.methodcaller.
1198
1199..
1200
1201.. bpo: 27774
Ned Deilyaee5df52018-06-27 18:45:50 -04001202.. date: 9776
larryhastingsf9f17342017-09-04 13:30:19 -07001203.. nonce: FDcik1
1204.. section: Library
1205
1206Fix possible Py_DECREF on unowned object in _sre.
1207
1208..
1209
1210.. bpo: 27760
Ned Deilyaee5df52018-06-27 18:45:50 -04001211.. date: 9775
larryhastingsf9f17342017-09-04 13:30:19 -07001212.. nonce: gxMjp4
1213.. section: Library
1214
1215Fix possible integer overflow in binascii.b2a_qp.
1216
1217..
1218
1219.. bpo: 27758
Ned Deilyaee5df52018-06-27 18:45:50 -04001220.. date: 9774
larryhastingsf9f17342017-09-04 13:30:19 -07001221.. nonce: 0NRV03
1222.. section: Library
1223
1224Fix possible integer overflow in the _csv module for large record lengths.
1225
1226..
1227
1228.. bpo: 27568
Ned Deilyaee5df52018-06-27 18:45:50 -04001229.. date: 9773
larryhastingsf9f17342017-09-04 13:30:19 -07001230.. nonce: OnuO9s
1231.. section: Library
1232
1233Prevent HTTPoxy attack (CVE-2016-1000110). Ignore the HTTP_PROXY variable
1234when REQUEST_METHOD environment is set, which indicates that the script is
1235in CGI mode.
1236
1237..
1238
1239.. bpo: 27656
Ned Deilyaee5df52018-06-27 18:45:50 -04001240.. date: 9772
larryhastingsf9f17342017-09-04 13:30:19 -07001241.. nonce: joTscM
1242.. section: Library
1243
1244Do not assume sched.h defines any SCHED_* constants.
1245
1246..
1247
1248.. bpo: 27130
Ned Deilyaee5df52018-06-27 18:45:50 -04001249.. date: 9771
larryhastingsf9f17342017-09-04 13:30:19 -07001250.. nonce: SUxwXZ
1251.. section: Library
1252
1253In the "zlib" module, fix handling of large buffers (typically 4 GiB) when
1254compressing and decompressing. Previously, inputs were limited to 4 GiB,
1255and compression and decompression operations did not properly handle results
1256of 4 GiB.
1257
1258..
1259
1260.. bpo: 27533
Ned Deilyaee5df52018-06-27 18:45:50 -04001261.. date: 9770
larryhastingsf9f17342017-09-04 13:30:19 -07001262.. nonce: iDmKzV
1263.. section: Library
1264
1265Release GIL in nt._isdir
1266
1267..
1268
1269.. bpo: 17711
Ned Deilyaee5df52018-06-27 18:45:50 -04001270.. date: 9769
larryhastingsf9f17342017-09-04 13:30:19 -07001271.. nonce: 47AILJ
1272.. section: Library
1273
1274Fixed unpickling by the persistent ID with protocol 0. Original patch by
1275Alexandre Vassalotti.
1276
1277..
1278
1279.. bpo: 27522
Ned Deilyaee5df52018-06-27 18:45:50 -04001280.. date: 9768
larryhastingsf9f17342017-09-04 13:30:19 -07001281.. nonce: 8vVz_t
1282.. section: Library
1283
1284Avoid an unintentional reference cycle in email.feedparser.
1285
1286..
1287
1288.. bpo: 26844
Ned Deilyaee5df52018-06-27 18:45:50 -04001289.. date: 9767
larryhastingsf9f17342017-09-04 13:30:19 -07001290.. nonce: I0wdnY
1291.. section: Library
1292
1293Fix error message for imp.find_module() to refer to 'path' instead of
1294'name'. Patch by Lev Maximov.
1295
1296..
1297
1298.. bpo: 23804
Ned Deilyaee5df52018-06-27 18:45:50 -04001299.. date: 9766
larryhastingsf9f17342017-09-04 13:30:19 -07001300.. nonce: ipFvxc
1301.. section: Library
1302
1303Fix SSL zero-length recv() calls to not block and not raise an error about
1304unclean EOF.
1305
1306..
1307
1308.. bpo: 27466
Ned Deilyaee5df52018-06-27 18:45:50 -04001309.. date: 9765
larryhastingsf9f17342017-09-04 13:30:19 -07001310.. nonce: C_3a8E
1311.. section: Library
1312
1313Change time format returned by http.cookie.time2netscape, confirming the
1314netscape cookie format and making it consistent with documentation.
1315
1316..
1317
1318.. bpo: 26664
Ned Deilyaee5df52018-06-27 18:45:50 -04001319.. date: 9764
larryhastingsf9f17342017-09-04 13:30:19 -07001320.. nonce: OzsSzf
1321.. section: Library
1322
1323Fix activate.fish by removing mis-use of ``$``.
1324
1325..
1326
1327.. bpo: 22115
Ned Deilyaee5df52018-06-27 18:45:50 -04001328.. date: 9763
larryhastingsf9f17342017-09-04 13:30:19 -07001329.. nonce: apoFQ9
1330.. section: Library
1331
1332Fixed tracing Tkinter variables: trace_vdelete() with wrong mode no longer
1333break tracing, trace_vinfo() now always returns a list of pairs of strings,
1334tracing in the "u" mode now works.
1335
1336..
1337
1338.. bpo: 0
Ned Deilyaee5df52018-06-27 18:45:50 -04001339.. date: 9762
larryhastingsf9f17342017-09-04 13:30:19 -07001340.. nonce: oZOeFE
1341.. section: Library
1342
1343Fix a scoping issue in importlib.util.LazyLoader which triggered an
1344UnboundLocalError when lazy-loading a module that was already put into
1345sys.modules.
1346
1347..
1348
1349.. bpo: 27079
Ned Deilyaee5df52018-06-27 18:45:50 -04001350.. date: 9761
larryhastingsf9f17342017-09-04 13:30:19 -07001351.. nonce: c7d0Ym
1352.. section: Library
1353
1354Fixed curses.ascii functions isblank(), iscntrl() and ispunct().
1355
1356..
1357
1358.. bpo: 26754
Ned Deilyaee5df52018-06-27 18:45:50 -04001359.. date: 9760
larryhastingsf9f17342017-09-04 13:30:19 -07001360.. nonce: J3n0QW
1361.. section: Library
1362
1363Some functions (compile() etc) accepted a filename argument encoded as an
1364iterable of integers. Now only strings and byte-like objects are accepted.
1365
1366..
1367
1368.. bpo: 27048
Ned Deilyaee5df52018-06-27 18:45:50 -04001369.. date: 9759
larryhastingsf9f17342017-09-04 13:30:19 -07001370.. nonce: EVe-Bk
1371.. section: Library
1372
1373Prevents distutils failing on Windows when environment variables contain
1374non-ASCII characters
1375
1376..
1377
1378.. bpo: 27330
Ned Deilyaee5df52018-06-27 18:45:50 -04001379.. date: 9758
larryhastingsf9f17342017-09-04 13:30:19 -07001380.. nonce: GJaFCV
1381.. section: Library
1382
1383Fixed possible leaks in the ctypes module.
1384
1385..
1386
1387.. bpo: 27238
Ned Deilyaee5df52018-06-27 18:45:50 -04001388.. date: 9757
larryhastingsf9f17342017-09-04 13:30:19 -07001389.. nonce: Q6v6Qv
1390.. section: Library
1391
1392Got rid of bare excepts in the turtle module. Original patch by Jelle
1393Zijlstra.
1394
1395..
1396
1397.. bpo: 27122
Ned Deilyaee5df52018-06-27 18:45:50 -04001398.. date: 9756
larryhastingsf9f17342017-09-04 13:30:19 -07001399.. nonce: 06t7zN
1400.. section: Library
1401
1402When an exception is raised within the context being managed by a
1403contextlib.ExitStack() and one of the exit stack generators catches and
1404raises it in a chain, do not re-raise the original exception when exiting,
1405let the new chained one through. This avoids the PEP 479 bug described in
1406issue25782.
1407
1408..
1409
1410.. bpo: 27278
Ned Deilyaee5df52018-06-27 18:45:50 -04001411.. date: 9755
larryhastingsf9f17342017-09-04 13:30:19 -07001412.. nonce: y_HkGw
1413.. original section: Library
1414.. section: Security
1415
1416Fix os.urandom() implementation using getrandom() on Linux. Truncate size
1417to INT_MAX and loop until we collected enough random bytes, instead of
1418casting a directly Py_ssize_t to int.
1419
1420..
1421
1422.. bpo: 26386
Ned Deilyaee5df52018-06-27 18:45:50 -04001423.. date: 9754
larryhastingsf9f17342017-09-04 13:30:19 -07001424.. nonce: 9L3Ut4
1425.. section: Library
1426
1427Fixed ttk.TreeView selection operations with item id's containing spaces.
1428
1429..
1430
1431.. bpo: 22636
Ned Deilyaee5df52018-06-27 18:45:50 -04001432.. date: 9753
larryhastingsf9f17342017-09-04 13:30:19 -07001433.. nonce: 3fQW_g
1434.. original section: Library
1435.. section: Security
1436
1437Avoid shell injection problems with ctypes.util.find_library().
1438
1439..
1440
1441.. bpo: 16182
Ned Deilyaee5df52018-06-27 18:45:50 -04001442.. date: 9752
larryhastingsf9f17342017-09-04 13:30:19 -07001443.. nonce: RgFXyr
1444.. section: Library
1445
1446Fix various functions in the "readline" module to use the locale encoding,
1447and fix get_begidx() and get_endidx() to return code point indexes.
1448
1449..
1450
1451.. bpo: 27392
Ned Deilyaee5df52018-06-27 18:45:50 -04001452.. date: 9751
larryhastingsf9f17342017-09-04 13:30:19 -07001453.. nonce: obfni7
1454.. section: Library
1455
1456Add loop.connect_accepted_socket(). Patch by Jim Fulton.
1457
1458..
1459
1460.. bpo: 27930
Ned Deilyaee5df52018-06-27 18:45:50 -04001461.. date: 9750
larryhastingsf9f17342017-09-04 13:30:19 -07001462.. nonce: BkOfSi
1463.. section: Library
1464
1465Improved behaviour of logging.handlers.QueueListener. Thanks to Paulo
1466Andrade and Petr Viktorin for the analysis and patch.
1467
1468..
1469
1470.. bpo: 21201
Ned Deilyaee5df52018-06-27 18:45:50 -04001471.. date: 9749
larryhastingsf9f17342017-09-04 13:30:19 -07001472.. nonce: wLCKiA
1473.. section: Library
1474
1475Improves readability of multiprocessing error message. Thanks to Wojciech
1476Walczak for patch.
1477
1478..
1479
1480.. bpo: 27456
Ned Deilyaee5df52018-06-27 18:45:50 -04001481.. date: 9748
larryhastingsf9f17342017-09-04 13:30:19 -07001482.. nonce: lI_IE7
1483.. section: Library
1484
1485asyncio: Set TCP_NODELAY by default.
1486
1487..
1488
1489.. bpo: 27906
Ned Deilyaee5df52018-06-27 18:45:50 -04001490.. date: 9747
larryhastingsf9f17342017-09-04 13:30:19 -07001491.. nonce: TBBXrv
1492.. section: Library
1493
1494Fix socket accept exhaustion during high TCP traffic. Patch by Kevin Conway.
1495
1496..
1497
1498.. bpo: 28174
Ned Deilyaee5df52018-06-27 18:45:50 -04001499.. date: 9746
larryhastingsf9f17342017-09-04 13:30:19 -07001500.. nonce: CV1UdI
1501.. section: Library
1502
1503Handle when SO_REUSEPORT isn't properly supported. Patch by Seth Michael
1504Larson.
1505
1506..
1507
1508.. bpo: 26654
Ned Deilyaee5df52018-06-27 18:45:50 -04001509.. date: 9745
larryhastingsf9f17342017-09-04 13:30:19 -07001510.. nonce: XtzTE9
1511.. section: Library
1512
1513Inspect functools.partial in asyncio.Handle.__repr__. Patch by iceboy.
1514
1515..
1516
1517.. bpo: 26909
Ned Deilyaee5df52018-06-27 18:45:50 -04001518.. date: 9744
larryhastingsf9f17342017-09-04 13:30:19 -07001519.. nonce: ASiakT
1520.. section: Library
1521
1522Fix slow pipes IO in asyncio. Patch by INADA Naoki.
1523
1524..
1525
1526.. bpo: 28176
Ned Deilyaee5df52018-06-27 18:45:50 -04001527.. date: 9743
larryhastingsf9f17342017-09-04 13:30:19 -07001528.. nonce: sU8R6L
1529.. section: Library
1530
1531Fix callbacks race in asyncio.SelectorLoop.sock_connect.
1532
1533..
1534
1535.. bpo: 27759
Ned Deilyaee5df52018-06-27 18:45:50 -04001536.. date: 9742
larryhastingsf9f17342017-09-04 13:30:19 -07001537.. nonce: qpMDGq
1538.. section: Library
1539
1540Fix selectors incorrectly retain invalid file descriptors. Patch by Mark
1541Williams.
1542
1543..
1544
1545.. bpo: 28368
Ned Deilyaee5df52018-06-27 18:45:50 -04001546.. date: 9741
larryhastingsf9f17342017-09-04 13:30:19 -07001547.. nonce: n594X4
1548.. section: Library
1549
1550Refuse monitoring processes if the child watcher has no loop attached. Patch
1551by Vincent Michel.
1552
1553..
1554
1555.. bpo: 28369
Ned Deilyaee5df52018-06-27 18:45:50 -04001556.. date: 9740
larryhastingsf9f17342017-09-04 13:30:19 -07001557.. nonce: 8DTANe
1558.. section: Library
1559
1560Raise RuntimeError when transport's FD is used with add_reader, add_writer,
1561etc.
1562
1563..
1564
1565.. bpo: 28370
Ned Deilyaee5df52018-06-27 18:45:50 -04001566.. date: 9739
larryhastingsf9f17342017-09-04 13:30:19 -07001567.. nonce: 18jBuZ
1568.. section: Library
1569
1570Speedup asyncio.StreamReader.readexactly. Patch by Коренберг Марк.
1571
1572..
1573
1574.. bpo: 28371
Ned Deilyaee5df52018-06-27 18:45:50 -04001575.. date: 9738
larryhastingsf9f17342017-09-04 13:30:19 -07001576.. nonce: U9Zqdk
1577.. section: Library
1578
1579Deprecate passing asyncio.Handles to run_in_executor.
1580
1581..
1582
1583.. bpo: 28372
Ned Deilyaee5df52018-06-27 18:45:50 -04001584.. date: 9737
larryhastingsf9f17342017-09-04 13:30:19 -07001585.. nonce: njcIPk
1586.. section: Library
1587
1588Fix asyncio to support formatting of non-python coroutines.
1589
1590..
1591
1592.. bpo: 28399
Ned Deilyaee5df52018-06-27 18:45:50 -04001593.. date: 9736
larryhastingsf9f17342017-09-04 13:30:19 -07001594.. nonce: QKIqRX
1595.. section: Library
1596
1597Remove UNIX socket from FS before binding. Patch by Коренберг Марк.
1598
1599..
1600
1601.. bpo: 27972
Ned Deilyaee5df52018-06-27 18:45:50 -04001602.. date: 9735
larryhastingsf9f17342017-09-04 13:30:19 -07001603.. nonce: ZK-GFm
1604.. section: Library
1605
1606Prohibit Tasks to await on themselves.
1607
1608..
1609
1610.. bpo: 26923
Ned Deilyaee5df52018-06-27 18:45:50 -04001611.. date: 9734
larryhastingsf9f17342017-09-04 13:30:19 -07001612.. nonce: 8dh3AV
1613.. section: Library
1614
1615Fix asyncio.Gather to refuse being cancelled once all children are done.
1616Patch by Johannes Ebke.
1617
1618..
1619
1620.. bpo: 26796
Ned Deilyaee5df52018-06-27 18:45:50 -04001621.. date: 9733
larryhastingsf9f17342017-09-04 13:30:19 -07001622.. nonce: TZyAfJ
1623.. section: Library
1624
1625Don't configure the number of workers for default threadpool executor.
1626Initial patch by Hans Lawrenz.
1627
1628..
1629
1630.. bpo: 28600
Ned Deilyaee5df52018-06-27 18:45:50 -04001631.. date: 9732
larryhastingsf9f17342017-09-04 13:30:19 -07001632.. nonce: 2ThUQV
1633.. section: Library
1634
1635Optimize loop.call_soon().
1636
1637..
1638
1639.. bpo: 28613
Ned Deilyaee5df52018-06-27 18:45:50 -04001640.. date: 9731
larryhastingsf9f17342017-09-04 13:30:19 -07001641.. nonce: sqUPrv
1642.. section: Library
1643
1644Fix get_event_loop() return the current loop if called from
1645coroutines/callbacks.
1646
1647..
1648
1649.. bpo: 28639
Ned Deilyaee5df52018-06-27 18:45:50 -04001650.. date: 9730
larryhastingsf9f17342017-09-04 13:30:19 -07001651.. nonce: WUPo1o
1652.. section: Library
1653
1654Fix inspect.isawaitable to always return bool Patch by Justin Mayfield.
1655
1656..
1657
1658.. bpo: 28652
Ned Deilyaee5df52018-06-27 18:45:50 -04001659.. date: 9729
larryhastingsf9f17342017-09-04 13:30:19 -07001660.. nonce: f5M8FG
1661.. section: Library
1662
1663Make loop methods reject socket kinds they do not support.
1664
1665..
1666
1667.. bpo: 28653
Ned Deilyaee5df52018-06-27 18:45:50 -04001668.. date: 9728
larryhastingsf9f17342017-09-04 13:30:19 -07001669.. nonce: S5bA9i
1670.. section: Library
1671
1672Fix a refleak in functools.lru_cache.
1673
1674..
1675
1676.. bpo: 28703
Ned Deilyaee5df52018-06-27 18:45:50 -04001677.. date: 9727
larryhastingsf9f17342017-09-04 13:30:19 -07001678.. nonce: CRLTJc
1679.. section: Library
1680
1681Fix asyncio.iscoroutinefunction to handle Mock objects.
1682
1683..
1684
1685.. bpo: 24142
Ned Deilyaee5df52018-06-27 18:45:50 -04001686.. date: 9726
larryhastingsf9f17342017-09-04 13:30:19 -07001687.. nonce: _BgogI
1688.. section: Library
1689
1690Reading a corrupt config file left the parser in an invalid state. Original
1691patch by Florian Höch.
1692
1693..
1694
1695.. bpo: 28990
Ned Deilyaee5df52018-06-27 18:45:50 -04001696.. date: 9725
larryhastingsf9f17342017-09-04 13:30:19 -07001697.. nonce: W8tuYZ
1698.. section: Library
1699
1700Fix SSL hanging if connection is closed before handshake completed. (Patch
1701by HoHo-Ho)
1702
1703..
1704
1705.. bpo: 15308
Ned Deilyaee5df52018-06-27 18:45:50 -04001706.. date: 9724
larryhastingsf9f17342017-09-04 13:30:19 -07001707.. nonce: zZxn8m
1708.. section: IDLE
1709
1710Add 'interrupt execution' (^C) to Shell menu. Patch by Roger Serwy, updated
1711by Bayard Randel.
1712
1713..
1714
1715.. bpo: 27922
Ned Deilyaee5df52018-06-27 18:45:50 -04001716.. date: 9723
larryhastingsf9f17342017-09-04 13:30:19 -07001717.. nonce: UEtEv9
1718.. section: IDLE
1719
1720Stop IDLE tests from 'flashing' gui widgets on the screen.
1721
1722..
1723
1724.. bpo: 0
Ned Deilyaee5df52018-06-27 18:45:50 -04001725.. date: 9722
larryhastingsf9f17342017-09-04 13:30:19 -07001726.. nonce: zWZs6o
1727.. section: IDLE
1728
1729Add version to title of IDLE help window.
1730
1731..
1732
1733.. bpo: 25564
Ned Deilyaee5df52018-06-27 18:45:50 -04001734.. date: 9721
larryhastingsf9f17342017-09-04 13:30:19 -07001735.. nonce: GN0p14
1736.. section: IDLE
1737
1738In section on IDLE -- console differences, mention that using exec means
1739that __builtins__ is defined for each statement.
1740
1741..
1742
1743.. bpo: 27714
Ned Deilyaee5df52018-06-27 18:45:50 -04001744.. date: 9720
larryhastingsf9f17342017-09-04 13:30:19 -07001745.. nonce: bUEDsI
1746.. section: IDLE
1747
1748text_textview and test_autocomplete now pass when re-run in the same
1749process. This occurs when test_idle fails when run with the -w option but
1750without -jn. Fix warning from test_config.
1751
1752..
1753
1754.. bpo: 25507
Ned Deilyaee5df52018-06-27 18:45:50 -04001755.. date: 9719
larryhastingsf9f17342017-09-04 13:30:19 -07001756.. nonce: lxf68d
1757.. section: IDLE
1758
1759IDLE no longer runs buggy code because of its tkinter imports. Users must
1760include the same imports required to run directly in Python.
1761
1762..
1763
1764.. bpo: 27452
Ned Deilyaee5df52018-06-27 18:45:50 -04001765.. date: 9718
larryhastingsf9f17342017-09-04 13:30:19 -07001766.. nonce: RtWnyR
1767.. section: IDLE
1768
1769add line counter and crc to IDLE configHandler test dump.
1770
1771..
1772
1773.. bpo: 27365
Ned Deilyaee5df52018-06-27 18:45:50 -04001774.. date: 9717
larryhastingsf9f17342017-09-04 13:30:19 -07001775.. nonce: y7ys_A
1776.. section: IDLE
1777
1778Allow non-ascii chars in IDLE NEWS.txt, for contributor names.
1779
1780..
1781
1782.. bpo: 27245
Ned Deilyaee5df52018-06-27 18:45:50 -04001783.. date: 9716
larryhastingsf9f17342017-09-04 13:30:19 -07001784.. nonce: u9aKO1
1785.. section: IDLE
1786
1787IDLE: Cleanly delete custom themes and key bindings. Previously, when IDLE
1788was started from a console or by import, a cascade of warnings was emitted.
1789Patch by Serhiy Storchaka.
1790
1791..
1792
1793.. bpo: 28808
Ned Deilyaee5df52018-06-27 18:45:50 -04001794.. date: 9715
larryhastingsf9f17342017-09-04 13:30:19 -07001795.. nonce: A03X6r
1796.. section: C API
1797
1798PyUnicode_CompareWithASCIIString() now never raises exceptions.
1799
1800..
1801
1802.. bpo: 26754
Ned Deilyaee5df52018-06-27 18:45:50 -04001803.. date: 9714
larryhastingsf9f17342017-09-04 13:30:19 -07001804.. nonce: j2czHF
1805.. section: C API
1806
1807PyUnicode_FSDecoder() accepted a filename argument encoded as an iterable of
1808integers. Now only strings and bytes-like objects are accepted.
1809
1810..
1811
1812.. bpo: 28513
Ned Deilyaee5df52018-06-27 18:45:50 -04001813.. date: 9713
larryhastingsf9f17342017-09-04 13:30:19 -07001814.. nonce: L3joAz
1815.. section: Documentation
1816
1817Documented command-line interface of zipfile.
1818
1819..
1820
1821.. bpo: 28950
Ned Deilyaee5df52018-06-27 18:45:50 -04001822.. date: 9712
larryhastingsf9f17342017-09-04 13:30:19 -07001823.. nonce: 9_vY6R
1824.. section: Tests
1825
1826Disallow -j0 to be combined with -T/-l/-M in regrtest command line
1827arguments.
1828
1829..
1830
1831.. bpo: 28666
Ned Deilyaee5df52018-06-27 18:45:50 -04001832.. date: 9711
larryhastingsf9f17342017-09-04 13:30:19 -07001833.. nonce: RtTk-4
1834.. section: Tests
1835
1836Now test.support.rmtree is able to remove unwritable or unreadable
1837directories.
1838
1839..
1840
1841.. bpo: 23839
Ned Deilyaee5df52018-06-27 18:45:50 -04001842.. date: 9710
larryhastingsf9f17342017-09-04 13:30:19 -07001843.. nonce: zsT_L9
1844.. section: Tests
1845
1846Various caches now are cleared before running every test file.
1847
1848..
1849
1850.. bpo: 28409
Ned Deilyaee5df52018-06-27 18:45:50 -04001851.. date: 9709
larryhastingsf9f17342017-09-04 13:30:19 -07001852.. nonce: Q2IlxJ
1853.. section: Tests
1854
1855regrtest: fix the parser of command line arguments.
1856
1857..
1858
1859.. bpo: 27787
Ned Deilyaee5df52018-06-27 18:45:50 -04001860.. date: 9708
larryhastingsf9f17342017-09-04 13:30:19 -07001861.. nonce: kf0YAt
1862.. section: Tests
1863
1864Call gc.collect() before checking each test for "dangling threads", since
1865the dangling threads are weak references.
1866
1867..
1868
1869.. bpo: 27369
Ned Deilyaee5df52018-06-27 18:45:50 -04001870.. date: 9707
larryhastingsf9f17342017-09-04 13:30:19 -07001871.. nonce: LG7U2D
1872.. section: Tests
1873
1874In test_pyexpat, avoid testing an error message detail that changed in Expat
18752.2.0.
1876
1877..
1878
1879.. bpo: 27952
Ned Deilyaee5df52018-06-27 18:45:50 -04001880.. date: 9706
larryhastingsf9f17342017-09-04 13:30:19 -07001881.. nonce: WX9Ufc
1882.. section: Tools/Demos
1883
1884Get Tools/scripts/fixcid.py working with Python 3 and the current "re"
1885module, avoid invalid Python backslash escapes, and fix a bug parsing
1886escaped C quote signs.
1887
1888..
1889
1890.. bpo: 27332
Ned Deilyaee5df52018-06-27 18:45:50 -04001891.. date: 9705
larryhastingsf9f17342017-09-04 13:30:19 -07001892.. nonce: OuRZp9
1893.. section: Tools/Demos
1894
1895Fixed the type of the first argument of module-level functions generated by
1896Argument Clinic. Patch by Petr Viktorin.
1897
1898..
1899
1900.. bpo: 27418
Ned Deilyaee5df52018-06-27 18:45:50 -04001901.. date: 9704
larryhastingsf9f17342017-09-04 13:30:19 -07001902.. nonce: W2m_8I
1903.. section: Tools/Demos
1904
1905Fixed Tools/importbench/importbench.py.
1906
1907..
1908
1909.. bpo: 28251
Ned Deilyaee5df52018-06-27 18:45:50 -04001910.. date: 9703
larryhastingsf9f17342017-09-04 13:30:19 -07001911.. nonce: tR_AFs
1912.. section: Windows
1913
1914Improvements to help manuals on Windows.
1915
1916..
1917
1918.. bpo: 28110
Ned Deilyaee5df52018-06-27 18:45:50 -04001919.. date: 9702
larryhastingsf9f17342017-09-04 13:30:19 -07001920.. nonce: cnkP5F
1921.. section: Windows
1922
1923launcher.msi has different product codes between 32-bit and 64-bit
1924
1925..
1926
1927.. bpo: 25144
Ned Deilyaee5df52018-06-27 18:45:50 -04001928.. date: 9701
larryhastingsf9f17342017-09-04 13:30:19 -07001929.. nonce: iUha52
1930.. section: Windows
1931
1932Ensures TargetDir is set before continuing with custom install.
1933
1934..
1935
1936.. bpo: 27469
Ned Deilyaee5df52018-06-27 18:45:50 -04001937.. date: 9700
larryhastingsf9f17342017-09-04 13:30:19 -07001938.. nonce: 0GwDkX
1939.. section: Windows
1940
1941Adds a shell extension to the launcher so that drag and drop works
1942correctly.
1943
1944..
1945
1946.. bpo: 27309
Ned Deilyaee5df52018-06-27 18:45:50 -04001947.. date: 9699
larryhastingsf9f17342017-09-04 13:30:19 -07001948.. nonce: 4DPjhF
1949.. section: Windows
1950
1951Enabled proper Windows styles in python[w].exe manifest.
1952
1953..
1954
1955.. bpo: 29080
Ned Deilyaee5df52018-06-27 18:45:50 -04001956.. date: 9698
larryhastingsf9f17342017-09-04 13:30:19 -07001957.. nonce: b3qLQT
1958.. section: Build
1959
1960Removes hard dependency on hg.exe from PCBuild/build.bat
1961
1962..
1963
1964.. bpo: 23903
Ned Deilyaee5df52018-06-27 18:45:50 -04001965.. date: 9697
larryhastingsf9f17342017-09-04 13:30:19 -07001966.. nonce: JXJ889
1967.. section: Build
1968
1969Added missed names to PC/python3.def.
1970
1971..
1972
1973.. bpo: 10656
Ned Deilyaee5df52018-06-27 18:45:50 -04001974.. date: 9696
larryhastingsf9f17342017-09-04 13:30:19 -07001975.. nonce: pR8FFU
1976.. section: Build
1977
1978Fix out-of-tree building on AIX. Patch by Tristan Carel and Michael
1979Haubenwallner.
1980
1981..
1982
1983.. bpo: 26359
Ned Deilyaee5df52018-06-27 18:45:50 -04001984.. date: 9695
larryhastingsf9f17342017-09-04 13:30:19 -07001985.. nonce: CLz6qy
1986.. section: Build
1987
1988Rename --with-optimiations to --enable-optimizations.
1989
1990..
1991
1992.. bpo: 28444
Ned Deilyaee5df52018-06-27 18:45:50 -04001993.. date: 9694
larryhastingsf9f17342017-09-04 13:30:19 -07001994.. nonce: zkc9nT
1995.. section: Build
1996
1997Fix missing extensions modules when cross compiling.
1998
1999..
2000
2001.. bpo: 28248
Ned Deilyaee5df52018-06-27 18:45:50 -04002002.. date: 9693
larryhastingsf9f17342017-09-04 13:30:19 -07002003.. nonce: KY_-en
2004.. section: Build
2005
2006Update Windows build and OS X installers to use OpenSSL 1.0.2j.
2007
2008..
2009
2010.. bpo: 28258
Ned Deilyaee5df52018-06-27 18:45:50 -04002011.. date: 9692
larryhastingsf9f17342017-09-04 13:30:19 -07002012.. nonce: iKtAHd
2013.. section: Build
2014
2015Fixed build with Estonian locale (python-config and distclean targets in
2016Makefile). Patch by Arfrever Frehtes Taifersar Arahesis.
2017
2018..
2019
2020.. bpo: 26661
Ned Deilyaee5df52018-06-27 18:45:50 -04002021.. date: 9691
larryhastingsf9f17342017-09-04 13:30:19 -07002022.. nonce: Z_HNbs
2023.. section: Build
2024
2025setup.py now detects system libffi with multiarch wrapper.
2026
2027..
2028
2029.. bpo: 28066
Ned Deilyaee5df52018-06-27 18:45:50 -04002030.. date: 9690
larryhastingsf9f17342017-09-04 13:30:19 -07002031.. nonce: _3xImV
2032.. section: Build
2033
2034Fix the logic that searches build directories for generated include files
2035when building outside the source tree.
2036
2037..
2038
2039.. bpo: 15819
Ned Deilyaee5df52018-06-27 18:45:50 -04002040.. date: 9689
larryhastingsf9f17342017-09-04 13:30:19 -07002041.. nonce: QVDr3E
2042.. section: Build
2043
2044Remove redundant include search directory option for building outside the
2045source tree.
2046
2047..
2048
2049.. bpo: 27566
Ned Deilyaee5df52018-06-27 18:45:50 -04002050.. date: 9688
larryhastingsf9f17342017-09-04 13:30:19 -07002051.. nonce: xDWjEb
2052.. section: Build
2053
2054Fix clean target in freeze makefile (patch by Lisa Roach)
2055
2056..
2057
2058.. bpo: 27705
Ned Deilyaee5df52018-06-27 18:45:50 -04002059.. date: 9687
larryhastingsf9f17342017-09-04 13:30:19 -07002060.. nonce: 8C2Ms3
2061.. section: Build
2062
2063Update message in validate_ucrtbase.py
2064
2065..
2066
2067.. bpo: 27983
Ned Deilyaee5df52018-06-27 18:45:50 -04002068.. date: 9686
larryhastingsf9f17342017-09-04 13:30:19 -07002069.. nonce: jL_1n8
2070.. section: Build
2071
2072Cause lack of llvm-profdata tool when using clang as required for PGO
Ned Deilyaee5df52018-06-27 18:45:50 -04002073linking to be a configure time error rather than make time when --with-
2074optimizations is enabled. Also improve our ability to find the llvm-
2075profdata tool on MacOS and some Linuxes.
larryhastingsf9f17342017-09-04 13:30:19 -07002076
2077..
2078
2079.. bpo: 26307
Ned Deilyaee5df52018-06-27 18:45:50 -04002080.. date: 9685
larryhastingsf9f17342017-09-04 13:30:19 -07002081.. nonce: Puk2rd
2082.. section: Build
2083
2084The profile-opt build now applies PGO to the built-in modules.
2085
2086..
2087
2088.. bpo: 26359
Ned Deilyaee5df52018-06-27 18:45:50 -04002089.. date: 9684
larryhastingsf9f17342017-09-04 13:30:19 -07002090.. nonce: WXBL-Y
2091.. section: Build
2092
2093Add the --with-optimizations configure flag.
2094
2095..
2096
2097.. bpo: 27713
Ned Deilyaee5df52018-06-27 18:45:50 -04002098.. date: 9683
larryhastingsf9f17342017-09-04 13:30:19 -07002099.. nonce: _3DgXG
2100.. section: Build
2101
2102Suppress spurious build warnings when updating importlib's bootstrap files.
2103Patch by Xiang Zhang
2104
2105..
2106
2107.. bpo: 25825
Ned Deilyaee5df52018-06-27 18:45:50 -04002108.. date: 9682
larryhastingsf9f17342017-09-04 13:30:19 -07002109.. nonce: JD8aRp
2110.. section: Build
2111
2112Correct the references to Modules/python.exp and ld_so_aix, which are
2113required on AIX. This updates references to an installation path that was
2114changed in 3.2a4, and undoes changed references to the build tree that were
2115made in 3.5.0a1.
2116
2117..
2118
2119.. bpo: 27453
Ned Deilyaee5df52018-06-27 18:45:50 -04002120.. date: 9681
larryhastingsf9f17342017-09-04 13:30:19 -07002121.. nonce: Pb5DBi
2122.. section: Build
2123
2124CPP invocation in configure must use CPPFLAGS. Patch by Chi Hsuan Yen.
2125
2126..
2127
2128.. bpo: 27641
Ned Deilyaee5df52018-06-27 18:45:50 -04002129.. date: 9680
larryhastingsf9f17342017-09-04 13:30:19 -07002130.. nonce: eGzgCk
2131.. section: Build
2132
2133The configure script now inserts comments into the makefile to prevent the
Ned Deilyaee5df52018-06-27 18:45:50 -04002134pgen and _freeze_importlib executables from being cross- compiled.
larryhastingsf9f17342017-09-04 13:30:19 -07002135
2136..
2137
2138.. bpo: 26662
Ned Deilyaee5df52018-06-27 18:45:50 -04002139.. date: 9679
larryhastingsf9f17342017-09-04 13:30:19 -07002140.. nonce: XkwRxM
2141.. section: Build
2142
2143Set PYTHON_FOR_GEN in configure as the Python program to be used for file
2144generation during the build.
2145
2146..
2147
2148.. bpo: 10910
Ned Deilyaee5df52018-06-27 18:45:50 -04002149.. date: 9678
larryhastingsf9f17342017-09-04 13:30:19 -07002150.. nonce: ZdRayb
2151.. section: Build
2152
2153Avoid C++ compilation errors on FreeBSD and OS X. Also update FreedBSD
2154version checks for the original ctype UTF-8 workaround.
2155
2156..
2157
2158.. bpo: 28676
Ned Deilyaee5df52018-06-27 18:45:50 -04002159.. date: 9677
larryhastingsf9f17342017-09-04 13:30:19 -07002160.. nonce: Wxf6Ds
2161.. section: Build
2162
2163Prevent missing 'getentropy' declaration warning on macOS. Patch by Gareth
2164Rees.