blob: d891fa0880dad1e8f98405e0d593ddd9aaaf980e [file] [log] [blame]
larryhastingsf9f17342017-09-04 13:30:19 -07001.. bpo: 27066
Ned Deilyaee5df52018-06-27 18:45:50 -04002.. date: 9673
larryhastingsf9f17342017-09-04 13:30:19 -07003.. nonce: SNExZi
4.. release date: 2016-06-12
5.. section: Core and Builtins
6
7Fixed SystemError if a custom opener (for open()) returns a negative number
8without setting an exception.
9
10..
11
12.. bpo: 20041
Ned Deilyaee5df52018-06-27 18:45:50 -040013.. date: 9672
larryhastingsf9f17342017-09-04 13:30:19 -070014.. nonce: TypyGp
15.. section: Core and Builtins
16
17Fixed TypeError when frame.f_trace is set to None. Patch by Xavier de Gaye.
18
19..
20
21.. bpo: 26168
Ned Deilyaee5df52018-06-27 18:45:50 -040022.. date: 9671
larryhastingsf9f17342017-09-04 13:30:19 -070023.. nonce: -nPBL6
24.. section: Core and Builtins
25
26Fixed possible refleaks in failing Py_BuildValue() with the "N" format unit.
27
28..
29
30.. bpo: 26991
Ned Deilyaee5df52018-06-27 18:45:50 -040031.. date: 9670
larryhastingsf9f17342017-09-04 13:30:19 -070032.. nonce: yWGNhz
33.. section: Core and Builtins
34
35Fix possible refleak when creating a function with annotations.
36
37..
38
39.. bpo: 27039
Ned Deilyaee5df52018-06-27 18:45:50 -040040.. date: 9669
larryhastingsf9f17342017-09-04 13:30:19 -070041.. nonce: Zj7tV7
42.. section: Core and Builtins
43
44Fixed bytearray.remove() for values greater than 127. Patch by Joe Jevnik.
45
46..
47
48.. bpo: 23640
Ned Deilyaee5df52018-06-27 18:45:50 -040049.. date: 9668
larryhastingsf9f17342017-09-04 13:30:19 -070050.. nonce: kvNC4c
51.. section: Core and Builtins
52
53int.from_bytes() no longer bypasses constructors for subclasses.
54
55..
56
57.. bpo: 26811
Ned Deilyaee5df52018-06-27 18:45:50 -040058.. date: 9667
larryhastingsf9f17342017-09-04 13:30:19 -070059.. nonce: oNzUWt
60.. section: Core and Builtins
61
62gc.get_objects() no longer contains a broken tuple with NULL pointer.
63
64..
65
66.. bpo: 20120
Ned Deilyaee5df52018-06-27 18:45:50 -040067.. date: 9666
larryhastingsf9f17342017-09-04 13:30:19 -070068.. nonce: c-FZZc
69.. section: Core and Builtins
70
71Use RawConfigParser for .pypirc parsing, removing support for interpolation
72unintentionally added with move to Python 3. Behavior no longer does any
73interpolation in .pypirc files, matching behavior in Python 2.7 and
74Setuptools 19.0.
75
76..
77
78.. bpo: 26659
Ned Deilyaee5df52018-06-27 18:45:50 -040079.. date: 9665
larryhastingsf9f17342017-09-04 13:30:19 -070080.. nonce: 5PRa83
81.. section: Core and Builtins
82
83Make the builtin slice type support cycle collection.
84
85..
86
87.. bpo: 26718
Ned Deilyaee5df52018-06-27 18:45:50 -040088.. date: 9664
larryhastingsf9f17342017-09-04 13:30:19 -070089.. nonce: K5PQ8j
90.. section: Core and Builtins
91
92super.__init__ no longer leaks memory if called multiple times. NOTE: A
93direct call of super.__init__ is not endorsed!
94
95..
96
97.. bpo: 25339
Ned Deilyaee5df52018-06-27 18:45:50 -040098.. date: 9663
larryhastingsf9f17342017-09-04 13:30:19 -070099.. nonce: ZcaC2E
100.. section: Core and Builtins
101
102PYTHONIOENCODING now has priority over locale in setting the error handler
103for stdin and stdout.
104
105..
106
107.. bpo: 26494
Ned Deilyaee5df52018-06-27 18:45:50 -0400108.. date: 9662
larryhastingsf9f17342017-09-04 13:30:19 -0700109.. nonce: G6eXIi
110.. section: Core and Builtins
111
112Fixed crash on iterating exhausting iterators. Affected classes are generic
113sequence iterators, iterators of str, bytes, bytearray, list, tuple, set,
114frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator.
115
116..
117
118.. bpo: 26581
Ned Deilyaee5df52018-06-27 18:45:50 -0400119.. date: 9661
larryhastingsf9f17342017-09-04 13:30:19 -0700120.. nonce: yNA7nm
121.. section: Core and Builtins
122
123If coding cookie is specified multiple times on a line in Python source code
124file, only the first one is taken to account.
125
126..
127
128.. bpo: 26464
Ned Deilyaee5df52018-06-27 18:45:50 -0400129.. date: 9660
larryhastingsf9f17342017-09-04 13:30:19 -0700130.. nonce: 7BreGz
131.. section: Core and Builtins
132
133Fix str.translate() when string is ASCII and first replacements removes
134character, but next replacement uses a non-ASCII character or a string
135longer than 1 character. Regression introduced in Python 3.5.0.
136
137..
138
139.. bpo: 22836
Ned Deilyaee5df52018-06-27 18:45:50 -0400140.. date: 9659
larryhastingsf9f17342017-09-04 13:30:19 -0700141.. nonce: cimt1y
142.. section: Core and Builtins
143
144Ensure exception reports from PyErr_Display() and PyErr_WriteUnraisable()
145are sensible even when formatting them produces secondary errors. This
146affects the reports produced by sys.__excepthook__() and when __del__()
147raises an exception.
148
149..
150
151.. bpo: 26302
Ned Deilyaee5df52018-06-27 18:45:50 -0400152.. date: 9658
larryhastingsf9f17342017-09-04 13:30:19 -0700153.. nonce: UD9XQt
154.. section: Core and Builtins
155
156Correct behavior to reject comma as a legal character for cookie names.
157
158..
159
160.. bpo: 4806
Ned Deilyaee5df52018-06-27 18:45:50 -0400161.. date: 9657
larryhastingsf9f17342017-09-04 13:30:19 -0700162.. nonce: i9m3hj
163.. section: Core and Builtins
164
165Avoid masking the original TypeError exception when using star (``*``)
166unpacking in function calls. Based on patch by Hagen Fürstenau and Daniel
167Urban.
168
169..
170
171.. bpo: 27138
Ned Deilyaee5df52018-06-27 18:45:50 -0400172.. date: 9656
larryhastingsf9f17342017-09-04 13:30:19 -0700173.. nonce: ifYEro
174.. section: Core and Builtins
175
176Fix the doc comment for FileFinder.find_spec().
177
178..
179
180.. bpo: 26154
Ned Deilyaee5df52018-06-27 18:45:50 -0400181.. date: 9655
larryhastingsf9f17342017-09-04 13:30:19 -0700182.. nonce: MtnRAH
183.. section: Core and Builtins
184
185Add a new private _PyThreadState_UncheckedGet() function to get the current
186Python thread state, but don't issue a fatal error if it is NULL. This new
187function must be used instead of accessing directly the
188_PyThreadState_Current variable. The variable is no more exposed since
189Python 3.5.1 to hide the exact implementation of atomic C types, to avoid
190compiler issues.
191
192..
193
194.. bpo: 26194
Ned Deilyaee5df52018-06-27 18:45:50 -0400195.. date: 9654
larryhastingsf9f17342017-09-04 13:30:19 -0700196.. nonce: j9zand
197.. section: Core and Builtins
198
199Deque.insert() gave odd results for bounded deques that had reached their
200maximum size. Now an IndexError will be raised when attempting to insert
201into a full deque.
202
203..
204
205.. bpo: 25843
Ned Deilyaee5df52018-06-27 18:45:50 -0400206.. date: 9653
larryhastingsf9f17342017-09-04 13:30:19 -0700207.. nonce: t2kGug
208.. section: Core and Builtins
209
210When compiling code, don't merge constants if they are equal but have a
211different types. For example, ``f1, f2 = lambda: 1, lambda: 1.0`` is now
212correctly compiled to two different functions: ``f1()`` returns ``1``
213(``int``) and ``f2()`` returns ``1.0`` (``int``), even if ``1`` and ``1.0``
214are equal.
215
216..
217
218.. bpo: 22995
Ned Deilyaee5df52018-06-27 18:45:50 -0400219.. date: 9652
larryhastingsf9f17342017-09-04 13:30:19 -0700220.. nonce: KYNKvs
221.. section: Core and Builtins
222
223[UPDATE] Comment out the one of the pickleability tests in
224_PyObject_GetState() due to regressions observed in Cython-based projects.
225
226..
227
228.. bpo: 25961
Ned Deilyaee5df52018-06-27 18:45:50 -0400229.. date: 9651
larryhastingsf9f17342017-09-04 13:30:19 -0700230.. nonce: Hdjjw0
231.. section: Core and Builtins
232
233Disallowed null characters in the type name.
234
235..
236
237.. bpo: 25973
Ned Deilyaee5df52018-06-27 18:45:50 -0400238.. date: 9650
larryhastingsf9f17342017-09-04 13:30:19 -0700239.. nonce: Ud__ZP
240.. section: Core and Builtins
241
242Fix segfault when an invalid nonlocal statement binds a name starting with
243two underscores.
244
245..
246
247.. bpo: 22995
Ned Deilyaee5df52018-06-27 18:45:50 -0400248.. date: 9649
larryhastingsf9f17342017-09-04 13:30:19 -0700249.. nonce: Wq0E86
250.. section: Core and Builtins
251
252Instances of extension types with a state that aren't subclasses of list or
253dict and haven't implemented any pickle-related methods (__reduce__,
254__reduce_ex__, __getnewargs__, __getnewargs_ex__, or __getstate__), can no
255longer be pickled. Including memoryview.
256
257..
258
259.. bpo: 20440
Ned Deilyaee5df52018-06-27 18:45:50 -0400260.. date: 9648
larryhastingsf9f17342017-09-04 13:30:19 -0700261.. nonce: GCwOfH
262.. section: Core and Builtins
263
264Massive replacing unsafe attribute setting code with special macro
265Py_SETREF.
266
267..
268
269.. bpo: 25766
Ned Deilyaee5df52018-06-27 18:45:50 -0400270.. date: 9647
larryhastingsf9f17342017-09-04 13:30:19 -0700271.. nonce: jn93Yu
272.. section: Core and Builtins
273
274Special method __bytes__() now works in str subclasses.
275
276..
277
278.. bpo: 25421
Ned Deilyaee5df52018-06-27 18:45:50 -0400279.. date: 9646
larryhastingsf9f17342017-09-04 13:30:19 -0700280.. nonce: c47YEL
281.. section: Core and Builtins
282
283__sizeof__ methods of builtin types now use dynamic basic size. This allows
284sys.getsize() to work correctly with their subclasses with __slots__
285defined.
286
287..
288
289.. bpo: 25709
Ned Deilyaee5df52018-06-27 18:45:50 -0400290.. date: 9645
larryhastingsf9f17342017-09-04 13:30:19 -0700291.. nonce: WwGm2k
292.. section: Core and Builtins
293
294Fixed problem with in-place string concatenation and utf-8 cache.
295
296..
297
298.. bpo: 27147
Ned Deilyaee5df52018-06-27 18:45:50 -0400299.. date: 9644
larryhastingsf9f17342017-09-04 13:30:19 -0700300.. nonce: tCCgmH
301.. section: Core and Builtins
302
Stéphane Wirtel12e696b2018-10-27 00:58:26 +0200303Mention :pep:`420` in the importlib docs.
larryhastingsf9f17342017-09-04 13:30:19 -0700304
305..
306
307.. bpo: 24097
Ned Deilyaee5df52018-06-27 18:45:50 -0400308.. date: 9643
larryhastingsf9f17342017-09-04 13:30:19 -0700309.. nonce: Vt4E-i
310.. section: Core and Builtins
311
312Fixed crash in object.__reduce__() if slot name is freed inside __getattr__.
313
314..
315
316.. bpo: 24731
Ned Deilyaee5df52018-06-27 18:45:50 -0400317.. date: 9642
larryhastingsf9f17342017-09-04 13:30:19 -0700318.. nonce: h9-hnz
319.. section: Core and Builtins
320
321Fixed crash on converting objects with special methods __bytes__, __trunc__,
322and __float__ returning instances of subclasses of bytes, int, and float to
323subclasses of bytes, int, and float correspondingly.
324
325..
326
327.. bpo: 26478
Ned Deilyaee5df52018-06-27 18:45:50 -0400328.. date: 9641
larryhastingsf9f17342017-09-04 13:30:19 -0700329.. nonce: n0dB8e
330.. section: Core and Builtins
331
332Fix semantic bugs when using binary operators with dictionary views and
333tuples.
334
335..
336
337.. bpo: 26171
Ned Deilyaee5df52018-06-27 18:45:50 -0400338.. date: 9640
larryhastingsf9f17342017-09-04 13:30:19 -0700339.. nonce: 8SaQEa
340.. section: Core and Builtins
341
342Fix possible integer overflow and heap corruption in zipimporter.get_data().
343
344..
345
346.. bpo: 25660
Ned Deilyaee5df52018-06-27 18:45:50 -0400347.. date: 9639
larryhastingsf9f17342017-09-04 13:30:19 -0700348.. nonce: 93DzBo
349.. section: Core and Builtins
350
351Fix TAB key behaviour in REPL with readline.
352
353..
354
355.. bpo: 25887
Ned Deilyaee5df52018-06-27 18:45:50 -0400356.. date: 9638
larryhastingsf9f17342017-09-04 13:30:19 -0700357.. nonce: PtVIX7
358.. section: Core and Builtins
359
360Raise a RuntimeError when a coroutine object is awaited more than once.
361
362..
363
364.. bpo: 27243
Ned Deilyaee5df52018-06-27 18:45:50 -0400365.. date: 9637
larryhastingsf9f17342017-09-04 13:30:19 -0700366.. nonce: U36M4E
367.. section: Core and Builtins
368
369Update the __aiter__ protocol: instead of returning an awaitable that
370resolves to an asynchronous iterator, the asynchronous iterator should be
371returned directly. Doing the former will trigger a
372PendingDeprecationWarning.
373
374..
375
376.. bpo: 26556
Ned Deilyaee5df52018-06-27 18:45:50 -0400377.. date: 9636
larryhastingsf9f17342017-09-04 13:30:19 -0700378.. nonce: v5j2uL
379.. original section: Library
380.. section: Security
381
382Update expat to 2.1.1, fixes CVE-2015-1283.
383
384..
385
386.. bpo: 0
Ned Deilyaee5df52018-06-27 18:45:50 -0400387.. date: 9635
larryhastingsf9f17342017-09-04 13:30:19 -0700388.. nonce: E4ochz
389.. original section: Library
390.. section: Security
391
392Fix TLS stripping vulnerability in smtplib, CVE-2016-0772. Reported by Team
393Oststrom
394
395..
396
397.. bpo: 21386
Ned Deilyaee5df52018-06-27 18:45:50 -0400398.. date: 9634
larryhastingsf9f17342017-09-04 13:30:19 -0700399.. nonce: DjV72U
400.. section: Library
401
402Implement missing IPv4Address.is_global property. It was documented since
40307a5610bae9d. Initial patch by Roger Luethi.
404
405..
406
407.. bpo: 20900
Ned Deilyaee5df52018-06-27 18:45:50 -0400408.. date: 9633
larryhastingsf9f17342017-09-04 13:30:19 -0700409.. nonce: H5YQPR
410.. section: Library
411
412distutils register command now decodes HTTP responses correctly. Initial
413patch by ingrid.
414
415..
416
417.. bpo: 0
Ned Deilyaee5df52018-06-27 18:45:50 -0400418.. date: 9632
larryhastingsf9f17342017-09-04 13:30:19 -0700419.. nonce: iYIeng
420.. section: Library
421
422A new version of typing.py provides several new classes and features:
Ned Deilyaee5df52018-06-27 18:45:50 -0400423@overload outside stubs, Reversible, DefaultDict, Text, ContextManager,
larryhastingsf9f17342017-09-04 13:30:19 -0700424Type[], NewType(), TYPE_CHECKING, and numerous bug fixes (note that some of
425the new features are not yet implemented in mypy or other static analyzers).
Stéphane Wirtel12e696b2018-10-27 00:58:26 +0200426Also classes for :pep:`492` (Awaitable, AsyncIterable, AsyncIterator) have been
larryhastingsf9f17342017-09-04 13:30:19 -0700427added (in fact they made it into 3.5.1 but were never mentioned).
428
429..
430
431.. bpo: 25738
Ned Deilyaee5df52018-06-27 18:45:50 -0400432.. date: 9631
larryhastingsf9f17342017-09-04 13:30:19 -0700433.. nonce: mED9w4
434.. section: Library
435
436Stop http.server.BaseHTTPRequestHandler.send_error() from sending a message
437body for 205 Reset Content. Also, don't send Content header fields in
438responses that don't have a body. Patch by Susumu Koshiba.
439
440..
441
442.. bpo: 21313
Ned Deilyaee5df52018-06-27 18:45:50 -0400443.. date: 9630
larryhastingsf9f17342017-09-04 13:30:19 -0700444.. nonce: W30MBr
445.. section: Library
446
447Fix the "platform" module to tolerate when sys.version contains truncated
448build information.
449
450..
451
452.. bpo: 26839
Ned Deilyaee5df52018-06-27 18:45:50 -0400453.. date: 9629
larryhastingsf9f17342017-09-04 13:30:19 -0700454.. nonce: yVvy7R
455.. original section: Library
456.. section: Security
457
458On Linux, :func:`os.urandom` now calls ``getrandom()`` with
459``GRND_NONBLOCK`` to fall back on reading ``/dev/urandom`` if the urandom
460entropy pool is not initialized yet. Patch written by Colm Buckley.
461
462..
463
464.. bpo: 27164
Ned Deilyaee5df52018-06-27 18:45:50 -0400465.. date: 9628
larryhastingsf9f17342017-09-04 13:30:19 -0700466.. nonce: 6wmjx2
467.. section: Library
468
469In the zlib module, allow decompressing raw Deflate streams with a
470predefined zdict. Based on patch by Xiang Zhang.
471
472..
473
474.. bpo: 24291
Ned Deilyaee5df52018-06-27 18:45:50 -0400475.. date: 9627
larryhastingsf9f17342017-09-04 13:30:19 -0700476.. nonce: Ac6HvL
477.. section: Library
478
479Fix wsgiref.simple_server.WSGIRequestHandler to completely write data to the
480client. Previously it could do partial writes and truncate data. Also,
481wsgiref.handler.ServerHandler can now handle stdout doing partial writes,
482but this is deprecated.
483
484..
485
486.. bpo: 26809
Ned Deilyaee5df52018-06-27 18:45:50 -0400487.. date: 9626
larryhastingsf9f17342017-09-04 13:30:19 -0700488.. nonce: ya7JMb
489.. section: Library
490
491Add ``__all__`` to :mod:`string`. Patch by Emanuel Barry.
492
493..
494
495.. bpo: 26373
Ned Deilyaee5df52018-06-27 18:45:50 -0400496.. date: 9625
larryhastingsf9f17342017-09-04 13:30:19 -0700497.. nonce: P6qz6o
498.. section: Library
499
500subprocess.Popen.communicate now correctly ignores BrokenPipeError when the
501child process dies before .communicate() is called in more/all
502circumstances.
503
504..
505
506.. bpo: 21776
Ned Deilyaee5df52018-06-27 18:45:50 -0400507.. date: 9624
larryhastingsf9f17342017-09-04 13:30:19 -0700508.. nonce: 04eQfa
509.. section: Library
510
511distutils.upload now correctly handles HTTPError. Initial patch by Claudiu
512Popa.
513
514..
515
516.. bpo: 27114
Ned Deilyaee5df52018-06-27 18:45:50 -0400517.. date: 9623
larryhastingsf9f17342017-09-04 13:30:19 -0700518.. nonce: bGCuAM
519.. section: Library
520
521Fix SSLContext._load_windows_store_certs fails with PermissionError
522
523..
524
525.. bpo: 18383
Ned Deilyaee5df52018-06-27 18:45:50 -0400526.. date: 9622
larryhastingsf9f17342017-09-04 13:30:19 -0700527.. nonce: jr-b0l
528.. section: Library
529
530Avoid creating duplicate filters when using filterwarnings and simplefilter.
531Based on patch by Alex Shkop.
532
533..
534
535.. bpo: 27057
Ned Deilyaee5df52018-06-27 18:45:50 -0400536.. date: 9621
larryhastingsf9f17342017-09-04 13:30:19 -0700537.. nonce: YzTA_Q
538.. section: Library
539
540Fix os.set_inheritable() on Android, ioctl() is blocked by SELinux and fails
541with EACCESS. The function now falls back to fcntl(). Patch written by
542Michał Bednarski.
543
544..
545
546.. bpo: 27014
Ned Deilyaee5df52018-06-27 18:45:50 -0400547.. date: 9620
larryhastingsf9f17342017-09-04 13:30:19 -0700548.. nonce: ui7Khn
549.. section: Library
550
551Fix infinite recursion using typing.py. Thanks to Kalle Tuure!
552
553..
554
555.. bpo: 14132
Ned Deilyaee5df52018-06-27 18:45:50 -0400556.. date: 9619
larryhastingsf9f17342017-09-04 13:30:19 -0700557.. nonce: 5wR9MN
558.. section: Library
559
560Fix urllib.request redirect handling when the target only has a query
561string. Original fix by Ján Janech.
562
563..
564
565.. bpo: 17214
Ned Deilyaee5df52018-06-27 18:45:50 -0400566.. date: 9618
larryhastingsf9f17342017-09-04 13:30:19 -0700567.. nonce: lUbZOV
568.. section: Library
569
570The "urllib.request" module now percent-encodes non-ASCII bytes found in
Serhiy Storchaka3f819ca2018-10-31 02:26:06 +0200571redirect target URLs. Some servers send Location header fields with
572non-ASCII bytes, but "http.client" requires the request target to be
573ASCII-encodable, otherwise a UnicodeEncodeError is raised. Based on patch by
larryhastingsf9f17342017-09-04 13:30:19 -0700574Christian Heimes.
575
576..
577
578.. bpo: 26892
Ned Deilyaee5df52018-06-27 18:45:50 -0400579.. date: 9617
larryhastingsf9f17342017-09-04 13:30:19 -0700580.. nonce: XIXb0h
581.. section: Library
582
583Honor debuglevel flag in urllib.request.HTTPHandler. Patch contributed by
584Chi Hsuan Yen.
585
586..
587
588.. bpo: 22274
Ned Deilyaee5df52018-06-27 18:45:50 -0400589.. date: 9616
larryhastingsf9f17342017-09-04 13:30:19 -0700590.. nonce: 0RHDMN
591.. section: Library
592
593In the subprocess module, allow stderr to be redirected to stdout even when
594stdout is not redirected. Patch by Akira Li.
595
596..
597
598.. bpo: 26807
Ned Deilyaee5df52018-06-27 18:45:50 -0400599.. date: 9615
larryhastingsf9f17342017-09-04 13:30:19 -0700600.. nonce: LXSPP6
601.. section: Library
602
603mock_open 'files' no longer error on readline at end of file. Patch from
604Yolanda Robla.
605
606..
607
608.. bpo: 25745
Ned Deilyaee5df52018-06-27 18:45:50 -0400609.. date: 9614
larryhastingsf9f17342017-09-04 13:30:19 -0700610.. nonce: -n8acU
611.. section: Library
612
613Fixed leaking a userptr in curses panel destructor.
614
615..
616
617.. bpo: 26977
Ned Deilyaee5df52018-06-27 18:45:50 -0400618.. date: 9613
larryhastingsf9f17342017-09-04 13:30:19 -0700619.. nonce: 5G4HtL
620.. section: Library
621
622Removed unnecessary, and ignored, call to sum of squares helper in
623statistics.pvariance.
624
625..
626
627.. bpo: 26881
Ned Deilyaee5df52018-06-27 18:45:50 -0400628.. date: 9612
larryhastingsf9f17342017-09-04 13:30:19 -0700629.. nonce: mdiq_L
630.. section: Library
631
632The modulefinder module now supports extended opcode arguments.
633
634..
635
636.. bpo: 23815
Ned Deilyaee5df52018-06-27 18:45:50 -0400637.. date: 9611
larryhastingsf9f17342017-09-04 13:30:19 -0700638.. nonce: _krNe8
639.. section: Library
640
641Fixed crashes related to directly created instances of types in _tkinter and
642curses.panel modules.
643
644..
645
646.. bpo: 17765
Ned Deilyaee5df52018-06-27 18:45:50 -0400647.. date: 9610
larryhastingsf9f17342017-09-04 13:30:19 -0700648.. nonce: hiSVS1
649.. section: Library
650
651weakref.ref() no longer silently ignores keyword arguments. Patch by Georg
652Brandl.
653
654..
655
656.. bpo: 26873
Ned Deilyaee5df52018-06-27 18:45:50 -0400657.. date: 9609
larryhastingsf9f17342017-09-04 13:30:19 -0700658.. nonce: cYXRcH
659.. section: Library
660
661xmlrpc now raises ResponseError on unsupported type tags instead of silently
662return incorrect result.
663
664..
665
666.. bpo: 26711
Ned Deilyaee5df52018-06-27 18:45:50 -0400667.. date: 9608
larryhastingsf9f17342017-09-04 13:30:19 -0700668.. nonce: Eu85Qw
669.. section: Library
670
671Fixed the comparison of plistlib.Data with other types.
672
673..
674
675.. bpo: 24114
Ned Deilyaee5df52018-06-27 18:45:50 -0400676.. date: 9607
larryhastingsf9f17342017-09-04 13:30:19 -0700677.. nonce: RMRMtM
678.. section: Library
679
680Fix an uninitialized variable in `ctypes.util`.
larryhastingsf9f17342017-09-04 13:30:19 -0700681The bug only occurs on SunOS when the ctypes implementation searches for the
682`crle` program. Patch by Xiang Zhang. Tested on SunOS by Kees Bos.
683
684..
685
686.. bpo: 26864
Ned Deilyaee5df52018-06-27 18:45:50 -0400687.. date: 9606
larryhastingsf9f17342017-09-04 13:30:19 -0700688.. nonce: 1KgGds
689.. section: Library
690
691In urllib.request, change the proxy bypass host checking against no_proxy to
692be case-insensitive, and to not match unrelated host names that happen to
693have a bypassed hostname as a suffix. Patch by Xiang Zhang.
694
695..
696
697.. bpo: 26634
Ned Deilyaee5df52018-06-27 18:45:50 -0400698.. date: 9605
larryhastingsf9f17342017-09-04 13:30:19 -0700699.. nonce: FZvsSb
700.. section: Library
701
702recursive_repr() now sets __qualname__ of wrapper. Patch by Xiang Zhang.
703
704..
705
706.. bpo: 26804
Ned Deilyaee5df52018-06-27 18:45:50 -0400707.. date: 9604
larryhastingsf9f17342017-09-04 13:30:19 -0700708.. nonce: 9Orp-G
709.. section: Library
710
711urllib.request will prefer lower_case proxy environment variables over
712UPPER_CASE or Mixed_Case ones. Patch contributed by Hans-Peter Jansen.
713
714..
715
716.. bpo: 26837
Ned Deilyaee5df52018-06-27 18:45:50 -0400717.. date: 9603
larryhastingsf9f17342017-09-04 13:30:19 -0700718.. nonce: 2FXGsD
719.. section: Library
720
721assertSequenceEqual() now correctly outputs non-stringified differing items
722(like bytes in the -b mode). This affects assertListEqual() and
723assertTupleEqual().
724
725..
726
727.. bpo: 26041
Ned Deilyaee5df52018-06-27 18:45:50 -0400728.. date: 9602
larryhastingsf9f17342017-09-04 13:30:19 -0700729.. nonce: bVem-p
730.. section: Library
731
732Remove "will be removed in Python 3.7" from deprecation messages of
733platform.dist() and platform.linux_distribution(). Patch by Kumaripaba
734Miyurusara Athukorala.
735
736..
737
738.. bpo: 26822
Ned Deilyaee5df52018-06-27 18:45:50 -0400739.. date: 9601
larryhastingsf9f17342017-09-04 13:30:19 -0700740.. nonce: rYSL4W
741.. section: Library
742
743itemgetter, attrgetter and methodcaller objects no longer silently ignore
744keyword arguments.
745
746..
747
748.. bpo: 26733
Ned Deilyaee5df52018-06-27 18:45:50 -0400749.. date: 9600
larryhastingsf9f17342017-09-04 13:30:19 -0700750.. nonce: YxaJmL
751.. section: Library
752
753Disassembling a class now disassembles class and static methods. Patch by
754Xiang Zhang.
755
756..
757
758.. bpo: 26801
Ned Deilyaee5df52018-06-27 18:45:50 -0400759.. date: 9599
larryhastingsf9f17342017-09-04 13:30:19 -0700760.. nonce: TQGY-7
761.. section: Library
762
763Fix error handling in :func:`shutil.get_terminal_size`, catch
764:exc:`AttributeError` instead of :exc:`NameError`. Patch written by Emanuel
765Barry.
766
767..
768
769.. bpo: 24838
Ned Deilyaee5df52018-06-27 18:45:50 -0400770.. date: 9598
larryhastingsf9f17342017-09-04 13:30:19 -0700771.. nonce: 3Pfx8T
772.. section: Library
773
774tarfile's ustar and gnu formats now correctly calculate name and link field
775limits for multibyte character encodings like utf-8.
776
777..
778
779.. bpo: 26657
Ned Deilyaee5df52018-06-27 18:45:50 -0400780.. date: 9597
larryhastingsf9f17342017-09-04 13:30:19 -0700781.. nonce: C_-XFg
782.. original section: Library
783.. section: Security
784
785Fix directory traversal vulnerability with http.server on Windows. This
786fixes a regression that was introduced in 3.3.4rc1 and 3.4.0rc1. Based on
787patch by Philipp Hagemeister.
788
789..
790
791.. bpo: 26717
Ned Deilyaee5df52018-06-27 18:45:50 -0400792.. date: 9596
larryhastingsf9f17342017-09-04 13:30:19 -0700793.. nonce: jngTdu
794.. section: Library
795
796Stop encoding Latin-1-ized WSGI paths with UTF-8. Patch by Anthony Sottile.
797
798..
799
800.. bpo: 26735
Ned Deilyaee5df52018-06-27 18:45:50 -0400801.. date: 9595
larryhastingsf9f17342017-09-04 13:30:19 -0700802.. nonce: riSl3b
803.. section: Library
804
805Fix :func:`os.urandom` on Solaris 11.3 and newer when reading more than
8061,024 bytes: call ``getrandom()`` multiple times with a limit of 1024 bytes
807per call.
808
809..
810
811.. bpo: 16329
Ned Deilyaee5df52018-06-27 18:45:50 -0400812.. date: 9594
larryhastingsf9f17342017-09-04 13:30:19 -0700813.. nonce: nuXD8W
814.. section: Library
815
816Add .webm to mimetypes.types_map. Patch by Giampaolo Rodola'.
817
818..
819
820.. bpo: 13952
Ned Deilyaee5df52018-06-27 18:45:50 -0400821.. date: 9593
larryhastingsf9f17342017-09-04 13:30:19 -0700822.. nonce: SOoTVE
823.. section: Library
824
825Add .csv to mimetypes.types_map. Patch by Geoff Wilson.
826
827..
828
829.. bpo: 26709
Ned Deilyaee5df52018-06-27 18:45:50 -0400830.. date: 9592
larryhastingsf9f17342017-09-04 13:30:19 -0700831.. nonce: luOPbP
832.. section: Library
833
834Fixed Y2038 problem in loading binary PLists.
835
836..
837
838.. bpo: 23735
Ned Deilyaee5df52018-06-27 18:45:50 -0400839.. date: 9591
larryhastingsf9f17342017-09-04 13:30:19 -0700840.. nonce: Y5oQ9r
841.. section: Library
842
843Handle terminal resizing with Readline 6.3+ by installing our own SIGWINCH
844handler. Patch by Eric Price.
845
846..
847
848.. bpo: 26586
Ned Deilyaee5df52018-06-27 18:45:50 -0400849.. date: 9590
larryhastingsf9f17342017-09-04 13:30:19 -0700850.. nonce: V5pZNa
851.. section: Library
852
853In http.server, respond with "413 Request header fields too large" if there
854are too many header fields to parse, rather than killing the connection and
855raising an unhandled exception. Patch by Xiang Zhang.
856
857..
858
859.. bpo: 22854
Ned Deilyaee5df52018-06-27 18:45:50 -0400860.. date: 9589
larryhastingsf9f17342017-09-04 13:30:19 -0700861.. nonce: K3rMEH
862.. section: Library
863
864Change BufferedReader.writable() and BufferedWriter.readable() to always
865return False.
866
867..
868
869.. bpo: 25195
Ned Deilyaee5df52018-06-27 18:45:50 -0400870.. date: 9588
larryhastingsf9f17342017-09-04 13:30:19 -0700871.. nonce: EOc4Po
872.. section: Library
873
874Fix a regression in mock.MagicMock. _Call is a subclass of tuple (changeset
8753603bae63c13 only works for classes) so we need to implement __ne__
876ourselves. Patch by Andrew Plummer.
877
878..
879
880.. bpo: 26644
Ned Deilyaee5df52018-06-27 18:45:50 -0400881.. date: 9587
larryhastingsf9f17342017-09-04 13:30:19 -0700882.. nonce: 7tt1tk
883.. section: Library
884
885Raise ValueError rather than SystemError when a negative length is passed to
886SSLSocket.recv() or read().
887
888..
889
890.. bpo: 23804
Ned Deilyaee5df52018-06-27 18:45:50 -0400891.. date: 9586
larryhastingsf9f17342017-09-04 13:30:19 -0700892.. nonce: PP63Ff
893.. section: Library
894
895Fix SSL recv(0) and read(0) methods to return zero bytes instead of up to
8961024.
897
898..
899
900.. bpo: 26616
Ned Deilyaee5df52018-06-27 18:45:50 -0400901.. date: 9585
larryhastingsf9f17342017-09-04 13:30:19 -0700902.. nonce: v3QwdD
903.. section: Library
904
905Fixed a bug in datetime.astimezone() method.
906
907..
908
909.. bpo: 21925
Ned Deilyaee5df52018-06-27 18:45:50 -0400910.. date: 9584
larryhastingsf9f17342017-09-04 13:30:19 -0700911.. nonce: _fr69L
912.. section: Library
913
914:func:`warnings.formatwarning` now catches exceptions on
915``linecache.getline(...)`` to be able to log :exc:`ResourceWarning` emitted
916late during the Python shutdown process.
917
918..
919
920.. bpo: 24266
Ned Deilyaee5df52018-06-27 18:45:50 -0400921.. date: 9583
larryhastingsf9f17342017-09-04 13:30:19 -0700922.. nonce: YZgVyM
923.. section: Library
924
925Ctrl+C during Readline history search now cancels the search mode when
926compiled with Readline 7.
927
928..
929
930.. bpo: 26560
Ned Deilyaee5df52018-06-27 18:45:50 -0400931.. date: 9582
larryhastingsf9f17342017-09-04 13:30:19 -0700932.. nonce: A4WXNz
933.. section: Library
934
935Avoid potential ValueError in BaseHandler.start_response. Initial patch by
936Peter Inglesby.
937
938..
939
940.. bpo: 26313
Ned Deilyaee5df52018-06-27 18:45:50 -0400941.. date: 9581
larryhastingsf9f17342017-09-04 13:30:19 -0700942.. nonce: LjZAjy
943.. original section: Library
944.. section: Security
945
946ssl.py _load_windows_store_certs fails if windows cert store is empty. Patch
947by Baji.
948
949..
950
951.. bpo: 26569
Ned Deilyaee5df52018-06-27 18:45:50 -0400952.. date: 9580
larryhastingsf9f17342017-09-04 13:30:19 -0700953.. nonce: EX8vF1
954.. section: Library
955
956Fix :func:`pyclbr.readmodule` and :func:`pyclbr.readmodule_ex` to support
957importing packages.
958
959..
960
961.. bpo: 26499
Ned Deilyaee5df52018-06-27 18:45:50 -0400962.. date: 9579
larryhastingsf9f17342017-09-04 13:30:19 -0700963.. nonce: NP08PI
964.. section: Library
965
966Account for remaining Content-Length in HTTPResponse.readline() and read1().
967Based on patch by Silent Ghost. Also document that HTTPResponse now supports
968these methods.
969
970..
971
972.. bpo: 25320
Ned Deilyaee5df52018-06-27 18:45:50 -0400973.. date: 9578
larryhastingsf9f17342017-09-04 13:30:19 -0700974.. nonce: V96LIy
975.. section: Library
976
977Handle sockets in directories unittest discovery is scanning. Patch from
978Victor van den Elzen.
979
980..
981
982.. bpo: 16181
Ned Deilyaee5df52018-06-27 18:45:50 -0400983.. date: 9577
larryhastingsf9f17342017-09-04 13:30:19 -0700984.. nonce: P7lLvo
985.. section: Library
986
987cookiejar.http2time() now returns None if year is higher than
988datetime.MAXYEAR.
989
990..
991
992.. bpo: 26513
Ned Deilyaee5df52018-06-27 18:45:50 -0400993.. date: 9576
larryhastingsf9f17342017-09-04 13:30:19 -0700994.. nonce: HoPepy
995.. section: Library
996
997Fixes platform module detection of Windows Server
998
999..
1000
1001.. bpo: 23718
Ned Deilyaee5df52018-06-27 18:45:50 -04001002.. date: 9575
larryhastingsf9f17342017-09-04 13:30:19 -07001003.. nonce: AMPC0o
1004.. section: Library
1005
1006Fixed parsing time in week 0 before Jan 1. Original patch by Tamás Bence
1007Gedai.
1008
1009..
1010
1011.. bpo: 20589
Ned Deilyaee5df52018-06-27 18:45:50 -04001012.. date: 9574
larryhastingsf9f17342017-09-04 13:30:19 -07001013.. nonce: NsQ_I1
1014.. section: Library
1015
1016Invoking Path.owner() and Path.group() on Windows now raise
1017NotImplementedError instead of ImportError.
1018
1019..
1020
1021.. bpo: 26177
Ned Deilyaee5df52018-06-27 18:45:50 -04001022.. date: 9573
larryhastingsf9f17342017-09-04 13:30:19 -07001023.. nonce: HlSWer
1024.. section: Library
1025
1026Fixed the keys() method for Canvas and Scrollbar widgets.
1027
1028..
1029
1030.. bpo: 15068
Ned Deilyaee5df52018-06-27 18:45:50 -04001031.. date: 9572
larryhastingsf9f17342017-09-04 13:30:19 -07001032.. nonce: bcHtiw
1033.. section: Library
1034
1035Got rid of excessive buffering in the fileinput module. The bufsize
1036parameter is no longer used.
1037
1038..
1039
1040.. bpo: 2202
Ned Deilyaee5df52018-06-27 18:45:50 -04001041.. date: 9571
larryhastingsf9f17342017-09-04 13:30:19 -07001042.. nonce: dk9sd0
1043.. section: Library
1044
1045Fix UnboundLocalError in AbstractDigestAuthHandler.get_algorithm_impls.
1046Initial patch by Mathieu Dupuy.
1047
1048..
1049
1050.. bpo: 25718
Ned Deilyaee5df52018-06-27 18:45:50 -04001051.. date: 9570
larryhastingsf9f17342017-09-04 13:30:19 -07001052.. nonce: 4EjZyv
1053.. section: Library
1054
1055Fixed pickling and copying the accumulate() iterator with total is None.
1056
1057..
1058
1059.. bpo: 26475
Ned Deilyaee5df52018-06-27 18:45:50 -04001060.. date: 9569
larryhastingsf9f17342017-09-04 13:30:19 -07001061.. nonce: JXVccY
1062.. section: Library
1063
1064Fixed debugging output for regular expressions with the (?x) flag.
1065
1066..
1067
1068.. bpo: 26457
Ned Deilyaee5df52018-06-27 18:45:50 -04001069.. date: 9568
larryhastingsf9f17342017-09-04 13:30:19 -07001070.. nonce: Xe6Clh
1071.. section: Library
1072
1073Fixed the subnets() methods in IP network classes for the case when
1074resulting prefix length is equal to maximal prefix length. Based on patch by
1075Xiang Zhang.
1076
1077..
1078
1079.. bpo: 26385
Ned Deilyaee5df52018-06-27 18:45:50 -04001080.. date: 9567
larryhastingsf9f17342017-09-04 13:30:19 -07001081.. nonce: 50bDXm
1082.. section: Library
1083
1084Remove the file if the internal open() call in NamedTemporaryFile() fails.
1085Patch by Silent Ghost.
1086
1087..
1088
1089.. bpo: 26402
Ned Deilyaee5df52018-06-27 18:45:50 -04001090.. date: 9566
larryhastingsf9f17342017-09-04 13:30:19 -07001091.. nonce: k7DVuU
1092.. section: Library
1093
1094Fix XML-RPC client to retry when the server shuts down a persistent
1095connection. This was a regression related to the new
1096http.client.RemoteDisconnected exception in 3.5.0a4.
1097
1098..
1099
1100.. bpo: 25913
Ned Deilyaee5df52018-06-27 18:45:50 -04001101.. date: 9565
larryhastingsf9f17342017-09-04 13:30:19 -07001102.. nonce: 5flb95
1103.. section: Library
1104
1105Leading ``<~`` is optional now in base64.a85decode() with adobe=True. Patch
1106by Swati Jaiswal.
1107
1108..
1109
1110.. bpo: 26186
Ned Deilyaee5df52018-06-27 18:45:50 -04001111.. date: 9564
larryhastingsf9f17342017-09-04 13:30:19 -07001112.. nonce: R9rfiL
1113.. section: Library
1114
1115Remove an invalid type check in importlib.util.LazyLoader.
1116
1117..
1118
1119.. bpo: 26367
Ned Deilyaee5df52018-06-27 18:45:50 -04001120.. date: 9563
larryhastingsf9f17342017-09-04 13:30:19 -07001121.. nonce: ckpNeU
1122.. section: Library
1123
1124importlib.__import__() raises SystemError like builtins.__import__() when
1125``level`` is specified but without an accompanying package specified.
1126
1127..
1128
1129.. bpo: 26309
Ned Deilyaee5df52018-06-27 18:45:50 -04001130.. date: 9562
larryhastingsf9f17342017-09-04 13:30:19 -07001131.. nonce: ubEeiz
1132.. section: Library
1133
1134In the "socketserver" module, shut down the request (closing the connected
1135socket) when verify_request() returns false. Patch by Aviv Palivoda.
1136
1137..
1138
1139.. bpo: 25939
Ned Deilyaee5df52018-06-27 18:45:50 -04001140.. date: 9561
larryhastingsf9f17342017-09-04 13:30:19 -07001141.. nonce: X49Fqd
1142.. original section: Library
1143.. section: Security
1144
1145On Windows open the cert store readonly in ssl.enum_certificates.
1146
1147..
1148
1149.. bpo: 25995
Ned Deilyaee5df52018-06-27 18:45:50 -04001150.. date: 9560
larryhastingsf9f17342017-09-04 13:30:19 -07001151.. nonce: NfcimP
1152.. section: Library
1153
1154os.walk() no longer uses FDs proportional to the tree depth.
1155
1156..
1157
1158.. bpo: 26117
Ned Deilyaee5df52018-06-27 18:45:50 -04001159.. date: 9559
larryhastingsf9f17342017-09-04 13:30:19 -07001160.. nonce: ne6p11
1161.. section: Library
1162
1163The os.scandir() iterator now closes file descriptor not only when the
1164iteration is finished, but when it was failed with error.
1165
1166..
1167
1168.. bpo: 25911
Ned Deilyaee5df52018-06-27 18:45:50 -04001169.. date: 9558
larryhastingsf9f17342017-09-04 13:30:19 -07001170.. nonce: d4Zadh
1171.. section: Library
1172
1173Restored support of bytes paths in os.walk() on Windows.
1174
1175..
1176
1177.. bpo: 26045
Ned Deilyaee5df52018-06-27 18:45:50 -04001178.. date: 9557
larryhastingsf9f17342017-09-04 13:30:19 -07001179.. nonce: WmzUrX
1180.. section: Library
1181
1182Add UTF-8 suggestion to error message when posting a non-Latin-1 string with
1183http.client.
1184
1185..
1186
1187.. bpo: 12923
Ned Deilyaee5df52018-06-27 18:45:50 -04001188.. date: 9556
larryhastingsf9f17342017-09-04 13:30:19 -07001189.. nonce: HPAu-B
1190.. section: Library
1191
1192Reset FancyURLopener's redirect counter even if there is an exception.
1193Based on patches by Brian Brazil and Daniel Rocco.
1194
1195..
1196
1197.. bpo: 25945
Ned Deilyaee5df52018-06-27 18:45:50 -04001198.. date: 9555
larryhastingsf9f17342017-09-04 13:30:19 -07001199.. nonce: guNgNM
1200.. section: Library
1201
1202Fixed a crash when unpickle the functools.partial object with wrong state.
1203Fixed a leak in failed functools.partial constructor. "args" and "keywords"
1204attributes of functools.partial have now always types tuple and dict
1205correspondingly.
1206
1207..
1208
1209.. bpo: 26202
Ned Deilyaee5df52018-06-27 18:45:50 -04001210.. date: 9554
larryhastingsf9f17342017-09-04 13:30:19 -07001211.. nonce: LPIXLg
1212.. section: Library
1213
1214copy.deepcopy() now correctly copies range() objects with non-atomic
1215attributes.
1216
1217..
1218
1219.. bpo: 23076
Ned Deilyaee5df52018-06-27 18:45:50 -04001220.. date: 9553
larryhastingsf9f17342017-09-04 13:30:19 -07001221.. nonce: 8rphoP
1222.. section: Library
1223
1224Path.glob() now raises a ValueError if it's called with an invalid pattern.
1225Patch by Thomas Nyberg.
1226
1227..
1228
1229.. bpo: 19883
Ned Deilyaee5df52018-06-27 18:45:50 -04001230.. date: 9552
larryhastingsf9f17342017-09-04 13:30:19 -07001231.. nonce: z9TsO6
1232.. section: Library
1233
1234Fixed possible integer overflows in zipimport.
1235
1236..
1237
1238.. bpo: 26227
Ned Deilyaee5df52018-06-27 18:45:50 -04001239.. date: 9551
larryhastingsf9f17342017-09-04 13:30:19 -07001240.. nonce: Fe6oiB
1241.. section: Library
1242
1243On Windows, getnameinfo(), gethostbyaddr() and gethostbyname_ex() functions
1244of the socket module now decode the hostname from the ANSI code page rather
1245than UTF-8.
1246
1247..
1248
1249.. bpo: 26147
Ned Deilyaee5df52018-06-27 18:45:50 -04001250.. date: 9550
larryhastingsf9f17342017-09-04 13:30:19 -07001251.. nonce: i-Jc01
1252.. section: Library
1253
1254xmlrpc now works with strings not encodable with used non-UTF-8 encoding.
1255
1256..
1257
1258.. bpo: 25935
Ned Deilyaee5df52018-06-27 18:45:50 -04001259.. date: 9549
larryhastingsf9f17342017-09-04 13:30:19 -07001260.. nonce: cyni91
1261.. section: Library
1262
1263Garbage collector now breaks reference loops with OrderedDict.
1264
1265..
1266
1267.. bpo: 16620
Ned Deilyaee5df52018-06-27 18:45:50 -04001268.. date: 9548
larryhastingsf9f17342017-09-04 13:30:19 -07001269.. nonce: rxpn_Y
1270.. section: Library
1271
1272Fixed AttributeError in msilib.Directory.glob().
1273
1274..
1275
1276.. bpo: 26013
Ned Deilyaee5df52018-06-27 18:45:50 -04001277.. date: 9547
larryhastingsf9f17342017-09-04 13:30:19 -07001278.. nonce: 93RKNz
1279.. section: Library
1280
1281Added compatibility with broken protocol 2 pickles created in old Python 3
1282versions (3.4.3 and lower).
1283
1284..
1285
1286.. bpo: 25850
Ned Deilyaee5df52018-06-27 18:45:50 -04001287.. date: 9546
larryhastingsf9f17342017-09-04 13:30:19 -07001288.. nonce: jwFPxj
1289.. section: Library
1290
1291Use cross-compilation by default for 64-bit Windows.
1292
1293..
1294
1295.. bpo: 17633
Ned Deilyaee5df52018-06-27 18:45:50 -04001296.. date: 9545
larryhastingsf9f17342017-09-04 13:30:19 -07001297.. nonce: 9mpbUO
1298.. section: Library
1299
1300Improve zipimport's support for namespace packages.
1301
1302..
1303
1304.. bpo: 24705
Ned Deilyaee5df52018-06-27 18:45:50 -04001305.. date: 9544
larryhastingsf9f17342017-09-04 13:30:19 -07001306.. nonce: IZYwjR
1307.. section: Library
1308
1309Fix sysconfig._parse_makefile not expanding ${} vars appearing before $()
1310vars.
1311
1312..
1313
1314.. bpo: 22138
Ned Deilyaee5df52018-06-27 18:45:50 -04001315.. date: 9543
larryhastingsf9f17342017-09-04 13:30:19 -07001316.. nonce: nRNYkc
1317.. section: Library
1318
1319Fix mock.patch behavior when patching descriptors. Restore original values
1320after patching. Patch contributed by Sean McCully.
1321
1322..
1323
1324.. bpo: 25672
Ned Deilyaee5df52018-06-27 18:45:50 -04001325.. date: 9542
larryhastingsf9f17342017-09-04 13:30:19 -07001326.. nonce: fw9RJP
1327.. section: Library
1328
1329In the ssl module, enable the SSL_MODE_RELEASE_BUFFERS mode option if it is
1330safe to do so.
1331
1332..
1333
1334.. bpo: 26012
Ned Deilyaee5df52018-06-27 18:45:50 -04001335.. date: 9541
larryhastingsf9f17342017-09-04 13:30:19 -07001336.. nonce: IFSXNm
1337.. section: Library
1338
1339Don't traverse into symlinks for ``**`` pattern in pathlib.Path.[r]glob().
1340
1341..
1342
1343.. bpo: 24120
Ned Deilyaee5df52018-06-27 18:45:50 -04001344.. date: 9540
larryhastingsf9f17342017-09-04 13:30:19 -07001345.. nonce: Yiwa0h
1346.. section: Library
1347
1348Ignore PermissionError when traversing a tree with pathlib.Path.[r]glob().
1349Patch by Ulrich Petri.
1350
1351..
1352
1353.. bpo: 25447
Ned Deilyaee5df52018-06-27 18:45:50 -04001354.. date: 9539
larryhastingsf9f17342017-09-04 13:30:19 -07001355.. nonce: -4m4xO
1356.. section: Library
1357
1358fileinput now uses sys.stdin as-is if it does not have a buffer attribute
1359(restores backward compatibility).
1360
1361..
1362
1363.. bpo: 25447
Ned Deilyaee5df52018-06-27 18:45:50 -04001364.. date: 9538
larryhastingsf9f17342017-09-04 13:30:19 -07001365.. nonce: AtHkWA
1366.. section: Library
1367
Stéphane Wirtel683281f2018-10-06 16:35:53 +02001368Copying the lru_cache() wrapper object now always works, independently from
larryhastingsf9f17342017-09-04 13:30:19 -07001369the type of the wrapped object (by returning the original object unchanged).
1370
1371..
1372
1373.. bpo: 24103
Ned Deilyaee5df52018-06-27 18:45:50 -04001374.. date: 9537
larryhastingsf9f17342017-09-04 13:30:19 -07001375.. nonce: WufqrQ
1376.. section: Library
1377
1378Fixed possible use after free in ElementTree.XMLPullParser.
1379
1380..
1381
1382.. bpo: 25860
Ned Deilyaee5df52018-06-27 18:45:50 -04001383.. date: 9536
larryhastingsf9f17342017-09-04 13:30:19 -07001384.. nonce: 0hActb
1385.. section: Library
1386
1387os.fwalk() no longer skips remaining directories when error occurs.
1388Original patch by Samson Lee.
1389
1390..
1391
1392.. bpo: 25914
Ned Deilyaee5df52018-06-27 18:45:50 -04001393.. date: 9535
larryhastingsf9f17342017-09-04 13:30:19 -07001394.. nonce: h0V61F
1395.. section: Library
1396
1397Fixed and simplified OrderedDict.__sizeof__.
1398
1399..
1400
1401.. bpo: 25902
Ned Deilyaee5df52018-06-27 18:45:50 -04001402.. date: 9534
larryhastingsf9f17342017-09-04 13:30:19 -07001403.. nonce: 6t2FmH
1404.. section: Library
1405
1406Fixed various refcount issues in ElementTree iteration.
1407
1408..
1409
1410.. bpo: 25717
Ned Deilyaee5df52018-06-27 18:45:50 -04001411.. date: 9533
larryhastingsf9f17342017-09-04 13:30:19 -07001412.. nonce: 0_xjaK
1413.. section: Library
1414
1415Restore the previous behaviour of tolerating most fstat() errors when
1416opening files. This was a regression in 3.5a1, and stopped anonymous
1417temporary files from working in special cases.
1418
1419..
1420
1421.. bpo: 24903
Ned Deilyaee5df52018-06-27 18:45:50 -04001422.. date: 9532
larryhastingsf9f17342017-09-04 13:30:19 -07001423.. nonce: 3LBdzb
1424.. section: Library
1425
1426Fix regression in number of arguments compileall accepts when '-d' is
1427specified. The check on the number of arguments has been dropped completely
1428as it never worked correctly anyway.
1429
1430..
1431
1432.. bpo: 25764
Ned Deilyaee5df52018-06-27 18:45:50 -04001433.. date: 9531
larryhastingsf9f17342017-09-04 13:30:19 -07001434.. nonce: 7WWG07
1435.. section: Library
1436
1437In the subprocess module, preserve any exception caused by fork() failure
1438when preexec_fn is used.
1439
1440..
1441
1442.. bpo: 6478
Ned Deilyaee5df52018-06-27 18:45:50 -04001443.. date: 9530
larryhastingsf9f17342017-09-04 13:30:19 -07001444.. nonce: -Bi9Hb
1445.. section: Library
1446
1447_strptime's regexp cache now is reset after changing timezone with
1448time.tzset().
1449
1450..
1451
1452.. bpo: 14285
Ned Deilyaee5df52018-06-27 18:45:50 -04001453.. date: 9529
larryhastingsf9f17342017-09-04 13:30:19 -07001454.. nonce: UyG8Hj
1455.. section: Library
1456
1457When executing a package with the "python -m package" option, and package
1458initialization fails, a proper traceback is now reported. The "runpy"
1459module now lets exceptions from package initialization pass back to the
1460caller, rather than raising ImportError.
1461
1462..
1463
1464.. bpo: 19771
Ned Deilyaee5df52018-06-27 18:45:50 -04001465.. date: 9528
larryhastingsf9f17342017-09-04 13:30:19 -07001466.. nonce: 5NG-bg
1467.. section: Library
1468
1469Also in runpy and the "-m" option, omit the irrelevant message ". . . is a
1470package and cannot be directly executed" if the package could not even be
1471initialized (e.g. due to a bad ``*.pyc`` file).
1472
1473..
1474
1475.. bpo: 25177
Ned Deilyaee5df52018-06-27 18:45:50 -04001476.. date: 9527
larryhastingsf9f17342017-09-04 13:30:19 -07001477.. nonce: aNR4Ha
1478.. section: Library
1479
1480Fixed problem with the mean of very small and very large numbers. As a side
1481effect, statistics.mean and statistics.variance should be significantly
1482faster.
1483
1484..
1485
1486.. bpo: 25718
Ned Deilyaee5df52018-06-27 18:45:50 -04001487.. date: 9526
larryhastingsf9f17342017-09-04 13:30:19 -07001488.. nonce: D9mHZF
1489.. section: Library
1490
1491Fixed copying object with state with boolean value is false.
1492
1493..
1494
1495.. bpo: 10131
Ned Deilyaee5df52018-06-27 18:45:50 -04001496.. date: 9525
larryhastingsf9f17342017-09-04 13:30:19 -07001497.. nonce: a7tptz
1498.. section: Library
1499
1500Fixed deep copying of minidom documents. Based on patch by Marian Ganisin.
1501
1502..
1503
1504.. bpo: 25725
Ned Deilyaee5df52018-06-27 18:45:50 -04001505.. date: 9524
larryhastingsf9f17342017-09-04 13:30:19 -07001506.. nonce: XIKv3R
1507.. section: Library
1508
1509Fixed a reference leak in pickle.loads() when unpickling invalid data
1510including tuple instructions.
1511
1512..
1513
1514.. bpo: 25663
Ned Deilyaee5df52018-06-27 18:45:50 -04001515.. date: 9523
larryhastingsf9f17342017-09-04 13:30:19 -07001516.. nonce: Ofwfqa
1517.. section: Library
1518
1519In the Readline completer, avoid listing duplicate global names, and search
1520the global namespace before searching builtins.
1521
1522..
1523
1524.. bpo: 25688
Ned Deilyaee5df52018-06-27 18:45:50 -04001525.. date: 9522
larryhastingsf9f17342017-09-04 13:30:19 -07001526.. nonce: 8P1HOv
1527.. section: Library
1528
1529Fixed file leak in ElementTree.iterparse() raising an error.
1530
1531..
1532
1533.. bpo: 23914
Ned Deilyaee5df52018-06-27 18:45:50 -04001534.. date: 9521
larryhastingsf9f17342017-09-04 13:30:19 -07001535.. nonce: 1sEz4J
1536.. section: Library
1537
1538Fixed SystemError raised by unpickler on broken pickle data.
1539
1540..
1541
1542.. bpo: 25691
Ned Deilyaee5df52018-06-27 18:45:50 -04001543.. date: 9520
larryhastingsf9f17342017-09-04 13:30:19 -07001544.. nonce: ZEaapY
1545.. section: Library
1546
1547Fixed crash on deleting ElementTree.Element attributes.
1548
1549..
1550
1551.. bpo: 25624
Ned Deilyaee5df52018-06-27 18:45:50 -04001552.. date: 9519
larryhastingsf9f17342017-09-04 13:30:19 -07001553.. nonce: ed-fM0
1554.. section: Library
1555
1556ZipFile now always writes a ZIP_STORED header for directory entries. Patch
1557by Dingyuan Wang.
1558
1559..
1560
1561.. bpo: 0
Ned Deilyaee5df52018-06-27 18:45:50 -04001562.. date: 9518
larryhastingsf9f17342017-09-04 13:30:19 -07001563.. nonce: rtZyid
1564.. section: Library
1565
1566Skip getaddrinfo if host is already resolved. Patch by A. Jesse Jiryu Davis.
1567
1568..
1569
1570.. bpo: 26050
Ned Deilyaee5df52018-06-27 18:45:50 -04001571.. date: 9517
larryhastingsf9f17342017-09-04 13:30:19 -07001572.. nonce: sclyvk
1573.. section: Library
1574
1575Add asyncio.StreamReader.readuntil() method. Patch by Марк Коренберг.
1576
1577..
1578
1579.. bpo: 25924
Ned Deilyaee5df52018-06-27 18:45:50 -04001580.. date: 9516
larryhastingsf9f17342017-09-04 13:30:19 -07001581.. nonce: Uxr2vt
1582.. section: Library
1583
1584Avoid unnecessary serialization of getaddrinfo(3) calls on OS X versions
158510.5 or higher. Original patch by A. Jesse Jiryu Davis.
1586
1587..
1588
1589.. bpo: 26406
Ned Deilyaee5df52018-06-27 18:45:50 -04001590.. date: 9515
larryhastingsf9f17342017-09-04 13:30:19 -07001591.. nonce: ihvhF4
1592.. section: Library
1593
1594Avoid unnecessary serialization of getaddrinfo(3) calls on current versions
1595of OpenBSD and NetBSD. Patch by A. Jesse Jiryu Davis.
1596
1597..
1598
1599.. bpo: 26848
Ned Deilyaee5df52018-06-27 18:45:50 -04001600.. date: 9514
larryhastingsf9f17342017-09-04 13:30:19 -07001601.. nonce: ChBOpQ
1602.. section: Library
1603
1604Fix asyncio/subprocess.communicate() to handle empty input. Patch by Jack
1605O'Connor.
1606
1607..
1608
1609.. bpo: 27040
Ned Deilyaee5df52018-06-27 18:45:50 -04001610.. date: 9513
larryhastingsf9f17342017-09-04 13:30:19 -07001611.. nonce: UASyCC
1612.. section: Library
1613
1614Add loop.get_exception_handler method
1615
1616..
1617
1618.. bpo: 27041
Ned Deilyaee5df52018-06-27 18:45:50 -04001619.. date: 9512
larryhastingsf9f17342017-09-04 13:30:19 -07001620.. nonce: p3893U
1621.. section: Library
1622
1623asyncio: Add loop.create_future method
1624
1625..
1626
1627.. bpo: 27223
Ned Deilyaee5df52018-06-27 18:45:50 -04001628.. date: 9511
larryhastingsf9f17342017-09-04 13:30:19 -07001629.. nonce: PRf4I6
1630.. section: Library
1631
1632asyncio: Fix _read_ready and _write_ready to respect _conn_lost. Patch by
1633Łukasz Langa.
1634
1635..
1636
1637.. bpo: 22970
Ned Deilyaee5df52018-06-27 18:45:50 -04001638.. date: 9510
larryhastingsf9f17342017-09-04 13:30:19 -07001639.. nonce: WhdhyM
1640.. section: Library
1641
1642asyncio: Fix inconsistency cancelling Condition.wait. Patch by David Coles.
1643
1644..
1645
1646.. bpo: 5124
Ned Deilyaee5df52018-06-27 18:45:50 -04001647.. date: 9509
larryhastingsf9f17342017-09-04 13:30:19 -07001648.. nonce: 4kwBvM
1649.. section: IDLE
1650
1651Paste with text selected now replaces the selection on X11. This matches how
1652paste works on Windows, Mac, most modern Linux apps, and ttk widgets.
1653Original patch by Serhiy Storchaka.
1654
1655..
1656
1657.. bpo: 24759
Ned Deilyaee5df52018-06-27 18:45:50 -04001658.. date: 9508
larryhastingsf9f17342017-09-04 13:30:19 -07001659.. nonce: ccmySu
1660.. section: IDLE
1661
1662Make clear in idlelib.idle_test.__init__ that the directory is a private
1663implementation of test.test_idle and tool for maintainers.
1664
1665..
1666
1667.. bpo: 27196
Ned Deilyaee5df52018-06-27 18:45:50 -04001668.. date: 9507
larryhastingsf9f17342017-09-04 13:30:19 -07001669.. nonce: 3yp8TF
1670.. section: IDLE
1671
1672Stop 'ThemeChanged' warnings when running IDLE tests. These persisted after
1673other warnings were suppressed in #20567. Apply Serhiy Storchaka's
1674update_idletasks solution to four test files. Record this additional advice
1675in idle_test/README.txt
1676
1677..
1678
1679.. bpo: 20567
Ned Deilyaee5df52018-06-27 18:45:50 -04001680.. date: 9506
larryhastingsf9f17342017-09-04 13:30:19 -07001681.. nonce: hhT32b
1682.. section: IDLE
1683
1684Revise idle_test/README.txt with advice about avoiding tk warning messages
1685from tests. Apply advice to several IDLE tests.
1686
1687..
1688
1689.. bpo: 27117
Ned Deilyaee5df52018-06-27 18:45:50 -04001690.. date: 9505
larryhastingsf9f17342017-09-04 13:30:19 -07001691.. nonce: YrLPf4
1692.. section: IDLE
1693
1694Make colorizer htest and turtledemo work with dark themes. Move code for
1695configuring text widget colors to a new function.
1696
1697..
1698
1699.. bpo: 26673
Ned Deilyaee5df52018-06-27 18:45:50 -04001700.. date: 9504
larryhastingsf9f17342017-09-04 13:30:19 -07001701.. nonce: dh0_Ij
1702.. section: IDLE
1703
1704When tk reports font size as 0, change to size 10. Such fonts on Linux
1705prevented the configuration dialog from opening.
1706
1707..
1708
1709.. bpo: 21939
Ned Deilyaee5df52018-06-27 18:45:50 -04001710.. date: 9503
larryhastingsf9f17342017-09-04 13:30:19 -07001711.. nonce: pWz-OK
1712.. section: IDLE
1713
1714Add test for IDLE's percolator. Original patch by Saimadhav Heblikar.
1715
1716..
1717
1718.. bpo: 21676
Ned Deilyaee5df52018-06-27 18:45:50 -04001719.. date: 9502
larryhastingsf9f17342017-09-04 13:30:19 -07001720.. nonce: hqy6Qh
1721.. section: IDLE
1722
1723Add test for IDLE's replace dialog. Original patch by Saimadhav Heblikar.
1724
1725..
1726
1727.. bpo: 18410
Ned Deilyaee5df52018-06-27 18:45:50 -04001728.. date: 9501
larryhastingsf9f17342017-09-04 13:30:19 -07001729.. nonce: DLSPZo
1730.. section: IDLE
1731
1732Add test for IDLE's search dialog. Original patch by Westley Martínez.
1733
1734..
1735
1736.. bpo: 21703
Ned Deilyaee5df52018-06-27 18:45:50 -04001737.. date: 9500
larryhastingsf9f17342017-09-04 13:30:19 -07001738.. nonce: BAZfDM
1739.. section: IDLE
1740
1741Add test for IDLE's undo delegator. Original patch by Saimadhav Heblikar .
1742
1743..
1744
1745.. bpo: 27044
Ned Deilyaee5df52018-06-27 18:45:50 -04001746.. date: 9499
larryhastingsf9f17342017-09-04 13:30:19 -07001747.. nonce: 4y7tyM
1748.. section: IDLE
1749
1750Add ConfigDialog.remove_var_callbacks to stop memory leaks.
1751
1752..
1753
1754.. bpo: 23977
Ned Deilyaee5df52018-06-27 18:45:50 -04001755.. date: 9498
larryhastingsf9f17342017-09-04 13:30:19 -07001756.. nonce: miDjj8
1757.. section: IDLE
1758
1759Add more asserts to test_delegator.
1760
1761..
1762
1763.. bpo: 20640
Ned Deilyaee5df52018-06-27 18:45:50 -04001764.. date: 9497
larryhastingsf9f17342017-09-04 13:30:19 -07001765.. nonce: PmI-G8
1766.. section: IDLE
1767
1768Add tests for idlelib.configHelpSourceEdit. Patch by Saimadhav Heblikar.
1769
1770..
1771
1772.. bpo: 0
Ned Deilyaee5df52018-06-27 18:45:50 -04001773.. date: 9496
larryhastingsf9f17342017-09-04 13:30:19 -07001774.. nonce: _YJfG7
1775.. section: IDLE
1776
1777In the 'IDLE-console differences' section of the IDLE doc, clarify how
1778running with IDLE affects sys.modules and the standard streams.
1779
1780..
1781
1782.. bpo: 25507
Ned Deilyaee5df52018-06-27 18:45:50 -04001783.. date: 9495
larryhastingsf9f17342017-09-04 13:30:19 -07001784.. nonce: i8bNpk
1785.. section: IDLE
1786
1787fix incorrect change in IOBinding that prevented printing. Augment IOBinding
1788htest to include all major IOBinding functions.
1789
1790..
1791
1792.. bpo: 25905
Ned Deilyaee5df52018-06-27 18:45:50 -04001793.. date: 9494
larryhastingsf9f17342017-09-04 13:30:19 -07001794.. nonce: FzNb3B
1795.. section: IDLE
1796
1797Revert unwanted conversion of ' to ’ RIGHT SINGLE QUOTATION MARK in
1798README.txt and open this and NEWS.txt with 'ascii'. Re-encode CREDITS.txt to
1799utf-8 and open it with 'utf-8'.
1800
1801..
1802
1803.. bpo: 19489
Ned Deilyaee5df52018-06-27 18:45:50 -04001804.. date: 9493
larryhastingsf9f17342017-09-04 13:30:19 -07001805.. nonce: jvzuO7
1806.. section: Documentation
1807
1808Moved the search box from the sidebar to the header and footer of each page.
1809Patch by Ammar Askar.
1810
1811..
1812
1813.. bpo: 24136
Ned Deilyaee5df52018-06-27 18:45:50 -04001814.. date: 9492
larryhastingsf9f17342017-09-04 13:30:19 -07001815.. nonce: MUK0zK
1816.. section: Documentation
1817
Stéphane Wirtel12e696b2018-10-27 00:58:26 +02001818Document the new :pep:`448` unpacking syntax of 3.5.
larryhastingsf9f17342017-09-04 13:30:19 -07001819
1820..
1821
1822.. bpo: 26736
Ned Deilyaee5df52018-06-27 18:45:50 -04001823.. date: 9491
larryhastingsf9f17342017-09-04 13:30:19 -07001824.. nonce: U_Hyqo
1825.. section: Documentation
1826
1827Used HTTPS for external links in the documentation if possible.
1828
1829..
1830
1831.. bpo: 6953
Ned Deilyaee5df52018-06-27 18:45:50 -04001832.. date: 9490
larryhastingsf9f17342017-09-04 13:30:19 -07001833.. nonce: Zk6rno
1834.. section: Documentation
1835
1836Rework the Readline module documentation to group related functions
1837together, and add more details such as what underlying Readline functions
1838and variables are accessed.
1839
1840..
1841
1842.. bpo: 23606
Ned Deilyaee5df52018-06-27 18:45:50 -04001843.. date: 9489
larryhastingsf9f17342017-09-04 13:30:19 -07001844.. nonce: 9MhIso
1845.. section: Documentation
1846
1847Adds note to ctypes documentation regarding cdll.msvcrt.
1848
1849..
1850
1851.. bpo: 25500
Ned Deilyaee5df52018-06-27 18:45:50 -04001852.. date: 9488
larryhastingsf9f17342017-09-04 13:30:19 -07001853.. nonce: AV47eF
1854.. section: Documentation
1855
1856Fix documentation to not claim that __import__ is searched for in the global
1857scope.
1858
1859..
1860
1861.. bpo: 26014
Ned Deilyaee5df52018-06-27 18:45:50 -04001862.. date: 9487
larryhastingsf9f17342017-09-04 13:30:19 -07001863.. nonce: ptdZ_I
1864.. section: Documentation
1865
1866Update 3.x packaging documentation: * "See also" links to the new docs are
1867now provided in the legacy pages * links to setuptools documentation have
1868been updated
1869
1870..
1871
1872.. bpo: 21916
Ned Deilyaee5df52018-06-27 18:45:50 -04001873.. date: 9486
larryhastingsf9f17342017-09-04 13:30:19 -07001874.. nonce: muwCyp
1875.. section: Tests
1876
1877Added tests for the turtle module. Patch by ingrid, Gregory Loyse and Jelle
1878Zijlstra.
1879
1880..
1881
1882.. bpo: 26523
Ned Deilyaee5df52018-06-27 18:45:50 -04001883.. date: 9485
larryhastingsf9f17342017-09-04 13:30:19 -07001884.. nonce: em_Uzt
1885.. section: Tests
1886
1887The multiprocessing thread pool (multiprocessing.dummy.Pool) was untested.
1888
1889..
1890
1891.. bpo: 26015
Ned Deilyaee5df52018-06-27 18:45:50 -04001892.. date: 9484
larryhastingsf9f17342017-09-04 13:30:19 -07001893.. nonce: p3oWK3
1894.. section: Tests
1895
1896Added new tests for pickling iterators of mutable sequences.
1897
1898..
1899
1900.. bpo: 26325
Ned Deilyaee5df52018-06-27 18:45:50 -04001901.. date: 9483
larryhastingsf9f17342017-09-04 13:30:19 -07001902.. nonce: KOUc82
1903.. section: Tests
1904
1905Added test.support.check_no_resource_warning() to check that no
1906ResourceWarning is emitted.
1907
1908..
1909
1910.. bpo: 25940
Ned Deilyaee5df52018-06-27 18:45:50 -04001911.. date: 9482
larryhastingsf9f17342017-09-04 13:30:19 -07001912.. nonce: PgiLVN
1913.. section: Tests
1914
1915Changed test_ssl to use self-signed.pythontest.net. This avoids relying on
1916svn.python.org, which recently changed root certificate.
1917
1918..
1919
1920.. bpo: 25616
Ned Deilyaee5df52018-06-27 18:45:50 -04001921.. date: 9481
larryhastingsf9f17342017-09-04 13:30:19 -07001922.. nonce: Qr-60p
1923.. section: Tests
1924
1925Tests for OrderedDict are extracted from test_collections into separate file
1926test_ordered_dict.
1927
1928..
1929
1930.. bpo: 26583
Ned Deilyaee5df52018-06-27 18:45:50 -04001931.. date: 9480
larryhastingsf9f17342017-09-04 13:30:19 -07001932.. nonce: Up7hTl
1933.. section: Tests
1934
1935Skip test_timestamp_overflow in test_import if bytecode files cannot be
1936written.
1937
1938..
1939
1940.. bpo: 26884
Ned Deilyaee5df52018-06-27 18:45:50 -04001941.. date: 9479
larryhastingsf9f17342017-09-04 13:30:19 -07001942.. nonce: O8-azL
1943.. section: Build
1944
1945Fix linking extension modules for cross builds. Patch by Xavier de Gaye.
1946
1947..
1948
1949.. bpo: 22359
Ned Deilyaee5df52018-06-27 18:45:50 -04001950.. date: 9478
larryhastingsf9f17342017-09-04 13:30:19 -07001951.. nonce: HDjM4s
1952.. section: Build
1953
Serhiy Storchaka3f819ca2018-10-31 02:26:06 +02001954Disable the rules for running _freeze_importlib and pgen when
1955cross-compiling. The output of these programs is normally saved with the
1956source code anyway, and is still regenerated when doing a native build.
1957Patch by Xavier de Gaye.
larryhastingsf9f17342017-09-04 13:30:19 -07001958
1959..
1960
1961.. bpo: 27229
Ned Deilyaee5df52018-06-27 18:45:50 -04001962.. date: 9477
larryhastingsf9f17342017-09-04 13:30:19 -07001963.. nonce: C2NDch
1964.. section: Build
1965
1966Fix the cross-compiling pgen rule for in-tree builds. Patch by Xavier de
1967Gaye.
1968
1969..
1970
1971.. bpo: 21668
Ned Deilyaee5df52018-06-27 18:45:50 -04001972.. date: 9476
larryhastingsf9f17342017-09-04 13:30:19 -07001973.. nonce: 4sMAa1
1974.. section: Build
1975
1976Link audioop, _datetime, _ctypes_test modules to libm, except on Mac OS X.
1977Patch written by Xavier de Gaye.
1978
1979..
1980
1981.. bpo: 25702
Ned Deilyaee5df52018-06-27 18:45:50 -04001982.. date: 9475
larryhastingsf9f17342017-09-04 13:30:19 -07001983.. nonce: ipxyJs
1984.. section: Build
1985
1986A --with-lto configure option has been added that will enable link time
1987optimizations at build time during a make profile-opt. Some compilers and
1988toolchains are known to not produce stable code when using LTO, be sure to
1989test things thoroughly before relying on it. It can provide a few % speed up
1990over profile-opt alone.
1991
1992..
1993
1994.. bpo: 26624
Ned Deilyaee5df52018-06-27 18:45:50 -04001995.. date: 9474
larryhastingsf9f17342017-09-04 13:30:19 -07001996.. nonce: 4fGrTl
1997.. section: Build
1998
1999Adds validation of ucrtbase[d].dll version with warning for old versions.
2000
2001..
2002
2003.. bpo: 17603
Ned Deilyaee5df52018-06-27 18:45:50 -04002004.. date: 9473
larryhastingsf9f17342017-09-04 13:30:19 -07002005.. nonce: 102DA-
2006.. section: Build
2007
Kyle Stanley24b5b362019-07-21 22:48:45 -04002008Avoid error about nonexistent fileblocks.o file by using a lower-level check
larryhastingsf9f17342017-09-04 13:30:19 -07002009for st_blocks in struct stat.
2010
2011..
2012
2013.. bpo: 26079
Ned Deilyaee5df52018-06-27 18:45:50 -04002014.. date: 9472
larryhastingsf9f17342017-09-04 13:30:19 -07002015.. nonce: mEzW0O
2016.. section: Build
2017
2018Fixing the build output folder for tix-8.4.3.6. Patch by Bjoern Thiel.
2019
2020..
2021
2022.. bpo: 26465
Ned Deilyaee5df52018-06-27 18:45:50 -04002023.. date: 9471
larryhastingsf9f17342017-09-04 13:30:19 -07002024.. nonce: _YR608
2025.. section: Build
2026
2027Update Windows builds to use OpenSSL 1.0.2g.
2028
2029..
2030
2031.. bpo: 24421
Ned Deilyaee5df52018-06-27 18:45:50 -04002032.. date: 9470
larryhastingsf9f17342017-09-04 13:30:19 -07002033.. nonce: 2zY7vM
2034.. section: Build
2035
2036Compile Modules/_math.c once, before building extensions. Previously it
2037could fail to compile properly if the math and cmath builds were concurrent.
2038
2039..
2040
2041.. bpo: 25348
Ned Deilyaee5df52018-06-27 18:45:50 -04002042.. date: 9469
larryhastingsf9f17342017-09-04 13:30:19 -07002043.. nonce: u6_BaQ
2044.. section: Build
2045
2046Added ``--pgo`` and ``--pgo-job`` arguments to ``PCbuild\build.bat`` for
2047building with Profile-Guided Optimization. The old
2048``PCbuild\build_pgo.bat`` script is now deprecated, and simply calls
2049``PCbuild\build.bat --pgo %*``.
2050
2051..
2052
2053.. bpo: 25827
Ned Deilyaee5df52018-06-27 18:45:50 -04002054.. date: 9468
larryhastingsf9f17342017-09-04 13:30:19 -07002055.. nonce: yg3DMM
2056.. section: Build
2057
2058Add support for building with ICC to ``configure``, including a new
2059``--with-icc`` flag.
2060
2061..
2062
2063.. bpo: 25696
Ned Deilyaee5df52018-06-27 18:45:50 -04002064.. date: 9467
larryhastingsf9f17342017-09-04 13:30:19 -07002065.. nonce: 2R_wIv
2066.. section: Build
2067
2068Fix installation of Python on UNIX with make -j9.
2069
2070..
2071
2072.. bpo: 26930
Ned Deilyaee5df52018-06-27 18:45:50 -04002073.. date: 9466
larryhastingsf9f17342017-09-04 13:30:19 -07002074.. nonce: Sqz2O3
2075.. section: Build
2076
2077Update OS X 10.5+ 32-bit-only installer to build and link with OpenSSL
20781.0.2h.
2079
2080..
2081
2082.. bpo: 26268
Ned Deilyaee5df52018-06-27 18:45:50 -04002083.. date: 9465
larryhastingsf9f17342017-09-04 13:30:19 -07002084.. nonce: I3-YLh
2085.. section: Build
2086
2087Update Windows builds to use OpenSSL 1.0.2f.
2088
2089..
2090
2091.. bpo: 25136
Ned Deilyaee5df52018-06-27 18:45:50 -04002092.. date: 9464
larryhastingsf9f17342017-09-04 13:30:19 -07002093.. nonce: Vi-fmO
2094.. section: Build
2095
2096Support Apple Xcode 7's new textual SDK stub libraries.
2097
2098..
2099
2100.. bpo: 24324
Ned Deilyaee5df52018-06-27 18:45:50 -04002101.. date: 9463
larryhastingsf9f17342017-09-04 13:30:19 -07002102.. nonce: m6DZMx
2103.. section: Build
2104
2105Do not enable unreachable code warnings when using gcc as the option does
2106not work correctly in older versions of gcc and has been silently removed as
2107of gcc-4.5.
2108
2109..
2110
2111.. bpo: 27053
Ned Deilyaee5df52018-06-27 18:45:50 -04002112.. date: 9462
larryhastingsf9f17342017-09-04 13:30:19 -07002113.. nonce: 1IRbae
2114.. section: Windows
2115
2116Updates make_zip.py to correctly generate library ZIP file.
2117
2118..
2119
2120.. bpo: 26268
Ned Deilyaee5df52018-06-27 18:45:50 -04002121.. date: 9461
larryhastingsf9f17342017-09-04 13:30:19 -07002122.. nonce: Z-lJEh
2123.. section: Windows
2124
2125Update the prepare_ssl.py script to handle OpenSSL releases that don't
2126include the contents of the include directory (that is, 1.0.2e and later).
2127
2128..
2129
2130.. bpo: 26071
Ned Deilyaee5df52018-06-27 18:45:50 -04002131.. date: 9460
larryhastingsf9f17342017-09-04 13:30:19 -07002132.. nonce: wLxL2l
2133.. section: Windows
2134
2135bdist_wininst created binaries fail to start and find 32bit Python
2136
2137..
2138
2139.. bpo: 26073
Ned Deilyaee5df52018-06-27 18:45:50 -04002140.. date: 9459
larryhastingsf9f17342017-09-04 13:30:19 -07002141.. nonce: XwWgHp
2142.. section: Windows
2143
2144Update the list of magic numbers in launcher
2145
2146..
2147
2148.. bpo: 26065
Ned Deilyaee5df52018-06-27 18:45:50 -04002149.. date: 9458
larryhastingsf9f17342017-09-04 13:30:19 -07002150.. nonce: SkVLJp
2151.. section: Windows
2152
2153Excludes venv from library when generating embeddable distro.
2154
2155..
2156
2157.. bpo: 26799
Ned Deilyaee5df52018-06-27 18:45:50 -04002158.. date: 9457
larryhastingsf9f17342017-09-04 13:30:19 -07002159.. nonce: gK2VXX
2160.. section: Tools/Demos
2161
2162Fix python-gdb.py: don't get C types once when the Python code is loaded,
2163but get C types on demand. The C types can change if python-gdb.py is loaded
2164before the Python executable. Patch written by Thomas Ilsche.
2165
2166..
2167
2168.. bpo: 26271
Ned Deilyaee5df52018-06-27 18:45:50 -04002169.. date: 9456
larryhastingsf9f17342017-09-04 13:30:19 -07002170.. nonce: wg-rzr
2171.. section: Tools/Demos
2172
2173Fix the Freeze tool to properly use flags passed through configure. Patch by
2174Daniel Shaulov.
2175
2176..
2177
2178.. bpo: 26489
Ned Deilyaee5df52018-06-27 18:45:50 -04002179.. date: 9455
larryhastingsf9f17342017-09-04 13:30:19 -07002180.. nonce: rJ_U5S
2181.. section: Tools/Demos
2182
2183Add dictionary unpacking support to Tools/parser/unparse.py. Patch by Guo Ci
2184Teo.
2185
2186..
2187
2188.. bpo: 26316
Ned Deilyaee5df52018-06-27 18:45:50 -04002189.. date: 9454
larryhastingsf9f17342017-09-04 13:30:19 -07002190.. nonce: QJvVOi
2191.. section: Tools/Demos
2192
2193Fix variable name typo in Argument Clinic.
2194
2195..
2196
2197.. bpo: 17500
Ned Deilyaee5df52018-06-27 18:45:50 -04002198.. date: 9453
larryhastingsf9f17342017-09-04 13:30:19 -07002199.. nonce: QTZbRV
2200.. section: Windows
2201
2202Remove unused and outdated icons. (See also:
2203https://github.com/python/pythondotorg/issues/945)