Skip to content

Latest commit

 

History

History
1334 lines (949 loc) · 29.1 KB

File metadata and controls

1334 lines (949 loc) · 29.1 KB
 
Nov 5, 2021
Nov 5, 2021
1
.. bpo: 45716
2
.. date: 2021-11-04-20-19-07
3
.. nonce: 5C0pA1
4
.. release date: 2021-11-05
5
.. section: Core and Builtins
6
7
Improve the :exc:`SyntaxError` message when using ``True``, ``None`` or
8
``False`` as keywords in a function call. Patch by Pablo Galindo.
9
10
..
11
12
.. bpo: 45688
13
.. date: 2021-11-02-09-27-46
14
.. nonce: v5Der1
15
.. section: Core and Builtins
16
17
:data:`sys.stdlib_module_names` now contains the macOS-specific module
Jul 8, 2024
Jul 8, 2024
18
:mod:`!_scproxy`.
Nov 5, 2021
Nov 5, 2021
19
20
..
21
22
.. bpo: 45379
23
.. date: 2021-10-23-13-49-00
24
.. nonce: ZF7G3n
25
.. section: Core and Builtins
26
27
Clarify :exc:`ImportError` message when we try to explicitly import a frozen
28
module but frozen modules are disabled.
29
30
..
31
32
.. bpo: 44525
33
.. date: 2021-10-20-11-57-31
34
.. nonce: veL4lJ
35
.. section: Core and Builtins
36
May 17, 2024
May 17, 2024
37
Specialize simple calls to Python functions (no starargs, keyword dict, or
Nov 5, 2021
Nov 5, 2021
38
closure)
39
40
..
41
42
.. bpo: 45530
43
.. date: 2021-10-20-01-28-26
44
.. nonce: 5r7n4m
45
.. section: Core and Builtins
46
47
Cases of sorting using tuples as keys may now be significantly faster in
48
some cases. Patch by Tim Peters.
49
50
The order of the result may differ from earlier releases if the tuple
51
elements don't define a total ordering (see
52
:ref:`expressions-value-comparisons` for information on total ordering).
53
It's generally true that the result of sorting simply isn't well-defined in
54
the absence of a total ordering on list elements.
55
56
..
57
58
.. bpo: 45526
59
.. date: 2021-10-19-10-29-47
60
.. nonce: WQnvW9
61
.. section: Core and Builtins
62
63
In obmalloc, set ADDRESS_BITS to not ignore any bits (ignored 16 before).
64
That is safer in the case that the kernel gives user-space virtual addresses
65
that span a range greater than 48 bits.
66
67
..
68
69
.. bpo: 30570
70
.. date: 2021-10-19-01-04-08
71
.. nonce: _G30Ms
72
.. section: Core and Builtins
73
74
Fixed a crash in ``issubclass()`` from infinite recursion when searching
75
pathological ``__bases__`` tuples.
76
77
..
78
79
.. bpo: 45521
80
.. date: 2021-10-18-22-40-33
81
.. nonce: GdMiuW
82
.. section: Core and Builtins
83
84
Fix a bug in the obmalloc radix tree code. On 64-bit machines, the bug
85
causes the tree to hold 46-bits of virtual addresses, rather than the
86
intended 48-bits.
87
88
..
89
90
.. bpo: 45494
91
.. date: 2021-10-16-17-27-48
92
.. nonce: vMt1g4
93
.. section: Core and Builtins
94
95
Fix parser crash when reporting errors involving invalid continuation
96
characters. Patch by Pablo Galindo.
97
98
..
99
100
.. bpo: 45445
101
.. date: 2021-10-12-14-41-39
102
.. nonce: _F5cMf
103
.. section: Core and Builtins
104
105
Python now fails to initialize if it finds an invalid :option:`-X` option in
106
the command line. Patch by Pablo Galindo.
107
108
..
109
110
.. bpo: 45340
111
.. date: 2021-10-08-09-47-38
112
.. nonce: ukHgDb
113
.. section: Core and Builtins
114
115
Object attributes are held in an array instead of a dictionary. An object's
116
dictionary are created lazily, only when needed. Reduces the memory
117
consumption of a typical Python object by about 30%. Patch by Mark Shannon.
118
119
..
120
121
.. bpo: 45408
122
.. date: 2021-10-07-21-26-44
123
.. nonce: qUqzcd
124
.. section: Core and Builtins
125
126
Fix a crash in the parser when reporting tokenizer errors that occur at the
127
same time unclosed parentheses are detected. Patch by Pablo Galindo.
128
129
..
130
131
.. bpo: 29410
132
.. date: 2021-10-07-19-09-12
133
.. nonce: bg5SYp
134
.. section: Core and Builtins
135
136
Add SipHash13 for string hash algorithm and use it by default.
137
138
..
139
140
.. bpo: 45385
141
.. date: 2021-10-06-21-20-11
142
.. nonce: CTUT8s
143
.. section: Core and Builtins
144
Sep 22, 2023
Sep 22, 2023
145
Fix reference leak from descr_check. Patch by Donghee Na.
Nov 5, 2021
Nov 5, 2021
146
147
..
148
149
.. bpo: 45367
150
.. date: 2021-10-05-03-49-07
151
.. nonce: _astoU
152
.. section: Core and Builtins
153
154
Specialized the ``BINARY_MULTIPLY`` opcode to ``BINARY_MULTIPLY_INT`` and
155
``BINARY_MULTIPLY_FLOAT`` using the PEP 659 machinery.
156
157
..
158
159
.. bpo: 21736
160
.. date: 2021-10-01-09-21-02
161
.. nonce: RI47BU
162
.. section: Core and Builtins
163
164
Frozen stdlib modules now have ``__file__`` to the .py file they would
165
otherwise be loaded from, if possible. For packages, ``__path__`` now has
166
the correct entry instead of being an empty list, which allows unfrozen
167
submodules to be imported. These are set only if the stdlib directory is
168
known when the runtime is initialized. Note that the file at ``__file__``
169
is not guaranteed to exist. None of this affects non-stdlib frozen modules
170
nor, for now, frozen modules imported using
171
``PyImport_ImportFrozenModule()``. Also, at the moment ``co_filename`` is
172
not updated for the module.
173
174
..
175
176
.. bpo: 45020
177
.. date: 2021-10-01-09-06-54
178
.. nonce: Cj5VQN
179
.. section: Core and Builtins
180
181
For frozen stdlib modules, record the original module name as
182
``module.__spec__.loader_state.origname``. If the value is different than
183
``module.__spec__.name`` then the module was defined as an alias in
184
Tools/scripts/freeze_modules.py. If it is ``None`` then the module comes
185
from a source file outside the stdlib.
186
187
..
188
189
.. bpo: 45324
190
.. date: 2021-09-29-12-02-39
191
.. nonce: BTQElX
192
.. section: Core and Builtins
193
194
In FrozenImporter.find_spec(), we now preserve the information needed in
195
exec_module() to load the module. This change mostly impacts internal
196
details, rather than changing the importer's behavior.
197
198
..
199
200
.. bpo: 45292
201
.. date: 2021-09-26-18-18-50
202
.. nonce: aX5HVr
203
.. section: Core and Builtins
204
205
Implement :pep:`654`. Add :class:`ExceptionGroup` and
206
:class:`BaseExceptionGroup`. Update traceback display code.
207
208
..
209
210
.. bpo: 40116
211
.. date: 2021-09-23-14-00-05
212
.. nonce: KaoeFs
213
.. section: Core and Builtins
214
215
Change to the implementation of split dictionaries. Classes where the
216
instances differ either in the exact set of attributes, or in the order in
217
which those attributes are set, can still share keys. This should have no
218
observable effect on users of Python or the C-API. Patch by Mark Shannon.
219
220
..
221
222
.. bpo: 44050
223
.. date: 2021-09-08-00-30-09
224
.. nonce: mFI15u
225
.. section: Core and Builtins
226
227
Extensions that indicate they use global state (by setting ``m_size`` to -1)
228
can again be used in multiple interpreters. This reverts to behavior of
229
Python 3.8.
230
231
..
232
233
.. bpo: 44525
234
.. date: 2021-06-28-22-23-59
235
.. nonce: sSvUKG
236
.. section: Core and Builtins
237
238
Setup initial specialization infrastructure for the ``CALL_FUNCTION``
239
opcode. Implemented initial specializations for C function calls:
240
241
* ``CALL_FUNCTION_BUILTIN_O`` for ``METH_O`` flag.
242
243
* ``CALL_FUNCTION_BUILTIN_FAST`` for ``METH_FASTCALL`` flag without keywords.
244
245
* ``CALL_FUNCTION_LEN`` for ``len(o)``.
246
247
* ``CALL_FUNCTION_ISINSTANCE`` for ``isinstance(o, t)``.
248
249
..
250
251
.. bpo: 44511
252
.. date: 2021-06-26-16-55-08
253
.. nonce: k8sMvV
254
.. section: Core and Builtins
255
256
Improve the generated bytecode for class and mapping patterns.
257
258
..
259
260
.. bpo: 43706
261
.. date: 2021-04-03-02-44-15
262
.. nonce: jjsXlT
263
.. section: Core and Builtins
264
265
Speed up calls to ``enumerate()`` by using the :pep:`590` ``vectorcall``
Sep 22, 2023
Sep 22, 2023
266
calling convention. Patch by Donghee Na.
Nov 5, 2021
Nov 5, 2021
267
268
..
269
270
.. bpo: 45679
271
.. date: 2021-10-30-21-11-37
272
.. nonce: Dq8Cpu
273
.. section: Library
274
275
Fix caching of multi-value :data:`typing.Literal`. ``Literal[True, 2]`` is
276
no longer equal to ``Literal[1, 2]``.
277
278
..
279
280
.. bpo: 42064
281
.. date: 2021-10-27-13-28-52
282
.. nonce: UK4jgV
283
.. section: Library
284
285
Convert :mod:`sqlite3` to multi-phase initialisation (PEP 489). Patches by
286
Erlend E. Aasland.
287
288
..
289
290
.. bpo: 45438
291
.. date: 2021-10-27-10-05-39
292
.. nonce: Xz5lGU
293
.. section: Library
294
295
Fix typing.Signature string representation for generic builtin types.
296
297
..
298
299
.. bpo: 45613
300
.. date: 2021-10-26-14-29-54
301
.. nonce: 55Ie3c
302
.. section: Library
303
304
:mod:`sqlite3` now sets :attr:`sqlite3.threadsafety` based on the default
305
threading mode the underlying SQLite library has been compiled with. Patch
306
by Erlend E. Aasland.
307
308
..
309
310
.. bpo: 45574
311
.. date: 2021-10-22-23-06-33
312
.. nonce: svqA84
313
.. section: Library
314
315
Fix warning about ``print_escape`` being unused.
316
317
..
318
319
.. bpo: 45581
320
.. date: 2021-10-22-21-57-02
321
.. nonce: rlH6ay
322
.. section: Library
323
324
:meth:`sqlite3.connect` now correctly raises :exc:`MemoryError` if the
325
underlying SQLite API signals memory error. Patch by Erlend E. Aasland.
326
327
..
328
329
.. bpo: 45557
330
.. date: 2021-10-21-16-18-51
331
.. nonce: 4MQt4r
332
.. section: Library
333
May 8, 2024
May 8, 2024
334
:func:`pprint.pprint` now handles *underscore_numbers* correctly.
335
Previously it was always setting it to ``False``.
Nov 5, 2021
Nov 5, 2021
336
337
..
338
339
.. bpo: 44019
340
.. date: 2021-10-21-10-14-22
341
.. nonce: Xk4Ncr
342
.. section: Library
343
344
Add :func:`operator.call` to ``operator.__all__``. Patch by Kreusada.
345
346
..
347
348
.. bpo: 42174
349
.. date: 2021-10-19-01-30-57
350
.. nonce: O2w9bi
351
.. section: Library
352
353
:meth:`shutil.get_terminal_size` now falls back to sane values if the column
354
or line count are 0.
355
356
..
357
358
.. bpo: 35673
359
.. date: 2021-10-18-18-12-47
360
.. nonce: KOkHWe
361
.. section: Library
362
363
Improve the introspectability of the ``__loader__`` attribute for namespace
364
packages. :class:`importlib.machinery.NamespaceLoader` is now public, and
365
implements the :class:`importlib.abc.InspectLoader` interface.
366
``_NamespaceLoader`` is kept for backward compatibility.
367
368
..
369
370
.. bpo: 45515
371
.. date: 2021-10-18-14-52-48
372
.. nonce: aXdvm_
373
.. section: Library
374
375
Add references to :mod:`zoneinfo` in the :mod:`datetime` documentation,
376
mostly replacing outdated references to ``dateutil.tz``. Change by Paul
377
Ganssle.
378
379
..
380
381
.. bpo: 45475
382
.. date: 2021-10-18-10-46-47
383
.. nonce: sb9KDF
384
.. section: Library
385
386
Reverted optimization of iterating :class:`gzip.GzipFile`,
387
:class:`bz2.BZ2File`, and :class:`lzma.LZMAFile` (see bpo-43787) because it
388
caused regression when user iterate them without having reference of them.
389
Patch by Inada Naoki.
390
391
..
392
393
.. bpo: 45489
394
.. date: 2021-10-16-23-46-39
395
.. nonce: QB0rhG
396
.. section: Library
397
398
Update :class:`~typing.ForwardRef` to support ``|`` operator. Patch by
Sep 22, 2023
Sep 22, 2023
399
Donghee Na.
Nov 5, 2021
Nov 5, 2021
400
401
..
402
403
.. bpo: 42222
404
.. date: 2021-10-15-11-30-11
405
.. nonce: hdHyac
406
.. section: Library
407
408
Removed deprecated support for float arguments in *randrange()*.
409
410
..
411
412
.. bpo: 45428
413
.. date: 2021-10-14-18-04-17
414
.. nonce: mM2War
415
.. section: Library
416
417
Fix a regression in py_compile when reading filenames from standard input.
418
419
..
420
421
.. bpo: 45467
422
.. date: 2021-10-14-13-31-19
423
.. nonce: Q7Ma6A
424
.. section: Library
425
426
Fix incremental decoder and stream reader in the "raw-unicode-escape" codec.
427
Previously they failed if the escape sequence was split.
428
429
..
430
431
.. bpo: 45461
432
.. date: 2021-10-14-00-19-02
433
.. nonce: 4LB_tJ
434
.. section: Library
435
436
Fix incremental decoder and stream reader in the "unicode-escape" codec.
437
Previously they failed if the escape sequence was split.
438
439
..
440
441
.. bpo: 45239
442
.. date: 2021-10-13-17-52-48
443
.. nonce: 7li1_0
444
.. section: Library
445
446
Fixed :func:`email.utils.parsedate_tz` crashing with
447
:exc:`UnboundLocalError` on certain invalid input instead of returning
448
``None``. Patch by Ben Hoyt.
449
450
..
451
452
.. bpo: 45417
453
.. date: 2021-10-12-20-35-06
454
.. nonce: gQM-O7
455
.. section: Library
456
457
Fix quadratic behaviour in the enum module: Creation of enum classes with a
458
lot of entries was quadratic.
459
460
..
461
462
.. bpo: 45249
463
.. date: 2021-10-10-16-14-33
464
.. nonce: xqLliz
465
.. section: Library
466
467
Fix the behaviour of :func:`traceback.print_exc` when displaying the caret
468
when the ``end_offset`` in the exception is set to 0. Patch by Pablo Galindo
469
470
..
471
472
.. bpo: 45416
473
.. date: 2021-10-10-09-42-34
474
.. nonce: n35O0_
475
.. section: Library
476
477
Fix use of :class:`asyncio.Condition` with explicit :class:`asyncio.Lock`
478
objects, which was a regression due to removal of explicit loop arguments.
479
Patch by Joongi Kim.
480
481
..
482
483
.. bpo: 20028
484
.. date: 2021-10-10-00-25-36
485
.. nonce: bPx4Z8
486
.. section: Library
487
488
Empty escapechar/quotechar is not allowed when initializing
Sep 22, 2023
Sep 22, 2023
489
:class:`csv.Dialect`. Patch by Vajrasky Kok and Donghee Na.
Nov 5, 2021
Nov 5, 2021
490
491
..
492
493
.. bpo: 44904
494
.. date: 2021-10-09-18-42-27
495
.. nonce: RlW5h8
496
.. section: Library
497
498
Fix bug in the :mod:`doctest` module that caused it to fail if a docstring
499
included an example with a ``classmethod`` ``property``. Patch by Alex
500
Waygood.
501
502
..
503
504
.. bpo: 45406
505
.. date: 2021-10-08-19-24-48
506
.. nonce: Qh_Mz4
507
.. section: Library
508
509
Make :func:`inspect.getmodule` catch ``FileNotFoundError`` raised by
Jan 12, 2024
Jan 12, 2024
510
:func:`inspect.getabsfile`, and return ``None`` to indicate that the module
Nov 5, 2021
Nov 5, 2021
511
could not be determined.
512
513
..
514
515
.. bpo: 45411
516
.. date: 2021-10-08-11-29-29
517
.. nonce: 4jR--U
518
.. section: Library
519
520
Add extensions for files containing subtitles - .srt & .vtt - to the
521
mimetypes.py module.
522
523
..
524
525
.. bpo: 10716
526
.. date: 2021-10-08-04-11-55
527
.. nonce: QSRVK2
528
.. section: Library
529
530
Migrated pydoc to HTML5 (without changing the look of it). Side effect is to
531
update xmlrpc's ``ServerHTMLDoc`` which now uses the CSS too. cgitb now
532
relies less on pydoc (as it can't use the CSS file).
533
534
..
535
536
.. bpo: 27580
537
.. date: 2021-10-07-21-11-48
538
.. nonce: tGcBTH
539
.. section: Library
540
541
Add support of null characters in :mod:`csv`.
542
543
..
544
545
.. bpo: 45262
546
.. date: 2021-10-07-14-04-10
547
.. nonce: HqF71Z
548
.. section: Library
549
550
Prevent use-after-free in asyncio. Make sure the cached running loop holder
551
gets cleared on dealloc to prevent use-after-free in get_running_loop
552
553
..
554
555
.. bpo: 45386
556
.. date: 2021-10-07-00-05-05
557
.. nonce: q9ORpA
558
.. section: Library
559
560
Make :mod:`xmlrpc.client` more robust to C runtimes where the underlying C
561
``strftime`` function results in a ``ValueError`` when testing for year
562
formatting options.
563
564
..
565
566
.. bpo: 20028
567
.. date: 2021-10-03-21-14-37
568
.. nonce: zBA4RK
569
.. section: Library
570
571
Improve error message of :class:`csv.Dialect` when initializing. Patch by
Sep 22, 2023
Sep 22, 2023
572
Vajrasky Kok and Donghee Na.
Nov 5, 2021
Nov 5, 2021
573
574
..
575
576
.. bpo: 45343
577
.. date: 2021-10-01-23-07-02
578
.. nonce: ixmctD
579
.. section: Library
580
581
Update bundled pip to 21.2.4 and setuptools to 58.1.0
582
583
..
584
585
.. bpo: 45328
586
.. date: 2021-09-30-08-22-44
587
.. nonce: 8Z-Q0B
588
.. section: Library
589
590
Fixed :class:`http.client.HTTPConnection` to work properly in OSs that don't
591
support the ``TCP_NODELAY`` socket option.
592
593
..
594
595
.. bpo: 45243
596
.. date: 2021-09-20-01-25-09
597
.. nonce: 0pJf0U
598
.. section: Library
599
600
Add :meth:`~sqlite3.Connection.setlimit` and
601
:meth:`~sqlite3.Connection.getlimit` to :class:`sqlite3.Connection` for
602
setting and getting SQLite limits by connection basis. Patch by Erlend E.
603
Aasland.
604
605
..
606
607
.. bpo: 45320
608
.. date: 2021-09-15-10-21-10
609
.. nonce: 4qaf5x
610
.. section: Library
611
612
Removed from the :mod:`inspect` module:
613
614
* the ``getargspec`` function, deprecated since Python 3.0;
615
use :func:`inspect.signature` or :func:`inspect.getfullargspec` instead.
616
617
* the ``formatargspec`` function, deprecated since Python 3.5;
618
use the :func:`inspect.signature` function and :class:`Signature` object
619
directly.
620
Dec 26, 2022
Dec 26, 2022
621
* the undocumented ``Signature.from_builtin`` and ``Signature.from_function``
Nov 5, 2021
Nov 5, 2021
622
functions, deprecated since Python 3.5; use the
623
:meth:`Signature.from_callable() <inspect.Signature.from_callable>` method
624
instead.
625
626
Patch by Hugo van Kemenade.
627
628
..
629
630
.. bpo: 45192
631
.. date: 2021-09-14-15-52-47
632
.. nonce: DjA-BI
633
.. section: Library
634
635
Fix the ``tempfile._infer_return_type`` function so that the ``dir``
636
argument of the :mod:`tempfile` functions accepts an object implementing the
637
``os.PathLike`` protocol.
638
639
Patch by Kyungmin Lee.
640
641
..
642
643
.. bpo: 45160
644
.. date: 2021-09-11-14-47-05
645
.. nonce: VzMXbW
646
.. section: Library
647
648
When tracing a tkinter variable used by a ttk OptionMenu, callbacks are no
649
longer made twice.
650
651
..
652
653
.. bpo: 25625
654
.. date: 2021-09-10-12-53-28
655
.. nonce: SzcBCw
656
.. section: Library
657
658
Added non parallel-safe :func:`~contextlib.chdir` context manager to change
659
the current working directory and then restore it on exit. Simple wrapper
660
around :func:`~os.chdir`.
661
662
..
663
664
.. bpo: 24139
665
.. date: 2021-08-30-23-10-48
666
.. nonce: e38czf
667
.. section: Library
668
669
Add support for SQLite extended result codes in :exc:`sqlite3.Error`. Patch
670
by Erlend E. Aasland.
671
672
..
673
674
.. bpo: 24444
675
.. date: 2021-08-30-00-19-23
676
.. nonce: Ki4bgz
677
.. section: Library
678
679
Fixed an error raised in :mod:`argparse` help display when help for an
680
option is set to 1+ blank spaces or when *choices* arg is an empty
681
container.
682
683
..
684
685
.. bpo: 44547
686
.. date: 2021-08-20-10-52-40
687
.. nonce: eu0iJq
688
.. section: Library
689
690
Implement ``Fraction.__int__``, so that a :class:`fractions.Fraction`
691
instance ``f`` passes an ``isinstance(f, typing.SupportsInt)`` check.
692
693
..
694
695
.. bpo: 40321
696
.. date: 2021-07-22-21-25-56
697
.. nonce: gBlFmw
698
.. section: Library
699
700
Adds support for HTTP 308 redirects to :mod:`urllib`. See :rfc:`7538` for
701
details. Patch by Jochem Schulenklopper.
702
703
..
704
705
.. bpo: 41374
706
.. date: 2020-07-27-19-21-05
707
.. nonce: cd-kFL
708
.. section: Library
709
710
Ensure that ``socket.TCP_*`` constants are exposed on Cygwin 3.1.6 and
711
greater.
712
713
..
714
715
.. bpo: 35970
716
.. date: 2019-02-11-19-06-10
717
.. nonce: ZRvh51
718
.. section: Library
719
720
Add help flag to the base64 module's command line interface. Patch
721
contributed by Robert Kuska.
722
723
..
724
725
.. bpo: 45726
726
.. date: 2021-11-05-12-15-24
727
.. nonce: GwRr7e
728
.. section: Documentation
729
730
Improve documentation for :func:`functools.singledispatch` and
731
:class:`functools.singledispatchmethod`.
732
733
..
734
735
.. bpo: 45680
736
.. date: 2021-11-03-14-51-03
737
.. nonce: 9_NTFU
738
.. section: Documentation
739
740
Amend the docs on ``GenericAlias`` objects to clarify that non-container
741
classes can also implement ``__class_getitem__``. Patch contributed by Alex
742
Waygood.
743
744
..
745
746
.. bpo: 45618
747
.. date: 2021-10-31-20-35-06
748
.. nonce: RTcNXF
749
.. section: Documentation
750
751
Update Sphinx version used to build the documentation to 4.2.0. Patch by
752
Maciej Olko.
753
754
..
755
756
.. bpo: 45655
757
.. date: 2021-10-28-19-22-55
758
.. nonce: aPYGaS
759
.. section: Documentation
760
761
Add a new "relevant PEPs" section to the top of the documentation for the
762
``typing`` module. Patch by Alex Waygood.
763
764
..
765
766
.. bpo: 45604
767
.. date: 2021-10-26-10-00-45
768
.. nonce: Dm-YhV
769
.. section: Documentation
770
771
Add ``level`` argument to ``multiprocessing.log_to_stderr`` function docs.
772
773
..
774
775
.. bpo: 45516
776
.. date: 2021-10-22-21-57-42
777
.. nonce: 7_RMEX
778
.. section: Documentation
779
780
Add protocol description to the :class:`importlib.abc.TraversableResources`
781
documentation.
782
783
..
784
785
.. bpo: 45464
786
.. date: 2021-10-20-16-26-53
787
.. nonce: mOISBs
788
.. section: Documentation
789
790
Mention in the documentation of :ref:`Built-in Exceptions
791
<bltin-exceptions>` that inheriting from multiple exception types in a
792
single subclass is not recommended due to possible memory layout
793
incompatibility.
794
795
..
796
797
.. bpo: 45449
798
.. date: 2021-10-19-01-41-40
799
.. nonce: fjHZJc
800
.. section: Documentation
801
802
Add note about :pep:`585` in :mod:`collections.abc`.
803
804
..
805
806
.. bpo: 45516
807
.. date: 2021-10-18-20-12-18
808
.. nonce: EJh4K8
809
.. section: Documentation
810
811
Add protocol description to the :class:`importlib.abc.Traversable`
812
documentation.
813
814
..
815
816
.. bpo: 20692
817
.. date: 2021-10-13-00-42-54
818
.. nonce: K5rGtP
819
.. section: Documentation
820
821
Add Programming FAQ entry explaining that int literal attribute access
822
requires either a space after or parentheses around the literal.
823
824
..
825
826
.. bpo: 45678
827
.. date: 2021-11-04-20-03-32
828
.. nonce: 1xNMjN
829
.. section: Tests
830
831
Add tests for scenarios in which :class:`functools.singledispatchmethod` is
832
stacked on top of a method that has already been wrapped by two other
833
decorators. Patch by Alex Waygood.
834
835
..
836
837
.. bpo: 45578
838
.. date: 2021-10-30-19-00-25
839
.. nonce: bvu6X2
840
.. section: Tests
841
842
Add tests for :func:`dis.distb`
843
844
..
845
846
.. bpo: 45678
847
.. date: 2021-10-30-13-12-20
848
.. nonce: bKrYeS
849
.. section: Tests
850
851
Add tests to ensure that ``functools.singledispatchmethod`` correctly wraps
852
the attributes of the target function.
853
854
..
855
856
.. bpo: 45668
857
.. date: 2021-10-29-17-18-56
858
.. nonce: MfAw4i
859
.. section: Tests
860
861
PGO tests now pass when Python is built without test extension modules.
862
863
..
864
865
.. bpo: 45577
866
.. date: 2021-10-22-19-44-13
867
.. nonce: dSaNvK
868
.. section: Tests
869
870
Add subtests for all ``pickle`` protocols in ``test_zoneinfo``.
871
872
..
873
874
.. bpo: 45566
875
.. date: 2021-10-22-12-05-21
876
.. nonce: 2gQ3ZB
877
.. section: Tests
878
879
Fix ``test_frozen_pickle`` in ``test_dataclasses`` to check all ``pickle``
880
versions.
881
882
..
883
884
.. bpo: 43592
885
.. date: 2021-10-21-17-22-26
886
.. nonce: kHRsra
887
.. section: Tests
888
889
:mod:`test.libregrtest` now raises the soft resource limit for the maximum
890
number of file descriptors when the default is too low for our test suite as
891
was often the case on macOS.
892
893
..
894
895
.. bpo: 39679
896
.. date: 2021-10-18-16-18-41
897
.. nonce: F18qcE
898
.. section: Tests
899
Jan 12, 2024
Jan 12, 2024
900
Add more test cases for ``@functools.singledispatchmethod`` when combined with
901
``@classmethod`` or ``@staticmethod``.
Nov 5, 2021
Nov 5, 2021
902
903
..
904
905
.. bpo: 45410
906
.. date: 2021-10-08-14-03-20
907
.. nonce: Ex9xe2
908
.. section: Tests
909
910
When libregrtest spawns a worker process, stderr is now written into stdout
911
to keep messages order. Use a single pipe for stdout and stderr, rather than
912
two pipes. Previously, messages were out of order which made analysis of
913
buildbot logs harder Patch by Victor Stinner.
914
915
..
916
917
.. bpo: 45402
918
.. date: 2021-10-07-13-43-01
919
.. nonce: jlQvep
920
.. section: Tests
921
922
Fix test_tools.test_sundry() when Python is built out of tree: fix how the
923
freeze_modules.py tool locates the _freeze_module program. Patch by Victor
924
Stinner.
925
926
..
927
928
.. bpo: 45403
929
.. date: 2021-10-07-13-27-12
930
.. nonce: 7QiDvw
931
.. section: Tests
932
933
Fix test_sys.test_stdlib_dir() when Python is built outside the source tree:
934
compare normalized paths. Patch by Victor Stinner.
935
936
..
937
938
.. bpo: 45400
939
.. date: 2021-10-07-13-11-45
940
.. nonce: h3iT7V
941
.. section: Tests
942
943
Fix test_name_error_suggestions_do_not_trigger_for_too_many_locals() of
944
test_exceptions if a directory name contains "a1" (like "Python-3.11.0a1"):
945
use a stricter regular expression. Patch by Victor Stinner.
946
947
..
948
Jul 20, 2022
Jul 20, 2022
949
.. bpo: 10572
950
.. date: 2021-01-07-01-25-38
951
.. nonce: gEEZ9z
952
.. section: Tests
953
954
Rename :mod:`sqlite3` tests from ``test_sqlite`` to ``test_sqlite3``, and
955
relocate them to ``Lib/test/test_sqlite3``. Patch by Erlend E. Aasland.
956
957
..
958
Nov 5, 2021
Nov 5, 2021
959
.. bpo: 43158
960
.. date: 2021-11-01-12-51-46
961
.. nonce: fghS6w
962
.. section: Build
963
964
``setup.py`` now uses values from configure script to build the ``_uuid``
965
extension module. Configure now detects util-linux's ``libuuid``, too.
966
967
..
968
969
.. bpo: 45666
970
.. date: 2021-10-29-12-54-53
971
.. nonce: w2G63u
972
.. section: Build
973
974
Fix warning of ``swprintf`` and ``%s`` usage in ``_testembed.c``
975
976
..
977
978
.. bpo: 45548
979
.. date: 2021-10-28-14-47-22
980
.. nonce: mdCBxB
981
.. section: Build
982
983
``Modules/Setup`` and ``Modules/makesetup`` have been improved. The
984
``Setup`` file now contains working rules for all extensions. Outdated
985
comments have been removed. Rules defined by ``makesetup`` track
986
dependencies correctly.
987
988
..
989
990
.. bpo: 45548
991
.. date: 2021-10-24-21-49-49
992
.. nonce: UWx0UC
993
.. section: Build
994
995
The :mod:`math` and :mod:`cmath` implementation now require a C99 compatible
996
``libm`` and no longer ship with workarounds for missing acosh, asinh,
997
atanh, expm1, and log1p functions.
998
999
..
1000