1.. bpo: 39427 2.. date: 2020-01-22-22-28-04 3.. nonce: LiO-Eo 4.. release date: 2020-01-24 5.. section: Core and Builtins 6 7Document all possibilities for the ``-X`` options in the command line help 8section. Patch by Pablo Galindo. 9 10.. 11 12.. bpo: 39421 13.. date: 2020-01-22-15-53-37 14.. nonce: O3nG7u 15.. section: Core and Builtins 16 17Fix possible crashes when operating with the functions in the :mod:`heapq` 18module and custom comparison operators. 19 20.. 21 22.. bpo: 39386 23.. date: 2020-01-20-21-40-57 24.. nonce: ULqD8t 25.. section: Core and Builtins 26 27Prevent double awaiting of async iterator. 28 29.. 30 31.. bpo: 17005 32.. date: 2020-01-17-00-00-58 33.. nonce: nTSxsy 34.. section: Core and Builtins 35 36Add :class:`functools.TopologicalSorter` to the :mod:`functools` module to 37offers functionality to perform topological sorting of graphs. Patch by 38Pablo Galindo, Tim Peters and Larry Hastings. 39 40.. 41 42.. bpo: 39320 43.. date: 2020-01-15-15-33-44 44.. nonce: b4hnJW 45.. section: Core and Builtins 46 47Replace four complex bytecodes for building sequences with three simpler 48ones. 49 50The following four bytecodes have been removed: 51 52* BUILD_LIST_UNPACK 53* BUILD_TUPLE_UNPACK 54* BUILD_SET_UNPACK 55* BUILD_TUPLE_UNPACK_WITH_CALL 56 57The following three bytecodes have been added: 58 59* LIST_TO_TUPLE 60* LIST_EXTEND 61* SET_UPDATE 62 63.. 64 65.. bpo: 39336 66.. date: 2020-01-15-01-39-29 67.. nonce: nJ7W9I 68.. section: Core and Builtins 69 70Import loaders which publish immutable module objects can now publish 71immutable packages in addition to individual modules. 72 73.. 74 75.. bpo: 39322 76.. date: 2020-01-13-15-18-13 77.. nonce: aAs-1T 78.. section: Core and Builtins 79 80Added a new function :func:`gc.is_finalized` to check if an object has been 81finalized by the garbage collector. Patch by Pablo Galindo. 82 83.. 84 85.. bpo: 39048 86.. date: 2020-01-13-14-45-22 87.. nonce: iPsj81 88.. section: Core and Builtins 89 90Improve the displayed error message when incorrect types are passed to 91``async with`` statements by looking up the :meth:`__aenter__` special 92method before the :meth:`__aexit__` special method when entering an 93asynchronous context manager. Patch by Géry Ogam. 94 95.. 96 97.. bpo: 39235 98.. date: 2020-01-09-10-01-18 99.. nonce: RYwjoc 100.. section: Core and Builtins 101 102Fix AST end location for lone generator expression in function call, e.g. 103f(i for i in a). 104 105.. 106 107.. bpo: 39209 108.. date: 2020-01-06-10-29-16 109.. nonce: QHAONe 110.. section: Core and Builtins 111 112Correctly handle multi-line tokens in interactive mode. Patch by Pablo 113Galindo. 114 115.. 116 117.. bpo: 1635741 118.. date: 2020-01-05-13-40-08 119.. nonce: QRTJVC 120.. section: Core and Builtins 121 122Port _json extension module to multiphase initialization (:pep:`489`). 123 124.. 125 126.. bpo: 39216 127.. date: 2020-01-05-06-55-52 128.. nonce: 74jLh9 129.. section: Core and Builtins 130 131Fix constant folding optimization for positional only arguments - by Anthony 132Sottile. 133 134.. 135 136.. bpo: 39215 137.. date: 2020-01-04-17-25-34 138.. nonce: xiqiIz 139.. section: Core and Builtins 140 141Fix ``SystemError`` when nested function has annotation on positional-only 142argument - by Anthony Sottile. 143 144.. 145 146.. bpo: 39200 147.. date: 2020-01-04-01-14-32 148.. nonce: 8Z9DYp 149.. section: Core and Builtins 150 151Correct the error message when calling the :func:`min` or :func:`max` with 152no arguments. Patch by Dong-hee Na. 153 154.. 155 156.. bpo: 39200 157.. date: 2020-01-03-14-50-14 158.. nonce: Ip2_iI 159.. section: Core and Builtins 160 161Correct the error message when trying to construct :class:`range` objects 162with no arguments. Patch by Pablo Galindo. 163 164.. 165 166.. bpo: 39166 167.. date: 2020-01-02-22-22-03 168.. nonce: Qt-UeD 169.. section: Core and Builtins 170 171Fix incorrect line execution reporting in trace functions when tracing the 172last iteration of asynchronous for loops. Patch by Pablo Galindo. 173 174.. 175 176.. bpo: 39114 177.. date: 2019-12-31-18-25-45 178.. nonce: WG9alt 179.. section: Core and Builtins 180 181Fix incorrect line execution reporting in trace functions when tracing 182exception handlers with name binding. Patch by Pablo Galindo. 183 184.. 185 186.. bpo: 39156 187.. date: 2019-12-30-10-53-59 188.. nonce: veT-CB 189.. section: Core and Builtins 190 191Split the COMPARE_OP bytecode instruction into four distinct instructions. 192 193* COMPARE_OP for rich comparisons 194* IS_OP for 'is' and 'is not' tests 195* CONTAINS_OP for 'in' and 'is not' tests 196* JUMP_IF_NOT_EXC_MATCH for checking exceptions in 'try-except' statements. 197 198This improves the clarity of the interpreter and should provide a modest 199speedup. 200 201.. 202 203.. bpo: 38588 204.. date: 2019-12-29-19-13-54 205.. nonce: pgXnNS 206.. section: Core and Builtins 207 208Fix possible crashes in dict and list when calling 209:c:func:`PyObject_RichCompareBool`. 210 211.. 212 213.. bpo: 13601 214.. date: 2019-12-17-22-32-11 215.. nonce: vNP4LC 216.. section: Core and Builtins 217 218By default, ``sys.stderr`` is line-buffered now, even if ``stderr`` is 219redirected to a file. You can still make ``sys.stderr`` unbuffered by 220passing the :option:`-u` command-line option or setting the 221:envvar:`PYTHONUNBUFFERED` environment variable. 222 223(Contributed by Jendrik Seipp in bpo-13601.) 224 225.. 226 227.. bpo: 38610 228.. date: 2019-10-31-14-30-39 229.. nonce: fHdVMS 230.. section: Core and Builtins 231 232Fix possible crashes in several list methods by holding strong references to 233list elements when calling :c:func:`PyObject_RichCompareBool`. 234 235.. 236 237.. bpo: 32021 238.. date: 2019-03-11-13-30-40 239.. nonce: dpbtkP 240.. section: Core and Builtins 241 242Include brotli .br encoding in mimetypes encodings_map 243 244.. 245 246.. bpo: 39430 247.. date: 2020-01-24-11-05-21 248.. nonce: I0UQzM 249.. section: Library 250 251Fixed race condition in lazy imports in :mod:`tarfile`. 252 253.. 254 255.. bpo: 39413 256.. date: 2020-01-24-10-10-25 257.. nonce: 7XYDM8 258.. section: Library 259 260The :func:`os.unsetenv` function is now also available on Windows. 261 262.. 263 264.. bpo: 39390 265.. date: 2020-01-23-21-34-29 266.. nonce: D2tSXk 267.. section: Library 268 269Fixed a regression with the `ignore` callback of :func:`shutil.copytree`. 270The argument types are now str and List[str] again. 271 272.. 273 274.. bpo: 39395 275.. date: 2020-01-23-03-05-41 276.. nonce: 4dda42 277.. section: Library 278 279The :func:`os.putenv` and :func:`os.unsetenv` functions are now always 280available. 281 282.. 283 284.. bpo: 39406 285.. date: 2020-01-22-21-18-58 286.. nonce: HMpe8x 287.. section: Library 288 289If ``setenv()`` C function is available, :func:`os.putenv` is now 290implemented with ``setenv()`` instead of ``putenv()``, so Python doesn't 291have to handle the environment variable memory. 292 293.. 294 295.. bpo: 39396 296.. date: 2020-01-21-09-00-42 297.. nonce: 6UXQXE 298.. section: Library 299 300Fix ``math.nextafter(-0.0, +0.0)`` on AIX 7.1. 301 302.. 303 304.. bpo: 29435 305.. date: 2020-01-20-18-48-00 306.. nonce: qqJ2Ax 307.. section: Library 308 309Allow :func:`tarfile.is_tarfile` to be used with file and file-like objects, 310like :func:`zipfile.is_zipfile`. Patch by William Woodruff. 311 312.. 313 314.. bpo: 39377 315.. date: 2020-01-20-13-00-35 316.. nonce: QSFdaU 317.. section: Library 318 319Removed ``encoding`` option from :func:`json.loads`. It has been deprecated 320since Python 3.1. 321 322.. 323 324.. bpo: 39389 325.. date: 2020-01-20-00-56-01 326.. nonce: fEirIS 327.. section: Library 328 329Write accurate compression level metadata in :mod:`gzip` archives, rather 330than always signaling maximum compression. 331 332.. 333 334.. bpo: 39366 335.. date: 2020-01-17-18-14-51 336.. nonce: Cv3NQS 337.. section: Library 338 339The previously deprecated ``xpath()`` and ``xgtitle()`` methods of 340:class:`nntplib.NNTP` have been removed. 341 342.. 343 344.. bpo: 39357 345.. date: 2020-01-16-11-24-00 346.. nonce: bCwx-h 347.. section: Library 348 349Remove the *buffering* parameter of :class:`bz2.BZ2File`. Since Python 3.0, 350it was ignored and using it was emitting :exc:`DeprecationWarning`. Pass an 351open file object, to control how the file is opened. The *compresslevel* 352parameter becomes keyword-only. 353 354.. 355 356.. bpo: 39353 357.. date: 2020-01-16-10-21-48 358.. nonce: ntp7Ql 359.. section: Library 360 361Deprecate binhex4 and hexbin4 standards. Deprecate the :mod:`binhex` module 362and the following :mod:`binascii` functions: :func:`~binascii.b2a_hqx`, 363:func:`~binascii.a2b_hqx`, :func:`~binascii.rlecode_hqx`, 364:func:`~binascii.rledecode_hqx`, :func:`~binascii.crc_hqx`. 365 366.. 367 368.. bpo: 39351 369.. date: 2020-01-16-09-27-28 370.. nonce: a-FQdv 371.. section: Library 372 373Remove ``base64.encodestring()`` and ``base64.decodestring()``, aliases 374deprecated since Python 3.1: use :func:`base64.encodebytes` and 375:func:`base64.decodebytes` instead. 376 377.. 378 379.. bpo: 39350 380.. date: 2020-01-16-09-15-40 381.. nonce: ZQx0uY 382.. section: Library 383 384Remove ``fractions.gcd()`` function, deprecated since Python 3.5 385(:issue:`22486`): use :func:`math.gcd` instead. 386 387.. 388 389.. bpo: 39329 390.. date: 2020-01-14-22-16-07 391.. nonce: 6OKGBn 392.. section: Library 393 394:class:`~smtplib.LMTP` constructor now has an optional *timeout* parameter. 395Patch by Dong-hee Na. 396 397.. 398 399.. bpo: 39313 400.. date: 2020-01-12-18-17-00 401.. nonce: DCTsnm 402.. section: Library 403 404Add a new ``exec_function`` option (*--exec-function* in the CLI) to 405``RefactoringTool`` for making ``exec`` a function. Patch by Batuhan 406Taskaya. 407 408.. 409 410.. bpo: 39259 411.. date: 2020-01-12-17-19-40 412.. nonce: iax06r 413.. section: Library 414 415:class:`~ftplib.FTP_TLS` and :class:`~ftplib.FTP_TLS` now raise a 416:class:`ValueError` if the given timeout for their constructor is zero to 417prevent the creation of a non-blocking socket. Patch by Dong-hee Na. 418 419.. 420 421.. bpo: 39259 422.. date: 2020-01-12-16-34-28 423.. nonce: J_yBVq 424.. section: Library 425 426:class:`~smtplib.SMTP` and :class:`~smtplib.SMTP_SSL` now raise a 427:class:`ValueError` if the given timeout for their constructor is zero to 428prevent the creation of a non-blocking socket. Patch by Dong-hee Na. 429 430.. 431 432.. bpo: 39310 433.. date: 2020-01-12-13-34-42 434.. nonce: YMRdcj 435.. section: Library 436 437Add :func:`math.ulp`: return the value of the least significant bit of a 438float. 439 440.. 441 442.. bpo: 39297 443.. date: 2020-01-11-01-15-37 444.. nonce: y98Z6Q 445.. section: Library 446 447Improved performance of importlib.metadata distribution discovery and 448resilients to inaccessible sys.path entries (importlib_metadata v1.4.0). 449 450.. 451 452.. bpo: 39259 453.. date: 2020-01-11-00-32-45 454.. nonce: _S5VjC 455.. section: Library 456 457:class:`~nntplib.NNTP` and :class:`~nntplib.NNTP_SSL` now raise a 458:class:`ValueError` if the given timeout for their constructor is zero to 459prevent the creation of a non-blocking socket. Patch by Dong-hee Na. 460 461.. 462 463.. bpo: 38901 464.. date: 2020-01-10-22-30-48 465.. nonce: OdVIIb 466.. section: Library 467 468When you specify prompt='.' or equivalently python -m venv --prompt . ... 469the basename of the current directory is used to set the created venv's 470prompt when it's activated. 471 472.. 473 474.. bpo: 39288 475.. date: 2020-01-10-16-52-09 476.. nonce: IB-aQX 477.. section: Library 478 479Add :func:`math.nextafter`: return the next floating-point value after *x* 480towards *y*. 481 482.. 483 484.. bpo: 39259 485.. date: 2020-01-09-10-58-58 486.. nonce: RmDgCC 487.. section: Library 488 489:class:`~poplib.POP3` and :class:`~poplib.POP3_SSL` now raise a 490:class:`ValueError` if the given timeout for their constructor is zero to 491prevent the creation of a non-blocking socket. Patch by Dong-hee Na. 492 493.. 494 495.. bpo: 39242 496.. date: 2020-01-08-23-25-27 497.. nonce: bnL65N 498.. section: Library 499 500Updated the Gmane domain from news.gmane.org to news.gmane.io which is used 501for examples of :class:`~nntplib.NNTP` news reader server and nntplib tests. 502 503.. 504 505.. bpo: 35292 506.. date: 2020-01-08-14-39-19 507.. nonce: ihRT1z 508.. section: Library 509 510Proxy the `SimpleHTTPRequestHandler.guess_type` to `mimetypes.guess_type` so 511the `mimetypes.init` is called lazily to avoid unnecessary costs when 512:mod:`http.server` module is imported. 513 514.. 515 516.. bpo: 39239 517.. date: 2020-01-07-01-02-44 518.. nonce: r7vecs 519.. section: Library 520 521The :meth:`select.epoll.unregister` method no longer ignores the 522:data:`~errno.EBADF` error. 523 524.. 525 526.. bpo: 38907 527.. date: 2020-01-06-02-14-38 528.. nonce: F1RkCR 529.. section: Library 530 531In http.server script, restore binding to IPv4 on Windows. 532 533.. 534 535.. bpo: 39152 536.. date: 2020-01-03-18-02-50 537.. nonce: JgPjCC 538.. section: Library 539 540Fix ttk.Scale.configure([name]) to return configuration tuple for name or 541all options. Giovanni Lombardo contributed part of the patch. 542 543.. 544 545.. bpo: 39198 546.. date: 2020-01-02-20-21-03 547.. nonce: nzwGyG 548.. section: Library 549 550If an exception were to be thrown in `Logger.isEnabledFor` (say, by asyncio 551timeouts or stopit) , the `logging` global lock may not be released 552appropriately, resulting in deadlock. This change wraps that block of code 553with `try...finally` to ensure the lock is released. 554 555.. 556 557.. bpo: 39191 558.. date: 2020-01-02-17-28-03 559.. nonce: ur_scy 560.. section: Library 561 562Perform a check for running loop before starting a new task in 563``loop.run_until_complete()`` to fail fast; it prevents the side effect of 564new task spawning before exception raising. 565 566.. 567 568.. bpo: 38871 569.. date: 2020-01-01-18-44-52 570.. nonce: 3EEOLg 571.. section: Library 572 573Correctly parenthesize filter-based statements that contain lambda 574expressions in mod:`lib2to3`. Patch by Dong-hee Na. 575 576.. 577 578.. bpo: 39142 579.. date: 2019-12-31-19-27-23 580.. nonce: oqU5iD 581.. section: Library 582 583A change was made to logging.config.dictConfig to avoid converting instances 584of named tuples to ConvertingTuple. It's assumed that named tuples are too 585specialised to be treated like ordinary tuples; if a user of named tuples 586requires ConvertingTuple functionality, they will have to implement that 587themselves in their named tuple class. 588 589.. 590 591.. bpo: 39158 592.. date: 2019-12-29-15-44-38 593.. nonce: cxVoOR 594.. section: Library 595 596ast.literal_eval() now supports empty sets. 597 598.. 599 600.. bpo: 39129 601.. date: 2019-12-24-10-43-13 602.. nonce: jVx5rW 603.. section: Library 604 605Fix import path for ``asyncio.TimeoutError`` 606 607.. 608 609.. bpo: 39057 610.. date: 2019-12-15-21-47-54 611.. nonce: FOxn-w 612.. section: Library 613 614:func:`urllib.request.proxy_bypass_environment` now ignores leading dots and 615no longer ignores a trailing newline. 616 617.. 618 619.. bpo: 39056 620.. date: 2019-12-15-21-05-16 621.. nonce: nEfUM9 622.. section: Library 623 624Fixed handling invalid warning category in the -W option. No longer import 625the re module if it is not needed. 626 627.. 628 629.. bpo: 39055 630.. date: 2019-12-15-19-23-23 631.. nonce: FmN3un 632.. section: Library 633 634:func:`base64.b64decode` with ``validate=True`` raises now a binascii.Error 635if the input ends with a single ``\n``. 636 637.. 638 639.. bpo: 21600 640.. date: 2019-12-14-14-38-40 641.. nonce: kC4Cgh 642.. section: Library 643 644Fix :func:`mock.patch.stopall` to stop active patches that were created with 645:func:`mock.patch.dict`. 646 647.. 648 649.. bpo: 39019 650.. date: 2019-12-10-21-11-05 651.. nonce: YIlgZ7 652.. section: Library 653 654Implement dummy ``__class_getitem__`` for 655:class:`tempfile.SpooledTemporaryFile`. 656 657.. 658 659.. bpo: 39019 660.. date: 2019-12-10-21-03-34 661.. nonce: i8RpMZ 662.. section: Library 663 664Implement dummy ``__class_getitem__`` for ``subprocess.Popen``, 665``subprocess.CompletedProcess`` 666 667.. 668 669.. bpo: 38914 670.. date: 2019-11-26-23-21-56 671.. nonce: 8l-g-T 672.. section: Library 673 674Adjusted the wording of the warning issued by distutils' ``check`` command 675when the ``author`` and ``maintainer`` fields are supplied but no 676corresponding e-mail field (``author_email`` or ``maintainer_email``) is 677found. The wording now reflects the fact that these fields are suggested, 678but not required. Patch by Juergen Gmach. 679 680.. 681 682.. bpo: 38878 683.. date: 2019-11-22-12-08-52 684.. nonce: EJ0cFf 685.. section: Library 686 687Fixed __subclasshook__ of :class:`os.PathLike` to return a correct result 688upon inheritance. Patch by Bar Harel. 689 690.. 691 692.. bpo: 38615 693.. date: 2019-11-17-17-32-35 694.. nonce: OVyaNX 695.. section: Library 696 697:class:`~imaplib.IMAP4` and :class:`~imaplib.IMAP4_SSL` now have an optional 698*timeout* parameter for their constructors. Also, the 699:meth:`~imaplib.IMAP4.open` method now has an optional *timeout* parameter 700with this change. The overridden methods of :class:`~imaplib.IMAP4_SSL` and 701:class:`~imaplib.IMAP4_stream` were applied to this change. Patch by 702Dong-hee Na. 703 704.. 705 706.. bpo: 35182 707.. date: 2019-10-31-19-23-25 708.. nonce: hzeNl9 709.. section: Library 710 711Fixed :func:`Popen.communicate` subsequent call crash when the child process 712has already closed any piped standard stream, but still continues to be 713running. Patch by Andriy Maletsky. 714 715.. 716 717.. bpo: 38630 718.. date: 2019-10-29-12-21-10 719.. nonce: Dv6Xrm 720.. section: Library 721 722On Unix, :meth:`subprocess.Popen.send_signal` now polls the process status. 723Polling reduces the risk of sending a signal to the wrong process if the 724process completed, the :attr:`subprocess.Popen.returncode` attribute is 725still ``None``, and the pid has been reassigned (recycled) to a new 726different process. 727 728.. 729 730.. bpo: 38536 731.. date: 2019-10-21-20-24-51 732.. nonce: beZ0Sk 733.. section: Library 734 735Removes trailing space in formatted currency with `international=True` and a 736locale with symbol following value. E.g. `locale.currency(12.34, 737international=True)` returned `'12,34 EUR '` instead of `'12,34 EUR'`. 738 739.. 740 741.. bpo: 38473 742.. date: 2019-10-14-21-14-55 743.. nonce: uXpVld 744.. section: Library 745 746Use signature from inner mock for autospecced methods attached with 747:func:`unittest.mock.attach_mock`. Patch by Karthikeyan Singaravelan. 748 749.. 750 751.. bpo: 38361 752.. date: 2019-10-04-09-49-56 753.. nonce: LM4u4T 754.. section: Library 755 756Fixed an issue where ``ident`` could include a leading path separator when 757:func:`syslog.openlog` was called without arguments. 758 759.. 760 761.. bpo: 38293 762.. date: 2019-09-29-08-17-03 763.. nonce: wls5s3 764.. section: Library 765 766Add :func:`copy.copy` and :func:`copy.deepcopy` support to :func:`property` 767objects. 768 769.. 770 771.. bpo: 37958 772.. date: 2019-08-27-03-57-25 773.. nonce: lRORI3 774.. section: Library 775 776Added the pstats.Stats.get_profile_dict() method to return the profile data 777as a StatsProfile instance. 778 779.. 780 781.. bpo: 28367 782.. date: 2019-05-06-22-38-47 783.. nonce: 2AKen5 784.. section: Library 785 786Termios magic constants for the following baud rates: - B500000 - 787B576000 - B921600 - B1000000 - B1152000 - B1500000 - B2000000 - 788B2500000 - B3000000 - B3500000 - B4000000 Patch by Andrey Smirnov 789 790.. 791 792.. bpo: 39381 793.. date: 2020-01-18-15-37-56 794.. nonce: wTWe8d 795.. section: Documentation 796 797Mention in docs that :func:`asyncio.get_event_loop` implicitly creates new 798event loop only if called from the main thread. 799 800.. 801 802.. bpo: 38918 803.. date: 2019-12-15-22-04-41 804.. nonce: 8JnDTS 805.. section: Documentation 806 807Add an entry for ``__module__`` in the "function" & "method" sections of the 808`inspect docs types and members table 809<https://docs.python.org/3/library/inspect.html#types-and-members>`_ 810 811.. 812 813.. bpo: 3530 814.. date: 2019-11-17-11-53-10 815.. nonce: 8zFUMc 816.. section: Documentation 817 818In the :mod:`ast` module documentation, fix a misleading ``NodeTransformer`` 819example and add advice on when to use the ``fix_missing_locations`` 820function. 821 822.. 823 824.. bpo: 39395 825.. date: 2020-01-23-03-05-13 826.. nonce: RoArIZ 827.. section: Build 828 829On non-Windows platforms, the :c:func:`setenv` and :c:func:`unsetenv` 830functions are now required to build Python. 831 832.. 833 834.. bpo: 39160 835.. date: 2019-12-30-03-54-24 836.. nonce: aBmj13 837.. section: Build 838 839Updated the documentation in `./configure --help` to show default values, 840reference documentation where required and add additional explanation where 841needed. 842 843.. 844 845.. bpo: 39144 846.. date: 2019-12-27-22-18-26 847.. nonce: dwHMlR 848.. section: Build 849 850The ctags and etags build targets both include Modules/_ctypes and Python 851standard library source files. 852 853.. 854 855.. bpo: 39050 856.. date: 2020-01-22-22-28-06 857.. nonce: zkn0FO 858.. section: IDLE 859 860Make IDLE Settings dialog Help button work again. 861 862.. 863 864.. bpo: 34118 865.. date: 2019-12-30-16-44-07 866.. nonce: FaNW0a 867.. section: IDLE 868 869Tag memoryview, range, and tuple as classes, the same as list, etcetera, in 870the library manual built-in functions list. 871 872.. 873 874.. bpo: 32989 875.. date: 2018-03-03-12-56-26 876.. nonce: FVhmhH 877.. section: IDLE 878 879Add tests for editor newline_and_indent_event method. Remove dead code from 880pyparse find_good_parse_start method. 881 882.. 883 884.. bpo: 39372 885.. date: 2020-01-17-19-25-48 886.. nonce: hGJMY6 887.. section: C API 888 889Clean header files of interfaces defined but with no implementation. The 890public API symbols being removed are: 891``_PyBytes_InsertThousandsGroupingLocale``, 892``_PyBytes_InsertThousandsGrouping``, ``_Py_InitializeFromArgs``, 893``_Py_InitializeFromWideArgs``, ``_PyFloat_Repr``, ``_PyFloat_Digits``, 894``_PyFloat_DigitsInit``, ``PyFrame_ExtendStack``, ``_PyAIterWrapper_Type``, 895``PyNullImporter_Type``, ``PyCmpWrapper_Type``, ``PySortWrapper_Type``, 896``PyNoArgsFunction``. 897 898.. 899 900.. bpo: 39164 901.. date: 2019-12-30-10-43-52 902.. nonce: WEV0uu 903.. section: C API 904 905Add a private ``_PyErr_GetExcInfo()`` function to retrieve exception 906information of the specified Python thread state. 907