1.. bpo: 42103 2.. date: 2020-10-23-19-19-30 3.. nonce: cILT66 4.. release date: 2020-11-03 5.. section: Security 6 7Prevented potential DoS attack via CPU and RAM exhaustion when processing 8malformed Apple Property List files in binary format. 9 10.. 11 12.. bpo: 42051 13.. date: 2020-10-19-10-56-27 14.. nonce: EU_B7u 15.. section: Security 16 17The :mod:`plistlib` module no longer accepts entity declarations in XML 18plist files to avoid XML vulnerabilities. This should not affect users as 19entity declarations are not used in regular plist files. 20 21.. 22 23.. bpo: 42236 24.. date: 2020-11-01-21-21-38 25.. nonce: MPx-NK 26.. section: Core and Builtins 27 28If the ``nl_langinfo(CODESET)`` function returns an empty string, Python now 29uses UTF-8 as the filesystem encoding. Patch by Victor Stinner. 30 31.. 32 33.. bpo: 42218 34.. date: 2020-10-31-17-50-23 35.. nonce: Dp_Z3v 36.. section: Core and Builtins 37 38Fixed a bug in the PEG parser that was causing crashes in debug mode. Now 39errors are checked in left-recursive rules to avoid cases where such errors 40do not get handled in time and appear as long-distance crashes in other 41places. 42 43.. 44 45.. bpo: 42214 46.. date: 2020-10-30-22-16-30 47.. nonce: lXskM_ 48.. section: Core and Builtins 49 50Fixed a possible crash in the PEG parser when checking for the '!=' token in 51the ``barry_as_flufl`` rule. Patch by Pablo Galindo. 52 53.. 54 55.. bpo: 42206 56.. date: 2020-10-30-13-11-01 57.. nonce: xxssR8 58.. section: Core and Builtins 59 60Propagate and raise the errors caused by :c:func:`PyAST_Validate` in the 61parser. 62 63.. 64 65.. bpo: 41796 66.. date: 2020-10-29-12-49-08 67.. nonce: tkGdHq 68.. section: Core and Builtins 69 70The :mod:`ast` module internal state is now per interpreter. Patch by Victor 71Stinner. 72 73.. 74 75.. bpo: 42143 76.. date: 2020-10-27-21-34-05 77.. nonce: N6KXUO 78.. section: Core and Builtins 79 80Fix handling of errors during creation of ``PyFunctionObject``, which 81resulted in operations on uninitialized memory. Patch by Yonatan 82Goldschmidt. 83 84.. 85 86.. bpo: 41659 87.. date: 2020-10-27-18-32-49 88.. nonce: d4a-8o 89.. section: Core and Builtins 90 91Fix a bug in the parser, where a curly brace following a `primary` didn't 92fail immediately. This led to invalid expressions like `a {b}` to throw a 93:exc:`SyntaxError` with a wrong offset, or invalid expressions ending with a 94curly brace like `a {` to not fail immediately in the REPL. 95 96.. 97 98.. bpo: 42150 99.. date: 2020-10-25-21-14-18 100.. nonce: b70u_T 101.. section: Core and Builtins 102 103Fix possible buffer overflow in the new parser when checking for 104continuation lines. Patch by Pablo Galindo. 105 106.. 107 108.. bpo: 42123 109.. date: 2020-10-23-02-43-24 110.. nonce: 64gJWC 111.. section: Core and Builtins 112 113Run the parser two times. On the first run, disable all the rules that only 114generate better error messages to gain performance. If there's a parse 115failure, run the parser a second time with those enabled. 116 117.. 118 119.. bpo: 42093 120.. date: 2020-10-20-04-24-07 121.. nonce: ooZZNh 122.. section: Core and Builtins 123 124The ``LOAD_ATTR`` instruction now uses new "per opcode cache" mechanism and 125it is about 36% faster now. Patch by Pablo Galindo and Yury Selivanov. 126 127.. 128 129.. bpo: 42030 130.. date: 2020-10-15-21-55-32 131.. nonce: PmU2CA 132.. section: Core and Builtins 133 134Support for the legacy AIX-specific shared library loading support has been 135removed. All versions of AIX since 4.3 have supported and defaulted to using 136the common Unix mechanism instead. 137 138.. 139 140.. bpo: 41984 141.. date: 2020-10-14-16-19-43 142.. nonce: SEtKMr 143.. section: Core and Builtins 144 145The garbage collector now tracks all user-defined classes. Patch by Brandt 146Bucher. 147 148.. 149 150.. bpo: 41993 151.. date: 2020-10-10-13-53-52 152.. nonce: YMzixQ 153.. section: Core and Builtins 154 155Fixed potential issues with removing not completely initialized module from 156``sys.modules`` when import fails. 157 158.. 159 160.. bpo: 41979 161.. date: 2020-10-09-10-55-50 162.. nonce: ImXIk2 163.. section: Core and Builtins 164 165Star-unpacking is now allowed for with item's targets in the PEG parser. 166 167.. 168 169.. bpo: 41974 170.. date: 2020-10-08-09-58-19 171.. nonce: 8B-q8O 172.. section: Core and Builtins 173 174Removed special methods ``__int__``, ``__float__``, ``__floordiv__``, 175``__mod__``, ``__divmod__``, ``__rfloordiv__``, ``__rmod__`` and 176``__rdivmod__`` of the :class:`complex` class. They always raised a 177:exc:`TypeError`. 178 179.. 180 181.. bpo: 41902 182.. date: 2020-10-02-13-32-05 183.. nonce: ZKTxzW 184.. section: Core and Builtins 185 186Micro optimization when compute :c:member:`~PySequenceMethods.sq_item` and 187:c:member:`~PyMappingMethods.mp_subscript` of :class:`range`. Patch by 188Dong-hee Na. 189 190.. 191 192.. bpo: 41894 193.. date: 2020-10-02-11-35-33 194.. nonce: ffmtOt 195.. section: Core and Builtins 196 197When loading a native module and a load failure occurs, prevent a possible 198UnicodeDecodeError when not running in a UTF-8 locale by decoding the load 199error message using the current locale's encoding. 200 201.. 202 203.. bpo: 41902 204.. date: 2020-10-01-22-44-23 205.. nonce: iLoMVF 206.. section: Core and Builtins 207 208Micro optimization for range.index if step is 1. Patch by Dong-hee Na. 209 210.. 211 212.. bpo: 41435 213.. date: 2020-08-07-13-42-48 214.. nonce: qPWjJA 215.. section: Core and Builtins 216 217Add `sys._current_exceptions()` function to retrieve a dictionary mapping 218each thread's identifier to the topmost exception currently active in that 219thread at the time the function is called. 220 221.. 222 223.. bpo: 38605 224.. date: 2020-05-27-16-08-16 225.. nonce: rcs2uK 226.. section: Core and Builtins 227 228Enable ``from __future__ import annotations`` (:pep:`563`) by default. The 229values found in :attr:`__annotations__` dicts are now strings, e.g. ``{"x": 230"int"}`` instead of ``{"x": int}``. 231 232.. 233 234.. bpo: 35455 235.. date: 2020-11-02-14-10-48 236.. nonce: Q1xTIo 237.. section: Library 238 239On Solaris, :func:`~time.thread_time` is now implemented with 240``gethrvtime()`` because ``clock_gettime(CLOCK_THREAD_CPUTIME_ID)`` is not 241always available. Patch by Jakub Kulik. 242 243.. 244 245.. bpo: 42233 246.. date: 2020-11-02-01-31-15 247.. nonce: YxRj-h 248.. section: Library 249 250The :func:`repr` of :mod:`typing` types containing :ref:`Generic Alias Types 251<types-genericalias>` previously did not show the parameterized types in the 252``GenericAlias``. They have now been changed to do so. 253 254.. 255 256.. bpo: 29566 257.. date: 2020-10-31-13-28-36 258.. nonce: 6aDbty 259.. section: Library 260 261``binhex.binhex()`` consistently writes macOS 9 line endings. 262 263.. 264 265.. bpo: 26789 266.. date: 2020-10-31-01-16-49 267.. nonce: 9BdNAt 268.. section: Library 269 270The :class:`logging.FileHandler` class now keeps a reference to the builtin 271:func:`open` function to be able to open or reopen the file during Python 272finalization. Fix errors like: ``NameError: name 'open' is not defined``. 273Patch by Victor Stinner. 274 275.. 276 277.. bpo: 42157 278.. date: 2020-10-26-23-29-16 279.. nonce: 4wuwTe 280.. section: Library 281 282Removed the ``unicodedata.ucnhash_CAPI`` attribute which was an internal 283PyCapsule object. The related private ``_PyUnicode_Name_CAPI`` structure was 284moved to the internal C API. Patch by Victor Stinner. 285 286.. 287 288.. bpo: 42157 289.. date: 2020-10-26-19-08-07 290.. nonce: Bdpa04 291.. section: Library 292 293Convert the :mod:`unicodedata` extension module to the multiphase 294initialization API (:pep:`489`) and convert the ``unicodedata.UCD`` static 295type to a heap type. Patch by Mohamed Koubaa and Victor Stinner. 296 297.. 298 299.. bpo: 42146 300.. date: 2020-10-25-19-25-02 301.. nonce: 6A8uvS 302.. section: Library 303 304Fix memory leak in :func:`subprocess.Popen` in case an uid (gid) specified 305in `user` (`group`, `extra_groups`) overflows `uid_t` (`gid_t`). 306 307.. 308 309.. bpo: 42103 310.. date: 2020-10-23-19-20-14 311.. nonce: C5obK2 312.. section: Library 313 314:exc:`~plistlib.InvalidFileException` and :exc:`RecursionError` are now the 315only errors caused by loading malformed binary Plist file (previously 316ValueError and TypeError could be raised in some specific cases). 317 318.. 319 320.. bpo: 41490 321.. date: 2020-10-23-08-54-47 322.. nonce: -Yk6OD 323.. section: Library 324 325In ``importlib.resources``, ``.path`` method is more aggressive about 326releasing handles to zipfile objects early, enabling use-cases like certifi 327to leave the context open but delete the underlying zip file. 328 329.. 330 331.. bpo: 41052 332.. date: 2020-10-21-23-45-02 333.. nonce: 3N7J2J 334.. section: Library 335 336Pickling heap types implemented in C with protocols 0 and 1 raises now an 337error instead of producing incorrect data. 338 339.. 340 341.. bpo: 42089 342.. date: 2020-10-19-16-53-19 343.. nonce: R1dthW 344.. section: Library 345 346In ``importlib.metadata.PackageNotFoundError``, make reference to the 347package metadata being missing to improve the user experience. 348 349.. 350 351.. bpo: 41491 352.. date: 2020-10-19-14-02-09 353.. nonce: d1BUWH 354.. section: Library 355 356plistlib: fix parsing XML plists with hexadecimal integer values 357 358.. 359 360.. bpo: 42065 361.. date: 2020-10-17-23-17-18 362.. nonce: 85BsRA 363.. section: Library 364 365Fix an incorrectly formatted error from :meth:`_codecs.charmap_decode` when 366called with a mapped value outside the range of valid Unicode code points. 367PR by Max Bernstein. 368 369.. 370 371.. bpo: 41966 372.. date: 2020-10-17-07-52-53 373.. nonce: gwEQRZ 374.. section: Library 375 376Fix pickling pure Python :class:`datetime.time` subclasses. Patch by Dean 377Inwood. 378 379.. 380 381.. bpo: 19270 382.. date: 2020-10-16-22-48-01 383.. nonce: jd_gkA 384.. section: Library 385 386:meth:`sched.scheduler.cancel()` will now cancel the correct event, if two 387events with same priority are scheduled for the same time. Patch by Bar 388Harel. 389 390.. 391 392.. bpo: 28660 393.. date: 2020-10-16-16-08-04 394.. nonce: eX9pvD 395.. section: Library 396 397:func:`textwrap.wrap` now attempts to break long words after hyphens when 398``break_long_words=True`` and ``break_on_hyphens=True``. 399 400.. 401 402.. bpo: 35823 403.. date: 2020-10-16-07-45-35 404.. nonce: SNQo56 405.. section: Library 406 407Use ``vfork()`` instead of ``fork()`` for :func:`subprocess.Popen` on Linux 408to improve performance in cases where it is deemed safe. 409 410.. 411 412.. bpo: 42043 413.. date: 2020-10-15-17-20-37 414.. nonce: OS0p_v 415.. section: Library 416 417Add support for ``zipfile.Path`` inheritance. ``zipfile.Path.is_file()`` now 418returns False for non-existent names. ``zipfile.Path`` objects now expose a 419``.filename`` attribute and rely on that to resolve ``.name`` and 420``.parent`` when the ``Path`` object is at the root of the zipfile. 421 422.. 423 424.. bpo: 42021 425.. date: 2020-10-12-21-21-24 426.. nonce: 8yv_8- 427.. section: Library 428 429Fix possible ref leaks in :mod:`sqlite3` module init. 430 431.. 432 433.. bpo: 39101 434.. date: 2020-10-11-21-43-03 435.. nonce: -I49Pm 436.. section: Library 437 438Fixed tests using IsolatedAsyncioTestCase from hanging on BaseExceptions. 439 440.. 441 442.. bpo: 41976 443.. date: 2020-10-08-18-22-28 444.. nonce: Svm0wb 445.. section: Library 446 447Fixed a bug that was causing :func:`ctypes.util.find_library` to return 448``None`` when triying to locate a library in an environment when gcc>=9 is 449available and ``ldconfig`` is not. Patch by Pablo Galindo 450 451.. 452 453.. bpo: 41943 454.. date: 2020-10-07-18-36-03 455.. nonce: Pt55fT 456.. section: Library 457 458Fix bug where TestCase.assertLogs doesn't correctly filter messages by 459level. 460 461.. 462 463.. bpo: 41923 464.. date: 2020-10-03-23-14-50 465.. nonce: Buonw9 466.. section: Library 467 468Implement :pep:`613`, introducing :data:`typing.TypeAlias` annotation. 469 470.. 471 472.. bpo: 41905 473.. date: 2020-10-01-21-11-03 474.. nonce: _JpjR4 475.. section: Library 476 477A new function in abc: *update_abstractmethods* to re-calculate an abstract 478class's abstract status. In addition, *dataclass* has been changed to call 479this function. 480 481.. 482 483.. bpo: 23706 484.. date: 2020-09-30-11-05-11 485.. nonce: dHTGjF 486.. section: Library 487 488Added *newline* parameter to ``pathlib.Path.write_text()``. 489 490.. 491 492.. bpo: 41876 493.. date: 2020-09-29-16-23-54 494.. nonce: QicdDU 495.. section: Library 496 497Tkinter font class repr uses font name 498 499.. 500 501.. bpo: 41831 502.. date: 2020-09-22-11-07-50 503.. nonce: k-Eop_ 504.. section: Library 505 506``str()`` for the ``type`` attribute of the ``tkinter.Event`` object always 507returns now the numeric code returned by Tk instead of the name of the event 508type. 509 510.. 511 512.. bpo: 39337 513.. date: 2020-09-13-02-02-18 514.. nonce: L3NXTt 515.. section: Library 516 517:func:`encodings.normalize_encoding` now ignores non-ASCII characters. 518 519.. 520 521.. bpo: 41747 522.. date: 2020-09-08-23-41-29 523.. nonce: M6wLKv 524.. section: Library 525 526Ensure all methods that generated from :func:`dataclasses.dataclass` objects 527now have the proper ``__qualname__`` attribute referring to the class they 528belong to. Patch by Batuhan Taskaya. 529 530.. 531 532.. bpo: 30681 533.. date: 2020-09-04-17-33-04 534.. nonce: LR4fnY 535.. section: Library 536 537Handle exceptions caused by unparsable date headers when using email 538"default" policy. Patch by Tim Bell, Georges Toth 539 540.. 541 542.. bpo: 41586 543.. date: 2020-08-19-08-32-13 544.. nonce: IYjmjK 545.. section: Library 546 547Add F_SETPIPE_SZ and F_GETPIPE_SZ to fcntl module. Allow setting pipesize on 548subprocess.Popen. 549 550.. 551 552.. bpo: 41229 553.. date: 2020-07-19-20-10-41 554.. nonce: p8rJa2 555.. section: Library 556 557Add ``contextlib.aclosing`` for deterministic cleanup of async generators 558which is analogous to ``contextlib.closing`` for non-async generators. Patch 559by Joongi Kim and John Belmonte. 560 561.. 562 563.. bpo: 16396 564.. date: 2020-07-08-09-45-00 565.. nonce: z8o8Pn 566.. section: Library 567 568Allow ``ctypes.wintypes`` to be imported on non-Windows systems. 569 570.. 571 572.. bpo: 4356 573.. date: 2020-05-31-10-48-47 574.. nonce: P8kXqp 575.. section: Library 576 577Add a key function to the bisect module. 578 579.. 580 581.. bpo: 40592 582.. date: 2020-05-14-16-01-34 583.. nonce: Cmk855 584.. section: Library 585 586:func:`shutil.which` now ignores empty entries in :envvar:`PATHEXT` instead 587of treating them as a match. 588 589.. 590 591.. bpo: 40492 592.. date: 2020-05-04-12-16-00 593.. nonce: ONk9Na 594.. section: Library 595 596Fix ``--outfile`` for :mod:`cProfile` / :mod:`profile` not writing the 597output file in the original directory when the program being profiled 598changes the working directory. PR by Anthony Sottile. 599 600.. 601 602.. bpo: 34204 603.. date: 2020-04-21-17-18-33 604.. nonce: 9wXTtY 605.. section: Library 606 607The :mod:`shelve` module now uses :data:`pickle.DEFAULT_PROTOCOL` by default 608instead of :mod:`pickle` protocol ``3``. 609 610.. 611 612.. bpo: 27321 613.. date: 2020-01-19-18-40-26 614.. nonce: 8e6SpM 615.. section: Library 616 617Fixed KeyError exception when flattening an email to a string attempts to 618replace a non-existent Content-Transfer-Encoding header. 619 620.. 621 622.. bpo: 38976 623.. date: 2019-12-05-05-22-49 624.. nonce: 5MG7Uu 625.. section: Library 626 627The :mod:`http.cookiejar` module now supports the parsing of cookies in 628CURL-style cookiejar files through MozillaCookieJar on all platforms. 629Previously, such cookie entries would be silently ignored when loading a 630cookiejar with such entries. 631 632Additionally, the HTTP Only attribute is persisted in the object, and will 633be correctly written to file if the MozillaCookieJar object is subsequently 634dumped. 635 636.. 637 638.. bpo: 42061 639.. date: 2020-10-28-21-39-45 640.. nonce: _x-0sg 641.. section: Documentation 642 643Document __format__ functionality for IP addresses. 644 645.. 646 647.. bpo: 41910 648.. date: 2020-10-21-14-40-54 649.. nonce: CzBMit 650.. section: Documentation 651 652Document the default implementation of `object.__eq__`. 653 654.. 655 656.. bpo: 42010 657.. date: 2020-10-21-02-21-14 658.. nonce: 76vJ0u 659.. section: Documentation 660 661Clarify that subscription expressions are also valid for certain 662:term:`classes <class>` and :term:`types <type>` in the standard library, 663and for user-defined classes and types if the classmethod 664:meth:`__class_getitem__` is provided. 665 666.. 667 668.. bpo: 41805 669.. date: 2020-10-10-01-36-37 670.. nonce: l-CGv5 671.. section: Documentation 672 673Documented :ref:`generic alias type <types-genericalias>` and 674:data:`types.GenericAlias`. Also added an entry in glossary for 675:term:`generic types <generic type>`. 676 677.. 678 679.. bpo: 39693 680.. date: 2020-02-24-09-02-05 681.. nonce: QXw0Fm 682.. section: Documentation 683 684Fix tarfile's extractfile documentation 685 686.. 687 688.. bpo: 39416 689.. date: 2020-01-22-05-14-53 690.. nonce: uYjhEm 691.. section: Documentation 692 693Document some restrictions on the default string representations of numeric 694classes. 695 696.. 697 698.. bpo: 41739 699.. date: 2020-10-12-00-11-47 700.. nonce: wSCc4K 701.. section: Tests 702 703Fix test_logging.test_race_between_set_target_and_flush(): the test now 704waits until all threads complete to avoid leaking running threads. 705 706.. 707 708.. bpo: 41970 709.. date: 2020-10-08-14-00-17 710.. nonce: aZ8QFf 711.. section: Tests 712 713Avoid a test failure in ``test_lib2to3`` if the module has already imported 714at the time the test executes. Patch by Pablo Galindo. 715 716.. 717 718.. bpo: 41944 719.. date: 2020-10-05-17-43-46 720.. nonce: rf1dYb 721.. section: Tests 722 723Tests for CJK codecs no longer call ``eval()`` on content received via HTTP. 724 725.. 726 727.. bpo: 41306 728.. date: 2020-08-03-13-44-37 729.. nonce: VDoWXI 730.. section: Tests 731 732Fixed a failure in ``test_tk.test_widgets.ScaleTest`` happening when 733executing the test with Tk 8.6.10. 734 735.. 736 737.. bpo: 38980 738.. date: 2020-10-21-18-31-54 739.. nonce: xz7BNd 740.. section: Build 741 742Add ``-fno-semantic-interposition`` to both the compile and link line when 743building with ``--enable-optimizations``. Patch by Victor Stinner and Pablo 744Galindo. 745 746.. 747 748.. bpo: 38439 749.. date: 2020-10-20-13-19-42 750.. nonce: eMLi-t 751.. section: Windows 752 753Updates the icons for IDLE in the Windows Store package. 754 755.. 756 757.. bpo: 38252 758.. date: 2020-10-18-18-43-45 759.. nonce: 7Nlepg 760.. section: Windows 761 762Use 8-byte step to detect ASCII sequence in 64-bit Windows build. 763 764.. 765 766.. bpo: 39107 767.. date: 2020-09-24-23-09-40 768.. nonce: GbUZvD 769.. section: Windows 770 771Update Tcl and Tk to 8.6.10 in Windows installer. 772 773.. 774 775.. bpo: 41557 776.. date: 2020-08-26-09-35-06 777.. nonce: vt00cQ 778.. section: Windows 779 780Update Windows installer to use SQLite 3.33.0. 781 782.. 783 784.. bpo: 38324 785.. date: 2020-05-30-02-46-43 786.. nonce: 476M-5 787.. section: Windows 788 789Avoid Unicode errors when accessing certain locale data on Windows. 790 791.. 792 793.. bpo: 41471 794.. date: 2020-10-19-12-25-19 795.. nonce: gwA7un 796.. section: macOS 797 798Ignore invalid prefix lengths in system proxy excludes. 799 800.. 801 802.. bpo: 33987 803.. date: 2020-10-24-21-27-37 804.. nonce: fIh9JL 805.. section: IDLE 806 807Mostly finish using ttk widgets, mainly for editor, settings, and searches. 808Some patches by Mark Roseman. 809 810.. 811 812.. bpo: 40511 813.. date: 2020-06-16-12-16-13 814.. nonce: XkihpM 815.. section: IDLE 816 817Typing opening and closing parentheses inside the parentheses of a function 818call will no longer cause unnecessary "flashing" off and on of an existing 819open call-tip, e.g. when typed in a string literal. 820 821.. 822 823.. bpo: 38439 824.. date: 2020-04-22-09-37-40 825.. nonce: ieXL-c 826.. section: IDLE 827 828Add a 256×256 pixel IDLE icon to the Windows .ico file. Created by Andrew 829Clover. Remove the low-color gif variations from the .ico file. 830 831.. 832 833.. bpo: 42157 834.. date: 2020-10-16-10-47-17 835.. nonce: e3BcPM 836.. section: C API 837 838The private ``_PyUnicode_Name_CAPI`` structure of the PyCapsule API 839``unicodedata.ucnhash_CAPI`` has been moved to the internal C API. Patch by 840Victor Stinner. 841 842.. 843 844.. bpo: 42015 845.. date: 2020-10-12-20-13-58 846.. nonce: X4H2_V 847.. section: C API 848 849Fix potential crash in deallocating method objects when dynamically 850allocated `PyMethodDef`'s lifetime is managed through the ``self`` argument 851of a `PyCFunction`. 852 853.. 854 855.. bpo: 40423 856.. date: 2020-10-11-19-17-44 857.. nonce: GsmgEj 858.. section: C API 859 860The :mod:`subprocess` module and ``os.closerange`` will now use the 861``close_range(low, high, flags)`` syscall when it is available for more 862efficient closing of ranges of descriptors. 863 864.. 865 866.. bpo: 41845 867.. date: 2020-10-11-05-05-53 868.. nonce: ZFvuQM 869.. section: C API 870 871:c:func:`PyObject_GenericGetDict` is available again in the limited API when 872targeting 3.10 or later. 873 874.. 875 876.. bpo: 40422 877.. date: 2020-10-10-14-05-24 878.. nonce: sh8IDY 879.. section: C API 880 881Add `_Py_closerange` function to provide performant closing of a range of 882file descriptors. 883 884.. 885 886.. bpo: 41986 887.. date: 2020-10-09-22-50-46 888.. nonce: JUPE59 889.. section: C API 890 891:c:data:`Py_FileSystemDefaultEncodeErrors` and :c:data:`Py_UTF8Mode` are 892available again in limited API. 893 894.. 895 896.. bpo: 41756 897.. date: 2020-09-28-14-31-07 898.. nonce: ZZ5wJG 899.. section: C API 900 901Add `PyIter_Send` function to allow sending value into 902generator/coroutine/iterator without raising StopIteration exception to 903signal return. 904 905.. 906 907.. bpo: 41784 908.. date: 2020-09-14-10-17-00 909.. nonce: Yl4gI2 910.. section: C API 911 912Added ``PyUnicode_AsUTF8AndSize`` to the limited C API. 913