diff --git "a/cpython_chunk_15.py" "b/cpython_chunk_15.py"
new file mode 100644--- /dev/null
+++ "b/cpython_chunk_15.py"
@@ -0,0 +1,16479 @@
+# Auto-generated from cpython_chunk_15.txt
+
+TEXT_DATA = r"""
+.. date: 2022-12-05-01-39-10
+.. gh-issue: 100001
+.. nonce: uD05Fc
+.. release date: 2022-12-06
+.. section: Security
+``python -m http.server`` no longer allows terminal control characters sent
+within a garbage request to be printed to the stderr server log.
+This is done by changing the :mod:`http.server`
+:class:`BaseHTTPRequestHandler` ``.log_message`` method to replace control
+characters with a :samp:`\\x{HH}` hex escape before printing.
+..
+.. date: 2022-11-11-12-50-28
+.. gh-issue: 87604
+.. nonce: OtwH5L
+.. section: Security
+Avoid publishing list of active per-interpreter audit hooks via the
+:mod:`gc` module
+..
+.. date: 2022-11-30-11-09-40
+.. gh-issue: 99891
+.. nonce: 9VomwB
+.. section: Core and Builtins
+Fix a bug in the tokenizer that could cause infinite recursion when showing
+syntax warnings that happen in the first line of the source. Patch by Pablo
+Galindo
+..
+.. date: 2022-11-27-13-50-13
+.. gh-issue: 91054
+.. nonce: oox_kW
+.. section: Core and Builtins
+Add :c:func:`PyCode_AddWatcher` and :c:func:`PyCode_ClearWatcher` APIs to
+register callbacks to receive notification on creation and destruction of
+code objects.
+..
+.. date: 2022-11-26-04-00-41
+.. gh-issue: 99729
+.. nonce: A3ovwQ
+.. section: Core and Builtins
+Fix an issue that could cause frames to be visible to Python code as they
+are being torn down, possibly leading to memory corruption or hard crashes
+of the interpreter.
+..
+.. date: 2022-11-23-18-16-18
+.. gh-issue: 99708
+.. nonce: 7MuaiR
+.. section: Core and Builtins
+Fix bug where compiler crashes on an if expression with an empty body block.
+..
+.. date: 2022-11-21-11-27-14
+.. gh-issue: 99578
+.. nonce: DcKoBJ
+.. section: Core and Builtins
+Fix a reference bug in :func:`!_imp.create_builtin` after the creation of
+the first sub-interpreter for modules ``builtins`` and ``sys``. Patch by
+Victor Stinner.
+..
+.. date: 2022-11-19-22-27-52
+.. gh-issue: 99581
+.. nonce: yKYPbf
+.. section: Core and Builtins
+Fixed a bug that was causing a buffer overflow if the tokenizer copies a
+line missing the newline character from a file that is as long as the
+available tokenizer buffer. Patch by Pablo galindo
+..
+.. date: 2022-11-18-11-24-25
+.. gh-issue: 99553
+.. nonce: F64h-n
+.. section: Core and Builtins
+Fix bug where an :exc:`ExceptionGroup` subclass can wrap a
+:exc:`BaseException`.
+..
+.. date: 2022-11-16-21-35-30
+.. gh-issue: 99547
+.. nonce: p_c_bp
+.. section: Library
+Add a function to os.path to check if a path is a junction: isjunction. Add
+similar functionality to pathlib.Path as is_junction.
+..
+.. date: 2022-11-12-01-39-57
+.. gh-issue: 99370
+.. nonce: _cu32j
+.. section: Library
+Fix zip path for venv created from a non-installed python on POSIX
+platforms.
+..
+.. date: 2022-11-11-14-04-01
+.. gh-issue: 99377
+.. nonce: -CJvWn
+.. section: Core and Builtins
+Add audit events for thread creation and clear operations.
+..
+.. date: 2022-11-10-17-09-16
+.. gh-issue: 98686
+.. nonce: bmAKwr
+.. section: Core and Builtins
+Remove the ``BINARY_OP_GENERIC`` and ``COMPARE_OP_GENERIC``
+"specializations".
+..
+.. date: 2022-11-10-16-53-40
+.. gh-issue: 99298
+.. nonce: HqRJES
+.. section: Core and Builtins
+Remove the remaining error paths for attribute specializations, and refuse
+to specialize attribute accesses on types that haven't had
+:c:func:`PyType_Ready` called on them yet.
+..
+.. date: 2022-11-05-22-26-35
+.. gh-issue: 99127
+.. nonce: Btk7ih
+.. section: Core and Builtins
+Allow some features of :mod:`syslog` to the main interpreter only. Patch by
+Donghee Na.
+..
+.. date: 2022-10-05-11-44-52
+.. gh-issue: 91053
+.. nonce: f5Bo3p
+.. section: Core and Builtins
+Optimizing interpreters and JIT compilers may need to invalidate internal
+metadata when functions are modified. This change adds the ability to
+provide a callback that will be invoked each time a function is created,
+modified, or destroyed.
+..
+.. date: 2022-09-17-17-08-01
+.. gh-issue: 90994
+.. nonce: f0H2Yd
+.. section: Core and Builtins
+Improve error messages when there's a syntax error with call arguments. The
+following three cases are covered: - No value is assigned to a named
+argument, eg ``foo(a=)``. - A value is assigned to a star argument, eg
+``foo(*args=[0])``. - A value is assigned to a double-star keyword argument,
+eg ``foo(**kwarg={'a': 0})``.
+..
+.. bpo: 45026
+.. date: 2021-08-29-15-55-19
+.. nonce: z7nTA3
+.. section: Core and Builtins
+Optimize the :class:`range` object iterator. It is now smaller, faster
+iteration of ranges containing large numbers. Smaller pickles, faster
+unpickling.
+..
+.. bpo: 31718
+.. date: 2020-02-23-23-48-15
+.. nonce: sXko5e
+.. section: Core and Builtins
+Raise :exc:`ValueError` instead of :exc:`SystemError` when methods of
+uninitialized :class:`io.IncrementalNewlineDecoder` objects are called.
+Patch by Oren Milman.
+..
+.. bpo: 38031
+.. date: 2019-09-04-19-09-49
+.. nonce: Yq4L72
+.. section: Core and Builtins
+Fix a possible assertion failure in :class:`io.FileIO` when the opener
+returns an invalid file descriptor.
+..
+.. date: 2022-12-05-13-40-15
+.. gh-issue: 100001
+.. nonce: 78ReYp
+.. section: Library
+Also \ escape \s in the http.server BaseHTTPRequestHandler.log_message so
+that it is technically possible to parse the line and reconstruct what the
+original data was. Without this a \xHH is ambiguous as to if it is a hex
+replacement we put in or the characters r"\x" came through in the original
+request line.
+..
+.. date: 2022-12-03-05-58-48
+.. gh-issue: 99957
+.. nonce: jLYYgN
+.. section: Library
+Add ``frozen_default`` parameter to :func:`typing.dataclass_transform`.
+..
+.. date: 2022-11-22-19-31-26
+.. gh-issue: 79033
+.. nonce: MW6kHq
+.. section: Library
+Fix :func:`asyncio.Server.wait_closed` to actually do what the docs promise
+-- wait for all existing connections to complete, after closing the server.
+..
+.. date: 2022-11-21-17-56-18
+.. gh-issue: 51524
+.. nonce: nTykx8
+.. section: Library
+Fix bug when calling trace.CoverageResults with valid infile.
+..
+.. date: 2022-11-21-13-49-03
+.. gh-issue: 99645
+.. nonce: 9w1QKq
+.. section: Library
+Fix a bug in handling class cleanups in :class:`unittest.TestCase`. Now
+``addClassCleanup()`` uses separate lists for different ``TestCase``
+subclasses, and ``doClassCleanups()`` only cleans up the particular class.
+..
+.. date: 2022-11-21-10-45-54
+.. gh-issue: 99508
+.. nonce: QqVbby
+.. section: Library
+Fix ``TypeError`` in ``Lib/importlib/_bootstrap_external.py`` while calling
+``_imp.source_hash()``.
+..
+.. date: 2022-11-17-10-56-47
+.. gh-issue: 66285
+.. nonce: KvjlaB
+.. section: Library
+Fix :mod:`asyncio` to not share event loop and signal wakeupfd in forked
+processes. Patch by Kumar Aditya.
+..
+.. date: 2022-11-15-10-55-24
+.. gh-issue: 97001
+.. nonce: KeQuVF
+.. section: Library
+Release the GIL when calling termios APIs to avoid blocking threads.
+..
+.. date: 2022-11-15-04-08-25
+.. gh-issue: 92647
+.. nonce: cZcjnJ
+.. section: Library
+Use final status of an enum to determine lookup or creation branch of
+functional API.
+..
+.. date: 2022-11-14-08-21-56
+.. gh-issue: 99388
+.. nonce: UWSlwp
+.. section: Library
+Add *loop_factory* parameter to :func:`asyncio.run` to allow specifying a
+custom event loop factory. Patch by Kumar Aditya.
+..
+.. date: 2022-11-13-02-06-56
+.. gh-issue: 99341
+.. nonce: 8-OlwB
+.. section: Library
+Fix :func:`ast.increment_lineno` to also cover :class:`ast.TypeIgnore` when
+changing line numbers.
+..
+.. date: 2022-11-12-12-15-30
+.. gh-issue: 99382
+.. nonce: dKg_rW
+.. section: Library
+Check the number of arguments in substitution in user generics containing a
+:class:`~typing.TypeVarTuple` and one or more :class:`~typing.TypeVar`.
+..
+.. date: 2022-11-12-12-10-23
+.. gh-issue: 99379
+.. nonce: bcGhxF
+.. section: Library
+Fix substitution of :class:`~typing.ParamSpec` followed by
+:class:`~typing.TypeVarTuple` in generic aliases.
+..
+.. date: 2022-11-12-12-08-34
+.. gh-issue: 99344
+.. nonce: 7M_u8G
+.. section: Library
+Fix substitution of :class:`~typing.TypeVarTuple` and
+:class:`~typing.ParamSpec` together in user generics.
+..
+.. date: 2022-11-09-12-36-12
+.. gh-issue: 99284
+.. nonce: 9p4J2l
+.. section: Library
+Remove ``_use_broken_old_ctypes_structure_semantics_`` old untested and
+undocumented hack from :mod:`ctypes`.
+..
+.. date: 2022-11-09-03-34-29
+.. gh-issue: 99201
+.. nonce: lDJ7xI
+.. section: Library
+Fix :exc:`IndexError` when initializing the config variables on Windows if
+``HAVE_DYNAMIC_LOADING`` is not set.
+..
+.. date: 2022-11-08-15-54-43
+.. gh-issue: 99240
+.. nonce: MhYwcz
+.. section: Library
+Fix double-free bug in Argument Clinic ``str_converter`` by extracting
+memory clean up to a new ``post_parsing`` section.
+..
+.. date: 2022-11-08-11-18-51
+.. gh-issue: 64490
+.. nonce: VcBgrN
+.. section: Library
+Fix refcount error when arguments are packed to tuple in Argument Clinic.
+..
+.. date: 2022-11-02-23-47-07
+.. gh-issue: 99029
+.. nonce: 7uCiIB
+.. section: Library
+:meth:`pathlib.PurePath.relative_to` now treats naked Windows drive paths
+as relative. This brings its behaviour in line with other parts of pathlib.
+..
+.. date: 2022-10-24-11-01-05
+.. gh-issue: 98253
+.. nonce: HVd5v4
+.. section: Library
+The implementation of the typing module is now more resilient to reference
+leaks in binary extension modules.
+Previously, a reference leak in a typed C API-based extension module could
+leak internals of the typing module, which could in turn introduce leaks in
+essentially any other package with typed function signatures. Although the
+typing package is not the original source of the problem, such non-local
+dependences exacerbate debugging of large-scale projects, and the
+implementation was therefore changed to reduce harm by providing better
+isolation.
+..
+.. date: 2022-10-19-18-31-53
+.. gh-issue: 98458
+.. nonce: vwyq7O
+.. section: Library
+Fix infinite loop in unittest when a self-referencing chained exception is
+raised
+..
+.. date: 2022-10-19-13-37-23
+.. gh-issue: 93453
+.. nonce: wTB_sH
+.. section: Library
+:func:`asyncio.get_event_loop` and many other :mod:`asyncio` functions like
+:func:`asyncio.ensure_future`, :func:`asyncio.shield` or
+:func:`asyncio.gather`, and also the
+:meth:`~asyncio.BaseDefaultEventLoopPolicy.get_event_loop` method of
+:class:`asyncio.BaseDefaultEventLoopPolicy` now raise a :exc:`RuntimeError`
+if called when there is no running event loop and the current event loop was
+not set. Previously they implicitly created and set a new current event
+loop. :exc:`DeprecationWarning` is no longer emitted if there is no running
+event loop but the current event loop was set.
+..
+.. date: 2022-10-16-18-52-00
+.. gh-issue: 97966
+.. nonce: humlhz
+.. section: Library
+On ``uname_result``, restored expectation that ``_fields`` and ``_asdict``
+would include all six properties including ``processor``.
+..
+.. date: 2022-10-13-22-13-54
+.. gh-issue: 98248
+.. nonce: lwyygy
+.. section: Library
+Provide informative error messages in :func:`struct.pack` when its integral
+arguments are not in range.
+..
+.. date: 2022-10-08-19-20-33
+.. gh-issue: 98108
+.. nonce: WUObqM
+.. section: Library
+``zipfile.Path`` is now pickleable if its initialization parameters were
+pickleable (e.g. for file system paths).
+..
+.. date: 2022-10-08-15-41-00
+.. gh-issue: 98098
+.. nonce: DugpWi
+.. section: Library
+Created packages from zipfile and test_zipfile modules, separating
+``zipfile.Path`` functionality.
+..
+.. date: 2022-10-02-12-38-22
+.. gh-issue: 82836
+.. nonce: OvYLmC
+.. section: Library
+Fix :attr:`~ipaddress.IPv4Address.is_private` properties in the
+:mod:`ipaddress` module. Previously non-private networks (0.0.0.0/0) would
+return ``True`` from this method; now they correctly return ``False``.
+..
+.. date: 2022-09-14-21-56-15
+.. gh-issue: 96828
+.. nonce: ZoOY5G
+.. section: Library
+Add an :const:`~ssl.OP_ENABLE_KTLS` option for enabling the use of the kernel
+TLS (kTLS). Patch by Illia Volochii.
+..
+.. date: 2022-08-06-12-18-07
+.. gh-issue: 88863
+.. nonce: NnqsuJ
+.. section: Library
+To avoid apparent memory leaks when :func:`asyncio.open_connection` raises,
+break reference cycles generated by local exception and future instances
+(which has exception instance as its member var). Patch by Dong Uk, Kang.
+..
+.. date: 2022-04-23-03-46-37
+.. gh-issue: 91078
+.. nonce: 87-hkp
+.. section: Library
+:meth:`TarFile.next` now returns ``None`` when called on an empty tarfile.
+..
+.. bpo: 47220
+.. date: 2022-04-04-22-54-11
+.. nonce: L9jYu4
+.. section: Library
+Document the optional *callback* parameter of :class:`WeakMethod`. Patch by
+Géry Ogam.
+..
+.. bpo: 44817
+.. date: 2021-08-03-05-31-00
+.. nonce: wOW_Qn
+.. section: Library
+Ignore WinError 53 (ERROR_BAD_NETPATH), 65 (ERROR_NETWORK_ACCESS_DENIED) and
+161 (ERROR_BAD_PATHNAME) when using ntpath.realpath().
+..
+.. bpo: 41260
+.. date: 2020-08-02-23-46-22
+.. nonce: Q2BNzY
+.. section: Library
+Rename the *fmt* parameter of the pure Python implementation of
+:meth:`datetime.date.strftime` to *format*.
+..
+.. bpo: 15999
+.. date: 2019-08-30-10-48-53
+.. nonce: QqsRRi
+.. section: Library
+All built-in functions now accept arguments of any type instead of just
+``bool`` and ``int`` for boolean parameters.
+..
+.. date: 2022-12-02-17-08-08
+.. gh-issue: 99931
+.. nonce: wC46hE
+.. section: Documentation
+Use `sphinxext-opengraph `__ to
+generate `OpenGraph metadata `__.
+..
+.. date: 2022-11-26-21-43-05
+.. gh-issue: 89682
+.. nonce: DhKoTM
+.. section: Documentation
+Reworded docstring of the default ``__contains__`` to clarify that it
+returns a :class:`bool`.
+..
+.. date: 2022-11-26-15-51-23
+.. gh-issue: 88330
+.. nonce: B_wFq8
+.. section: Documentation
+Improved the description of what a resource is in importlib.resources docs.
+..
+.. date: 2022-11-16-12-52-23
+.. gh-issue: 92892
+.. nonce: TS-P0j
+.. section: Documentation
+Document that calling variadic functions with ctypes requires special care
+on macOS/arm64 (and possibly other platforms).
+..
+.. bpo: 41825
+.. date: 2020-09-22-12-32-16
+.. nonce: npcaCb
+.. section: Documentation
+Restructured the documentation for the :func:`os.wait* ` family of
+functions, and improved the docs for :func:`os.waitid` with more explanation
+of the possible argument constants.
+..
+.. date: 2022-12-05-16-12-56
+.. gh-issue: 99892
+.. nonce: sz_eW8
+.. section: Tests
+Skip test_normalization() of test_unicodedata if it fails to download
+NormalizationTest.txt file from pythontest.net. Patch by Victor Stinner.
+..
+.. date: 2022-12-01-18-55-18
+.. gh-issue: 99934
+.. nonce: Ox3Fqf
+.. section: Tests
+Correct test_marsh on (32 bit) x86: test_deterministic sets was failing.
+..
+.. date: 2022-11-23-18-32-16
+.. gh-issue: 99741
+.. nonce: q4R7NH
+.. section: Tests
+We've implemented multi-phase init (PEP 489/630/687) for the internal (for
+testing) _xxsubinterpreters module.
+..
+.. date: 2022-11-21-19-21-30
+.. gh-issue: 99659
+.. nonce: 4gP0nm
+.. section: Tests
+Optional big memory tests in ``test_sqlite3`` now catch the correct
+:exc:`sqlite.DataError` exception type in case of too large strings and/or
+blobs passed.
+..
+.. date: 2022-11-19-13-34-28
+.. gh-issue: 99593
+.. nonce: 8ZfCkj
+.. section: Tests
+Cover the Unicode C API with tests.
+..
+.. date: 2022-08-22-15-49-14
+.. gh-issue: 96002
+.. nonce: 4UE9UE
+.. section: Tests
+Add functional test for Argument Clinic.
+..
+.. date: 2022-11-24-02-58-10
+.. gh-issue: 99086
+.. nonce: DV_4Br
+.. section: Build
+Fix ``-Wimplicit-int``, ``-Wstrict-prototypes``, and
+``-Wimplicit-function-declaration`` compiler warnings in
+:program:`configure` checks.
+..
+.. date: 2022-11-15-08-40-22
+.. gh-issue: 99337
+.. nonce: 5LoQDE
+.. section: Build
+Fix a compilation issue with GCC 12 on macOS.
+..
+.. date: 2022-11-09-14-42-48
+.. gh-issue: 99289
+.. nonce: X7wFE1
+.. section: Build
+Add a ``COMPILEALL_OPTS`` variable in Makefile to override :mod:`compileall`
+options (default: ``-j0``) in ``make install``. Also merged the
+``compileall`` commands into a single command building .pyc files for the
+all optimization levels (0, 1, 2) at once. Patch by Victor Stinner.
+..
+.. date: 2022-11-03-08-10-49
+.. gh-issue: 98872
+.. nonce: gdsR8X
+.. section: Build
+Fix a possible fd leak in ``Programs/_freeze_module.c`` introduced in Python
+3.11.
+..
+.. date: 2022-10-16-12-49-24
+.. gh-issue: 88226
+.. nonce: BsnQ4k
+.. section: Build
+Always define ``TARGET_*`` labels in ``Python/ceval.c``, even if
+``USE_COMPUTED_GOTOS`` is disabled. This allows breakpoints to be set at
+those labels in (for instance) ``gdb``.
+..
+.. date: 2022-11-23-17-17-16
+.. gh-issue: 99345
+.. nonce: jOa3-f
+.. section: Windows
+Use faster initialization functions to detect install location for Windows
+Store package
+..
+.. date: 2022-11-21-19-50-18
+.. gh-issue: 98629
+.. nonce: tMmB_B
+.. section: Windows
+Fix initialization of :data:`sys.version` and ``sys._git`` on Windows
+..
+.. date: 2022-11-16-19-03-21
+.. gh-issue: 99442
+.. nonce: 6Dgk3Q
+.. section: Windows
+Fix handling in :ref:`launcher` when ``argv[0]`` does not include a file
+extension.
+..
+.. bpo: 40882
+.. date: 2020-06-06-15-10-37
+.. nonce: UvNbdj
+.. section: Windows
+Fix a memory leak in :class:`multiprocessing.shared_memory.SharedMemory` on
+Windows.
+..
+.. date: 2022-11-25-09-23-20
+.. gh-issue: 87235
+.. nonce: SifjCD
+.. section: macOS
+On macOS ``python3 /dev/fd/9 9 if it does not exist.
+..
+.. bpo: 25677
+.. date: 0415
+.. nonce: RWhZrb
+.. section: Core and Builtins
+Correct the positioning of the syntax error caret for indented blocks. Based
+on patch by Michael Layzell.
+..
+.. bpo: 29000
+.. date: 0414
+.. nonce: K6wQ-3
+.. section: Core and Builtins
+Fixed bytes formatting of octals with zero padding in alternate form.
+..
+.. bpo: 18896
+.. date: 0413
+.. nonce: Pqe0bg
+.. section: Core and Builtins
+Python function can now have more than 255 parameters.
+collections.namedtuple() now supports tuples with more than 255 elements.
+..
+.. bpo: 28596
+.. date: 0412
+.. nonce: snIJRd
+.. section: Core and Builtins
+The preferred encoding is UTF-8 on Android. Patch written by Chi Hsuan Yen.
+..
+.. bpo: 22257
+.. date: 0411
+.. nonce: 2a8zxB
+.. section: Core and Builtins
+Clean up interpreter startup (see :pep:`432`).
+..
+.. bpo: 26919
+.. date: 0410
+.. nonce: Cm7MSa
+.. section: Core and Builtins
+On Android, operating system data is now always encoded/decoded to/from
+UTF-8, instead of the locale encoding to avoid inconsistencies with
+os.fsencode() and os.fsdecode() which are already using UTF-8.
+..
+.. bpo: 28991
+.. date: 0409
+.. nonce: lGA0FK
+.. section: Core and Builtins
+functools.lru_cache() was susceptible to an obscure reentrancy bug
+triggerable by a monkey-patched len() function.
+..
+.. bpo: 28147
+.. date: 0408
+.. nonce: CnK_xf
+.. section: Core and Builtins
+Fix a memory leak in split-table dictionaries: setattr() must not convert
+combined table into split table. Patch written by INADA Naoki.
+..
+.. bpo: 28739
+.. date: 0407
+.. nonce: w1fvhk
+.. section: Core and Builtins
+f-string expressions are no longer accepted as docstrings and by
+ast.literal_eval() even if they do not include expressions.
+..
+.. bpo: 28512
+.. date: 0406
+.. nonce: i-pv6d
+.. section: Core and Builtins
+Fixed setting the offset attribute of SyntaxError by
+PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject().
+..
+.. bpo: 28918
+.. date: 0405
+.. nonce: SFVuPz
+.. section: Core and Builtins
+Fix the cross compilation of xxlimited when Python has been built with
+Py_DEBUG defined.
+..
+.. bpo: 23722
+.. date: 0404
+.. nonce: e8BH5h
+.. section: Core and Builtins
+Rather than silently producing a class that doesn't support zero-argument
+``super()`` in methods, failing to pass the new ``__classcell__`` namespace
+entry up to ``type.__new__`` now results in a ``DeprecationWarning`` and a
+class that supports zero-argument ``super()``.
+..
+.. bpo: 28797
+.. date: 0403
+.. nonce: _A0_Z5
+.. section: Core and Builtins
+Modifying the class __dict__ inside the __set_name__ method of a descriptor
+that is used inside that class no longer prevents calling the __set_name__
+method of other descriptors.
+..
+.. bpo: 28799
+.. date: 0402
+.. nonce: cP6V1N
+.. section: Core and Builtins
+Remove the ``PyEval_GetCallStats()`` function and deprecate the untested and
+undocumented ``sys.callstats()`` function. Remove the ``CALL_PROFILE``
+special build: use the :func:`sys.setprofile` function, :mod:`!cProfile` or
+:mod:`!profile` to profile function calls.
+..
+.. bpo: 12844
+.. date: 0401
+.. nonce: pdr3gY
+.. section: Core and Builtins
+More than 255 arguments can now be passed to a function.
+..
+.. bpo: 28782
+.. date: 0400
+.. nonce: foJV_E
+.. section: Core and Builtins
+Fix a bug in the implementation ``yield from`` when checking if the next
+instruction is YIELD_FROM. Regression introduced by WORDCODE (issue #26647).
+..
+.. bpo: 28774
+.. date: 0399
+.. nonce: cEehAr
+.. section: Core and Builtins
+Fix error position of the unicode error in ASCII and Latin1 encoders when a
+string returned by the error handler contains multiple non-encodable
+characters (non-ASCII for the ASCII codec, characters out of the
+U+0000-U+00FF range for Latin1).
+..
+.. bpo: 28731
+.. date: 0398
+.. nonce: oNF59u
+.. section: Core and Builtins
+Optimize _PyDict_NewPresized() to create correct size dict. Improve speed of
+dict literal with constant keys up to 30%.
+..
+.. bpo: 28532
+.. date: 0397
+.. nonce: KEYJny
+.. section: Core and Builtins
+Show sys.version when -V option is supplied twice.
+..
+.. bpo: 27100
+.. date: 0396
+.. nonce: poVjXq
+.. section: Core and Builtins
+The with-statement now checks for __enter__ before it checks for __exit__.
+This gives less confusing error messages when both methods are missing.
+Patch by Jonathan Ellington.
+..
+.. bpo: 28746
+.. date: 0395
+.. nonce: r5MXdB
+.. section: Core and Builtins
+Fix the set_inheritable() file descriptor method on platforms that do not
+have the ioctl FIOCLEX and FIONCLEX commands.
+..
+.. bpo: 26920
+.. date: 0394
+.. nonce: 1URwGb
+.. section: Core and Builtins
+Fix not getting the locale's charset upon initializing the interpreter, on
+platforms that do not have langinfo.
+..
+.. bpo: 28648
+.. date: 0393
+.. nonce: z7B52W
+.. section: Core and Builtins
+Fixed crash in Py_DecodeLocale() in debug build on Mac OS X when decode
+astral characters. Patch by Xiang Zhang.
+..
+.. bpo: 28665
+.. date: 0392
+.. nonce: v4nx86
+.. section: Core and Builtins
+Improve speed of the STORE_DEREF opcode by 40%.
+..
+.. bpo: 19398
+.. date: 0391
+.. nonce: RYbEGH
+.. section: Core and Builtins
+Extra slash no longer added to sys.path components in case of empty
+compile-time PYTHONPATH components.
+..
+.. bpo: 28621
+.. date: 0390
+.. nonce: eCD7n-
+.. section: Core and Builtins
+Sped up converting int to float by reusing faster bits counting
+implementation. Patch by Adrian Wielgosik.
+..
+.. bpo: 28580
+.. date: 0389
+.. nonce: 8bqBmG
+.. section: Core and Builtins
+Optimize iterating split table values. Patch by Xiang Zhang.
+..
+.. bpo: 28583
+.. date: 0388
+.. nonce: F-QAx1
+.. section: Core and Builtins
+PyDict_SetDefault didn't combine split table when needed. Patch by Xiang
+Zhang.
+..
+.. bpo: 28128
+.. date: 0387
+.. nonce: Lc2sFu
+.. section: Core and Builtins
+Deprecation warning for invalid str and byte escape sequences now prints
+better information about where the error occurs. Patch by Serhiy Storchaka
+and Eric Smith.
+..
+.. bpo: 28509
+.. date: 0386
+.. nonce: _Fa4Uq
+.. section: Core and Builtins
+dict.update() no longer allocate unnecessary large memory.
+..
+.. bpo: 28426
+.. date: 0385
+.. nonce: E_quyK
+.. section: Core and Builtins
+Fixed potential crash in PyUnicode_AsDecodedObject() in debug build.
+..
+.. bpo: 28517
+.. date: 0384
+.. nonce: ExPkm9
+.. section: Core and Builtins
+Fixed of-by-one error in the peephole optimizer that caused keeping
+unreachable code.
+..
+.. bpo: 28214
+.. date: 0383
+.. nonce: 6ECJox
+.. section: Core and Builtins
+Improved exception reporting for problematic __set_name__ attributes.
+..
+.. bpo: 23782
+.. date: 0382
+.. nonce: lonDzj
+.. section: Core and Builtins
+Fixed possible memory leak in _PyTraceback_Add() and exception loss in
+PyTraceBack_Here().
+..
+.. bpo: 28183
+.. date: 0381
+.. nonce: MJZeNd
+.. section: Core and Builtins
+Optimize and cleanup dict iteration.
+..
+.. bpo: 26081
+.. date: 0380
+.. nonce: _x5vjl
+.. section: Core and Builtins
+Added C implementation of asyncio.Future. Original patch by Yury Selivanov.
+..
+.. bpo: 28379
+.. date: 0379
+.. nonce: DuXlco
+.. section: Core and Builtins
+Added sanity checks and tests for PyUnicode_CopyCharacters(). Patch by Xiang
+Zhang.
+..
+.. bpo: 28376
+.. date: 0378
+.. nonce: oPD-5D
+.. section: Core and Builtins
+The type of long range iterator is now registered as Iterator. Patch by Oren
+Milman.
+..
+.. bpo: 28376
+.. date: 0377
+.. nonce: yTEhEo
+.. section: Core and Builtins
+Creating instances of range_iterator by calling range_iterator type now is
+disallowed. Calling iter() on range instance is the only way. Patch by Oren
+Milman.
+..
+.. bpo: 26906
+.. date: 0376
+.. nonce: YBjcwI
+.. section: Core and Builtins
+Resolving special methods of uninitialized type now causes implicit
+initialization of the type instead of a fail.
+..
+.. bpo: 18287
+.. date: 0375
+.. nonce: k6jffS
+.. section: Core and Builtins
+PyType_Ready() now checks that tp_name is not NULL. Original patch by Niklas
+Koep.
+..
+.. bpo: 24098
+.. date: 0374
+.. nonce: XqlP_1
+.. section: Core and Builtins
+Fixed possible crash when AST is changed in process of compiling it.
+..
+.. bpo: 28201
+.. date: 0373
+.. nonce: GWUxAy
+.. section: Core and Builtins
+Dict reduces possibility of 2nd conflict in hash table when hashes have same
+lower bits.
+..
+.. bpo: 28350
+.. date: 0372
+.. nonce: 8M5Eg9
+.. section: Core and Builtins
+String constants with null character no longer interned.
+..
+.. bpo: 26617
+.. date: 0371
+.. nonce: Gh5LvN
+.. section: Core and Builtins
+Fix crash when GC runs during weakref callbacks.
+..
+.. bpo: 27942
+.. date: 0370
+.. nonce: ZGuhns
+.. section: Core and Builtins
+String constants now interned recursively in tuples and frozensets.
+..
+.. bpo: 28289
+.. date: 0369
+.. nonce: l1kHlV
+.. section: Core and Builtins
+ImportError.__init__ now resets not specified attributes.
+..
+.. bpo: 21578
+.. date: 0368
+.. nonce: GI1bhj
+.. section: Core and Builtins
+Fixed misleading error message when ImportError called with invalid keyword
+args.
+..
+.. bpo: 28203
+.. date: 0367
+.. nonce: LRn5vp
+.. section: Core and Builtins
+Fix incorrect type in complex(1.0, {2:3}) error message. Patch by Soumya
+Sharma.
+..
+.. bpo: 28086
+.. date: 0366
+.. nonce: JsQPMQ
+.. section: Core and Builtins
+Single var-positional argument of tuple subtype was passed unscathed to the
+C-defined function. Now it is converted to exact tuple.
+..
+.. bpo: 28214
+.. date: 0365
+.. nonce: zQF8Em
+.. section: Core and Builtins
+Now __set_name__ is looked up on the class instead of the instance.
+..
+.. bpo: 27955
+.. date: 0364
+.. nonce: HC4pZ4
+.. section: Core and Builtins
+Fallback on reading /dev/urandom device when the getrandom() syscall fails
+with EPERM, for example when blocked by SECCOMP.
+..
+.. bpo: 28192
+.. date: 0363
+.. nonce: eR6stU
+.. section: Core and Builtins
+Don't import readline in isolated mode.
+..
+.. bpo: 27441
+.. date: 0362
+.. nonce: scPKax
+.. section: Core and Builtins
+Remove some redundant assignments to ob_size in longobject.c. Thanks Oren
+Milman.
+..
+.. bpo: 27222
+.. date: 0361
+.. nonce: 74PvFk
+.. section: Core and Builtins
+Clean up redundant code in long_rshift function. Thanks Oren Milman.
+..
+.. bpo: 0
+.. date: 0360
+.. nonce: 9EbOiD
+.. section: Core and Builtins
+Upgrade internal unicode databases to Unicode version 9.0.0.
+..
+.. bpo: 28131
+.. date: 0359
+.. nonce: owq0wW
+.. section: Core and Builtins
+Fix a regression in zipimport's compile_source(). zipimport should use the
+same optimization level as the interpreter.
+..
+.. bpo: 28126
+.. date: 0358
+.. nonce: Qf6-uQ
+.. section: Core and Builtins
+Replace Py_MEMCPY with memcpy(). Visual Studio can properly optimize
+memcpy().
+..
+.. bpo: 28120
+.. date: 0357
+.. nonce: e5xc1i
+.. section: Core and Builtins
+Fix dict.pop() for split dictionary when trying to remove a "pending key"
+(Not yet inserted in split-table). Patch by Xiang Zhang.
+..
+.. bpo: 26182
+.. date: 0356
+.. nonce: jYlqTO
+.. section: Core and Builtins
+Raise DeprecationWarning when async and await keywords are used as
+variable/attribute/class/function name.
+..
+.. bpo: 26182
+.. date: 0355
+.. nonce: a8JXK2
+.. section: Core and Builtins
+Fix a refleak in code that raises DeprecationWarning.
+..
+.. bpo: 28721
+.. date: 0354
+.. nonce: BO9BUF
+.. section: Core and Builtins
+Fix asynchronous generators aclose() and athrow() to handle
+StopAsyncIteration propagation properly.
+..
+.. bpo: 26110
+.. date: 0353
+.. nonce: KRaID6
+.. section: Core and Builtins
+Speed-up method calls: add LOAD_METHOD and CALL_METHOD opcodes.
+..
+.. bpo: 31499
+.. date: 2017-09-18-10-57-04
+.. nonce: BydYhf
+.. section: Library
+xml.etree: Fix a crash when a parser is part of a reference cycle.
+..
+.. bpo: 31482
+.. date: 2017-09-16-01-53-11
+.. nonce: 39s5dS
+.. section: Library
+``random.seed()`` now works with bytes in version=1
+..
+.. bpo: 28556
+.. date: 2017-09-14-11-02-56
+.. nonce: EUOiYs
+.. section: Library
+typing.get_type_hints now finds the right globalns for classes and modules
+by default (when no ``globalns`` was specified by the caller).
+..
+.. bpo: 28556
+.. date: 2017-09-13-23-27-39
+.. nonce: UmTQvv
+.. section: Library
+Speed improvements to the ``typing`` module. Original PRs by Ivan
+Levkivskyi and Mitar.
+..
+.. bpo: 31544
+.. date: 2017-09-13-19-55-35
+.. nonce: beTh6t
+.. section: Library
+The C accelerator module of ElementTree ignored exceptions raised when
+looking up TreeBuilder target methods in XMLParser().
+..
+.. bpo: 31234
+.. date: 2017-09-13-18-05-56
+.. nonce: lGkcPg
+.. section: Library
+socket.create_connection() now fixes manually a reference cycle: clear the
+variable storing the last exception on success.
+..
+.. bpo: 31457
+.. date: 2017-09-13-13-33-39
+.. nonce: bIVBtI
+.. section: Library
+LoggerAdapter objects can now be nested.
+..
+.. bpo: 31431
+.. date: 2017-09-13-07-37-20
+.. nonce: dj994R
+.. section: Library
+SSLContext.check_hostname now automatically sets SSLContext.verify_mode to
+ssl.CERT_REQUIRED instead of failing with a ValueError.
+..
+.. bpo: 31233
+.. date: 2017-09-13-02-17-11
+.. nonce: r-IPIu
+.. section: Library
+socketserver.ThreadingMixIn now keeps a list of non-daemonic threads to wait
+until all these threads complete in server_close().
+..
+.. bpo: 28638
+.. date: 2017-09-08-14-31-15
+.. nonce: lfbVyH
+.. section: Library
+Changed the implementation strategy for collections.namedtuple() to
+substantially reduce the use of exec() in favor of precomputed methods. As a
+result, the *verbose* parameter and *_source* attribute are no longer
+supported. The benefits include 1) having a smaller memory footprint for
+applications using multiple named tuples, 2) faster creation of the named
+tuple class (approx 4x to 6x depending on how it is measured), and 3) minor
+speed-ups for instance creation using __new__, _make, and _replace. (The
+primary patch contributor is Jelle Zijlstra with further improvements by
+INADA Naoki, Serhiy Storchaka, and Raymond Hettinger.)
+..
+.. bpo: 31400
+.. date: 2017-09-08-14-19-57
+.. nonce: YOTPKi
+.. section: Library
+Improves SSL error handling to avoid losing error numbers.
+..
+.. bpo: 27629
+.. date: 2017-09-07-12-15-56
+.. nonce: 7xJXEy
+.. section: Library
+Make return types of SSLContext.wrap_bio() and SSLContext.wrap_socket()
+customizable.
+..
+.. bpo: 28958
+.. date: 2017-09-06-19-41-01
+.. nonce: x4-K5F
+.. section: Library
+ssl.SSLContext() now uses OpenSSL error information when a context cannot be
+instantiated.
+..
+.. bpo: 28182
+.. date: 2017-09-06-18-49-16
+.. nonce: hRP8Bk
+.. section: Library
+The SSL module now raises SSLCertVerificationError when OpenSSL fails to
+verify the peer's certificate. The exception contains more information about
+the error.
+..
+.. bpo: 27340
+.. date: 2017-09-06-06-50-41
+.. nonce: GgekV5
+.. section: Library
+SSLSocket.sendall() now uses memoryview to create slices of data. This fixes
+support for all bytes-like object. It is also more efficient and avoids
+costly copies.
+..
+.. bpo: 14191
+.. date: 2017-09-05-17-43-00
+.. nonce: vhh2xx
+.. section: Library
+A new function ``argparse.ArgumentParser.parse_intermixed_args`` provides
+the ability to parse command lines where there user intermixes options and
+positional arguments.
+..
+.. bpo: 31178
+.. date: 2017-09-05-14-55-28
+.. nonce: JrSFo7
+.. section: Library
+Fix string concatenation bug in rare error path in the subprocess module
+..
+.. bpo: 31350
+.. date: 2017-09-05-10-30-48
+.. nonce: dXJ-7N
+.. section: Library
+Micro-optimize :func:`asyncio._get_running_loop` to become up to 10% faster.
+..
+.. bpo: 31170
+.. date: 2017-09-04-23-41-35
+.. nonce: QGmJ1t
+.. section: Library
+expat: Update libexpat from 2.2.3 to 2.2.4. Fix copying of partial
+characters for UTF-8 input (libexpat bug 115):
+https://github.com/libexpat/libexpat/issues/115
+..
+.. bpo: 29136
+.. date: 2017-09-04-16-39-49
+.. nonce: vSn1oR
+.. section: Library
+Add TLS 1.3 cipher suites and OP_NO_TLSv1_3.
+..
+.. bpo: 1198569
+.. date: 2017-09-04-10-53-06
+.. nonce: vhh2nY
+.. section: Library
+``string.Template`` subclasses can optionally define ``braceidpattern`` if
+they want to specify different placeholder patterns inside and outside the
+braces. If None (the default) it falls back to ``idpattern``.
+..
+.. bpo: 31326
+.. date: 2017-09-01-18-48-06
+.. nonce: TB05tV
+.. section: Library
+concurrent.futures.ProcessPoolExecutor.shutdown() now explicitly closes the
+call queue. Moreover, shutdown(wait=True) now also join the call queue
+thread, to prevent leaking a dangling thread.
+..
+.. bpo: 27144
+.. date: 2017-08-30-11-26-14
+.. nonce: PEDJsE
+.. section: Library
+The ``map()`` and ``as_completed()`` iterators in ``concurrent.futures`` now
+avoid keeping a reference to yielded objects.
+..
+.. bpo: 31281
+.. date: 2017-08-29-07-14-14
+.. nonce: DcFyNs
+.. section: Library
+Fix ``fileinput.FileInput(files, inplace=True)`` when ``files`` contain
+``pathlib.Path`` objects.
+..
+.. bpo: 10746
+.. date: 2017-08-28-13-01-05
+.. nonce: nmAvfu
+.. section: Library
+Fix ctypes producing wrong :pep:`3118` type codes for integer types.
+..
+.. bpo: 27584
+.. date: 2017-08-24-14-03-14
+.. nonce: r11JHZ
+.. section: Library
+``AF_VSOCK`` has been added to the socket interface which allows
+communication between virtual machines and their host.
+..
+.. bpo: 22536
+.. date: 2017-08-23
+.. nonce: _narf_
+.. section: Library
+The subprocess module now sets the filename when FileNotFoundError is raised
+on POSIX systems due to the executable or cwd not being found.
+..
+.. bpo: 29741
+.. date: 2017-08-23-00-31-32
+.. nonce: EBn_DM
+.. section: Library
+Update some methods in the _pyio module to also accept integer types. Patch
+by Oren Milman.
+..
+.. bpo: 31249
+.. date: 2017-08-22-12-44-48
+.. nonce: STPbb9
+.. section: Library
+concurrent.futures: WorkItem.run() used by ThreadPoolExecutor now breaks a
+reference cycle between an exception object and the WorkItem object.
+..
+.. bpo: 31247
+.. date: 2017-08-21-17-50-27
+.. nonce: 8S3zJp
+.. section: Library
+xmlrpc.server now explicitly breaks reference cycles when using
+sys.exc_info() in code handling exceptions.
+..
+.. bpo: 23835
+.. date: 2017-08-21-16-06-19
+.. nonce: da_4Kz
+.. section: Library
+configparser: reading defaults in the ``ConfigParser()`` constructor is now
+using ``read_dict()``, making its behavior consistent with the rest of the
+parser. Non-string keys and values in the defaults dictionary are now being
+implicitly converted to strings. Patch by James Tocknell.
+..
+.. bpo: 31238
+.. date: 2017-08-21-12-31-53
+.. nonce: Gg0LRH
+.. section: Library
+pydoc: the stop() method of the private ServerThread class now waits until
+DocServer.serve_until_quit() completes and then explicitly sets its
+docserver attribute to None to break a reference cycle.
+..
+.. bpo: 5001
+.. date: 2017-08-18-17-16-38
+.. nonce: gwnthq
+.. section: Library
+Many asserts in ``multiprocessing`` are now more informative, and some error
+types have been changed to more specific ones.
+..
+.. bpo: 31109
+.. date: 2017-08-17-20-29-45
+.. nonce: 7qtC64
+.. section: Library
+Convert zipimport to use Argument Clinic.
+..
+.. bpo: 30102
+.. date: 2017-08-16-21-14-31
+.. nonce: 1sPqmc
+.. section: Library
+The ssl and hashlib modules now call OPENSSL_add_all_algorithms_noconf() on
+OpenSSL < 1.1.0. The function detects CPU features and enables optimizations
+on some CPU architectures such as POWER8. Patch is based on research from
+Gustavo Serra Scalet.
+..
+.. bpo: 18966
+.. date: 2017-08-16-20-28-06
+.. nonce: mjHWk2
+.. section: Library
+Non-daemonic threads created by a multiprocessing.Process are now joined on
+child exit.
+..
+.. bpo: 31183
+.. date: 2017-08-13-09-17-01
+.. nonce: -2_YGj
+.. section: Library
+``dis`` now works with asynchronous generator and coroutine objects. Patch by
+George Collins based on diagnosis by Luciano Ramalho.
+..
+.. bpo: 5001
+.. date: 2017-08-12-09-25-55
+.. nonce: huQi2Y
+.. section: Library
+There are a number of uninformative asserts in the ``multiprocessing`` module,
+as noted in issue 5001. This change fixes two of the most potentially
+problematic ones, since they are in error-reporting code, in the
+``multiprocessing.managers.convert_to_error`` function. (It also makes more
+informative a ValueError message.) The only potentially problematic change
+is that the AssertionError is now a TypeError; however, this should also
+help distinguish it from an AssertionError being *reported* by the
+function/its caller (such as in issue 31169). - Patch by Allen W. Smith
+(drallensmith on github).
+..
+.. bpo: 31185
+.. date: 2017-08-11-19-30-00
+.. nonce: i6TPgL
+.. section: Library
+Fixed miscellaneous errors in asyncio speedup module.
+..
+.. bpo: 31151
+.. date: 2017-08-10-13-20-02
+.. nonce: 730VBI
+.. section: Library
+socketserver.ForkingMixIn.server_close() now waits until all child processes
+completed to prevent leaking zombie processes.
+..
+.. bpo: 31072
+.. date: 2017-08-09-13-45-23
+.. nonce: NLXDPV
+.. section: Library
+Add an ``include_file`` parameter to ``zipapp.create_archive()``
+..
+.. bpo: 24700
+.. date: 2017-08-08-15-14-34
+.. nonce: 44mvNV
+.. section: Library
+Optimize array.array comparison. It is now from 10x up to 70x faster when
+comparing arrays holding values of the same integer type.
+..
+.. bpo: 31135
+.. date: 2017-08-08-14-44-37
+.. nonce: HH94xR
+.. section: Library
+ttk: fix the destroy() method of LabeledScale and OptionMenu classes. Call
+the parent destroy() method even if the used attribute doesn't exist. The
+LabeledScale.destroy() method now also explicitly clears label and scale
+attributes to help the garbage collector to destroy all widgets.
+..
+.. bpo: 31107
+.. date: 2017-08-02-12-48-15
+.. nonce: 1t2hn5
+.. section: Library
+Fix ``copyreg._slotnames()`` mangled attribute calculation for classes whose
+name begins with an underscore. Patch by Shane Harvey.
+..
+.. bpo: 31080
+.. date: 2017-08-01-18-26-55
+.. nonce: 2CFVCO
+.. section: Library
+Allow ``logging.config.fileConfig`` to accept kwargs and/or args.
+..
+.. bpo: 30897
+.. date: 2017-08-01-15-56-50
+.. nonce: OuT1-Y
+.. section: Library
+``pathlib.Path`` objects now include an ``is_mount()`` method (only
+implemented on POSIX). This is similar to ``os.path.ismount(p)``. Patch by
+Cooper Ry Lees.
+..
+.. bpo: 31061
+.. date: 2017-08-01-09-32-58
+.. nonce: husAYX
+.. section: Library
+Fixed a crash when using asyncio and threads.
+..
+.. bpo: 30987
+.. date: 2017-07-30-22-00-12
+.. nonce: 228rW0
+.. section: Library
+Added support for CAN ISO-TP protocol in the socket module.
+..
+.. bpo: 30522
+.. date: 2017-07-30-10-07-58
+.. nonce: gAX1N-
+.. section: Library
+Added a ``setStream`` method to ``logging.StreamHandler`` to allow the
+stream to be set after creation.
+..
+.. bpo: 30502
+.. date: 2017-07-27-11-33-58
+.. nonce: GJlfU8
+.. section: Library
+Fix handling of long oids in ssl. Based on patch by Christian Heimes.
+..
+.. bpo: 5288
+.. date: 2017-07-26-13-18-29
+.. nonce: o_xEGj
+.. section: Library
+Support tzinfo objects with sub-minute offsets.
+..
+.. bpo: 30919
+.. date: 2017-07-23-11-33-10
+.. nonce: 5dYRru
+.. section: Library
+Fix shared memory performance regression in multiprocessing in 3.x.
+Shared memory used anonymous memory mappings in 2.x, while 3.x mmaps actual
+files. Try to be careful to do as little disk I/O as possible.
+..
+.. bpo: 26732
+.. date: 2017-07-22-12-12-42
+.. nonce: lYLWBH
+.. section: Library
+Fix too many fds in processes started with the "forkserver" method.
+A child process would inherit as many fds as the number of still-running
+children.
+..
+.. bpo: 29403
+.. date: 2017-07-20-02-29-49
+.. nonce: 3RinCV
+.. section: Library
+Fix ``unittest.mock``'s autospec to not fail on method-bound builtin
+functions. Patch by Aaron Gallagher.
+..
+.. bpo: 30961
+.. date: 2017-07-18-23-47-51
+.. nonce: 064jz0
+.. section: Library
+Fix decrementing a borrowed reference in tracemalloc.
+..
+.. bpo: 19896
+.. date: 2017-07-18-13-24-50
+.. nonce: -S0IWu
+.. section: Library
+Fix multiprocessing.sharedctypes to recognize typecodes ``'q'`` and ``'Q'``.
+..
+.. bpo: 30946
+.. date: 2017-07-17-12-32-47
+.. nonce: DUo-uA
+.. section: Library
+Remove obsolete code in readline module for platforms where GNU readline is
+older than 2.1 or where select() is not available.
+..
+.. bpo: 25684
+.. date: 2017-07-17-11-35-00
+.. nonce: usELVx
+.. section: Library
+Change ``ttk.OptionMenu`` radiobuttons to be unique across instances of
+``OptionMenu``.
+..
+.. bpo: 30886
+.. date: 2017-07-10-12-14-22
+.. nonce: nqQj34
+.. section: Library
+Fix multiprocessing.Queue.join_thread(): it now waits until the thread
+completes, even if the thread was started by the same process which created
+the queue.
+..
+.. bpo: 29854
+.. date: 2017-07-07-02-18-57
+.. nonce: J8wKb_
+.. section: Library
+Fix segfault in readline when using readline's history-size option. Patch
+by Nir Soffer.
+..
+.. bpo: 30794
+.. date: 2017-07-04-22-00-20
+.. nonce: qFwozm
+.. section: Library
+Added multiprocessing.Process.kill method to terminate using the SIGKILL
+signal on Unix.
+..
+.. bpo: 30319
+.. date: 2017-07-04-13-48-21
+.. nonce: hg_3TX
+.. section: Library
+socket.close() now ignores ECONNRESET error.
+..
+.. bpo: 30828
+.. date: 2017-07-04-13-10-52
+.. nonce: CLvEvV
+.. section: Library
+Fix out of bounds write in ``asyncio.CFuture.remove_done_callback()``.
+..
+.. bpo: 30302
+.. date: 2017-06-30-23-05-47
+.. nonce: itwK_k
+.. section: Library
+Use keywords in the ``repr`` of ``datetime.timedelta``.
+..
+.. bpo: 30807
+.. date: 2017-06-29-22-04-44
+.. nonce: sLtjY-
+.. section: Library
+signal.setitimer() may disable the timer when passed a tiny value.
+Tiny values (such as 1e-6) are valid non-zero values for setitimer(), which
+is specified as taking microsecond-resolution intervals. However, on some
+platform, our conversion routine could convert 1e-6 into a zero interval,
+therefore disabling the timer instead of (re-)scheduling it.
+..
+.. bpo: 30441
+.. date: 2017-06-29-14-25-14
+.. nonce: 3Wh9kc
+.. section: Library
+Fix bug when modifying os.environ while iterating over it
+..
+.. bpo: 29585
+.. date: 2017-06-29-00-17-38
+.. nonce: x2V0my
+.. section: Library
+Avoid importing ``sysconfig`` from ``site`` to improve startup speed. Python
+startup is about 5% faster on Linux and 30% faster on macOS.
+..
+.. bpo: 29293
+.. date: 2017-06-29-00-07-22
+.. nonce: Z6WZjD
+.. section: Library
+Add missing parameter "n" on multiprocessing.Condition.notify().
+The doc claims multiprocessing.Condition behaves like threading.Condition,
+but its notify() method lacked the optional "n" argument (to specify the
+number of sleepers to wake up) that threading.Condition.notify() accepts.
+..
+.. bpo: 30532
+.. date: 2017-06-26-11-01-59
+.. nonce: qTeL1o
+.. section: Library
+Fix email header value parser dropping folding white space in certain cases.
+..
+.. bpo: 30596
+.. date: 2017-06-24-18-55-58
+.. nonce: VhB8iG
+.. section: Library
+Add a ``close()`` method to ``multiprocessing.Process``.
+..
+.. bpo: 9146
+.. date: 2017-05-24-00-00-00
+.. nonce: pinky_
+.. section: Library
+Fix a segmentation fault in _hashopenssl when standard hash functions such
+as md5 are not available in the linked OpenSSL library. As in some special
+FIPS-140 build environments.
+..
+.. bpo: 29169
+.. date: 0352
+.. nonce: 8ypApm
+.. section: Library
+Update zlib to 1.2.11.
+..
+.. bpo: 30119
+.. date: 0351
+.. nonce: 4UMLNh
+.. section: Library
+ftplib.FTP.putline() now throws ValueError on commands that contains CR or
+LF. Patch by Donghee Na.
+..
+.. bpo: 30879
+.. date: 0350
+.. nonce: N3KI-o
+.. section: Library
+os.listdir() and os.scandir() now emit bytes names when called with
+bytes-like argument.
+..
+.. bpo: 30746
+.. date: 0349
+.. nonce: 7drQI0
+.. section: Library
+Prohibited the '=' character in environment variable names in
+``os.putenv()`` and ``os.spawn*()``.
+..
+.. bpo: 30664
+.. date: 0348
+.. nonce: oyqiUl
+.. section: Library
+The description of a unittest subtest now preserves the order of keyword
+arguments of TestCase.subTest().
+..
+.. bpo: 21071
+.. date: 0346
+.. nonce: Sw37rs
+.. section: Library
+struct.Struct.format type is now :class:`str` instead of :class:`bytes`.
+..
+.. bpo: 29212
+.. date: 0345
+.. nonce: HmTdef
+.. section: Library
+Fix concurrent.futures.thread.ThreadPoolExecutor threads to have a non
+repr() based thread name by default when no thread_name_prefix is supplied.
+They will now identify themselves as "ThreadPoolExecutor-y_n".
+..
+.. bpo: 29755
+.. date: 0343
+.. nonce: diQcY_
+.. section: Library
+Fixed the lgettext() family of functions in the gettext module. They now
+always return bytes.
+..
+.. bpo: 30616
+.. date: 0341
+.. nonce: I2mDTz
+.. section: Library
+Functional API of enum allows to create empty enums. Patched by Donghee Na
+..
+.. bpo: 30038
+.. date: 0340
+.. nonce: vb4DWk
+.. section: Library
+Fix race condition between signal delivery and wakeup file descriptor. Patch
+by Nathaniel Smith.
+..
+.. bpo: 23894
+.. date: 0339
+.. nonce: k2pADV
+.. section: Library
+lib2to3 now recognizes ``rb'...'`` and ``f'...'`` strings.
+..
+.. bpo: 24744
+.. date: 0337
+.. nonce: NKxUj3
+.. section: Library
+pkgutil.walk_packages function now raises ValueError if *path* is a string.
+Patch by Sanyam Khurana.
+..
+.. bpo: 24484
+.. date: 0336
+.. nonce: vFem8K
+.. section: Library
+Avoid race condition in multiprocessing cleanup.
+..
+.. bpo: 30589
+.. date: 0335
+.. nonce: xyZGM0
+.. section: Library
+Fix multiprocessing.Process.exitcode to return the opposite of the signal
+number when the process is killed by a signal (instead of 255) when using
+the "forkserver" method.
+..
+.. bpo: 28994
+.. date: 0334
+.. nonce: 9vzun1
+.. section: Library
+The traceback no longer displayed for SystemExit raised in a callback
+registered by atexit.
+..
+.. bpo: 30508
+.. date: 0333
+.. nonce: wNWRS2
+.. section: Library
+Don't log exceptions if Task/Future "cancel()" method was called.
+..
+.. bpo: 30645
+.. date: 0332
+.. nonce: xihJ4Y
+.. section: Library
+Fix path calculation in ``imp.load_package()``, fixing it for cases when a
+package is only shipped with bytecodes. Patch by Alexandru Ardelean.
+..
+.. bpo: 11822
+.. date: 0331
+.. nonce: GQmKw3
+.. section: Library
+The dis.dis() function now is able to disassemble nested code objects.
+..
+.. bpo: 30624
+.. date: 0330
+.. nonce: g5oVSn
+.. section: Library
+selectors does not take KeyboardInterrupt and SystemExit into account,
+leaving a fd in a bad state in case of error. Patch by Giampaolo Rodola'.
+..
+.. bpo: 30595
+.. date: 0329
+.. nonce: d0nRRA
+.. section: Library
+multiprocessing.Queue.get() with a timeout now polls its reader in
+non-blocking mode if it succeeded to acquire the lock but the acquire took
+longer than the timeout.
+..
+.. bpo: 28556
+.. date: 0328
+.. nonce: mESP7G
+.. section: Library
+Updates to typing module: Add generic AsyncContextManager, add support for
+ContextManager on all versions. Original PRs by Jelle Zijlstra and Ivan
+Levkivskyi
+..
+.. bpo: 30605
+.. date: 0327
+.. nonce: XqGz1r
+.. section: Library
+re.compile() no longer raises a BytesWarning when compiling a bytes instance
+with misplaced inline modifier. Patch by Roy Williams.
+..
+.. bpo: 29870
+.. date: 0326
+.. nonce: p960Ih
+.. section: Library
+Fix ssl sockets leaks when connection is aborted in asyncio/ssl
+implementation. Patch by Michaël Sghaïer.
+..
+.. bpo: 29743
+.. date: 0325
+.. nonce: en2P4s
+.. section: Library
+Closing transport during handshake process leaks open socket. Patch by
+Nikolay Kim
+..
+.. bpo: 27585
+.. date: 0324
+.. nonce: 0Ugqqu
+.. section: Library
+Fix waiter cancellation in asyncio.Lock. Patch by Mathieu Sornay.
+..
+.. bpo: 30014
+.. date: 0323
+.. nonce: x7Yx6o
+.. section: Library
+modify() method of poll(), epoll() and devpoll() based classes of selectors
+module is around 10% faster. Patch by Giampaolo Rodola'.
+..
+.. bpo: 30418
+.. date: 0322
+.. nonce: EwISQm
+.. section: Library
+On Windows, subprocess.Popen.communicate() now also ignore EINVAL on
+stdin.write() if the child process is still running but closed the pipe.
+..
+.. bpo: 30463
+.. date: 0321
+.. nonce: CdOuSl
+.. section: Library
+Added empty __slots__ to abc.ABC. This allows subclassers to deny __dict__
+and __weakref__ creation. Patch by Aaron Hall.
+..
+.. bpo: 30520
+.. date: 0320
+.. nonce: VYzaSn
+.. section: Library
+Loggers are now pickleable.
+..
+.. bpo: 30557
+.. date: 0319
+.. nonce: uykrLf
+.. section: Library
+faulthandler now correctly filters and displays exception codes on Windows
+..
+.. bpo: 30526
+.. date: 0318
+.. nonce: 7zTG30
+.. section: Library
+Add TextIOWrapper.reconfigure() and a TextIOWrapper.write_through attribute.
+..
+.. bpo: 30245
+.. date: 0317
+.. nonce: Xoa_8Y
+.. section: Library
+Fix possible overflow when organize struct.pack_into error message. Patch
+by Yuan Liu.
+..
+.. bpo: 30378
+.. date: 0316
+.. nonce: R_19_5
+.. section: Library
+Fix the problem that logging.handlers.SysLogHandler cannot handle IPv6
+addresses.
+..
+.. bpo: 16500
+.. date: 0315
+.. nonce: 9ypo9k
+.. section: Library
+Allow registering at-fork handlers.
+..
+.. bpo: 30470
+.. date: 0314
+.. nonce: wAYhUc
+.. section: Library
+Deprecate invalid ctypes call protection on Windows. Patch by Mariatta
+Wijaya.
+..
+.. bpo: 30414
+.. date: 0313
+.. nonce: jGl1Lb
+.. section: Library
+multiprocessing.Queue._feed background running thread do not break from main
+loop on exception.
+..
+.. bpo: 30003
+.. date: 0312
+.. nonce: BOl9HE
+.. section: Library
+Fix handling escape characters in HZ codec. Based on patch by Ma Lin.
+..
+.. bpo: 30149
+.. date: 0311
+.. nonce: hE649r
+.. section: Library
+inspect.signature() now supports callables with variable-argument parameters
+wrapped with partialmethod. Patch by Donghee Na.
+..
+.. bpo: 30436
+.. date: 0310
+.. nonce: b3zqE7
+.. section: Library
+importlib.find_spec() raises ModuleNotFoundError instead of AttributeError
+if the specified parent module is not a package (i.e. lacks a __path__
+attribute).
+..
+.. bpo: 30301
+.. date: 0309
+.. nonce: ywOkjN
+.. section: Library
+Fix AttributeError when using SimpleQueue.empty() under *spawn* and
+*forkserver* start methods.
+..
+.. bpo: 30375
+.. date: 0308
+.. nonce: 9c8qM7
+.. section: Library
+Warnings emitted when compile a regular expression now always point to the
+line in the user code. Previously they could point into inners of the re
+module if emitted from inside of groups or conditionals.
+..
+.. bpo: 30329
+.. date: 0307
+.. nonce: EuT36N
+.. section: Library
+imaplib and poplib now catch the Windows socket WSAEINVAL error (code 10022)
+on shutdown(SHUT_RDWR): An invalid operation was attempted. This error
+occurs sometimes on SSL connections.
+..
+.. bpo: 29196
+.. date: 0306
+.. nonce: qBq9eB
+.. section: Library
+Removed previously deprecated in Python 2.4 classes Plist, Dict and
+_InternalDict in the plistlib module. Dict values in the result of
+functions readPlist() and readPlistFromBytes() are now normal dicts. You no
+longer can use attribute access to access items of these dictionaries.
+..
+.. bpo: 9850
+.. date: 0305
+.. nonce: c6SMxt
+.. section: Library
+The :mod:`macpath` is now deprecated and will be removed in Python 3.8.
+..
+.. bpo: 30299
+.. date: 0304
+.. nonce: O-5d4A
+.. section: Library
+Compiling regular expression in debug mode on CPython now displays the
+compiled bytecode in human readable form.
+..
+.. bpo: 30048
+.. date: 0303
+.. nonce: ELRx8R
+.. section: Library
+Fixed ``Task.cancel()`` can be ignored when the task is running coroutine
+and the coroutine returned without any more ``await``.
+..
+.. bpo: 30266
+.. date: 0302
+.. nonce: YJzHAH
+.. section: Library
+contextlib.AbstractContextManager now supports anti-registration by setting
+__enter__ = None or __exit__ = None, following the pattern introduced in
+bpo-25958. Patch by Jelle Zijlstra.
+..
+.. bpo: 30340
+.. date: 0301
+.. nonce: kvtGm-
+.. section: Library
+Enhanced regular expressions optimization. This increased the performance of
+matching some patterns up to 25 times.
+..
+.. bpo: 30298
+.. date: 0300
+.. nonce: ZN-bWo
+.. section: Library
+Weaken the condition of deprecation warnings for inline modifiers. Now
+allowed several subsequential inline modifiers at the start of the pattern
+(e.g. ``'(?i)(?s)...'``). In verbose mode whitespaces and comments now are
+allowed before and between inline modifiers (e.g. ``'(?x) (?i) (?s)...'``).
+..
+.. bpo: 30285
+.. date: 0299
+.. nonce: s1vpsO
+.. section: Library
+Optimized case-insensitive matching and searching of regular expressions.
+..
+.. bpo: 29990
+.. date: 0298
+.. nonce: HWV6KE
+.. section: Library
+Fix range checking in GB18030 decoder. Original patch by Ma Lin.
+..
+.. bpo: 29979
+.. date: 0297
+.. nonce: jGBMyE
+.. section: Library
+rewrite cgi.parse_multipart, reusing the FieldStorage class and making its
+results consistent with those of FieldStorage for multipart/form-data
+requests. Patch by Pierre Quentel.
+..
+.. bpo: 30243
+.. date: 0296
+.. nonce: RHQt0v
+.. section: Library
+Removed the __init__ methods of _json's scanner and encoder. Misusing them
+could cause memory leaks or crashes. Now scanner and encoder objects are
+completely initialized in the __new__ methods.
+..
+.. bpo: 30215
+.. date: 0295
+.. nonce: SY8738
+.. section: Library
+Compiled regular expression objects with the re.LOCALE flag no longer depend
+on the locale at compile time. Only the locale at matching time affects the
+result of matching.
+..
+.. bpo: 30185
+.. date: 0294
+.. nonce: Tiu1n8
+.. section: Library
+Avoid KeyboardInterrupt tracebacks in forkserver helper process when Ctrl-C
+is received.
+..
+.. bpo: 30103
+.. date: 0293
+.. nonce: mmPjf5
+.. section: Library
+binascii.b2a_uu() and uu.encode() now support using ``'`'`` as zero instead
+of space.
+..
+.. bpo: 28556
+.. date: 0292
+.. nonce: 51gjbP
+.. section: Library
+Various updates to typing module: add typing.NoReturn type, use
+WrapperDescriptorType, minor bug-fixes. Original PRs by Jim
+Fasarakis-Hilliard and Ivan Levkivskyi.
+..
+.. bpo: 30205
+.. date: 0291
+.. nonce: BsxO34
+.. section: Library
+Fix getsockname() for unbound AF_UNIX sockets on Linux.
+..
+.. bpo: 30228
+.. date: 0290
+.. nonce: nF8Ov4
+.. section: Library
+The seek() and tell() methods of io.FileIO now set the internal seekable
+attribute to avoid one syscall on open() (in buffered or text mode).
+..
+.. bpo: 30190
+.. date: 0289
+.. nonce: 5E7Hyb
+.. section: Library
+unittest's assertAlmostEqual and assertNotAlmostEqual provide a better
+message in case of failure which includes the difference between left and
+right arguments. (patch by Giampaolo Rodola')
+..
+.. bpo: 30101
+.. date: 0288
+.. nonce: hxUqSL
+.. section: Library
+Add support for curses.A_ITALIC.
+..
+.. bpo: 29822
+.. date: 0287
+.. nonce: G7dX13
+.. section: Library
+inspect.isabstract() now works during __init_subclass__. Patch by Nate
+Soares.
+..
+.. bpo: 29960
+.. date: 0286
+.. nonce: g0wr3r
+.. section: Library
+Preserve generator state when _random.Random.setstate() raises an exception.
+Patch by Bryan Olson.
+..
+.. bpo: 30070
+.. date: 0285
+.. nonce: XM_B41
+.. section: Library
+Fixed leaks and crashes in errors handling in the parser module.
+..
+.. bpo: 22352
+.. date: 0284
+.. nonce: gIQ5qC
+.. section: Library
+Column widths in the output of dis.dis() are now adjusted for large line
+numbers and instruction offsets.
+..
+.. bpo: 30061
+.. date: 0283
+.. nonce: 2w_dX9
+.. section: Library
+Fixed crashes in IOBase methods __next__() and readlines() when readline()
+or __next__() respectively return non-sizeable object. Fixed possible other
+errors caused by not checking results of PyObject_Size(), PySequence_Size(),
+or PyMapping_Size().
+..
+.. bpo: 30218
+.. date: 0282
+.. nonce: ab5oIg
+.. section: Library
+Fix PathLike support for shutil.unpack_archive. Patch by Jelle Zijlstra.
+..
+.. bpo: 10076
+.. date: 0281
+.. nonce: qCnwly
+.. section: Library
+Compiled regular expression and match objects in the re module now support
+copy.copy() and copy.deepcopy() (they are considered atomic).
+..
+.. bpo: 30068
+.. date: 0280
+.. nonce: n4q47r
+.. section: Library
+_io._IOBase.readlines will check if it's closed first when hint is present.
+..
+.. bpo: 29694
+.. date: 0279
+.. nonce: LWKxb1
+.. section: Library
+Fixed race condition in pathlib mkdir with flags parents=True. Patch by
+Armin Rigo.
+..
+.. bpo: 29692
+.. date: 0278
+.. nonce: oyWrAE
+.. section: Library
+Fixed arbitrary unchaining of RuntimeError exceptions in
+contextlib.contextmanager. Patch by Siddharth Velankar.
+..
+.. bpo: 26187
+.. date: 0277
+.. nonce: aViyiR
+.. section: Library
+Test that sqlite3 trace callback is not called multiple times when schema is
+changing. Indirectly fixed by switching to use sqlite3_prepare_v2() in
+bpo-9303. Patch by Aviv Palivoda.
+..
+.. bpo: 30017
+.. date: 0276
+.. nonce: cKBuhU
+.. section: Library
+Allowed calling the close() method of the zip entry writer object multiple
+times. Writing to a closed writer now always produces a ValueError.
+..
+.. bpo: 29998
+.. date: 0275
+.. nonce: poeIKD
+.. section: Library
+Pickling and copying ImportError now preserves name and path attributes.
+..
+.. bpo: 29995
+.. date: 0274
+.. nonce: b3mOqx
+.. section: Library
+re.escape() now escapes only regex special characters.
+..
+.. bpo: 29962
+.. date: 0273
+.. nonce: r-ibsN
+.. section: Library
+Add math.remainder operation, implementing remainder as specified in IEEE
+754.
+..
+.. bpo: 29649
+.. date: 0272
+.. nonce: 2eIxQ8
+.. section: Library
+Improve struct.pack_into() exception messages for problems with the buffer
+size and offset. Patch by Andrew Nester.
+..
+.. bpo: 29654
+.. date: 0271
+.. nonce: xRFPge
+.. section: Library
+Support If-Modified-Since HTTP header (browser cache). Patch by Pierre
+Quentel.
+..
+.. bpo: 29931
+.. date: 0270
+.. nonce: tfcTwK
+.. section: Library
+Fixed comparison check for ipaddress.ip_interface objects. Patch by Sanjay
+Sundaresan.
+..
+.. bpo: 29953
+.. date: 0269
+.. nonce: Q1hSt-
+.. section: Library
+Fixed memory leaks in the replace() method of datetime and time objects when
+pass out of bound fold argument.
+..
+.. bpo: 29942
+.. date: 0268
+.. nonce: CsGNuT
+.. section: Library
+Fix a crash in itertools.chain.from_iterable when encountering long runs of
+empty iterables.
+..
+.. bpo: 10030
+.. date: 0267
+.. nonce: ZdhU3k
+.. section: Library
+Sped up reading encrypted ZIP files by 2 times.
+..
+.. bpo: 29204
+.. date: 0266
+.. nonce: 8Hbqn2
+.. section: Library
+Element.getiterator() and the html parameter of XMLParser() were deprecated
+only in the documentation (since Python 3.2 and 3.4 correspondingly). Now
+using them emits a deprecation warning.
+..
+.. bpo: 27863
+.. date: 0265
+.. nonce: pPYHHI
+.. section: Library
+Fixed multiple crashes in ElementTree caused by race conditions and wrong
+types.
+..
+.. bpo: 25996
+.. date: 0264
+.. nonce: L2_giP
+.. section: Library
+Added support of file descriptors in os.scandir() on Unix. os.fwalk() is
+sped up by 2 times by using os.scandir().
+..
+.. bpo: 28699
+.. date: 0263
+.. nonce: wZztZP
+.. section: Library
+Fixed a bug in pools in multiprocessing.pool that raising an exception at
+the very first of an iterable may swallow the exception or make the program
+hang. Patch by Davin Potts and Xiang Zhang.
+..
+.. bpo: 23890
+.. date: 0262
+.. nonce: GCFAAZ
+.. section: Library
+unittest.TestCase.assertRaises() now manually breaks a reference cycle to
+not keep objects alive longer than expected.
+..
+.. bpo: 29901
+.. date: 0261
+.. nonce: QdgMvW
+.. section: Library
+The zipapp module now supports general path-like objects, not just
+pathlib.Path.
+..
+.. bpo: 25803
+.. date: 0260
+.. nonce: CPDR0W
+.. section: Library
+Avoid incorrect errors raised by Path.mkdir(exist_ok=True) when the OS gives
+priority to errors such as EACCES over EEXIST.
+..
+.. bpo: 29861
+.. date: 0259
+.. nonce: t2ZoRK
+.. section: Library
+Release references to tasks, their arguments and their results as soon as
+they are finished in multiprocessing.Pool.
+..
+.. bpo: 19930
+.. date: 0258
+.. nonce: QCjO6A
+.. section: Library
+The mode argument of os.makedirs() no longer affects the file permission
+bits of newly created intermediate-level directories.
+..
+.. bpo: 29884
+.. date: 0257
+.. nonce: kWXR8W
+.. section: Library
+faulthandler: Restore the old sigaltstack during teardown. Patch by
+Christophe Zeitouny.
+..
+.. bpo: 25455
+.. date: 0256
+.. nonce: ZsahHN
+.. section: Library
+Fixed crashes in repr of recursive buffered file-like objects.
+..
+.. bpo: 29800
+.. date: 0255
+.. nonce: d2xASa
+.. section: Library
+Fix crashes in partial.__repr__ if the keys of partial.keywords are not
+strings. Patch by Michael Seifert.
+..
+.. bpo: 8256
+.. date: 0254
+.. nonce: jAwGQH
+.. section: Library
+Fixed possible failing or crashing input() if attributes "encoding" or
+"errors" of sys.stdin or sys.stdout are not set or are not strings.
+..
+.. bpo: 28692
+.. date: 0253
+.. nonce: CDt-Gb
+.. section: Library
+Using non-integer value for selecting a plural form in gettext is now
+deprecated.
+..
+.. bpo: 26121
+.. date: 0252
+.. nonce: LX-pQA
+.. section: Library
+Use C library implementation for math functions erf() and erfc().
+..
+.. bpo: 29619
+.. date: 0251
+.. nonce: WIGVxO
+.. section: Library
+os.stat() and os.DirEntry.inode() now convert inode (st_ino) using unsigned
+integers.
+..
+.. bpo: 28298
+.. date: 0250
+.. nonce: PNOPsT
+.. section: Library
+Fix a bug that prevented array 'Q', 'L' and 'I' from accepting big intables
+(objects that have __int__) as elements.
+..
+.. bpo: 29645
+.. date: 0249
+.. nonce: XCxTHM
+.. section: Library
+Speed up importing the webbrowser module. webbrowser.register() is now
+thread-safe.
+..
+.. bpo: 28231
+.. date: 0248
+.. nonce: MG1X09
+.. section: Library
+The zipfile module now accepts path-like objects for external paths.
+..
+.. bpo: 26915
+.. date: 0247
+.. nonce: qShJZO
+.. section: Library
+index() and count() methods of collections.abc.Sequence now check identity
+before checking equality when do comparisons.
+..
+.. bpo: 28682
+.. date: 0246
+.. nonce: hUxdej
+.. section: Library
+Added support for bytes paths in os.fwalk().
+..
+.. bpo: 29728
+.. date: 0245
+.. nonce: 37jMwb
+.. section: Library
+Add new :const:`socket.TCP_NOTSENT_LOWAT` (Linux 3.12) constant. Patch by
+Nathaniel J. Smith.
+..
+.. bpo: 29623
+.. date: 0244
+.. nonce: D3-NP2
+.. section: Library
+Allow use of path-like object as a single argument in ConfigParser.read().
+Patch by David Ellis.
+..
+.. bpo: 9303
+.. date: 0243
+.. nonce: kDZRSd
+.. section: Library
+Migrate sqlite3 module to _v2 API. Patch by Aviv Palivoda.
+..
+.. bpo: 28963
+.. date: 0242
+.. nonce: tPl8dq
+.. section: Library
+Fix out of bound iteration in asyncio.Future.remove_done_callback
+implemented in C.
+..
+.. bpo: 29704
+.. date: 0241
+.. nonce: WHbx27
+.. section: Library
+asyncio.subprocess.SubprocessStreamProtocol no longer closes before all
+pipes are closed.
+..
+.. bpo: 29271
+.. date: 0240
+.. nonce: y8Vj2v
+.. section: Library
+Fix Task.current_task and Task.all_tasks implemented in C to accept None
+argument as their pure Python implementation.
+..
+.. bpo: 29703
+.. date: 0239
+.. nonce: ZdsPCR
+.. section: Library
+Fix asyncio to support instantiation of new event loops in child processes.
+..
+.. bpo: 29615
+.. date: 0238
+.. nonce: OpFKzg
+.. section: Library
+SimpleXMLRPCDispatcher no longer chains KeyError (or any other exception) to
+exception(s) raised in the dispatched methods. Patch by Petr Motejlek.
+..
+.. bpo: 7769
+.. date: 0237
+.. nonce: xGRJWh
+.. section: Library
+Method register_function() of xmlrpc.server.SimpleXMLRPCDispatcher and its
+subclasses can now be used as a decorator.
+..
+.. bpo: 29376
+.. date: 0236
+.. nonce: rrJhJy
+.. section: Library
+Fix assertion error in threading._DummyThread.is_alive().
+..
+.. bpo: 28624
+.. date: 0235
+.. nonce: 43TJib
+.. section: Library
+Add a test that checks that cwd parameter of Popen() accepts PathLike
+objects. Patch by Sayan Chowdhury.
+..
+.. bpo: 28518
+.. date: 0234
+.. nonce: o-Q2Nw
+.. section: Library
+Start a transaction implicitly before a DML statement. Patch by Aviv
+Palivoda.
+..
+.. bpo: 29742
+.. date: 0233
+.. nonce: 8hqfEO
+.. section: Library
+get_extra_info() raises exception if get called on closed ssl transport.
+Patch by Nikolay Kim.
+..
+.. bpo: 16285
+.. date: 0232
+.. nonce: 4f5gbp
+.. section: Library
+urllib.parse.quote is now based on RFC 3986 and hence includes '~' in the
+set of characters that is not quoted by default. Patch by Christian Theune
+and Ratnadeep Debnath.
+..
+.. bpo: 29532
+.. date: 0231
+.. nonce: YCwVQn
+.. section: Library
+Altering a kwarg dictionary passed to functools.partial() no longer affects
+a partial object after creation.
+..
+.. bpo: 29110
+.. date: 0230
+.. nonce: wmE-_T
+.. section: Library
+Fix file object leak in aifc.open() when file is given as a filesystem path
+and is not in valid AIFF format. Patch by Anthony Zhang.
+..
+.. bpo: 22807
+.. date: 0229
+.. nonce: VmoSkZ
+.. section: Library
+Add uuid.SafeUUID and uuid.UUID.is_safe to relay information from the
+platform about whether generated UUIDs are generated with a multiprocessing
+safe method.
+..
+.. bpo: 29576
+.. date: 0228
+.. nonce: F-b8_5
+.. section: Library
+Improve some deprecations in importlib. Some deprecated methods now emit
+DeprecationWarnings and have better descriptive messages.
+..
+.. bpo: 29534
+.. date: 0227
+.. nonce: Ug3HPU
+.. section: Library
+Fixed different behaviour of Decimal.from_float() for _decimal and
+_pydecimal. Thanks Andrew Nester.
+..
+.. bpo: 10379
+.. date: 0226
+.. nonce: mRlZsT
+.. section: Library
+locale.format_string now supports the 'monetary' keyword argument, and
+locale.format is deprecated.
+..
+.. bpo: 29851
+.. date: 0225
+.. nonce: jqs_5s
+.. section: Library
+importlib.reload() now raises ModuleNotFoundError if the module lacks a
+spec.
+..
+.. bpo: 28556
+.. date: 0224
+.. nonce: p6967e
+.. section: Library
+Various updates to typing module: typing.Counter, typing.ChainMap, improved
+ABC caching, etc. Original PRs by Jelle Zijlstra, Ivan Levkivskyi, Manuel
+Krebber, and Łukasz Langa.
+..
+.. bpo: 29100
+.. date: 0223
+.. nonce: LAAERS
+.. section: Library
+Fix datetime.fromtimestamp() regression introduced in Python 3.6.0: check
+minimum and maximum years.
+..
+.. bpo: 29416
+.. date: 0222
+.. nonce: KJGyI_
+.. section: Library
+Prevent infinite loop in pathlib.Path.mkdir
+..
+.. bpo: 29444
+.. date: 0221
+.. nonce: cEwgmk
+.. section: Library
+Fixed out-of-bounds buffer access in the group() method of the match object.
+Based on patch by WGH.
+..
+.. bpo: 29377
+.. date: 0220
+.. nonce: 4AvSrC
+.. section: Library
+Add WrapperDescriptorType, MethodWrapperType, and MethodDescriptorType
+built-in types to types module. Original patch by Manuel Krebber.
+..
+.. bpo: 29218
+.. date: 0219
+.. nonce: -Qoti0
+.. section: Library
+Unused install_misc command is now removed. It has been documented as
+unused since 2000. Patch by Eric N. Vander Weele.
+..
+.. bpo: 29368
+.. date: 0218
+.. nonce: nTtA_V
+.. section: Library
+The extend() method is now called instead of the append() method when
+unpickle collections.deque and other list-like objects. This can speed up
+unpickling to 2 times.
+..
+.. bpo: 29338
+.. date: 0217
+.. nonce: EpvQJl
+.. section: Library
+The help of a builtin or extension class now includes the constructor
+signature if __text_signature__ is provided for the class.
+..
+.. bpo: 29335
+.. date: 0216
+.. nonce: _KC7IK
+.. section: Library
+Fix subprocess.Popen.wait() when the child process has exited to a stopped
+instead of terminated state (ex: when under ptrace).
+..
+.. bpo: 29290
+.. date: 0215
+.. nonce: XBqptF
+.. section: Library
+Fix a regression in argparse that help messages would wrap at non-breaking
+spaces.
+..
+.. bpo: 28735
+.. date: 0214
+.. nonce: admHLO
+.. section: Library
+Fixed the comparison of mock.MagickMock with mock.ANY.
+..
+.. bpo: 29197
+.. date: 0213
+.. nonce: sZssFZ
+.. section: Library
+Removed deprecated function ntpath.splitunc().
+..
+.. bpo: 29210
+.. date: 0212
+.. nonce: y1UHWf
+.. section: Library
+Removed support of deprecated argument "exclude" in tarfile.TarFile.add().
+..
+.. bpo: 29219
+.. date: 0211
+.. nonce: kxui7t
+.. section: Library
+Fixed infinite recursion in the repr of uninitialized ctypes.CDLL instances.
+..
+.. bpo: 29192
+.. date: 0210
+.. nonce: mY31H8
+.. section: Library
+Removed deprecated features in the http.cookies module.
+..
+.. bpo: 29193
+.. date: 0209
+.. nonce: CgcjEx
+.. section: Library
+A format string argument for string.Formatter.format() is now
+positional-only.
+..
+.. bpo: 29195
+.. date: 0208
+.. nonce: vK5LjU
+.. section: Library
+Removed support of deprecated undocumented keyword arguments in methods of
+regular expression objects.
+..
+.. bpo: 28969
+.. date: 0207
+.. nonce: j3HJYO
+.. section: Library
+Fixed race condition in C implementation of functools.lru_cache. KeyError
+could be raised when cached function with full cache was simultaneously
+called from different threads with the same uncached arguments.
+..
+.. bpo: 20804
+.. date: 0206
+.. nonce: XyZhvi
+.. section: Library
+The unittest.mock.sentinel attributes now preserve their identity when they
+are copied or pickled.
+..
+.. bpo: 29142
+.. date: 0205
+.. nonce: xo6kAv
+.. section: Library
+In urllib.request, suffixes in no_proxy environment variable with leading
+dots could match related hostnames again (e.g. .b.c matches a.b.c). Patch by
+Milan Oberkirch.
+..
+.. bpo: 28961
+.. date: 0204
+.. nonce: Rt93vg
+.. section: Library
+Fix unittest.mock._Call helper: don't ignore the name parameter anymore.
+Patch written by Jiajun Huang.
+..
+.. bpo: 15812
+.. date: 0203
+.. nonce: R1U-Ec
+.. section: Library
+inspect.getframeinfo() now correctly shows the first line of a context.
+Patch by Sam Breese.
+..
+.. bpo: 28985
+.. date: 0202
+.. nonce: TMWJFg
+.. section: Library
+Update authorizer constants in sqlite3 module. Patch by Dingyuan Wang.
+..
+.. bpo: 29079
+.. date: 0201
+.. nonce: g4YLix
+.. section: Library
+Prevent infinite loop in pathlib.resolve() on Windows
+..
+.. bpo: 13051
+.. date: 0200
+.. nonce: YzC1Te
+.. section: Library
+Fixed recursion errors in large or resized curses.textpad.Textbox. Based on
+patch by Tycho Andersen.
+..
+.. bpo: 9770
+.. date: 0199
+.. nonce: WJJnwP
+.. section: Library
+curses.ascii predicates now work correctly with negative integers.
+..
+.. bpo: 28427
+.. date: 0198
+.. nonce: vUd-va
+.. section: Library
+old keys should not remove new values from WeakValueDictionary when
+collecting from another thread.
+..
+.. bpo: 28923
+.. date: 0197
+.. nonce: naVULD
+.. section: Library
+Remove editor artifacts from Tix.py.
+..
+.. bpo: 28871
+.. date: 0196
+.. nonce: cPMXCJ
+.. section: Library
+Fixed a crash when deallocate deep ElementTree.
+..
+.. bpo: 19542
+.. date: 0195
+.. nonce: 5tCkaK
+.. section: Library
+Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop()
+when a GC collection happens in another thread.
+..
+.. bpo: 20191
+.. date: 0194
+.. nonce: Q7uZCS
+.. section: Library
+Fixed a crash in resource.prlimit() when passing a sequence that doesn't own
+its elements as limits.
+..
+.. bpo: 16255
+.. date: 0193
+.. nonce: p2YA85
+.. section: Library
+subprocess.Popen uses /system/bin/sh on Android as the shell, instead of
+/bin/sh.
+..
+.. bpo: 28779
+.. date: 0192
+.. nonce: t-mjED
+.. section: Library
+multiprocessing.set_forkserver_preload() would crash the forkserver process
+if a preloaded module instantiated some multiprocessing objects such as
+locks.
+..
+.. bpo: 26937
+.. date: 0191
+.. nonce: c9kgiA
+.. section: Library
+The chown() method of the tarfile.TarFile class does not fail now when the
+grp module cannot be imported, as for example on Android platforms.
+..
+.. bpo: 28847
+.. date: 0190
+.. nonce: GiWd9w
+.. section: Library
+dbm.dumb now supports reading read-only files and no longer writes the index
+file when it is not changed. A deprecation warning is now emitted if the
+index file is missed and recreated in the 'r' and 'w' modes (will be an
+error in future Python releases).
+..
+.. bpo: 27030
+.. date: 0189
+.. nonce: GoGlFH
+.. section: Library
+Unknown escapes consisting of ``'\'`` and an ASCII letter in re.sub()
+replacement templates regular expressions now are errors.
+..
+.. bpo: 28835
+.. date: 0188
+.. nonce: iWBYH7
+.. section: Library
+Fix a regression introduced in warnings.catch_warnings(): call
+warnings.showwarning() if it was overridden inside the context manager.
+..
+.. bpo: 27172
+.. date: 0187
+.. nonce: mVKfLT
+.. section: Library
+To assist with upgrades from 2.7, the previously documented deprecation of
+``inspect.getfullargspec()`` has been reversed. This decision may be
+revisited again after the Python 2.7 branch is no longer officially
+supported.
+..
+.. bpo: 28740
+.. date: 0186
+.. nonce: rY8kz-
+.. section: Library
+Add sys.getandroidapilevel(): return the build time API version of Android
+as an integer. Function only available on Android.
+..
+.. bpo: 26273
+.. date: 0185
+.. nonce: ilNIWN
+.. section: Library
+Add new :const:`socket.TCP_CONGESTION` (Linux 2.6.13) and
+:const:`socket.TCP_USER_TIMEOUT` (Linux 2.6.37) constants. Patch written by
+Omar Sandoval.
+..
+.. bpo: 28752
+.. date: 0184
+.. nonce: Q-4oRE
+.. section: Library
+Restored the __reduce__() methods of datetime objects.
+..
+.. bpo: 28727
+.. date: 0183
+.. nonce: ubZP_b
+.. section: Library
+Regular expression patterns, _sre.SRE_Pattern objects created by
+re.compile(), become comparable (only x==y and x!=y operators). This change
+should fix the issue #18383: don't duplicate warning filters when the
+warnings module is reloaded (thing usually only done in unit tests).
+..
+.. bpo: 20572
+.. date: 0182
+.. nonce: NCRmvz
+.. section: Library
+Remove the subprocess.Popen.wait endtime parameter. It was deprecated in
+3.4 and undocumented prior to that.
+..
+.. bpo: 25659
+.. date: 0181
+.. nonce: lE2IlT
+.. section: Library
+In ctypes, prevent a crash calling the from_buffer() and from_buffer_copy()
+methods on abstract classes like Array.
+..
+.. bpo: 28548
+.. date: 0180
+.. nonce: IeNrnG
+.. section: Library
+In the "http.server" module, parse the protocol version if possible, to
+avoid using HTTP 0.9 in some error responses.
+..
+.. bpo: 19717
+.. date: 0179
+.. nonce: HXCAIz
+.. section: Library
+Makes Path.resolve() succeed on paths that do not exist. Patch by Vajrasky
+Kok
+..
+.. bpo: 28563
+.. date: 0178
+.. nonce: iweEiw
+.. section: Library
+Fixed possible DoS and arbitrary code execution when handle plural form
+selections in the gettext module. The expression parser now supports exact
+syntax supported by GNU gettext.
+..
+.. bpo: 28387
+.. date: 0177
+.. nonce: 1clJu7
+.. section: Library
+Fixed possible crash in _io.TextIOWrapper deallocator when the garbage
+collector is invoked in other thread. Based on patch by Sebastian Cufre.
+..
+.. bpo: 27517
+.. date: 0176
+.. nonce: 1CYM8A
+.. section: Library
+LZMA compressor and decompressor no longer raise exceptions if given empty
+data twice. Patch by Benjamin Fogle.
+..
+.. bpo: 28549
+.. date: 0175
+.. nonce: ShnM2y
+.. section: Library
+Fixed segfault in curses's addch() with ncurses6.
+..
+.. bpo: 28449
+.. date: 0174
+.. nonce: 5JK6ES
+.. section: Library
+tarfile.open() with mode "r" or "r:" now tries to open a tar file with
+compression before trying to open it without compression. Otherwise it had
+50% chance failed with ignore_zeros=True.
+..
+.. bpo: 23262
+.. date: 0173
+.. nonce: 6EVB7N
+.. section: Library
+The webbrowser module now supports Firefox 36+ and derived browsers. Based
+on patch by Oleg Broytman.
+..
+.. bpo: 24241
+.. date: 0172
+.. nonce: y7N12p
+.. section: Library
+The webbrowser in an X environment now prefers using the default browser
+directly. Also, the webbrowser register() function now has a documented
+'preferred' argument, to specify browsers to be returned by get() with no
+arguments. Patch by David Steele
+..
+.. bpo: 27939
+.. date: 0171
+.. nonce: mTfADV
+.. section: Library
+Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale caused by
+representing the scale as float value internally in Tk. tkinter.IntVar now
+works if float value is set to underlying Tk variable.
+..
+.. bpo: 28255
+.. date: 0170
+.. nonce: G3iOPm
+.. section: Library
+calendar.TextCalendar.prweek() no longer prints a space after a weeks's
+calendar. calendar.TextCalendar.pryear() no longer prints redundant newline
+after a year's calendar. Based on patch by Xiang Zhang.
+..
+.. bpo: 28255
+.. date: 0169
+.. nonce: fHNZu0
+.. section: Library
+calendar.TextCalendar.prmonth() no longer prints a space at the start of new
+line after printing a month's calendar. Patch by Xiang Zhang.
+..
+.. bpo: 20491
+.. date: 0168
+.. nonce: ObgnQ2
+.. section: Library
+The textwrap.TextWrapper class now honors non-breaking spaces. Based on
+patch by Kaarle Ritvanen.
+..
+.. bpo: 28353
+.. date: 0167
+.. nonce: sKGbLL
+.. section: Library
+os.fwalk() no longer fails on broken links.
+..
+.. bpo: 28430
+.. date: 0166
+.. nonce: 4MiEYT
+.. section: Library
+Fix iterator of C implemented asyncio.Future doesn't accept non-None value
+is passed to it.send(val).
+..
+.. bpo: 27025
+.. date: 0165
+.. nonce: foAViS
+.. section: Library
+Generated names for Tkinter widgets now start by the "!" prefix for
+readability.
+..
+.. bpo: 25464
+.. date: 0164
+.. nonce: HDUTCu
+.. section: Library
+Fixed HList.header_exists() in tkinter.tix module by addin a workaround to
+Tix library bug.
+..
+.. bpo: 28488
+.. date: 0163
+.. nonce: TgO112
+.. section: Library
+shutil.make_archive() no longer adds entry "./" to ZIP archive.
+..
+.. bpo: 25953
+.. date: 0162
+.. nonce: EKKJAQ
+.. section: Library
+re.sub() now raises an error for invalid numerical group reference in
+replacement template even if the pattern is not found in the string. Error
+message for invalid group reference now includes the group index and the
+position of the reference. Based on patch by SilentGhost.
+..
+.. bpo: 28469
+.. date: 0161
+.. nonce: QZW1Np
+.. section: Library
+timeit now uses the sequence 1, 2, 5, 10, 20, 50,... instead of 1, 10,
+100,... for autoranging.
+..
+.. bpo: 28115
+.. date: 0160
+.. nonce: 4FIjIE
+.. section: Library
+Command-line interface of the zipfile module now uses argparse. Added
+support of long options.
+..
+.. bpo: 18219
+.. date: 0159
+.. nonce: 1ANQN1
+.. section: Library
+Optimize csv.DictWriter for large number of columns. Patch by Mariatta
+Wijaya.
+..
+.. bpo: 28448
+.. date: 0158
+.. nonce: 5bduWe
+.. section: Library
+Fix C implemented asyncio.Future didn't work on Windows.
+..
+.. bpo: 23214
+.. date: 0157
+.. nonce: -4Q5Z7
+.. section: Library
+In the "io" module, the argument to BufferedReader and BytesIO's read1()
+methods is now optional and can be -1, matching the BufferedIOBase
+specification.
+..
+.. bpo: 28480
+.. date: 0156
+.. nonce: 9lHw6m
+.. section: Library
+Fix error building socket module when multithreading is disabled.
+..
+.. bpo: 28240
+.. date: 0155
+.. nonce: hqzQvS
+.. section: Library
+timeit: remove ``-c/--clock`` and ``-t/--time`` command line options which
+were deprecated since Python 3.3.
+..
+.. bpo: 28240
+.. date: 0154
+.. nonce: IwQMgd
+.. section: Library
+timeit now repeats the benchmarks 5 times instead of only 3 to make
+benchmarks more reliable.
+..
+.. bpo: 28240
+.. date: 0153
+.. nonce: cXljq-
+.. section: Library
+timeit autorange now uses a single loop iteration if the benchmark takes
+less than 10 seconds, instead of 10 iterations. "python3 -m timeit -s
+'import time' 'time.sleep(1)'" now takes 4 seconds instead of 40 seconds.
+..
+.. bpo: 0
+.. date: 0152
+.. nonce: 5Y0ngw
+.. section: Library
+Distutils.sdist now looks for README and setup.py files with case
+sensitivity. This behavior matches that found in Setuptools 6.0 and later.
+See `setuptools 100 `_ for
+rationale.
+..
+.. bpo: 24452
+.. date: 0151
+.. nonce: pVsjt0
+.. section: Library
+Make webbrowser support Chrome on Mac OS X. Patch by Ned Batchelder.
+..
+.. bpo: 20766
+.. date: 0150
+.. nonce: 4kvCzx
+.. section: Library
+Fix references leaked by pdb in the handling of SIGINT handlers.
+..
+.. bpo: 27998
+.. date: 0149
+.. nonce: CPhy4H
+.. section: Library
+Fixed bytes path support in os.scandir() on Windows. Patch by Eryk Sun.
+..
+.. bpo: 28317
+.. date: 0148
+.. nonce: LgHleA
+.. section: Library
+The disassembler now decodes FORMAT_VALUE argument.
+..
+.. bpo: 28380
+.. date: 0147
+.. nonce: jKPMzH
+.. section: Library
+unittest.mock Mock autospec functions now properly support assert_called,
+assert_not_called, and assert_called_once.
+..
+.. bpo: 28229
+.. date: 0146
+.. nonce: BKAxcS
+.. section: Library
+lzma module now supports pathlib.
+..
+.. bpo: 28321
+.. date: 0145
+.. nonce: bQ-IIX
+.. section: Library
+Fixed writing non-BMP characters with binary format in plistlib.
+..
+.. bpo: 28225
+.. date: 0144
+.. nonce: 6N28nu
+.. section: Library
+bz2 module now supports pathlib. Initial patch by Ethan Furman.
+..
+.. bpo: 28227
+.. date: 0143
+.. nonce: 7lUz8i
+.. section: Library
+gzip now supports pathlib. Patch by Ethan Furman.
+..
+.. bpo: 28332
+.. date: 0142
+.. nonce: Ed8fNk
+.. section: Library
+Deprecated silent truncations in socket.htons and socket.ntohs. Original
+patch by Oren Milman.
+..
+.. bpo: 27358
+.. date: 0141
+.. nonce: t288Iv
+.. section: Library
+Optimized merging var-keyword arguments and improved error message when
+passing a non-mapping as a var-keyword argument.
+..
+.. bpo: 28257
+.. date: 0140
+.. nonce: SVD_IH
+.. section: Library
+Improved error message when passing a non-iterable as a var-positional
+argument. Added opcode BUILD_TUPLE_UNPACK_WITH_CALL.
+..
+.. bpo: 28322
+.. date: 0139
+.. nonce: l9hzap
+.. section: Library
+Fixed possible crashes when unpickle itertools objects from incorrect pickle
+data. Based on patch by John Leitch.
+..
+.. bpo: 28228
+.. date: 0138
+.. nonce: 1qBwdM
+.. section: Library
+imghdr now supports pathlib.
+..
+.. bpo: 28226
+.. date: 0137
+.. nonce: nMXiwU
+.. section: Library
+compileall now supports pathlib.
+..
+.. bpo: 28314
+.. date: 0136
+.. nonce: N7YrkN
+.. section: Library
+Fix function declaration (C flags) for the getiterator() method of
+xml.etree.ElementTree.Element.
+..
+.. bpo: 28148
+.. date: 0135
+.. nonce: Flzndx
+.. section: Library
+Stop using localtime() and gmtime() in the time module.
+Introduced platform independent _PyTime_localtime API that is similar to
+POSIX localtime_r, but available on all platforms. Patch by Ed Schouten.
+..
+.. bpo: 28253
+.. date: 0134
+.. nonce: aLfmhe
+.. section: Library
+Fixed calendar functions for extreme months: 0001-01 and 9999-12.
+Methods itermonthdays() and itermonthdays2() are reimplemented so that they
+don't call itermonthdates() which can cause datetime.date under/overflow.
+..
+.. bpo: 28275
+.. date: 0133
+.. nonce: EhWIsz
+.. section: Library
+Fixed possible use after free in the decompress() methods of the
+LZMADecompressor and BZ2Decompressor classes. Original patch by John Leitch.
+..
+.. bpo: 27897
+.. date: 0132
+.. nonce: I0Ppmx
+.. section: Library
+Fixed possible crash in sqlite3.Connection.create_collation() if pass
+invalid string-like object as a name. Patch by Xiang Zhang.
+..
+.. bpo: 18844
+.. date: 0131
+.. nonce: fQsEdn
+.. section: Library
+random.choices() now has k as a keyword-only argument to improve the
+readability of common cases and come into line with the signature used in
+other languages.
+..
+.. bpo: 18893
+.. date: 0130
+.. nonce: osiX5c
+.. section: Library
+Fix invalid exception handling in Lib/ctypes/macholib/dyld.py. Patch by
+Madison May.
+..
+.. bpo: 27611
+.. date: 0129
+.. nonce: A_ArH_
+.. section: Library
+Fixed support of default root window in the tkinter.tix module. Added the
+master parameter in the DisplayStyle constructor.
+..
+.. bpo: 27348
+.. date: 0128
+.. nonce: tDx7Vw
+.. section: Library
+In the traceback module, restore the formatting of exception messages like
+"Exception: None". This fixes a regression introduced in 3.5a2.
+..
+.. bpo: 25651
+.. date: 0127
+.. nonce: 3UhyPo
+.. section: Library
+Allow false values to be used for msg parameter of subTest().
+..
+.. bpo: 27778
+.. date: 0126
+.. nonce: Yyo1aP
+.. section: Library
+Fix a memory leak in os.getrandom() when the getrandom() is interrupted by a
+signal and a signal handler raises a Python exception.
+..
+.. bpo: 28200
+.. date: 0125
+.. nonce: 4IEbr7
+.. section: Library
+Fix memory leak on Windows in the os module (fix path_converter() function).
+..
+.. bpo: 25400
+.. date: 0124
+.. nonce: d9Qn0E
+.. section: Library
+RobotFileParser now correctly returns default values for crawl_delay and
+request_rate. Initial patch by Peter Wirtz.
+..
+.. bpo: 27932
+.. date: 0123
+.. nonce: mtgl-6
+.. section: Library
+Prevent memory leak in win32_ver().
+..
+.. bpo: 0
+.. date: 0122
+.. nonce: iPpjqX
+.. section: Library
+Fix UnboundLocalError in socket._sendfile_use_sendfile.
+..
+.. bpo: 28075
+.. date: 0121
+.. nonce: aLiUs9
+.. section: Library
+Check for ERROR_ACCESS_DENIED in Windows implementation of os.stat(). Patch
+by Eryk Sun.
+..
+.. bpo: 22493
+.. date: 0120
+.. nonce: Mv_hZf
+.. section: Library
+Warning message emitted by using inline flags in the middle of regular
+expression now contains a (truncated) regex pattern. Patch by Tim Graham.
+..
+.. bpo: 25270
+.. date: 0119
+.. nonce: jrZruM
+.. section: Library
+Prevent codecs.escape_encode() from raising SystemError when an empty
+bytestring is passed.
+..
+.. bpo: 28181
+.. date: 0118
+.. nonce: NGc4Yv
+.. section: Library
+Get antigravity over HTTPS. Patch by Kaartic Sivaraam.
+..
+.. bpo: 25895
+.. date: 0117
+.. nonce: j92qoQ
+.. section: Library
+Enable WebSocket URL schemes in urllib.parse.urljoin. Patch by Gergely Imreh
+and Markus Holtermann.
+..
+.. bpo: 28114
+.. date: 0116
+.. nonce: gmFXsA
+.. section: Library
+Fix a crash in parse_envlist() when env contains byte strings. Patch by Eryk
+Sun.
+..
+.. bpo: 27599
+.. date: 0115
+.. nonce: itvm8T
+.. section: Library
+Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().
+..
+.. bpo: 27906
+.. date: 0114
+.. nonce: TBBXrv
+.. section: Library
+Fix socket accept exhaustion during high TCP traffic. Patch by Kevin Conway.
+..
+.. bpo: 28174
+.. date: 0113
+.. nonce: CV1UdI
+.. section: Library
+Handle when SO_REUSEPORT isn't properly supported. Patch by Seth Michael
+Larson.
+..
+.. bpo: 26654
+.. date: 0112
+.. nonce: XtzTE9
+.. section: Library
+Inspect functools.partial in asyncio.Handle.__repr__. Patch by iceboy.
+..
+.. bpo: 26909
+.. date: 0111
+.. nonce: ASiakT
+.. section: Library
+Fix slow pipes IO in asyncio. Patch by INADA Naoki.
+..
+.. bpo: 28176
+.. date: 0110
+.. nonce: sU8R6L
+.. section: Library
+Fix callbacks race in asyncio.SelectorLoop.sock_connect.
+..
+.. bpo: 27759
+.. date: 0109
+.. nonce: qpMDGq
+.. section: Library
+Fix selectors incorrectly retain invalid file descriptors. Patch by Mark
+Williams.
+..
+.. bpo: 28325
+.. date: 0108
+.. nonce: wAHmnK
+.. section: Library
+Remove vestigial MacOS 9 macurl2path module and its tests.
+..
+.. bpo: 28368
+.. date: 0107
+.. nonce: n594X4
+.. section: Library
+Refuse monitoring processes if the child watcher has no loop attached. Patch
+by Vincent Michel.
+..
+.. bpo: 28369
+.. date: 0106
+.. nonce: 8DTANe
+.. section: Library
+Raise RuntimeError when transport's FD is used with add_reader, add_writer,
+etc.
+..
+.. bpo: 28370
+.. date: 0105
+.. nonce: 18jBuZ
+.. section: Library
+Speedup asyncio.StreamReader.readexactly. Patch by Коренберг Марк.
+..
+.. bpo: 28371
+.. date: 0104
+.. nonce: U9Zqdk
+.. section: Library
+Deprecate passing asyncio.Handles to run_in_executor.
+..
+.. bpo: 28372
+.. date: 0103
+.. nonce: njcIPk
+.. section: Library
+Fix asyncio to support formatting of non-python coroutines.
+..
+.. bpo: 28399
+.. date: 0102
+.. nonce: QKIqRX
+.. section: Library
+Remove UNIX socket from FS before binding. Patch by Коренберг Марк.
+..
+.. bpo: 27972
+.. date: 0101
+.. nonce: ZK-GFm
+.. section: Library
+Prohibit Tasks to await on themselves.
+..
+.. bpo: 24142
+.. date: 0100
+.. nonce: IrZnFs
+.. section: Library
+Reading a corrupt config file left configparser in an invalid state.
+Original patch by Florian Höch.
+..
+.. bpo: 29581
+.. date: 0099
+.. nonce: gHCrxP
+.. section: Library
+ABCMeta.__new__ now accepts ``**kwargs``, allowing abstract base classes to
+use keyword parameters in __init_subclass__. Patch by Nate Soares.
+..
+.. bpo: 25532
+.. date: 0098
+.. nonce: ey4Yez
+.. section: Library
+inspect.unwrap() will now only try to unwrap an object
+sys.getrecursionlimit() times, to protect against objects which create a new
+object on every attribute access.
+..
+.. bpo: 30177
+.. date: 0097
+.. nonce: JGIJNL
+.. section: Library
+path.resolve(strict=False) no longer cuts the path after the first element
+not present in the filesystem. Patch by Antoine Pietri.
+..
+.. bpo: 31294
+.. date: 2017-09-07-20-49-09
+.. nonce: WgI18w
+.. section: Documentation
+Fix incomplete code snippet in the ZeroMQSocketListener and
+ZeroMQSocketHandler examples and adapt them to Python 3.
+..
+.. bpo: 21649
+.. date: 2017-09-06-10-11-57
+.. nonce: EUvqA9
+.. section: Documentation
+Add RFC 7525 and Mozilla server side TLS links to SSL documentation.
+..
+.. bpo: 31128
+.. date: 2017-08-31
+.. nonce: uoa3cr
+.. section: Documentation
+Allow the pydoc server to bind to arbitrary hostnames.
+..
+.. bpo: 30803
+.. date: 2017-07-29-14-55-50
+.. nonce: 6hutqQ
+.. section: Documentation
+Clarify doc on truth value testing. Original patch by Peter Thomassen.
+..
+.. bpo: 30176
+.. date: 0060
+.. nonce: VivmCg
+.. section: Documentation
+Add missing attribute related constants in curses documentation.
+..
+.. bpo: 30052
+.. date: 0059
+.. nonce: TpmpaF
+.. section: Documentation
+the link targets for :func:`bytes` and :func:`bytearray` are now their
+respective type definitions, rather than the corresponding builtin function
+entries. Use :ref:`bytes ` and :ref:`bytearray `
+to reference the latter.
+In order to ensure this and future cross-reference updates are applied
+automatically, the daily documentation builds now disable the default output
+caching features in Sphinx.
+..
+.. bpo: 26985
+.. date: 0058
+.. nonce: NB5_9S
+.. section: Documentation
+Add missing info of code object in inspect documentation.
+..
+.. bpo: 19824
+.. date: 0057
+.. nonce: We9an6
+.. section: Documentation
+Improve the documentation for, and links to, template strings by emphasizing
+their utility for internationalization, and by clarifying some usage
+constraints. (See also: bpo-20314, bpo-12518)
+..
+.. bpo: 28929
+.. date: 0056
+.. nonce: Md7kb0
+.. section: Documentation
+Link the documentation to its source file on GitHub.
+..
+.. bpo: 25008
+.. date: 0055
+.. nonce: CeIzyU
+.. section: Documentation
+Document smtpd.py as effectively deprecated and add a pointer to aiosmtpd, a
+third-party asyncio-based replacement.
+..
+.. bpo: 26355
+.. date: 0054
+.. nonce: SDq_8Y
+.. section: Documentation
+Add canonical header link on each page to corresponding major version of the
+documentation. Patch by Matthias Bussonnier.
+..
+.. bpo: 29349
+.. date: 0053
+.. nonce: PjSo-t
+.. section: Documentation
+Fix Python 2 syntax in code for building the documentation.
+..
+.. bpo: 23722
+.. date: 0052
+.. nonce: nFjY3C
+.. section: Documentation
+The data model reference and the porting section in the 3.6 What's New guide
+now cover the additional ``__classcell__`` handling needed for custom
+metaclasses to fully support :pep:`487` and zero-argument ``super()``.
+..
+.. bpo: 28513
+.. date: 0051
+.. nonce: L3joAz
+.. section: Documentation
+Documented command-line interface of zipfile.
+..
+.. bpo: 29639
+.. date: 2017-09-08-15-59-07
+.. nonce: yIZecp
+.. section: Tests
+test.support.HOST is now "localhost", a new HOSTv4 constant has been added
+for your ``127.0.0.1`` needs, similar to the existing HOSTv6 constant.
+..
+.. bpo: 31320
+.. date: 2017-09-05-14-23-35
+.. nonce: JRDHx7
+.. section: Tests
+Silence traceback in test_ssl
+..
+.. bpo: 31346
+.. date: 2017-09-04-16-21-18
+.. nonce: xni1VR
+.. section: Tests
+Prefer PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER protocols for SSLContext.
+..
+.. bpo: 25674
+.. date: 2017-09-04-13-03-55
+.. nonce: whVTXh
+.. section: Tests
+Remove sha256.tbs-internet.com ssl test
+..
+.. bpo: 30715
+.. date: 2017-07-25-15-27-44
+.. nonce: Sp7bTF
+.. section: Tests
+Address ALPN callback changes for OpenSSL 1.1.0f. The latest version behaves
+like OpenSSL 1.0.2 and no longer aborts handshake.
+..
+.. bpo: 30822
+.. date: 2017-07-20-14-29-54
+.. nonce: X0wREo
+.. section: Tests
+regrtest: Exclude tzdata from regrtest --all. When running the test suite
+using --use=all / -u all, exclude tzdata since it makes test_datetime too
+slow (15-20 min on some buildbots) which then times out on some buildbots.
+Fix also regrtest command line parser to allow passing -u extralargefile to
+run test_zipfile64.
+..
+.. bpo: 30695
+.. date: 2017-06-30-11-20-20
+.. nonce: lo7FQX
+.. section: Tests
+Add the ``set_nomemory(start, stop)`` and ``remove_mem_hooks()`` functions to
+the ``_testcapi`` module.
+..
+.. bpo: 30357
+.. date: 0012
+.. nonce: n4CPEa
+.. section: Tests
+test_thread: setUp() now uses support.threading_setup() and
+support.threading_cleanup() to wait until threads complete to avoid random
+side effects on following tests. Initial patch written by Grzegorz Grzywacz.
+..
+.. bpo: 30197
+.. date: 0011
+.. nonce: c5wRfu
+.. section: Tests
+Enhanced functions swap_attr() and swap_item() in the test.support module.
+They now work when delete replaced attribute or item inside the with
+statement. The old value of the attribute or item (or None if it doesn't
+exist) now will be assigned to the target of the "as" clause, if there is
+one.
+..
+.. bpo: 24932
+.. date: 0010
+.. nonce: XLTzvR
+.. section: Tests
+Use proper command line parsing in _testembed
+..
+.. bpo: 28950
+.. date: 0009
+.. nonce: 1W8Glo
+.. section: Tests
+Disallow -j0 to be combined with -T/-l in regrtest command line arguments.
+..
+.. bpo: 28683
+.. date: 0008
+.. nonce: Fp-Hdq
+.. section: Tests
+Fix the tests that bind() a unix socket and raise PermissionError on Android
+for a non-root user.
+..
+.. bpo: 26936
+.. date: 0007
+.. nonce: XSZSVS
+.. section: Tests
+Fix the test_socket failures on Android - getservbyname(), getservbyport()
+and getaddrinfo() are broken on some Android API levels.
+..
+.. bpo: 28666
+.. date: 0006
+.. nonce: RtTk-4
+.. section: Tests
+Now test.support.rmtree is able to remove unwritable or unreadable
+directories.
+..
+.. bpo: 23839
+.. date: 0005
+.. nonce: zsT_L9
+.. section: Tests
+Various caches now are cleared before running every test file.
+..
+.. bpo: 26944
+.. date: 0004
+.. nonce: ChZ_BO
+.. section: Tests
+Fix test_posix for Android where 'id -G' is entirely wrong or missing the
+effective gid.
+..
+.. bpo: 28409
+.. date: 0003
+.. nonce: Q2IlxJ
+.. section: Tests
+regrtest: fix the parser of command line arguments.
+..
+.. bpo: 28217
+.. date: 0002
+.. nonce: Y37OKV
+.. section: Tests
+Adds _testconsole module to test console input.
+..
+.. bpo: 26939
+.. date: 0001
+.. nonce: 7j_W5R
+.. section: Tests
+Add the support.setswitchinterval() function to fix test_functools hanging
+on the Android armv7 qemu emulator.
+..
+.. bpo: 31354
+.. date: 2017-09-08-11-48-11
+.. nonce: 4f-VJK
+.. section: Build
+Allow ``--with-lto`` to be used on all builds, not just ``make profile-opt``.
+..
+.. bpo: 31370
+.. date: 2017-09-06-23-14-08
+.. nonce: -j4kN4
+.. section: Build
+Remove support for building --without-threads.
+This option is not really useful anymore in the 21st century. Removing lots
+of conditional paths allows us to simplify the code base, including in
+difficult to maintain low-level internal code.
+..
+.. bpo: 31341
+.. date: 2017-09-04-14-43-46
+.. nonce: XLuZFk
+.. section: Build
+Per :pep:`11`, support for the IRIX operating system was removed.
+..
+.. bpo: 30854
+.. date: 2017-07-05-16-54-59
+.. nonce: sPADRI
+.. section: Build
+Fix compile error when compiling --without-threads. Patch by Masayuki
+Yamamoto.
+..
+.. bpo: 30687
+.. date: 0050
+.. nonce: 8mqHnu
+.. section: Build
+Locate msbuild.exe on Windows when building rather than vcvarsall.bat
+..
+.. bpo: 20210
+.. date: 0049
+.. nonce: MN_n-r
+.. section: Build
+Support the *disabled* marker in Setup files. Extension modules listed after
+this marker are not built at all, neither by the Makefile nor by setup.py.
+..
+.. bpo: 29941
+.. date: 0048
+.. nonce: ylh45A
+.. section: Build
+Add ``--with-assertions`` configure flag to explicitly enable C ``assert()``
+checks. Defaults to off. ``--with-pydebug`` implies ``--with-assertions``.
+..
+.. bpo: 28787
+.. date: 0047
+.. nonce: vhH_6a
+.. section: Build
+Fix out-of-tree builds of Python when configured with ``--with--dtrace``.
+..
+.. bpo: 29243
+.. date: 0046
+.. nonce: WDK4hT
+.. section: Build
+Prevent unnecessary rebuilding of Python during ``make test``, ``make
+install`` and some other make targets when configured with
+``--enable-optimizations``.
+..
+.. bpo: 23404
+.. date: 0045
+.. nonce: PdYVWg
+.. section: Build
+Don't regenerate generated files based on file modification time anymore:
+the action is now explicit. Replace ``make touch`` with ``make regen-all``.
+..
+.. bpo: 29643
+.. date: 0044
+.. nonce: 4WLIJQ
+.. section: Build
+Fix ``--enable-optimization`` didn't work.
+..
+.. bpo: 27593
+.. date: 0043
+.. nonce: v87xEr
+.. section: Build
+sys.version and the platform module python_build(), python_branch(), and
+python_revision() functions now use git information rather than hg when
+building from a repo.
+..
+.. bpo: 29572
+.. date: 0042
+.. nonce: iZ1XKK
+.. section: Build
+Update Windows build and OS X installers to use OpenSSL 1.0.2k.
+..
+.. bpo: 27659
+.. date: 0041
+.. nonce: i8UzRC
+.. section: Build
+Prohibit implicit C function declarations: use
+``-Werror=implicit-function-declaration`` when possible (GCC and Clang,
+but it depends on the compiler version). Patch written by Chi Hsuan Yen.
+..
+.. bpo: 29384
+.. date: 0040
+.. nonce: v3IqBE
+.. section: Build
+Remove old Be OS helper scripts.
+..
+.. bpo: 26851
+.. date: 0039
+.. nonce: R5243g
+.. section: Build
+Set Android compilation and link flags.
+..
+.. bpo: 28768
+.. date: 0038
+.. nonce: b9_a6E
+.. section: Build
+Fix implicit declaration of function _setmode. Patch by Masayuki Yamamoto
+..
+.. bpo: 29080
+.. date: 0037
+.. nonce: b3qLQT
+.. section: Build
+Removes hard dependency on hg.exe from PCBuild/build.bat
+..
+.. bpo: 23903
+.. date: 0036
+.. nonce: JXJ889
+.. section: Build
+Added missed names to PC/python3.def.
+..
+.. bpo: 28762
+.. date: 0035
+.. nonce: Ru0YN_
+.. section: Build
+lockf() is available on Android API level 24, but the F_LOCK macro is not
+defined in android-ndk-r13.
+..
+.. bpo: 28538
+.. date: 0034
+.. nonce: FqtN7v
+.. section: Build
+Fix the compilation error that occurs because if_nameindex() is available on
+Android API level 24, but the if_nameindex structure is not defined.
+..
+.. bpo: 20211
+.. date: 0033
+.. nonce: gpNptI
+.. section: Build
+Do not add the directory for installing C header files and the directory for
+installing object code libraries to the cross compilation search paths.
+Original patch by Thomas Petazzoni.
+..
+.. bpo: 28849
+.. date: 0032
+.. nonce: AzRRF5
+.. section: Build
+Do not define sys.implementation._multiarch on Android.
+..
+.. bpo: 10656
+.. date: 0031
+.. nonce: pR8FFU
+.. section: Build
+Fix out-of-tree building on AIX. Patch by Tristan Carel and Michael
+Haubenwallner.
+..
+.. bpo: 26359
+.. date: 0030
+.. nonce: CLz6qy
+.. section: Build
+Rename --with-optimiations to --enable-optimizations.
+..
+.. bpo: 28444
+.. date: 0029
+.. nonce: zkc9nT
+.. section: Build
+Fix missing extensions modules when cross compiling.
+..
+.. bpo: 28208
+.. date: 0028
+.. nonce: DtoP1i
+.. section: Build
+Update Windows build and OS X installers to use SQLite 3.14.2.
+..
+.. bpo: 28248
+.. date: 0027
+.. nonce: KY_-en
+.. section: Build
+Update Windows build and OS X installers to use OpenSSL 1.0.2j.
+..
+.. bpo: 21124
+.. date: 0026
+.. nonce: 1bbArU
+.. section: Build
+Fix building the _struct module on Cygwin by passing ``NULL`` instead of
+``&PyType_Type`` to PyVarObject_HEAD_INIT. Patch by Masayuki Yamamoto.
+..
+.. bpo: 13756
+.. date: 0025
+.. nonce: sslhpC
+.. section: Build
+Fix building extensions modules on Cygwin. Patch by Roumen Petrov, based on
+original patch by Jason Tishler.
+..
+.. bpo: 21085
+.. date: 0024
+.. nonce: 2VvyUF
+.. section: Build
+Add configure check for siginfo_t.si_band, which Cygwin does not provide.
+Patch by Masayuki Yamamoto with review and rebase by Erik Bray.
+..
+.. bpo: 28258
+.. date: 0023
+.. nonce: iKtAHd
+.. section: Build
+Fixed build with Estonian locale (python-config and distclean targets in
+Makefile). Patch by Arfrever Frehtes Taifersar Arahesis.
+..
+.. bpo: 26661
+.. date: 0022
+.. nonce: Z_HNbs
+.. section: Build
+setup.py now detects system libffi with multiarch wrapper.
+..
+.. bpo: 27979
+.. date: 0021
+.. nonce: fR0KgM
+.. section: Build
+A full copy of libffi is no longer bundled for use when building _ctypes on
+non-OSX UNIX platforms. An installed copy of libffi is now required when
+building _ctypes on such platforms.
+..
+.. bpo: 15819
+.. date: 0020
+.. nonce: QVDr3E
+.. section: Build
+Remove redundant include search directory option for building outside the
+source tree.
+..
+.. bpo: 28676
+.. date: 0019
+.. nonce: Wxf6Ds
+.. section: Build
+Prevent missing 'getentropy' declaration warning on macOS. Patch by Gareth
+Rees.
+..
+.. bpo: 31392
+.. date: 2017-09-07-20-09-04
+.. nonce: h92bWF
+.. section: Windows
+Update Windows build to use OpenSSL 1.1.0f
+..
+.. bpo: 30389
+.. date: 2017-09-06-17-14-54
+.. nonce: 9Dizrx
+.. section: Windows
+Adds detection of Visual Studio 2017 to distutils on Windows.
+..
+.. bpo: 31358
+.. date: 2017-09-05-19-46-52
+.. nonce: n1Fjxc
+.. section: Windows
+zlib is no longer bundled in the CPython source, instead it is downloaded on
+demand just like bz2, lzma, OpenSSL, Tcl/Tk, and SQLite.
+..
+.. bpo: 31340
+.. date: 2017-09-04-13-19-05
+.. nonce: MbkzLi
+.. section: Windows
+Change to building with MSVC v141 (included with Visual Studio 2017)
+..
+.. bpo: 30581
+.. date: 2017-08-04-10-05-19
+.. nonce: OQhR7l
+.. section: Windows
+os.cpu_count() now returns the correct number of processors on Windows when
+the number of logical processors is greater than 64.
+..
+.. bpo: 30916
+.. date: 2017-07-15-00-40-12
+.. nonce: BpCrro
+.. section: Windows
+Pre-build OpenSSL, Tcl and Tk and include the binaries in the build.
+..
+.. bpo: 30731
+.. date: 2017-07-13-11-22-53
+.. nonce: nmMDwI
+.. section: Windows
+Add a missing xmlns to python.manifest so that it matches the schema.
+..
+.. bpo: 30291
+.. date: 2017-06-28-03-20-48
+.. nonce: zBpOl6
+.. section: Windows
+Allow requiring 64-bit interpreters from py.exe using -64 suffix.
+Contributed by Steve (Gadget) Barnes.
+..
+.. bpo: 30362
+.. date: 2017-06-28-03-08-22
+.. nonce: XxeVMB
+.. section: Windows
+Adds list options (-0, -0p) to py.exe launcher. Contributed by Steve Barnes.
+..
+.. bpo: 23451
+.. date: 2017-06-27-07-04-06
+.. nonce: bl_QOB
+.. section: Windows
+Fix socket deprecation warnings in socketmodule.c. Patch by Segev Finer.
+..
+.. bpo: 30450
+.. date: 0088
+.. nonce: qsaK8y
+.. section: Windows
+The build process on Windows no longer depends on Subversion, instead
+pulling external code from GitHub via a Python script. If Python 3.6 is not
+found on the system (via ``py -3.6``), NuGet is used to download a copy of
+32-bit Python.
+..
+.. bpo: 29579
+.. date: 0087
+.. nonce: 07B-FQ
+.. section: Windows
+Removes readme.txt from the installer.
+..
+.. bpo: 25778
+.. date: 0086
+.. nonce: 8uKJ82
+.. section: Windows
+winreg does not truncate string correctly (Patch by Eryk Sun)
+..
+.. bpo: 28896
+.. date: 0085
+.. nonce: qOcBBL
+.. section: Windows
+Deprecate WindowsRegistryFinder and disable it by default
+..
+.. bpo: 28522
+.. date: 0084
+.. nonce: XHMQa7
+.. section: Windows
+Fixes mishandled buffer reallocation in getpathp.c
+..
+.. bpo: 28402
+.. date: 0083
+.. nonce: v9zETJ
+.. section: Windows
+Adds signed catalog files for stdlib on Windows.
+..
+.. bpo: 28333
+.. date: 0082
+.. nonce: KnpeO4
+.. section: Windows
+Enables Unicode for ps1/ps2 and input() prompts. (Patch by Eryk Sun)
+..
+.. bpo: 28251
+.. date: 0081
+.. nonce: tR_AFs
+.. section: Windows
+Improvements to help manuals on Windows.
+..
+.. bpo: 28110
+.. date: 0080
+.. nonce: cnkP5F
+.. section: Windows
+launcher.msi has different product codes between 32-bit and 64-bit
+..
+.. bpo: 28161
+.. date: 0079
+.. nonce: hF91LI
+.. section: Windows
+Opening CON for write access fails
+..
+.. bpo: 28162
+.. date: 0078
+.. nonce: 3FHPVD
+.. section: Windows
+WindowsConsoleIO readall() fails if first line starts with Ctrl+Z
+..
+.. bpo: 28163
+.. date: 0077
+.. nonce: -DUgJw
+.. section: Windows
+WindowsConsoleIO fileno() passes wrong flags to _open_osfhandle
+..
+.. bpo: 28164
+.. date: 0076
+.. nonce: 5MfN0J
+.. section: Windows
+_PyIO_get_console_type fails for various paths
+..
+.. bpo: 28137
+.. date: 0075
+.. nonce: C1uvzY
+.. section: Windows
+Renames Windows path file to ._pth
+..
+.. bpo: 28138
+.. date: 0074
+.. nonce: pNdv64
+.. section: Windows
+Windows ._pth file should allow import site
+..
+.. bpo: 31493
+.. date: 2017-09-16-23-43-39
+.. nonce: nmHMCR
+.. section: IDLE
+IDLE code context -- fix code update and font update timers.
+Canceling timers prevents a warning message when test_idle completes.
+..
+.. bpo: 31488
+.. date: 2017-09-16-01-21-20
+.. nonce: 0rtXIT
+.. section: IDLE
+IDLE - Update non-key options in former extension classes. When applying
+configdialog changes, call .reload for each feature class. Change ParenMatch
+so updated options affect existing instances attached to existing editor
+windows.
+..
+.. bpo: 31477
+.. date: 2017-09-15-12-38-47
+.. nonce: n__6sa
+.. section: IDLE
+IDLE - Improve rstrip entry in doc. Strip trailing whitespace strips more
+than blank spaces. Multiline string literals are not skipped.
+..
+.. bpo: 31480
+.. date: 2017-09-14-17-53-53
+.. nonce: 4WJ0pl
+.. section: IDLE
+IDLE - make tests pass with zzdummy extension disabled by default.
+..
+.. bpo: 31421
+.. date: 2017-09-12-08-38-27
+.. nonce: mYfQNq
+.. section: IDLE
+Document how IDLE runs tkinter programs. IDLE calls tcl/tk update in the
+background in order to make live
+interaction and experimentation with tkinter applications much easier.
+..
+.. bpo: 31414
+.. date: 2017-09-11-15-46-05
+.. nonce: wiepgK
+.. section: IDLE
+IDLE -- fix tk entry box tests by deleting first. Adding to an int entry is
+not the same as deleting and inserting because int('') will fail.
+..
+.. bpo: 31051
+.. date: 2017-08-30-00-06-58
+.. nonce: 50Jp_Q
+.. section: IDLE
+Rearrange IDLE configdialog GenPage into Window, Editor, and Help sections.
+..
+.. bpo: 30617
+.. date: 2017-08-27-16-49-36
+.. nonce: UHnswr
+.. section: IDLE
+IDLE - Add docstrings and tests for outwin subclass of editor.
+Move some data and functions from the class to module level. Patch by Cheryl
+Sabella.
+..
+.. bpo: 31287
+.. date: 2017-08-27-15-31-33
+.. nonce: aZERfI
+.. section: IDLE
+IDLE - Do not modify tkinter.message in test_configdialog.
+..
+.. bpo: 27099
+.. date: 2017-08-24-13-48-16
+.. nonce: rENefC
+.. section: IDLE
+Convert IDLE's built-in 'extensions' to regular features.
+About 10 IDLE features were implemented as supposedly optional extensions.
+Their different behavior could be confusing or worse for users and not good
+for maintenance. Hence the conversion.
+The main difference for users is that user configurable key bindings for
+builtin features are now handled uniformly. Now, editing a binding in a
+keyset only affects its value in the keyset. All bindings are defined
+together in the system-specific default keysets in config-extensions.def.
+All custom keysets are saved as a whole in config-extension.cfg. All take
+effect as soon as one clicks Apply or Ok.
+The affected events are '<>', '<>',
+'<>', '<>', '<>',
+'<>', '<>', and '<>'. Any (global)
+customizations made before 3.6.3 will not affect their keyset-specific
+customization after 3.6.3. and vice versa.
+Initial patch by Charles Wohlganger.
+..
+.. bpo: 31206
+.. date: 2017-08-18-14-13-42
+.. nonce: F1-tKK
+.. section: IDLE
+IDLE: Factor HighPage(Frame) class from ConfigDialog. Patch by Cheryl
+Sabella.
+..
+.. bpo: 31001
+.. date: 2017-08-17-15-00-20
+.. nonce: KLxYHC
+.. section: IDLE
+Add tests for configdialog highlight tab. Patch by Cheryl Sabella.
+..
+.. bpo: 31205
+.. date: 2017-08-15-12-58-23
+.. nonce: iuziZ5
+.. section: IDLE
+IDLE: Factor KeysPage(Frame) class from ConfigDialog. The slightly modified
+tests continue to pass. Patch by Cheryl Sabella.
+..
+.. bpo: 31130
+.. date: 2017-08-07-14-02-56
+.. nonce: FbsC7f
+.. section: IDLE
+IDLE -- stop leaks in test_configdialog. Initial patch by Victor Stinner.
+..
+.. bpo: 31002
+.. date: 2017-08-03-17-54-02
+.. nonce: kUSgTE
+.. section: IDLE
+Add tests for configdialog keys tab. Patch by Cheryl Sabella.
+..
+.. bpo: 19903
+.. date: 2017-08-03-14-08-42
+.. nonce: sqE1FS
+.. section: IDLE
+IDLE: Calltips use ``inspect.signature`` instead of ``inspect.getfullargspec``.
+This improves calltips for builtins converted to use Argument Clinic. Patch
+by Louie Lu.
+..
+.. bpo: 31083
+.. date: 2017-07-31-23-20-51
+.. nonce: 991FXm
+.. section: IDLE
+IDLE - Add an outline of a TabPage class in configdialog. Update existing
+classes to match outline. Initial patch by Cheryl Sabella.
+..
+.. bpo: 31050
+.. date: 2017-07-30-17-39-59
+.. nonce: AXR3kP
+.. section: IDLE
+Factor GenPage(Frame) class from ConfigDialog. The slightly modified tests
+continue to pass. Patch by Cheryl Sabella.
+..
+.. bpo: 31004
+.. date: 2017-07-30-01-00-58
+.. nonce: m8cc1t
+.. section: IDLE
+IDLE - Factor FontPage(Frame) class from ConfigDialog.
+Slightly modified tests continue to pass. Fix General tests. Patch mostly by
+Cheryl Sabella.
+..
+.. bpo: 30781
+.. date: 2017-07-28-18-59-06
+.. nonce: ud5m18
+.. section: IDLE
+IDLE - Use ttk widgets in ConfigDialog. Patches by Terry Jan Reedy and
+Cheryl Sabella.
+..
+.. bpo: 31060
+.. date: 2017-07-27-14-48-42
+.. nonce: GdY_VY
+.. section: IDLE
+IDLE - Finish rearranging methods of ConfigDialog Grouping methods
+pertaining to each tab and the buttons will aid writing tests and improving
+the tabs and will enable splitting the groups into classes.
+..
+.. bpo: 30853
+.. date: 2017-07-27-10-01-14
+.. nonce: enPvvc
+.. section: IDLE
+IDLE -- Factor a VarTrace class out of ConfigDialog.
+Instance tracers manages pairs consisting of a tk variable and a callback
+function. When tracing is turned on, setting the variable calls the
+function. Test coverage for the new class is 100%.
+..
+.. bpo: 31003
+.. date: 2017-07-25-01-28-35
+.. nonce: bYINVH
+.. section: IDLE
+IDLE: Add more tests for General tab.
+..
+.. bpo: 30993
+.. date: 2017-07-22-18-08-41
+.. nonce: 34vJkB
+.. section: IDLE
+IDLE - Improve configdialog font page and tests.
+In configdialog: Document causal pathways in create_font_tab docstring.
+Simplify some attribute names. Move set_samples calls to var_changed_font
+(idea from Cheryl Sabella). Move related functions to positions after the
+create widgets function.
+In test_configdialog: Fix test_font_set so not order dependent. Fix renamed
+test_indent_scale so it tests the widget. Adjust tests for movement of
+set_samples call. Add tests for load functions. Put all font tests in one
+class and tab indent tests in another. Except for two lines, these tests
+completely cover the related functions.
+..
+.. bpo: 30981
+.. date: 2017-07-21-01-55-14
+.. nonce: ZFvQPt
+.. section: IDLE
+IDLE -- Add more configdialog font page tests.
+..
+.. bpo: 28523
+.. date: 2017-07-21-00-54-52
+.. nonce: OPcqYJ
+.. section: IDLE
+IDLE: replace 'colour' with 'color' in configdialog.
+..
+.. bpo: 30917
+.. date: 2017-07-17-23-35-57
+.. nonce: hSiuuO
+.. section: IDLE
+Add tests for idlelib.config.IdleConf. Increase coverage from 46% to 96%.
+Patch by Louie Lu.
+..
+.. bpo: 30934
+.. date: 2017-07-15-22-26-57
+.. nonce: BanuSB
+.. section: IDLE
+Document coverage details for idlelib tests.
+Add section to idlelib/idle-test/README.txt.
+Include check that branches are taken both ways.
+Exclude IDLE-specific code that does not run during unit tests.
+..
+.. bpo: 30913
+.. date: 2017-07-13-23-07-33
+.. nonce: aezn_e
+.. section: IDLE
+IDLE: Document ConfigDialog tk Vars, methods, and widgets in docstrings This
+will facilitate improving the dialog and splitting up the class. Original
+patch by Cheryl Sabella.
+..
+.. bpo: 30899
+.. date: 2017-07-11-02-26-17
+.. nonce: SQmVO8
+.. section: IDLE
+IDLE: Add tests for ConfigParser subclasses in config. Patch by Louie Lu.
+..
+.. bpo: 30881
+.. date: 2017-07-11-02-21-42
+.. nonce: 4KAq_9
+.. section: IDLE
+IDLE: Add docstrings to browser.py. Patch by Cheryl Sabella.
+..
+.. bpo: 30851
+.. date: 2017-07-09-23-53-00
+.. nonce: AHXBYa
+.. section: IDLE
+IDLE: Remove unused variables in configdialog. One is a duplicate, one is
+set but cannot be altered by users. Patch by Cheryl Sabella.
+..
+.. bpo: 30870
+.. date: 2017-07-08-17-57-04
+.. nonce: IcR2pf
+.. section: IDLE
+IDLE: In Settings dialog, select font with Up, Down keys as well as mouse.
+Initial patch by Louie Lu.
+..
+.. bpo: 8231
+.. date: 2017-07-07-21-10-55
+.. nonce: yEge3L
+.. section: IDLE
+IDLE: call config.IdleConf.GetUserCfgDir only once.
+..
+.. bpo: 30779
+.. date: 2017-07-07-20-26-37
+.. nonce: 8KXEXN
+.. section: IDLE
+IDLE: Factor ConfigChanges class from configdialog, put in config; test. *
+In config, put dump test code in a function; run it and unittest in 'if
+__name__ == '__main__'. * Add class config.ConfigChanges based on
+changes_class_v4.py on bpo issue. * Add class test_config.ChangesTest,
+partly using configdialog_tests_v1.py. * Revise configdialog to use
+ConfigChanges; see tracker msg297804. * Revise test_configdialog to match
+configdialog changes. * Remove configdialog functions unused or moved to
+ConfigChanges. Cheryl Sabella contributed parts of the patch.
+..
+.. bpo: 30777
+.. date: 2017-07-04-22-45-46
+.. nonce: uxzlMB
+.. section: IDLE
+IDLE: configdialog - Add docstrings and fix comments. Patch by Cheryl
+Sabella.
+..
+.. bpo: 30495
+.. date: 2017-06-29-18-23-06
+.. nonce: qIWgc4
+.. section: IDLE
+IDLE: Improve textview with docstrings, PEP8 names, and more tests. Patch by
+Cheryl Sabella.
+..
+.. bpo: 30723
+.. date: 2017-06-27-19-05-40
+.. nonce: rQh06y
+.. section: IDLE
+IDLE: Make several improvements to parenmatch. Add 'parens' style to
+highlight both opener and closer. Make 'default' style, which is not
+default, a synonym for 'opener'. Make time-delay work the same with all
+styles. Add help for config dialog extensions tab, including help for
+parenmatch. Add new tests. Original patch by Charles Wohlganger.
+..
+.. bpo: 30674
+.. date: 2017-06-27-01-40-34
+.. nonce: ppK_q8
+.. section: IDLE
+IDLE: add docstrings to grep module. Patch by Cheryl Sabella
+..
+.. bpo: 21519
+.. date: 2017-06-27-00-29-56
+.. nonce: fTj9T0
+.. section: IDLE
+IDLE's basic custom key entry dialog now detects duplicates properly.
+Original patch by Saimadhav Heblikar.
+..
+.. bpo: 29910
+.. date: 2017-06-26-22-45-27
+.. nonce: mqHh7u
+.. section: IDLE
+IDLE no longer deletes a character after commenting out a region by a key
+shortcut. Add ``return 'break'`` for this and other potential conflicts
+between IDLE and default key bindings.
+..
+.. bpo: 30728
+.. date: 2017-06-26-15-47-13
+.. nonce: qH4TGL
+.. section: IDLE
+Review and change idlelib.configdialog names. Lowercase method and attribute
+names. Replace 'colour' with 'color', expand overly cryptic names, delete
+unneeded underscores. Replace ``import *`` with specific imports. Patches by
+Cheryl Sabella.
+..
+.. bpo: 6739
+.. date: 2017-06-26-00-28-59
+.. nonce: x5MfhB
+.. section: IDLE
+IDLE: Verify user-entered key sequences by trying to bind them with tk. Add
+tests for all 3 validation functions. Original patch by G Polo. Tests added
+by Cheryl Sabella.
+..
+.. bpo: 15786
+.. date: 0096
+.. nonce: _XRbaR
+.. section: IDLE
+Fix several problems with IDLE's autocompletion box. The following should
+now work: clicking on selection box items; using the scrollbar; selecting an
+item by hitting Return. Hangs on MacOSX should no longer happen. Patch by
+Louie Lu.
+..
+.. bpo: 25514
+.. date: 0095
+.. nonce: 882pXa
+.. section: IDLE
+Add doc subsubsection about IDLE failure to start. Popup no-connection
+message directs users to this section.
+..
+.. bpo: 30642
+.. date: 0094
+.. nonce: 3Zujzt
+.. section: IDLE
+Fix reference leaks in IDLE tests. Patches by Louie Lu and Terry Jan Reedy.
+..
+.. bpo: 30495
+.. date: 0093
+.. nonce: I3i5vL
+.. section: IDLE
+Add docstrings for textview.py and use PEP8 names. Patches by Cheryl Sabella
+and Terry Jan Reedy.
+..
+.. bpo: 30290
+.. date: 0092
+.. nonce: fZ3kod
+.. section: IDLE
+Help-about: use pep8 names and add tests. Increase coverage to 100%. Patches
+by Louie Lu, Cheryl Sabella, and Terry Jan Reedy.
+..
+.. bpo: 30303
+.. date: 0091
+.. nonce: 2L2F-4
+.. section: IDLE
+Add _utest option to textview; add new tests. Increase coverage to 100%.
+Patches by Louie Lu and Terry Jan Reedy.
+..
+.. bpo: 29071
+.. date: 0090
+.. nonce: FCOpJn
+.. section: IDLE
+IDLE colors f-string prefixes (but not invalid ur prefixes).
+..
+.. bpo: 28572
+.. date: 0089
+.. nonce: 1_duKY
+.. section: IDLE
+Add 10% to coverage of IDLE's test_configdialog. Update and augment
+description of the configuration system.
+..
+.. bpo: 30983
+.. date: 2017-08-18-17-19-23
+.. nonce: ggGz9z
+.. section: Tools/Demos
+gdb integration commands (py-bt, etc.) work on optimized shared builds now,
+too. :pep:`523` introduced _PyEval_EvalFrameDefault which inlines
+PyEval_EvalFrameEx on non-debug shared builds. This broke the ability to
+use py-bt, py-up, and a few other Python-specific gdb integrations. The
+problem is fixed by only looking for _PyEval_EvalFrameDefault frames in
+python-gdb.py. Original patch by Bruno "Polaco" Penteado.
+..
+.. bpo: 29748
+.. date: 0018
+.. nonce: 6pV6s9
+.. section: Tools/Demos
+Added the slice index converter in Argument Clinic.
+..
+.. bpo: 24037
+.. date: 0017
+.. nonce: KPFC7o
+.. section: Tools/Demos
+Argument Clinic now uses the converter ``bool(accept={int})`` rather than
+``int`` for semantical booleans. This avoids repeating the default value for
+Python and C and will help in converting to ``bool`` in future.
+..
+.. bpo: 29367
+.. date: 0016
+.. nonce: 4dOKL0
+.. section: Tools/Demos
+python-gdb.py now supports also ``method-wrapper`` (``wrapperobject``)
+objects.
+..
+.. bpo: 28023
+.. date: 0015
+.. nonce: 4gzSGp
+.. section: Tools/Demos
+Fix python-gdb.py didn't support new dict implementation.
+..
+.. bpo: 15369
+.. date: 0014
+.. nonce: bdZ3n-
+.. section: Tools/Demos
+The pybench and pystone microbenchmark have been removed from Tools. Please
+use the new Python benchmark suite https://github.com/python/pyperformance
+which is more reliable and includes a portable version of pybench working on
+Python 2 and Python 3.
+..
+.. bpo: 28102
+.. date: 0013
+.. nonce: 5fKaek
+.. section: Tools/Demos
+The zipfile module CLI now prints usage to stderr. Patch by Stephen J.
+Turnbull.
+..
+.. bpo: 31338
+.. date: 2017-09-05-17-51-12
+.. nonce: LjA43Y
+.. section: C API
+Added the ``Py_UNREACHABLE()`` macro for code paths which are never expected
+to be reached. This and a few other useful macros are now documented in the
+C API manual.
+..
+.. bpo: 30832
+.. date: 2017-07-03-17-25-40
+.. nonce: PcTAEP
+.. section: C API
+Remove own implementation for thread-local storage.
+CPython has provided the own implementation for thread-local storage (TLS)
+on Python/thread.c, it's used in the case which a platform has not supplied
+native TLS. However, currently all supported platforms (Windows and
+pthreads) have provided native TLS and defined the Py_HAVE_NATIVE_TLS macro
+with unconditional in any case.
+..
+.. bpo: 30708
+.. date: 0073
+.. nonce: np-l1j
+.. section: C API
+PyUnicode_AsWideCharString() now raises a ValueError if the second argument
+is NULL and the wchar_t\* string contains null characters.
+..
+.. bpo: 16500
+.. date: 0072
+.. nonce: lRpooa
+.. section: C API
+Deprecate PyOS_AfterFork() and add PyOS_BeforeFork(),
+PyOS_AfterFork_Parent() and PyOS_AfterFork_Child().
+..
+.. bpo: 6532
+.. date: 0071
+.. nonce: qcH6k1
+.. section: C API
+The type of results of PyThread_start_new_thread() and
+PyThread_get_thread_ident(), and the id parameter of
+PyThreadState_SetAsyncExc() changed from "long" to "unsigned long".
+..
+.. bpo: 27867
+.. date: 0070
+.. nonce: J-8CGo
+.. section: C API
+Function PySlice_GetIndicesEx() is deprecated and replaced with a macro if
+Py_LIMITED_API is not set or set to the value between 0x03050400 and
+0x03060000 (not including) or 0x03060100 or higher. Added functions
+PySlice_Unpack() and PySlice_AdjustIndices().
+..
+.. bpo: 29083
+.. date: 0069
+.. nonce: tGTjr_
+.. section: C API
+Fixed the declaration of some public API functions. PyArg_VaParse() and
+PyArg_VaParseTupleAndKeywords() were not available in limited API.
+PyArg_ValidateKeywordArguments(), PyArg_UnpackTuple() and Py_BuildValue()
+were not available in limited API of version < 3.3 when PY_SSIZE_T_CLEAN is
+defined.
+..
+.. bpo: 28769
+.. date: 0068
+.. nonce: Ecmtn8
+.. section: C API
+The result of PyUnicode_AsUTF8AndSize() and PyUnicode_AsUTF8() is now of
+type ``const char *`` rather of ``char *``.
+..
+.. bpo: 29058
+.. date: 0067
+.. nonce: 0wNVP8
+.. section: C API
+All stable API extensions added after Python 3.2 are now available only when
+Py_LIMITED_API is set to the PY_VERSION_HEX value of the minimum Python
+version supporting this API.
+..
+.. bpo: 28822
+.. date: 0066
+.. nonce: gMqwvb
+.. section: C API
+The index parameters *start* and *end* of PyUnicode_FindChar() are now
+adjusted to behave like ``str[start:end]``.
+..
+.. bpo: 28808
+.. date: 0065
+.. nonce: A03X6r
+.. section: C API
+PyUnicode_CompareWithASCIIString() now never raises exceptions.
+..
+.. bpo: 28761
+.. date: 0064
+.. nonce: iOgCoX
+.. section: C API
+The fields name and doc of structures PyMemberDef, PyGetSetDef,
+PyStructSequence_Field, PyStructSequence_Desc, and wrapperbase are now of
+type ``const char *`` rather of ``char *``.
+..
+.. bpo: 28748
+.. date: 0063
+.. nonce: AMgb_G
+.. section: C API
+Private variable _Py_PackageContext is now of type ``const char *`` rather
+of ``char *``.
+..
+.. bpo: 19569
+.. date: 0062
+.. nonce: IPke0J
+.. section: C API
+Compiler warnings are now emitted if use most of deprecated functions.
+..
+.. bpo: 28426
+.. date: 0061
+.. nonce: zPwvbI
+.. section: C API
+Deprecated undocumented functions PyUnicode_AsEncodedObject(),
+PyUnicode_AsDecodedObject(), PyUnicode_AsDecodedUnicode() and
+PyUnicode_AsEncodedUnicode().
+
+.. bpo: 23571
+.. date: 8990
+.. nonce: GTkAkq
+.. release date: 2015-03-09
+.. section: Core and Builtins
+PyObject_Call() and PyCFunction_Call() now raise a SystemError if a function
+returns a result and raises an exception. The SystemError is chained to the
+previous exception.
+..
+.. bpo: 22524
+.. date: 8989
+.. nonce: Ks6_2x
+.. section: Library
+New os.scandir() function, part of the :pep:`471`: "os.scandir() function -- a
+better and faster directory iterator". Patch written by Ben Hoyt.
+..
+.. bpo: 23103
+.. date: 8988
+.. nonce: I3RLIV
+.. section: Library
+Reduced the memory consumption of IPv4Address and IPv6Address.
+..
+.. bpo: 21793
+.. date: 8987
+.. nonce: GQtYMM
+.. section: Library
+BaseHTTPRequestHandler again logs response code as numeric, not as
+stringified enum. Patch by Demian Brecht.
+..
+.. bpo: 23476
+.. date: 8986
+.. nonce: 82QV9I
+.. section: Library
+In the ssl module, enable OpenSSL's X509_V_FLAG_TRUSTED_FIRST flag on
+certificate stores when it is available.
+..
+.. bpo: 23576
+.. date: 8985
+.. nonce: 98F-PP
+.. section: Library
+Avoid stalling in SSL reads when EOF has been reached in the SSL layer but
+the underlying connection hasn't been closed.
+..
+.. bpo: 23504
+.. date: 8984
+.. nonce: o31h5I
+.. section: Library
+Added an __all__ to the types module.
+..
+.. bpo: 23563
+.. date: 8983
+.. nonce: iQB-ba
+.. section: Library
+Optimized utility functions in urllib.parse.
+..
+.. bpo: 7830
+.. date: 8982
+.. nonce: irvPdC
+.. section: Library
+Flatten nested functools.partial.
+..
+.. bpo: 20204
+.. date: 8981
+.. nonce: DorA4b
+.. section: Library
+Added the __module__ attribute to _tkinter classes.
+..
+.. bpo: 19980
+.. date: 8980
+.. nonce: whwzL_
+.. section: Library
+Improved help() for non-recognized strings. help('') now shows the help on
+str. help('help') now shows the help on help(). Original patch by Mark
+Lawrence.
+..
+.. bpo: 23521
+.. date: 8979
+.. nonce: HvwFfd
+.. section: Library
+Corrected pure python implementation of timedelta division.
+Eliminated OverflowError from ``timedelta * float`` for some floats;
+Corrected rounding in timedelta true division.
+..
+.. bpo: 21619
+.. date: 8978
+.. nonce: uL0SZh
+.. section: Library
+Popen objects no longer leave a zombie after exit in the with statement if
+the pipe was broken. Patch by Martin Panter.
+..
+.. bpo: 22936
+.. date: 8977
+.. nonce: JrhGYd
+.. section: Library
+Make it possible to show local variables in tracebacks for both the
+traceback module and unittest.
+..
+.. bpo: 15955
+.. date: 8976
+.. nonce: _8nYPy
+.. section: Library
+Add an option to limit the output size in bz2.decompress(). Patch by
+Nikolaus Rath.
+..
+.. bpo: 6639
+.. date: 8975
+.. nonce: rmjUmG
+.. section: Library
+Module-level turtle functions no longer raise TclError after closing the
+window.
+..
+.. bpo: 814253
+.. date: 8974
+.. nonce: icZb-I
+.. section: Library
+Group references and conditional group references now work in lookbehind
+assertions in regular expressions. (See also: bpo-9179)
+..
+.. bpo: 23215
+.. date: 8973
+.. nonce: VHVSVX
+.. section: Library
+Multibyte codecs with custom error handlers that ignores errors consumed too
+much memory and raised SystemError or MemoryError. Original patch by Aleksi
+Torhamo.
+..
+.. bpo: 5700
+.. date: 8972
+.. nonce: iA5yzL
+.. section: Library
+io.FileIO() called flush() after closing the file. flush() was not called in
+close() if closefd=False.
+..
+.. bpo: 23374
+.. date: 8971
+.. nonce: 8A9LuZ
+.. section: Library
+Fixed pydoc failure with non-ASCII files when stdout encoding differs from
+file system encoding (e.g. on Mac OS).
+..
+.. bpo: 23481
+.. date: 8970
+.. nonce: ZWwliG
+.. section: Library
+Remove RC4 from the SSL module's default cipher list.
+..
+.. bpo: 21548
+.. date: 8969
+.. nonce: CmO_Yh
+.. section: Library
+Fix pydoc.synopsis() and pydoc.apropos() on modules with empty docstrings.
+..
+.. bpo: 22885
+.. date: 8968
+.. nonce: p8FnYk
+.. section: Library
+Fixed arbitrary code execution vulnerability in the dbm.dumb module.
+Original patch by Claudiu Popa.
+..
+.. bpo: 23239
+.. date: 8967
+.. nonce: PGUq7T
+.. section: Library
+ssl.match_hostname() now supports matching of IP addresses.
+..
+.. bpo: 23146
+.. date: 8966
+.. nonce: PW-O3u
+.. section: Library
+Fix mishandling of absolute Windows paths with forward slashes in pathlib.
+..
+.. bpo: 23096
+.. date: 8965
+.. nonce: Ftrmf3
+.. section: Library
+Pickle representation of floats with protocol 0 now is the same for both
+Python and C implementations.
+..
+.. bpo: 19105
+.. date: 8964
+.. nonce: ZK07Ff
+.. section: Library
+pprint now more efficiently uses free space at the right.
+..
+.. bpo: 14910
+.. date: 8963
+.. nonce: zueIhP
+.. section: Library
+Add allow_abbrev parameter to argparse.ArgumentParser. Patch by Jonathan
+Paugh, Steven Bethard, paul j3 and Daniel Eriksson.
+..
+.. bpo: 21717
+.. date: 8962
+.. nonce: Knut81
+.. section: Library
+tarfile.open() now supports 'x' (exclusive creation) mode.
+..
+.. bpo: 23344
+.. date: 8961
+.. nonce: ieu8C1
+.. section: Library
+marshal.dumps() is now 20-25% faster on average.
+..
+.. bpo: 20416
+.. date: 8960
+.. nonce: cwEgkL
+.. section: Library
+marshal.dumps() with protocols 3 and 4 is now 40-50% faster on average.
+..
+.. bpo: 23421
+.. date: 8959
+.. nonce: eckzoV
+.. section: Library
+Fixed compression in tarfile CLI. Patch by wdv4758h.
+..
+.. bpo: 23367
+.. date: 8958
+.. nonce: kHnFiz
+.. section: Library
+Fix possible overflows in the unicodedata module.
+..
+.. bpo: 23361
+.. date: 8957
+.. nonce: I_w0-z
+.. section: Library
+Fix possible overflow in Windows subprocess creation code.
+..
+.. bpo: 0
+.. date: 8956
+.. nonce: sfmjTs
+.. section: Library
+logging.handlers.QueueListener now takes a respect_handler_level keyword
+argument which, if set to True, will pass messages to handlers taking
+handler levels into account.
+..
+.. bpo: 19705
+.. date: 8955
+.. nonce: WLzTRV
+.. section: Library
+turtledemo now has a visual sorting algorithm demo. Original patch from
+Jason Yeo.
+..
+.. bpo: 23801
+.. date: 8954
+.. nonce: jyJK3z
+.. section: Library
+Fix issue where cgi.FieldStorage did not always ignore the entire preamble
+to a multipart body.
+..
+.. bpo: 23445
+.. date: 8953
+.. nonce: 7fmkYO
+.. section: Build
+pydebug builds now use "gcc -Og" where possible, to make the resulting
+executable faster.
+..
+.. bpo: 23686
+.. date: 8952
+.. nonce: B7jDXY
+.. section: Build
+Update OS X 10.5 installer build to use OpenSSL 1.0.2a.
+..
+.. bpo: 20204
+.. date: 8951
+.. nonce: M_jcNK
+.. section: C API
+Deprecation warning is now raised for builtin types without the __module__
+attribute.
+..
+.. bpo: 23465
+.. date: 8950
+.. nonce: qBauCy
+.. section: Windows
+Implement :pep:`486` - Make the Python Launcher aware of virtual environments.
+Patch by Paul Moore.
+..
+.. bpo: 23437
+.. date: 8949
+.. nonce: ro9X8r
+.. section: Windows
+Make user scripts directory versioned on Windows. Patch by Paul Moore.
+
+.. bpo: 28128
+.. date: 9744
+.. nonce: Lc2sFu
+.. release date: 2016-10-31
+.. section: Core and Builtins
+Deprecation warning for invalid str and byte escape sequences now prints
+better information about where the error occurs. Patch by Serhiy Storchaka
+and Eric Smith.
+..
+.. bpo: 28509
+.. date: 9743
+.. nonce: _Fa4Uq
+.. section: Core and Builtins
+dict.update() no longer allocate unnecessary large memory.
+..
+.. bpo: 28426
+.. date: 9742
+.. nonce: E_quyK
+.. section: Core and Builtins
+Fixed potential crash in PyUnicode_AsDecodedObject() in debug build.
+..
+.. bpo: 28517
+.. date: 9741
+.. nonce: ExPkm9
+.. section: Core and Builtins
+Fixed of-by-one error in the peephole optimizer that caused keeping
+unreachable code.
+..
+.. bpo: 28214
+.. date: 9740
+.. nonce: 6ECJox
+.. section: Core and Builtins
+Improved exception reporting for problematic __set_name__ attributes.
+..
+.. bpo: 23782
+.. date: 9739
+.. nonce: lonDzj
+.. section: Core and Builtins
+Fixed possible memory leak in _PyTraceback_Add() and exception loss in
+PyTraceBack_Here().
+..
+.. bpo: 28471
+.. date: 9738
+.. nonce: Vd5pv7
+.. section: Core and Builtins
+Fix "Python memory allocator called without holding the GIL" crash in
+socket.setblocking.
+..
+.. bpo: 27517
+.. date: 9737
+.. nonce: 1CYM8A
+.. section: Library
+LZMA compressor and decompressor no longer raise exceptions if given empty
+data twice. Patch by Benjamin Fogle.
+..
+.. bpo: 28549
+.. date: 9736
+.. nonce: ShnM2y
+.. section: Library
+Fixed segfault in curses's addch() with ncurses6.
+..
+.. bpo: 28449
+.. date: 9735
+.. nonce: 5JK6ES
+.. section: Library
+tarfile.open() with mode "r" or "r:" now tries to open a tar file with
+compression before trying to open it without compression. Otherwise it had
+50% chance failed with ignore_zeros=True.
+..
+.. bpo: 23262
+.. date: 9734
+.. nonce: 6EVB7N
+.. section: Library
+The webbrowser module now supports Firefox 36+ and derived browsers. Based
+on patch by Oleg Broytman.
+..
+.. bpo: 27939
+.. date: 9733
+.. nonce: mTfADV
+.. section: Library
+Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale caused by
+representing the scale as float value internally in Tk. tkinter.IntVar now
+works if float value is set to underlying Tk variable.
+..
+.. bpo: 18844
+.. date: 9732
+.. nonce: oif1-H
+.. section: Library
+The various ways of specifying weights for random.choices() now produce the
+same result sequences.
+..
+.. bpo: 28255
+.. date: 9731
+.. nonce: _ZH4wm
+.. section: Library
+calendar.TextCalendar().prmonth() no longer prints a space at the start of
+new line after printing a month's calendar. Patch by Xiang Zhang.
+..
+.. bpo: 20491
+.. date: 9730
+.. nonce: ObgnQ2
+.. section: Library
+The textwrap.TextWrapper class now honors non-breaking spaces. Based on
+patch by Kaarle Ritvanen.
+..
+.. bpo: 28353
+.. date: 9729
+.. nonce: sKGbLL
+.. section: Library
+os.fwalk() no longer fails on broken links.
+..
+.. bpo: 28430
+.. date: 9728
+.. nonce: 4MiEYT
+.. section: Library
+Fix iterator of C implemented asyncio.Future doesn't accept non-None value
+is passed to it.send(val).
+..
+.. bpo: 27025
+.. date: 9727
+.. nonce: foAViS
+.. section: Library
+Generated names for Tkinter widgets now start by the "!" prefix for
+readability.
+..
+.. bpo: 25464
+.. date: 9726
+.. nonce: HDUTCu
+.. section: Library
+Fixed HList.header_exists() in tkinter.tix module by addin a workaround to
+Tix library bug.
+..
+.. bpo: 28488
+.. date: 9725
+.. nonce: TgO112
+.. section: Library
+shutil.make_archive() no longer adds entry "./" to ZIP archive.
+..
+.. bpo: 25953
+.. date: 9724
+.. nonce: EKKJAQ
+.. section: Library
+re.sub() now raises an error for invalid numerical group reference in
+replacement template even if the pattern is not found in the string. Error
+message for invalid group reference now includes the group index and the
+position of the reference. Based on patch by SilentGhost.
+..
+.. bpo: 18219
+.. date: 9723
+.. nonce: 1ANQN1
+.. section: Library
+Optimize csv.DictWriter for large number of columns. Patch by Mariatta
+Wijaya.
+..
+.. bpo: 28448
+.. date: 9722
+.. nonce: 5bduWe
+.. section: Library
+Fix C implemented asyncio.Future didn't work on Windows.
+..
+.. bpo: 28480
+.. date: 9721
+.. nonce: 9lHw6m
+.. section: Library
+Fix error building socket module when multithreading is disabled.
+..
+.. bpo: 24452
+.. date: 9720
+.. nonce: m9Kyg3
+.. section: Library
+Make webbrowser support Chrome on Mac OS X.
+..
+.. bpo: 20766
+.. date: 9719
+.. nonce: 4kvCzx
+.. section: Library
+Fix references leaked by pdb in the handling of SIGINT handlers.
+..
+.. bpo: 28492
+.. date: 9718
+.. nonce: pFRLQE
+.. section: Library
+Fix how StopIteration exception is raised in _asyncio.Future.
+..
+.. bpo: 28500
+.. date: 9717
+.. nonce: NINKzZ
+.. section: Library
+Fix asyncio to handle async gens GC from another thread.
+..
+.. bpo: 26923
+.. date: 9716
+.. nonce: 8dh3AV
+.. section: Library
+Fix asyncio.Gather to refuse being cancelled once all children are done.
+Patch by Johannes Ebke.
+..
+.. bpo: 26796
+.. date: 9715
+.. nonce: TZyAfJ
+.. section: Library
+Don't configure the number of workers for default threadpool executor.
+Initial patch by Hans Lawrenz.
+..
+.. bpo: 28544
+.. date: 9714
+.. nonce: KD1oFP
+.. section: Library
+Implement asyncio.Task in C.
+..
+.. bpo: 28522
+.. date: 9713
+.. nonce: XHMQa7
+.. section: Windows
+Fixes mishandled buffer reallocation in getpathp.c
+..
+.. bpo: 28444
+.. date: 9712
+.. nonce: zkc9nT
+.. section: Build
+Fix missing extensions modules when cross compiling.
+..
+.. bpo: 28208
+.. date: 9711
+.. nonce: DtoP1i
+.. section: Build
+Update Windows build and OS X installers to use SQLite 3.14.2.
+..
+.. bpo: 28248
+.. date: 9710
+.. nonce: KY_-en
+.. section: Build
+Update Windows build and OS X installers to use OpenSSL 1.0.2j.
+..
+.. bpo: 26944
+.. date: 9709
+.. nonce: ChZ_BO
+.. section: Tests
+Fix test_posix for Android where 'id -G' is entirely wrong or missing the
+effective gid.
+..
+.. bpo: 28409
+.. date: 9708
+.. nonce: Q2IlxJ
+.. section: Tests
+regrtest: fix the parser of command line arguments.
+
+.. bpo: 38945
+.. date: 2019-12-01-22-44-40
+.. nonce: ztmNXc
+.. release date: 2019-12-18
+.. section: Security
+Newline characters have been escaped when performing uu encoding to prevent
+them from overflowing into to content section of the encoded file. This
+prevents malicious or accidental modification of data during the decoding
+process.
+..
+.. bpo: 37228
+.. date: 2019-11-21-21-36-54
+.. nonce: yBZnFG
+.. section: Security
+Due to significant security concerns, the *reuse_address* parameter of
+:meth:`asyncio.loop.create_datagram_endpoint` is no longer supported. This
+is because of the behavior of ``SO_REUSEADDR`` in UDP. For more details, see
+the documentation for ``loop.create_datagram_endpoint()``. (Contributed by
+Kyle Stanley, Antoine Pitrou, and Yury Selivanov in :issue:`37228`.)
+..
+.. bpo: 38804
+.. date: 2019-11-15-00-54-42
+.. nonce: vjbM8V
+.. section: Security
+Fixes a ReDoS vulnerability in :mod:`http.cookiejar`. Patch by Ben Caller.
+..
+.. bpo: 39028
+.. date: 2019-12-17-23-20-51
+.. nonce: SND4TB
+.. section: Core and Builtins
+Slightly improve the speed of keyword argument parsing with many kwargs by
+strengthening the assumption that kwargs are interned strings.
+..
+.. bpo: 39080
+.. date: 2019-12-17-21-45-36
+.. nonce: OrxEVS
+.. section: Core and Builtins
+Fix the value of *end_col_offset* for Starred Expression AST nodes when they
+are among the elements in the *args* attribute of Call AST nodes.
+..
+.. bpo: 39031
+.. date: 2019-12-12-21-05-43
+.. nonce: imlCYZ
+.. section: Core and Builtins
+When parsing an "elif" node, lineno and col_offset of the node now point to
+the "elif" keyword and not to its condition, making it consistent with the
+"if" node. Patch by Lysandros Nikolaou.
+..
+.. bpo: 20443
+.. date: 2019-12-09-17-05-53
+.. nonce: 8OyT5P
+.. section: Core and Builtins
+In Python 3.9.0a1, sys.argv[0] was made an absolute path if a filename was
+specified on the command line. Revert this change, since most users expect
+sys.argv to be unmodified.
+..
+.. bpo: 39008
+.. date: 2019-12-09-10-38-51
+.. nonce: Rrp6f1
+.. section: Core and Builtins
+:c:func:`PySys_Audit` now requires ``Py_ssize_t`` to be used for size
+arguments in the format string, regardless of whether ``PY_SSIZE_T_CLEAN``
+was defined at include time.
+..
+.. bpo: 38673
+.. date: 2019-12-01-00-17-44
+.. nonce: K_Tze-
+.. section: Core and Builtins
+In REPL mode, don't switch to PS2 if the line starts with comment or
+whitespace. Based on work by Batuhan Taşkaya.
+..
+.. bpo: 38922
+.. date: 2019-11-26-12-20-34
+.. nonce: i6ja-i
+.. section: Core and Builtins
+Calling ``replace`` on a code object now raises the ``code.__new__`` audit
+event.
+..
+.. bpo: 38920
+.. date: 2019-11-26-09-16-47
+.. nonce: Vx__sT
+.. section: Core and Builtins
+Add audit hooks for when :func:`sys.excepthook` and
+:func:`sys.unraisablehook` are invoked.
+..
+.. bpo: 38892
+.. date: 2019-11-22-22-18-50
+.. nonce: LS586s
+.. section: Core and Builtins
+Improve documentation for audit events table and functions.
+..
+.. bpo: 38852
+.. date: 2019-11-22-09-55-21
+.. nonce: y7oPEa
+.. section: Core and Builtins
+Set the thread stack size to 8 Mb for debug builds on android platforms.
+..
+.. bpo: 38858
+.. date: 2019-11-21-09-02-49
+.. nonce: bDLH04
+.. section: Core and Builtins
+Each Python subinterpreter now has its own "small integer singletons":
+numbers in [-5; 257] range. It is no longer possible to change the number of
+small integers at build time by overriding ``NSMALLNEGINTS`` and
+``NSMALLPOSINTS`` macros: macros should now be modified manually in
+``pycore_pystate.h`` header file.
+..
+.. bpo: 36854
+.. date: 2019-11-20-12-01-37
+.. nonce: Zga_md
+.. section: Core and Builtins
+The garbage collector state becomes per interpreter
+(``PyInterpreterState.gc``), rather than being global
+(``_PyRuntimeState.gc``).
+..
+.. bpo: 38835
+.. date: 2019-11-18-16-37-49
+.. nonce: -U4se1
+.. section: Core and Builtins
+The ``PyFPE_START_PROTECT()`` and ``PyFPE_END_PROTECT()`` macros are empty:
+they have been doing nothing for the last year, so stop using them.
+..
+.. bpo: 38328
+.. date: 2019-11-11-23-44-15
+.. nonce: IFrrjq
+.. section: Core and Builtins
+Sped up the creation time of constant :class:`list` and :class:`set`
+displays. Patch by Brandt Bucher.
+..
+.. bpo: 38707
+.. date: 2019-11-08-00-36-10
+.. nonce: SZL036
+.. section: Core and Builtins
+``MainThread.native_id`` is now correctly reset in child processes spawned
+using :class:`multiprocessing.Process`, instead of retaining the parent's
+value.
+..
+.. bpo: 38629
+.. date: 2019-10-29-17-11-15
+.. nonce: 3qinhF
+.. section: Core and Builtins
+Added ``__floor__`` and ``__ceil__`` methods to float object. Patch by
+Batuhan Taşkaya.
+..
+.. bpo: 27145
+.. date: 2019-09-06-16-40-12
+.. nonce: njuCXU
+.. section: Core and Builtins
+int + int and int - int operators can now return small integer singletons.
+Patch by hongweipeng.
+..
+.. bpo: 38021
+.. date: 2019-09-03-19-16-57
+.. nonce: KnUhdB
+.. section: Core and Builtins
+Provide a platform tag for AIX that is sufficient for PEP425 binary
+distribution identification. Patch by Michael Felt.
+..
+.. bpo: 35409
+.. date: 2019-07-13-18-01-13
+.. nonce: ozbcsR
+.. section: Core and Builtins
+Ignore GeneratorExit exceptions when throwing an exception into the aclose
+coroutine of an asynchronous generator.
+..
+.. bpo: 33387
+.. date: 2018-03-13-14-46-03
+.. nonce: v821M7
+.. section: Core and Builtins
+Removed WITH_CLEANUP_START, WITH_CLEANUP_FINISH, BEGIN_FINALLY, END_FINALLY,
+CALL_FINALLY and POP_FINALLY bytecodes. Replaced with RERAISE and
+WITH_EXCEPT_START bytecodes. The compiler now generates different code for
+exceptional and non-exceptional branches for 'with' and 'try-except'
+statements. For 'try-finally' statements the 'finally' block is replicated
+for each exit from the 'try' body.
+..
+.. bpo: 39033
+.. date: 2019-12-13-18-54-49
+.. nonce: cepuyD
+.. section: Library
+Fix :exc:`NameError` in :mod:`zipimport`. Patch by Karthikeyan Singaravelan.
+..
+.. bpo: 39022
+.. date: 2019-12-10-23-34-48
+.. nonce: QDtIxI
+.. section: Library
+Update importlib.metadata to include improvements from importlib_metadata
+1.3 including better serialization of EntryPoints and improved documentation
+for custom finders.
+..
+.. bpo: 39006
+.. date: 2019-12-09-14-40-09
+.. nonce: v4VsPg
+.. section: Library
+Fix asyncio when the ssl module is missing: only check for ssl.SSLSocket
+instance if the ssl module is available.
+..
+.. bpo: 38708
+.. date: 2019-12-07-22-25-39
+.. nonce: rZTUfk
+.. section: Library
+Fix a potential IndexError in email parser when parsing an empty msg-id.
+..
+.. bpo: 38698
+.. date: 2019-12-07-21-49-50
+.. nonce: HxoSym
+.. section: Library
+Add a new ``InvalidMessageID`` token to email parser to represent invalid
+Message-ID headers. Also, add defects when there is remaining value after
+parsing the header.
+..
+.. bpo: 38994
+.. date: 2019-12-07-18-58-44
+.. nonce: IJYhz_
+.. section: Library
+Implement ``__class_getitem__`` for ``os.PathLike``, ``pathlib.Path``.
+..
+.. bpo: 38979
+.. date: 2019-12-07-16-32-42
+.. nonce: q0sIHy
+.. section: Library
+Return class from ``ContextVar.__class_getitem__`` to simplify subclassing.
+..
+.. bpo: 38978
+.. date: 2019-12-07-13-40-52
+.. nonce: R3gHZI
+.. section: Library
+Implement ``__class_getitem__`` on asyncio objects (Future, Task, Queue).
+Patch by Batuhan Taskaya.
+..
+.. bpo: 38916
+.. date: 2019-12-06-18-47-56
+.. nonce: K-raU8
+.. section: Library
+:class:`array.array`: Remove ``tostring()`` and ``fromstring()`` methods.
+They were aliases to ``tobytes()`` and ``frombytes()``, deprecated since
+Python 3.2.
+..
+.. bpo: 38986
+.. date: 2019-12-06-15-11-42
+.. nonce: bg6iZt
+.. section: Library
+Make repr of C accelerated TaskWakeupMethWrapper the same as of pure Python
+version.
+..
+.. bpo: 38982
+.. date: 2019-12-05-18-21-26
+.. nonce: W3u-03
+.. section: Library
+Fix asyncio ``PidfdChildWatcher``: handle ``waitpid()`` error. If
+``waitpid()`` is called elsewhere, ``waitpid()`` call fails with
+:exc:`ChildProcessError`: use return code 255 in this case, and log a
+warning. It ensures that the pidfd file descriptor is closed if this error
+occurs.
+..
+.. bpo: 38529
+.. date: 2019-12-05-16-13-25
+.. nonce: yvQgx3
+.. section: Library
+Drop too noisy asyncio warning about deletion of a stream without explicit
+``.close()`` call.
+..
+.. bpo: 27413
+.. date: 2019-12-05-02-02-58
+.. nonce: 212Th2
+.. section: Library
+Added ability to pass through ``ensure_ascii`` options to json.dumps in the
+``json.tool`` command-line interface.
+..
+.. bpo: 38634
+.. date: 2019-12-04-15-56-28
+.. nonce: pq0ZWa
+.. section: Library
+The :mod:`readline` module now detects if Python is linked to libedit at
+runtime on all platforms. Previously, the check was only done on macOS.
+..
+.. bpo: 33684
+.. date: 2019-12-04-15-28-40
+.. nonce: QeSmQP
+.. section: Library
+Fix ``json.tool`` failed to read a JSON file with non-ASCII characters when
+locale encoding is not UTF-8.
+..
+.. bpo: 38698
+.. date: 2019-12-02-10-35-19
+.. nonce: WZnAPQ
+.. section: Library
+Prevent UnboundLocalError to pop up in parse_message_id.
+parse_message_id() was improperly using a token defined inside an exception
+handler, which was raising ``UnboundLocalError`` on parsing an invalid value.
+Patch by Claudiu Popa.
+..
+.. bpo: 38927
+.. date: 2019-11-27-17-47-00
+.. nonce: qT7xKY
+.. section: Library
+Use ``python -m pip`` instead of ``pip`` to upgrade dependencies in venv.
+..
+.. bpo: 26730
+.. date: 2019-11-27-16-30-02
+.. nonce: 56cdBn
+.. section: Library
+Fix ``SpooledTemporaryFile.rollover()`` might corrupt the file when it is in
+text mode. Patch by Serhiy Storchaka.
+..
+.. bpo: 38881
+.. date: 2019-11-22-20-03-46
+.. nonce: 7HV1Q0
+.. section: Library
+random.choices() now raises a ValueError when all the weights are zero.
+..
+.. bpo: 38876
+.. date: 2019-11-22-10-58-58
+.. nonce: qqy1Vp
+.. section: Library
+Raise pickle.UnpicklingError when loading an item from memo for invalid
+input.
+The previous code was raising a ``KeyError`` for both the Python and C
+implementation. This was caused by the specified index of an invalid input
+which did not exist in the memo structure, where the pickle stores what
+objects it has seen. The malformed input would have caused either a ``BINGET``
+or ``LONG_BINGET`` load from the memo, leading to a ``KeyError`` as the
+determined index was bogus. Patch by Claudiu Popa.
+..
+.. bpo: 38688
+.. date: 2019-11-22-10-45-03
+.. nonce: iKx23z
+.. section: Library
+Calling func:``shutil.copytree`` to copy a directory tree from one directory
+to another subdirectory resulted in an endless loop and a RecursionError. A
+fix was added to consume an iterator and create the list of the entries to
+be copied, avoiding the recursion for newly created directories. Patch by
+Bruno P. Kinoshita.
+..
+.. bpo: 38863
+.. date: 2019-11-21-16-30-00
+.. nonce: RkdTjf
+.. section: Library
+Improve :func:`is_cgi` function in :mod:`http.server`, which enables
+processing the case that cgi directory is a child of another directory other
+than root.
+..
+.. bpo: 37838
+.. date: 2019-11-21-11-39-17
+.. nonce: lRFcEC
+.. section: Library
+:meth:`typing.get_type_hints` properly handles functions decorated with
+:meth:`functools.wraps`.
+..
+.. bpo: 38870
+.. date: 2019-11-20-22-43-48
+.. nonce: rLVZEv
+.. section: Library
+Expose :func:`ast.unparse` as a function of the :mod:`ast` module that can
+be used to unparse an :class:`ast.AST` object and produce a string with code
+that would produce an equivalent :class:`ast.AST` object when parsed. Patch
+by Pablo Galindo and Batuhan Taskaya.
+..
+.. bpo: 38859
+.. date: 2019-11-19-16-30-46
+.. nonce: AZUzL8
+.. section: Library
+AsyncMock now returns StopAsyncIteration on the exhaustion of a side_effects
+iterable. Since PEP-479 its Impossible to raise a StopIteration exception
+from a coroutine.
+..
+.. bpo: 38857
+.. date: 2019-11-19-16-28-25
+.. nonce: YPUkU9
+.. section: Library
+AsyncMock fix for return values that are awaitable types. This also covers
+side_effect iterable values that happened to be awaitable, and wraps
+callables that return an awaitable type. Before these awaitables were being
+awaited instead of being returned as is.
+..
+.. bpo: 38834
+.. date: 2019-11-18-17-08-23
+.. nonce: abcdef
+.. section: Library
+:class:`typing.TypedDict` subclasses now track which keys are optional using
+the ``__required_keys__`` and ``__optional_keys__`` attributes, to enable
+runtime validation by downstream projects. Patch by Zac Hatfield-Dodds.
+..
+.. bpo: 38821
+.. date: 2019-11-16-23-26-25
+.. nonce: -albNN
+.. section: Library
+Fix unhandled exceptions in :mod:`argparse` when internationalizing error
+messages for arguments with ``nargs`` set to special (non-integer) values.
+Patch by Federico Bond.
+..
+.. bpo: 38820
+.. date: 2019-11-16-16-09-07
+.. nonce: ivhUSV
+.. section: Library
+Make Python compatible with OpenSSL 3.0.0. :func:`ssl.SSLSocket.getpeercert`
+no longer returns IPv6 addresses with a trailing new line.
+..
+.. bpo: 38811
+.. date: 2019-11-15-18-06-04
+.. nonce: AmdQ6M
+.. section: Library
+Fix an unhandled exception in :mod:`pathlib` when :meth:`os.link` is
+missing. Patch by Toke Høiland-Jørgensen.
+..
+.. bpo: 38686
+.. date: 2019-11-06-15-26-15
+.. nonce: HNFBce
+.. section: Library
+Added support for multiple ``qop`` values in
+:class:`urllib.request.AbstractDigestAuthHandler`.
+..
+.. bpo: 38712
+.. date: 2019-11-05-21-10-12
+.. nonce: ezJ0TP
+.. section: Library
+Add the Linux-specific :func:`signal.pidfd_send_signal` function, which
+allows sending a signal to a process identified by a file descriptor rather
+than a pid.
+..
+.. bpo: 38348
+.. date: 2019-10-02-18-15-28
+.. nonce: _-5eq2
+.. section: Library
+Add ``-i`` and ``--indent`` (indentation level), and ``--no-type-comments``
+(type comments) command line options to ast parsing tool.
+..
+.. bpo: 37523
+.. date: 2019-10-02-02-55-37
+.. nonce: GguwJ6
+.. section: Library
+Change :class:`zipfile.ZipExtFile` to raise ``ValueError`` when trying to
+access the underlying file object after it has been closed. This new
+behavior is consistent with how accessing closed files is handled in other
+parts of Python.
+..
+.. bpo: 38045
+.. date: 2019-09-30-12-09-41
+.. nonce: VDRtd3
+.. section: Library
+Improve the performance of :func:`enum._decompose` in :mod:`enum`. Patch by
+hongweipeng.
+..
+.. bpo: 36820
+.. date: 2019-05-06-15-34-17
+.. nonce: Eh5mIB
+.. section: Library
+Break cycle generated when saving an exception in socket.py, codeop.py and
+dyld.py as they keep alive not only the exception but user objects through
+the ``__traceback__`` attribute. Patch by Mario Corchero.
+..
+.. bpo: 36406
+.. date: 2019-03-24-12-12-27
+.. nonce: mCEkOl
+.. section: Library
+Handle namespace packages in :mod:`doctest`. Patch by Karthikeyan
+Singaravelan.
+..
+.. bpo: 34776
+.. date: 2018-09-23-14-24-37
+.. nonce: 1SrQe3
+.. section: Library
+Fix dataclasses to support forward references in type annotations
+..
+.. bpo: 20928
+.. date: 2018-03-30-16-18-12
+.. nonce: ieXu6I
+.. section: Library
+ElementTree supports recursive XInclude processing. Patch by Stefan Behnel.
+..
+.. bpo: 29636
+.. date: 2018-02-22-11-24-33
+.. nonce: ogGRE2
+.. section: Library
+Add whitespace options for formatting JSON with the ``json.tool`` CLI. The
+following mutually exclusive options are now supported: ``--indent`` for
+setting the indent level in spaces; ``--tab`` for indenting with tabs;
+``--no-indent`` for suppressing newlines; and ``--compact`` for suppressing
+all whitespace. The default behavior remains the same as ``--indent=4``.
+..
+.. bpo: 38928
+.. date: 2019-11-27-17-51-27
+.. nonce: AfgvfO
+.. section: Documentation
+Correct when venv's ``upgrade_dependencies()`` and ``--upgrade-deps`` are
+added.
+..
+.. bpo: 38899
+.. date: 2019-11-22-15-57-29
+.. nonce: 4aYPW2
+.. section: Documentation
+Update documentation to state that to activate virtual environments under
+fish one should use ``source``, not ``.`` as documented at
+https://fishshell.com/docs/current/cmds/source.html.
+..
+.. bpo: 22377
+.. date: 2019-10-01-10-53-46
+.. nonce: 5ni-iC
+.. section: Documentation
+Improves documentation of the values that :meth:`datetime.datetime.strptime`
+accepts for ``%Z``. Patch by Karl Dubost.
+..
+.. bpo: 38546
+.. date: 2019-12-18-14-52-08
+.. nonce: 2kxNuM
+.. section: Tests
+Fix test_ressources_gced_in_workers() of test_concurrent_futures: explicitly
+stop the manager to prevent leaking a child process running in the
+background after the test completes.
+..
+.. bpo: 38546
+.. date: 2019-12-17-15-27-07
+.. nonce: 82JwN2
+.. section: Tests
+Multiprocessing and concurrent.futures tests now stop the resource tracker
+process when tests complete.
+..
+.. bpo: 38614
+.. date: 2019-12-10-14-26-23
+.. nonce: 89JpNh
+.. section: Tests
+Replace hardcoded timeout constants in tests with new :mod:`test.support`
+constants: :data:`~test.support.LOOPBACK_TIMEOUT`,
+:data:`~test.support.INTERNET_TIMEOUT`, :data:`~test.support.SHORT_TIMEOUT`
+and :data:`~test.support.LONG_TIMEOUT`. It becomes easier to adjust these
+four timeout constants for all tests at once, rather than having to adjust
+every single test file.
+..
+.. bpo: 38547
+.. date: 2019-12-09-11-32-34
+.. nonce: Juw54e
+.. section: Tests
+Fix test_pty: if the process is the session leader, closing the master file
+descriptor raises a SIGHUP signal: simply ignore SIGHUP when running the
+tests.
+..
+.. bpo: 38992
+.. date: 2019-12-08-15-11-06
+.. nonce: cVoHOZ
+.. section: Tests
+Fix a test for :func:`math.fsum` that was failing due to constant folding.
+..
+.. bpo: 38991
+.. date: 2019-12-07-00-52-09
+.. nonce: JE3_o-
+.. section: Tests
+:mod:`test.support`: :func:`~test.support.run_python_until_end`,
+:func:`~test.support.assert_python_ok` and
+:func:`~test.support.assert_python_failure` functions no longer strip
+whitespaces from stderr. Remove ``test.support.strip_python_stderr()``
+function.
+..
+.. bpo: 38965
+.. date: 2019-12-04-17-08-55
+.. nonce: yqax3m
+.. section: Tests
+Fix test_faulthandler on GCC 10. Use the "volatile" keyword in
+``faulthandler._stack_overflow()`` to prevent tail call optimization on any
+compiler, rather than relying on compiler specific pragma.
+..
+.. bpo: 38875
+.. date: 2019-11-21-09-11-06
+.. nonce: wSZJal
+.. section: Tests
+test_capi: trashcan tests now require the test "cpu" resource.
+..
+.. bpo: 38841
+.. date: 2019-11-20-16-08-19
+.. nonce: 5F5Lbw
+.. section: Tests
+Skip asyncio test_create_datagram_endpoint_existing_sock_unix on platforms
+lacking a functional bind() for named unix domain sockets.
+..
+.. bpo: 38692
+.. date: 2019-11-20-15-42-06
+.. nonce: aqAvyF
+.. section: Tests
+Skip the test_posix.test_pidfd_open() test if ``os.pidfd_open()`` fails with
+a :exc:`PermissionError`. This situation can happen in a Linux sandbox using
+a syscall whitelist which doesn't allow the ``pidfd_open()`` syscall yet.
+..
+.. bpo: 38839
+.. date: 2019-11-18-22-10-55
+.. nonce: di6tXv
+.. section: Tests
+Fix some unused functions in tests. Patch by Adam Johnson.
+..
+.. bpo: 38669
+.. date: 2019-11-04-02-54-16
+.. nonce: pazXZ8
+.. section: Tests
+Raise :exc:`TypeError` when passing target as a string with
+:meth:`unittest.mock.patch.object`.
+..
+.. bpo: 37957
+.. date: 2019-10-30-00-01-43
+.. nonce: X1r78F
+.. section: Tests
+test.regrtest now can receive a list of test patterns to ignore (using the
+-i/--ignore argument) or a file with a list of patterns to ignore (using the
+--ignore-file argument). Patch by Pablo Galindo.
+..
+.. bpo: 37404
+.. date: 2019-12-01-21-45-24
+.. nonce: cNsA7S
+.. section: Build
+:mod:`asyncio` now raises :exc:`TypeError` when calling incompatible
+methods with an :class:`ssl.SSLSocket` socket. Patch by Ido Michael.
+..
+.. bpo: 36500
+.. date: 2019-04-02-01-59-26
+.. nonce: fyG6_U
+.. section: Build
+Added an optional "regen" project to the Visual Studio solution that will
+regenerate all grammar, tokens, and opcodes.
+..
+.. bpo: 39007
+.. date: 2019-12-09-10-40-34
+.. nonce: vtarxo
+.. section: Windows
+Add auditing events to functions in :mod:`winreg`.
+..
+.. bpo: 33125
+.. date: 2019-11-14-08-57-50
+.. nonce: EN5MWS
+.. section: Windows
+Add support for building and releasing Windows ARM64 packages.
+..
+.. bpo: 37931
+.. date: 2019-08-23-12-14-34
+.. nonce: goYgQj
+.. section: macOS
+Fixed a crash on OSX dynamic builds that occurred when re-initializing the
+posix module after a Py_Finalize if the environment had changed since the
+previous ``import posix``. Patch by Benoît Hudson.
+..
+.. bpo: 38944
+.. date: 2019-11-30-12-10-36
+.. nonce: _3xjKG
+.. section: IDLE
+Escape key now closes IDLE completion windows. Patch by Johnny Najera.
+..
+.. bpo: 38943
+.. date: 2019-11-29-23-44-11
+.. nonce: 8pUKKs
+.. section: IDLE
+Fix IDLE autocomplete windows not always appearing on some systems. Patch by
+Johnny Najera.
+..
+.. bpo: 38862
+.. date: 2019-11-23-21-50-57
+.. nonce: KQ9A0m
+.. section: IDLE
+'Strip Trailing Whitespace' on the Format menu removes extra newlines at the
+end of non-shell files.
+..
+.. bpo: 38636
+.. date: 2019-10-30-22-11-16
+.. nonce: hUhDeB
+.. section: IDLE
+Fix IDLE Format menu tab toggle and file indent width. These functions
+(default shortcuts Alt-T and Alt-U) were mistakenly disabled in 3.7.5 and
+3.8.0.
+..
+.. bpo: 38896
+.. date: 2019-11-22-19-43-43
+.. nonce: 6wvNMJ
+.. section: C API
+Remove ``PyUnicode_ClearFreeList()`` function: the Unicode free list has
+been removed in Python 3.3.
+..
+.. bpo: 37340
+.. date: 2019-11-20-11-08-06
+.. nonce: JBQJMS
+.. section: C API
+Remove ``PyMethod_ClearFreeList()`` and ``PyCFunction_ClearFreeList()``
+functions: the free lists of bound method objects have been removed.
+..
+.. bpo: 38835
+.. date: 2019-11-18-15-38-23
+.. nonce: II8Szd
+.. section: C API
+Exclude ``PyFPE_START_PROTECT()`` and ``PyFPE_END_PROTECT()`` macros of
+``pyfpe.h`` from ``Py_LIMITED_API`` (stable API).
+
+.. bpo: 25630
+.. date: 9450
+.. nonce: ZxzcoY
+.. release date: 2015-11-22
+.. section: Core and Builtins
+Fix a possible segfault during argument parsing in functions that accept
+filesystem paths.
+..
+.. bpo: 23564
+.. date: 9449
+.. nonce: XHarGG
+.. section: Core and Builtins
+Fixed a partially broken sanity check in the _posixsubprocess internals
+regarding how fds_to_pass were passed to the child. The bug had no actual
+impact as subprocess.py already avoided it.
+..
+.. bpo: 25388
+.. date: 9448
+.. nonce: zm3uuQ
+.. section: Core and Builtins
+Fixed tokenizer crash when processing undecodable source code with a null
+byte.
+..
+.. bpo: 25462
+.. date: 9447
+.. nonce: eXDzgO
+.. section: Core and Builtins
+The hash of the key now is calculated only once in most operations in C
+implementation of OrderedDict.
+..
+.. bpo: 22995
+.. date: 9446
+.. nonce: 90kpuP
+.. section: Core and Builtins
+Default implementation of __reduce__ and __reduce_ex__ now rejects builtin
+types with not defined __new__.
+..
+.. bpo: 25555
+.. date: 9445
+.. nonce: MUpG-j
+.. section: Core and Builtins
+Fix parser and AST: fill lineno and col_offset of "arg" node when compiling
+AST from Python objects.
+..
+.. bpo: 24802
+.. date: 9444
+.. nonce: Qie066
+.. section: Core and Builtins
+Avoid buffer overreads when int(), float(), compile(), exec() and eval() are
+passed bytes-like objects. These objects are not necessarily terminated by
+a null byte, but the functions assumed they were.
+..
+.. bpo: 24726
+.. date: 9443
+.. nonce: AHk4v2
+.. section: Core and Builtins
+Fixed a crash and leaking NULL in repr() of OrderedDict that was mutated by
+direct calls of dict methods.
+..
+.. bpo: 25449
+.. date: 9442
+.. nonce: VqTOFi
+.. section: Core and Builtins
+Iterating OrderedDict with keys with unstable hash now raises KeyError in C
+implementations as well as in Python implementation.
+..
+.. bpo: 25395
+.. date: 9441
+.. nonce: htkE3W
+.. section: Core and Builtins
+Fixed crash when highly nested OrderedDict structures were garbage
+collected.
+..
+.. bpo: 25274
+.. date: 9440
+.. nonce: QCGvAF
+.. section: Core and Builtins
+sys.setrecursionlimit() now raises a RecursionError if the new recursion
+limit is too low depending at the current recursion depth. Modify also the
+"lower-water mark" formula to make it monotonic. This mark is used to decide
+when the overflowed flag of the thread state is reset.
+..
+.. bpo: 24402
+.. date: 9439
+.. nonce: MAgi3X
+.. section: Core and Builtins
+Fix input() to prompt to the redirected stdout when sys.stdout.fileno()
+fails.
+..
+.. bpo: 24806
+.. date: 9438
+.. nonce: Nb0znT
+.. section: Core and Builtins
+Prevent builtin types that are not allowed to be subclassed from being
+subclassed through multiple inheritance.
+..
+.. bpo: 24848
+.. date: 9437
+.. nonce: HlUSuy
+.. section: Core and Builtins
+Fixed a number of bugs in UTF-7 decoding of misformed data.
+..
+.. bpo: 25280
+.. date: 9436
+.. nonce: ivTMwd
+.. section: Core and Builtins
+Import trace messages emitted in verbose (-v) mode are no longer formatted
+twice.
+..
+.. bpo: 25003
+.. date: 9435
+.. nonce: _ban92
+.. section: Core and Builtins
+On Solaris 11.3 or newer, os.urandom() now uses the getrandom() function
+instead of the getentropy() function. The getentropy() function is blocking
+to generate very good quality entropy, os.urandom() doesn't need such
+high-quality entropy.
+..
+.. bpo: 25182
+.. date: 9434
+.. nonce: gBDq-T
+.. section: Core and Builtins
+The stdprinter (used as sys.stderr before the io module is imported at
+startup) now uses the backslashreplace error handler.
+..
+.. bpo: 25131
+.. date: 9433
+.. nonce: j5hH6a
+.. section: Core and Builtins
+Make the line number and column offset of set/dict literals and
+comprehensions correspond to the opening brace.
+..
+.. bpo: 25150
+.. date: 9432
+.. nonce: 0Gh-Ty
+.. section: Core and Builtins
+Hide the private :samp:`_Py_atomic_{xxx}` symbols from the public Python.h header to
+fix a compilation error with OpenMP. PyThreadState_GET() becomes an alias to
+PyThreadState_Get() to avoid ABI incompatibilities.
+..
+.. bpo: 25626
+.. date: 9431
+.. nonce: TQ3fvb
+.. section: Library
+Change three zlib functions to accept sizes that fit in Py_ssize_t, but
+internally cap those sizes to UINT_MAX. This resolves a regression in 3.5
+where GzipFile.read() failed to read chunks larger than 2 or 4 GiB. The
+change affects the zlib.Decompress.decompress() max_length parameter, the
+zlib.decompress() bufsize parameter, and the zlib.Decompress.flush() length
+parameter.
+..
+.. bpo: 25583
+.. date: 9430
+.. nonce: Gk-cim
+.. section: Library
+Avoid incorrect errors raised by os.makedirs(exist_ok=True) when the OS
+gives priority to errors such as EACCES over EEXIST.
+..
+.. bpo: 25593
+.. date: 9429
+.. nonce: 56uegI
+.. section: Library
+Change semantics of EventLoop.stop() in asyncio.
+..
+.. bpo: 6973
+.. date: 9428
+.. nonce: nl5cHt
+.. section: Library
+When we know a subprocess.Popen process has died, do not allow the
+send_signal(), terminate(), or kill() methods to do anything as they could
+potentially signal a different process.
+..
+.. bpo: 25590
+.. date: 9427
+.. nonce: aCt-yW
+.. section: Library
+In the Readline completer, only call getattr() once per attribute.
+..
+.. bpo: 25498
+.. date: 9426
+.. nonce: AvqEBl
+.. section: Library
+Fix a crash when garbage-collecting ctypes objects created by wrapping a
+memoryview. This was a regression made in 3.5a1. Based on patch by
+Eryksun.
+..
+.. bpo: 25584
+.. date: 9425
+.. nonce: 124mYw
+.. section: Library
+Added "escape" to the __all__ list in the glob module.
+..
+.. bpo: 25584
+.. date: 9424
+.. nonce: ZeWX0J
+.. section: Library
+Fixed recursive glob() with patterns starting with ``**``.
+..
+.. bpo: 25446
+.. date: 9423
+.. nonce: k1DByx
+.. section: Library
+Fix regression in smtplib's AUTH LOGIN support.
+..
+.. bpo: 18010
+.. date: 9422
+.. nonce: Azyf1C
+.. section: Library
+Fix the pydoc web server's module search function to handle exceptions from
+importing packages.
+..
+.. bpo: 25554
+.. date: 9421
+.. nonce: UM9MlR
+.. section: Library
+Got rid of circular references in regular expression parsing.
+..
+.. bpo: 25510
+.. date: 9420
+.. nonce: 79g7LA
+.. section: Library
+fileinput.FileInput.readline() now returns b'' instead of '' at the end if
+the FileInput was opened with binary mode. Patch by Ryosuke Ito.
+..
+.. bpo: 25503
+.. date: 9419
+.. nonce: Zea0Y7
+.. section: Library
+Fixed inspect.getdoc() for inherited docstrings of properties. Original
+patch by John Mark Vandenberg.
+..
+.. bpo: 25515
+.. date: 9418
+.. nonce: fQsyYG
+.. section: Library
+Always use os.urandom as a source of randomness in uuid.uuid4.
+..
+.. bpo: 21827
+.. date: 9417
+.. nonce: k2oreR
+.. section: Library
+Fixed textwrap.dedent() for the case when largest common whitespace is a
+substring of smallest leading whitespace. Based on patch by Robert Li.
+..
+.. bpo: 25447
+.. date: 9416
+.. nonce: eDYc4t
+.. section: Library
+The lru_cache() wrapper objects now can be copied and pickled (by returning
+the original object unchanged).
+..
+.. bpo: 25390
+.. date: 9415
+.. nonce: 6mSgRq
+.. section: Library
+typing: Don't crash on Union[str, Pattern].
+..
+.. bpo: 25441
+.. date: 9414
+.. nonce: d7zph6
+.. section: Library
+asyncio: Raise error from drain() when socket is closed.
+..
+.. bpo: 25410
+.. date: 9413
+.. nonce: QAs_3B
+.. section: Library
+Cleaned up and fixed minor bugs in C implementation of OrderedDict.
+..
+.. bpo: 25411
+.. date: 9412
+.. nonce: qsJTCb
+.. section: Library
+Improved Unicode support in SMTPHandler through better use of the email
+package. Thanks to user simon04 for the patch.
+..
+.. bpo: 25407
+.. date: 9411
+.. nonce: ukNt1D
+.. section: Library
+Remove mentions of the formatter module being removed in Python 3.6.
+..
+.. bpo: 25406
+.. date: 9410
+.. nonce: 5MZKU_
+.. section: Library
+Fixed a bug in C implementation of OrderedDict.move_to_end() that caused
+segmentation fault or hang in iterating after moving several items to the
+start of ordered dict.
+..
+.. bpo: 25364
+.. date: 9409
+.. nonce: u_1Wi6
+.. section: Library
+zipfile now works in threads disabled builds.
+..
+.. bpo: 25328
+.. date: 9408
+.. nonce: Rja1Xg
+.. section: Library
+smtpd's SMTPChannel now correctly raises a ValueError if both decode_data
+and enable_SMTPUTF8 are set to true.
+..
+.. bpo: 25316
+.. date: 9407
+.. nonce: dHQHWI
+.. section: Library
+distutils raises OSError instead of DistutilsPlatformError when MSVC is not
+installed.
+..
+.. bpo: 25380
+.. date: 9406
+.. nonce: sKZ6-I
+.. section: Library
+Fixed protocol for the STACK_GLOBAL opcode in pickletools.opcodes.
+..
+.. bpo: 23972
+.. date: 9405
+.. nonce: s2g30g
+.. section: Library
+Updates asyncio datagram create method allowing reuseport and reuseaddr
+socket options to be set prior to binding the socket. Mirroring the existing
+asyncio create_server method the reuseaddr option for datagram sockets
+defaults to True if the O/S is 'posix' (except if the platform is Cygwin).
+Patch by Chris Laws.
+..
+.. bpo: 25304
+.. date: 9404
+.. nonce: CsmLyI
+.. section: Library
+Add asyncio.run_coroutine_threadsafe(). This lets you submit a coroutine to
+a loop from another thread, returning a concurrent.futures.Future. By
+Vincent Michel.
+..
+.. bpo: 25232
+.. date: 9403
+.. nonce: KhKjCE
+.. section: Library
+Fix CGIRequestHandler to split the query from the URL at the first question
+mark (?) rather than the last. Patch from Xiang Zhang.
+..
+.. bpo: 24657
+.. date: 9402
+.. nonce: h2Ag7y
+.. section: Library
+Prevent CGIRequestHandler from collapsing slashes in the query part of the
+URL as if it were a path. Patch from Xiang Zhang.
+..
+.. bpo: 24483
+.. date: 9401
+.. nonce: WPLGSJ
+.. section: Library
+C implementation of functools.lru_cache() now calculates key's hash only
+once.
+..
+.. bpo: 22958
+.. date: 9400
+.. nonce: Ebu7Gl
+.. section: Library
+Constructor and update method of weakref.WeakValueDictionary now accept the
+self and the dict keyword arguments.
+..
+.. bpo: 22609
+.. date: 9399
+.. nonce: fV7hdV
+.. section: Library
+Constructor of collections.UserDict now accepts the self keyword argument.
+..
+.. bpo: 25111
+.. date: 9398
+.. nonce: azL4qE
+.. section: Library
+Fixed comparison of traceback.FrameSummary.
+..
+.. bpo: 25262
+.. date: 9397
+.. nonce: pQS5cB
+.. section: Library
+Added support for BINBYTES8 opcode in Python implementation of unpickler.
+Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8 opcodes no
+longer silently ignored on 32-bit platforms in C implementation.
+..
+.. bpo: 25034
+.. date: 9396
+.. nonce: eGvOIb
+.. section: Library
+Fix string.Formatter problem with auto-numbering and nested format_specs.
+Patch by Anthon van der Neut.
+..
+.. bpo: 25233
+.. date: 9395
+.. nonce: EdZV9x
+.. section: Library
+Rewrite the guts of asyncio.Queue and asyncio.Semaphore to be more
+understandable and correct.
+..
+.. bpo: 25203
+.. date: 9394
+.. nonce: IgDEbt
+.. section: Library
+Failed readline.set_completer_delims() no longer left the module in
+inconsistent state.
+..
+.. bpo: 23600
+.. date: 9393
+.. nonce: 7J_RD5
+.. section: Library
+Default implementation of tzinfo.fromutc() was returning wrong results in
+some cases.
+..
+.. bpo: 23329
+.. date: 9392
+.. nonce: yccJBE
+.. section: Library
+Allow the ssl module to be built with older versions of LibreSSL.
+..
+.. bpo: 0
+.. date: 9391
+.. nonce: ww9QSm
+.. section: Library
+Prevent overflow in _Unpickler_Read.
+..
+.. bpo: 25047
+.. date: 9390
+.. nonce: kc8tqx
+.. section: Library
+The XML encoding declaration written by Element Tree now respects the letter
+case given by the user. This restores the ability to write encoding names in
+uppercase like "UTF-8", which worked in Python 2.
+..
+.. bpo: 25135
+.. date: 9389
+.. nonce: gVHNy-
+.. section: Library
+Make deque_clear() safer by emptying the deque before clearing. This helps
+avoid possible reentrancy issues.
+..
+.. bpo: 19143
+.. date: 9388
+.. nonce: 76SBSO
+.. section: Library
+platform module now reads Windows version from kernel32.dll to avoid
+compatibility shims.
+..
+.. bpo: 25092
+.. date: 9387
+.. nonce: fQ37Ac
+.. section: Library
+Fix datetime.strftime() failure when errno was already set to EINVAL.
+..
+.. bpo: 23517
+.. date: 9386
+.. nonce: 3ABmf1
+.. section: Library
+Fix rounding in fromtimestamp() and utcfromtimestamp() methods of
+datetime.datetime: microseconds are now rounded to nearest with ties going
+to nearest even integer (ROUND_HALF_EVEN), instead of being rounding towards
+minus infinity (ROUND_FLOOR). It's important that these methods use the same
+rounding mode than datetime.timedelta to keep the property:
+(datetime(1970,1,1) + timedelta(seconds=t)) == datetime.utcfromtimestamp(t).
+It also the rounding mode used by round(float) for example.
+..
+.. bpo: 25155
+.. date: 9385
+.. nonce: JiETzD
+.. section: Library
+Fix datetime.datetime.now() and datetime.datetime.utcnow() on Windows to
+support date after year 2038. It was a regression introduced in Python
+3.5.0.
+..
+.. bpo: 25108
+.. date: 9384
+.. nonce: zGPbgA
+.. section: Library
+Omitted internal frames in traceback functions print_stack(),
+format_stack(), and extract_stack() called without arguments.
+..
+.. bpo: 25118
+.. date: 9383
+.. nonce: wGm1u6
+.. section: Library
+Fix a regression of Python 3.5.0 in os.waitpid() on Windows.
+..
+.. bpo: 24684
+.. date: 9382
+.. nonce: t4T77O
+.. section: Library
+socket.socket.getaddrinfo() now calls PyUnicode_AsEncodedString() instead of
+calling the encode() method of the host, to handle correctly custom string
+with an encode() method which doesn't return a byte string. The encoder of
+the IDNA codec is now called directly instead of calling the encode() method
+of the string.
+..
+.. bpo: 25060
+.. date: 9381
+.. nonce: zLdvIk
+.. section: Library
+Correctly compute stack usage of the BUILD_MAP opcode.
+..
+.. bpo: 24857
+.. date: 9380
+.. nonce: PpJWZ9
+.. section: Library
+Comparing call_args to a long sequence now correctly returns a boolean
+result instead of raising an exception. Patch by A Kaptur.
+..
+.. bpo: 23144
+.. date: 9379
+.. nonce: cLf67X
+.. section: Library
+Make sure that HTMLParser.feed() returns all the data, even when
+convert_charrefs is True.
+..
+.. bpo: 24982
+.. date: 9378
+.. nonce: sGMMAR
+.. section: Library
+shutil.make_archive() with the "zip" format now adds entries for directories
+(including empty directories) in ZIP file.
+..
+.. bpo: 25019
+.. date: 9377
+.. nonce: JQJlOZ
+.. section: Library
+Fixed a crash caused by setting non-string key of expat parser. Based on
+patch by John Leitch.
+..
+.. bpo: 16180
+.. date: 9376
+.. nonce: 6IUcNS
+.. section: Library
+Exit pdb if file has syntax error, instead of trapping user in an infinite
+loop. Patch by Xavier de Gaye.
+..
+.. bpo: 24891
+.. date: 9375
+.. nonce: ddVmHS
+.. section: Library
+Fix a race condition at Python startup if the file descriptor of stdin (0),
+stdout (1) or stderr (2) is closed while Python is creating sys.stdin,
+sys.stdout and sys.stderr objects. These attributes are now set to None if
+the creation of the object failed, instead of raising an OSError exception.
+Initial patch written by Marco Paolini.
+..
+.. bpo: 24992
+.. date: 9374
+.. nonce: 5sqF74
+.. section: Library
+Fix error handling and a race condition (related to garbage collection) in
+collections.OrderedDict constructor.
+..
+.. bpo: 24881
+.. date: 9373
+.. nonce: ZoVZXu
+.. section: Library
+Fixed setting binary mode in Python implementation of FileIO on Windows and
+Cygwin. Patch from Akira Li.
+..
+.. bpo: 25578
+.. date: 9372
+.. nonce: G6S-ft
+.. section: Library
+Fix (another) memory leak in SSLSocket.getpeercer().
+..
+.. bpo: 25530
+.. date: 9371
+.. nonce: hDFkwu
+.. section: Library
+Disable the vulnerable SSLv3 protocol by default when creating
+ssl.SSLContext.
+..
+.. bpo: 25569
+.. date: 9370
+.. nonce: CfvQjK
+.. section: Library
+Fix memory leak in SSLSocket.getpeercert().
+..
+.. bpo: 25471
+.. date: 9369
+.. nonce: T0A02M
+.. section: Library
+Sockets returned from accept() shouldn't appear to be nonblocking.
+..
+.. bpo: 25319
+.. date: 9368
+.. nonce: iyuglv
+.. section: Library
+When threading.Event is reinitialized, the underlying condition should use a
+regular lock rather than a recursive lock.
+..
+.. bpo: 21112
+.. date: 9367
+.. nonce: vSFU1r
+.. section: Library
+Fix regression in unittest.expectedFailure on subclasses. Patch from Berker
+Peksag.
+..
+.. bpo: 24764
+.. date: 9366
+.. nonce: QwFZ2S
+.. section: Library
+cgi.FieldStorage.read_multi() now ignores the Content-Length header in part
+headers. Patch written by Peter Landry and reviewed by Pierre Quentel.
+..
+.. bpo: 24913
+.. date: 9365
+.. nonce: p2ZAJ4
+.. section: Library
+Fix overrun error in deque.index(). Found by John Leitch and Bryce Darling.
+..
+.. bpo: 24774
+.. date: 9364
+.. nonce: xLbskG
+.. section: Library
+Fix docstring in http.server.test. Patch from Chiu-Hsiang Hsu.
+..
+.. bpo: 21159
+.. date: 9363
+.. nonce: ochL5W
+.. section: Library
+Improve message in configparser.InterpolationMissingOptionError. Patch from
+Łukasz Langa.
+..
+.. bpo: 20362
+.. date: 9362
+.. nonce: 5aP_Ri
+.. section: Library
+Honour TestCase.longMessage correctly in assertRegex. Patch from Ilia
+Kurenkov.
+..
+.. bpo: 23572
+.. date: 9361
+.. nonce: QhQ9RD
+.. section: Library
+Fixed functools.singledispatch on classes with false metaclasses. Patch by
+Ethan Furman.
+..
+.. bpo: 0
+.. date: 9360
+.. nonce: DO1sFa
+.. section: Library
+asyncio: ensure_future() now accepts awaitable objects.
+..
+.. bpo: 15348
+.. date: 9359
+.. nonce: d1Fg01
+.. section: IDLE
+Stop the debugger engine (normally in a user process) before closing the
+debugger window (running in the IDLE process). This prevents the
+RuntimeErrors that were being caught and ignored.
+..
+.. bpo: 24455
+.. date: 9358
+.. nonce: x6YqtE
+.. section: IDLE
+Prevent IDLE from hanging when a) closing the shell while the debugger is
+active (15347); b) closing the debugger with the [X] button (15348); and c)
+activating the debugger when already active (24455). The patch by Mark
+Roseman does this by making two changes. 1. Suspend and resume the
+gui.interaction method with the tcl vwait mechanism intended for this
+purpose (instead of root.mainloop & .quit). 2. In gui.run, allow any
+existing interaction to terminate first.
+..
+.. bpo: 0
+.. date: 9357
+.. nonce: Yp9LRY
+.. section: IDLE
+Change 'The program' to 'Your program' in an IDLE 'kill program?' message to
+make it clearer that the program referred to is the currently running user
+program, not IDLE itself.
+..
+.. bpo: 24750
+.. date: 9356
+.. nonce: xgsi-K
+.. section: IDLE
+Improve the appearance of the IDLE editor window status bar. Patch by Mark
+Roseman.
+..
+.. bpo: 25313
+.. date: 9355
+.. nonce: xMXHpO
+.. section: IDLE
+Change the handling of new built-in text color themes to better address the
+compatibility problem introduced by the addition of IDLE Dark. Consistently
+use the revised idleConf.CurrentTheme everywhere in idlelib.
+..
+.. bpo: 24782
+.. date: 9354
+.. nonce: RgIPYE
+.. section: IDLE
+Extension configuration is now a tab in the IDLE Preferences dialog rather
+than a separate dialog. The former tabs are now a sorted list. Patch by
+Mark Roseman.
+..
+.. bpo: 22726
+.. date: 9353
+.. nonce: x8T0dA
+.. section: IDLE
+Re-activate the config dialog help button with some content about the other
+buttons and the new IDLE Dark theme.
+..
+.. bpo: 24820
+.. date: 9352
+.. nonce: TFPJhr
+.. section: IDLE
+IDLE now has an 'IDLE Dark' built-in text color theme. It is more or less
+IDLE Classic inverted, with a cobalt blue background. Strings, comments,
+keywords, ... are still green, red, orange, ... . To use it with IDLEs
+released before November 2015, hit the 'Save as New Custom Theme' button and
+enter a new name, such as 'Custom Dark'. The custom theme will work with
+any IDLE release, and can be modified.
+..
+.. bpo: 25224
+.. date: 9351
+.. nonce: 5Llwo4
+.. section: IDLE
+README.txt is now an idlelib index for IDLE developers and curious users.
+The previous user content is now in the IDLE doc chapter. 'IDLE' now means
+'Integrated Development and Learning Environment'.
+..
+.. bpo: 24820
+.. date: 9350
+.. nonce: ZUz9Fn
+.. section: IDLE
+Users can now set breakpoint colors in Settings -> Custom Highlighting.
+Original patch by Mark Roseman.
+..
+.. bpo: 24972
+.. date: 9349
+.. nonce: uc0uNo
+.. section: IDLE
+Inactive selection background now matches active selection background, as
+configured by users, on all systems. Found items are now always highlighted
+on Windows. Initial patch by Mark Roseman.
+..
+.. bpo: 24570
+.. date: 9348
+.. nonce: s3EkNn
+.. section: IDLE
+Idle: make calltip and completion boxes appear on Macs affected by a tk
+regression. Initial patch by Mark Roseman.
+..
+.. bpo: 24988
+.. date: 9347
+.. nonce: tXqq4T
+.. section: IDLE
+Idle ScrolledList context menus (used in debugger) now work on Mac Aqua.
+Patch by Mark Roseman.
+..
+.. bpo: 24801
+.. date: 9346
+.. nonce: -bj_Ou
+.. section: IDLE
+Make right-click for context menu work on Mac Aqua. Patch by Mark Roseman.
+..
+.. bpo: 25173
+.. date: 9345
+.. nonce: EZzrPg
+.. section: IDLE
+Associate tkinter messageboxes with a specific widget. For Mac OSX, make
+them a 'sheet'. Patch by Mark Roseman.
+..
+.. bpo: 25198
+.. date: 9344
+.. nonce: -j_BV7
+.. section: IDLE
+Enhance the initial html viewer now used for Idle Help. Properly indent
+fixed-pitch text (patch by Mark Roseman). Give code snippet a very
+Sphinx-like light blueish-gray background. Re-use initial width and height
+set by users for shell and editor. When the Table of Contents (TOC) menu is
+used, put the section header at the top of the screen.
+..
+.. bpo: 25225
+.. date: 9343
+.. nonce: 9pvdq6
+.. section: IDLE
+Condense and rewrite Idle doc section on text colors.
+..
+.. bpo: 21995
+.. date: 9342
+.. nonce: C5Rmzx
+.. section: IDLE
+Explain some differences between IDLE and console Python.
+..
+.. bpo: 22820
+.. date: 9341
+.. nonce: hix_8X
+.. section: IDLE
+Explain need for *print* when running file from Idle editor.
+..
+.. bpo: 25224
+.. date: 9340
+.. nonce: UVMYQq
+.. section: IDLE
+Doc: augment Idle feature list and no-subprocess section.
+..
+.. bpo: 25219
+.. date: 9339
+.. nonce: 8_9DYg
+.. section: IDLE
+Update doc for Idle command line options. Some were missing and notes were
+not correct.
+..
+.. bpo: 24861
+.. date: 9338
+.. nonce: Ecg2yT
+.. section: IDLE
+Most of idlelib is private and subject to change. Use idleib.idle.* to start
+Idle. See idlelib.__init__.__doc__.
+..
+.. bpo: 25199
+.. date: 9337
+.. nonce: ih7yY3
+.. section: IDLE
+Idle: add synchronization comments for future maintainers.
+..
+.. bpo: 16893
+.. date: 9336
+.. nonce: bZtPgJ
+.. section: IDLE
+Replace help.txt with help.html for Idle doc display. The new
+idlelib/help.html is rstripped Doc/build/html/library/idle.html. It looks
+better than help.txt and will better document Idle as released. The tkinter
+html viewer that works for this file was written by Mark Roseman. The now
+unused EditorWindow.HelpDialog class and helt.txt file are deprecated.
+..
+.. bpo: 24199
+.. date: 9335
+.. nonce: VKnZEv
+.. section: IDLE
+Deprecate unused idlelib.idlever with possible removal in 3.6.
+..
+.. bpo: 24790
+.. date: 9334
+.. nonce: hD1hlj
+.. section: IDLE
+Remove extraneous code (which also create 2 & 3 conflicts).
+..
+.. bpo: 22558
+.. date: 9333
+.. nonce: Pk02YC
+.. section: Documentation
+Add remaining doc links to source code for Python-coded modules. Patch by
+Yoni Lavi.
+..
+.. bpo: 12067
+.. date: 9332
+.. nonce: nLD2M-
+.. section: Documentation
+Rewrite Comparisons section in the Expressions chapter of the language
+reference. Some of the details of comparing mixed types were incorrect or
+ambiguous. NotImplemented is only relevant at a lower level than the
+Expressions chapter. Added details of comparing range() objects, and default
+behaviour and consistency suggestions for user-defined classes. Patch from
+Andy Maier.
+..
+.. bpo: 24952
+.. date: 9331
+.. nonce: RHhFPE
+.. section: Documentation
+Clarify the default size argument of stack_size() in the "threading" and
+"_thread" modules. Patch from Mattip.
+..
+.. bpo: 23725
+.. date: 9330
+.. nonce: 49TZ5f
+.. section: Documentation
+Overhaul tempfile docs. Note deprecated status of mktemp. Patch from
+Zbigniew Jędrzejewski-Szmek.
+..
+.. bpo: 24808
+.. date: 9329
+.. nonce: MGjc3F
+.. section: Documentation
+Update the types of some PyTypeObject fields. Patch by Joseph Weston.
+..
+.. bpo: 22812
+.. date: 9328
+.. nonce: kLCF0G
+.. section: Documentation
+Fix unittest discovery examples. Patch from Pam McA'Nulty.
+..
+.. bpo: 25449
+.. date: 9327
+.. nonce: MP6KNs
+.. section: Tests
+Added tests for OrderedDict subclasses.
+..
+.. bpo: 25099
+.. date: 9326
+.. nonce: tJQOWx
+.. section: Tests
+Make test_compileall not fail when an entry on sys.path cannot be written to
+(commonly seen in administrative installs on Windows).
+..
+.. bpo: 23919
+.. date: 9325
+.. nonce: vJnjaq
+.. section: Tests
+Prevents assert dialogs appearing in the test suite.
+..
+.. bpo: 0
+.. date: 9324
+.. nonce: X-Bk5l
+.. section: Tests
+``PCbuild\rt.bat`` now accepts an unlimited number of arguments to pass
+along to regrtest.py. Previously there was a limit of 9.
+..
+.. bpo: 24915
+.. date: 9323
+.. nonce: PgD3Cx
+.. section: Build
+Add LLVM support for PGO builds and use the test suite to generate the
+profile data. Initial patch by Alecsandru Patrascu of Intel.
+..
+.. bpo: 24910
+.. date: 9322
+.. nonce: ZZdfl0
+.. section: Build
+Windows MSIs now have unique display names.
+..
+.. bpo: 24986
+.. date: 9321
+.. nonce: 1WyXeU
+.. section: Build
+It is now possible to build Python on Windows without errors when external
+libraries are not available.
+..
+.. bpo: 25450
+.. date: 9320
+.. nonce: X4xlWf
+.. section: Windows
+Updates shortcuts to start Python in installation directory.
+..
+.. bpo: 25164
+.. date: 9319
+.. nonce: FHVOOA
+.. section: Windows
+Changes default all-users install directory to match per-user directory.
+..
+.. bpo: 25143
+.. date: 9318
+.. nonce: hmxsia
+.. section: Windows
+Improves installer error messages for unsupported platforms.
+..
+.. bpo: 25163
+.. date: 9317
+.. nonce: uCRe8H
+.. section: Windows
+Display correct directory in installer when using non-default settings.
+..
+.. bpo: 25361
+.. date: 9316
+.. nonce: GETaSY
+.. section: Windows
+Disables use of SSE2 instructions in Windows 32-bit build
+..
+.. bpo: 25089
+.. date: 9315
+.. nonce: n_YJgw
+.. section: Windows
+Adds logging to installer for case where launcher is not selected on
+upgrade.
+..
+.. bpo: 25165
+.. date: 9314
+.. nonce: aUTN1e
+.. section: Windows
+Windows uninstallation should not remove launcher if other versions remain
+..
+.. bpo: 25112
+.. date: 9313
+.. nonce: frdKij
+.. section: Windows
+py.exe launcher is missing icons
+..
+.. bpo: 25102
+.. date: 9312
+.. nonce: 6y6Akl
+.. section: Windows
+Windows installer does not precompile for -O or -OO.
+..
+.. bpo: 25081
+.. date: 9311
+.. nonce: dcRCTO
+.. section: Windows
+Makes Back button in installer go back to upgrade page when upgrading.
+..
+.. bpo: 25091
+.. date: 9310
+.. nonce: 1u-VKy
+.. section: Windows
+Increases font size of the installer.
+..
+.. bpo: 25126
+.. date: 9309
+.. nonce: ANx3DW
+.. section: Windows
+Clarifies that the non-web installer will download some components.
+..
+.. bpo: 25213
+.. date: 9308
+.. nonce: KGmXoe
+.. section: Windows
+Restores requestedExecutionLevel to manifest to disable UAC virtualization.
+..
+.. bpo: 25022
+.. date: 9307
+.. nonce: vAt_zr
+.. section: Windows
+Removed very outdated PC/example_nt/ directory.
+..
+.. bpo: 25440
+.. date: 9306
+.. nonce: 5xhyGr
+.. section: Tools/Demos
+Fix output of python-config --extension-suffix.
+
+.. date: 2025-11-04-19-20-05
+.. gh-issue: 140849
+.. nonce: YjB2ZZ
+.. release date: 2025-11-18
+.. section: Windows
+Update bundled liblzma to version 5.8.1.
+..
+.. date: 2025-11-12-12-54-28
+.. gh-issue: 141442
+.. nonce: 50dS3P
+.. section: Tools/Demos
+The iOS testbed now correctly handles test arguments that contain spaces.
+..
+.. date: 2025-10-29-15-20-19
+.. gh-issue: 140702
+.. nonce: ZXtW8h
+.. section: Tools/Demos
+The iOS testbed app will now expose the ``GITHUB_ACTIONS`` environment
+variable to iOS apps being tested.
+..
+.. date: 2025-09-21-10-30-08
+.. gh-issue: 139198
+.. nonce: Fm7NfU
+.. section: Tools/Demos
+Remove ``Tools/scripts/checkpip.py`` script.
+..
+.. date: 2025-09-20-20-31-54
+.. gh-issue: 139188
+.. nonce: zfcxkW
+.. section: Tools/Demos
+Remove ``Tools/tz/zdump.py`` script.
+..
+.. date: 2025-10-23-16-39-49
+.. gh-issue: 140482
+.. nonce: ZMtyeD
+.. section: Tests
+Preserve and restore the state of ``stty echo`` as part of the test
+environment.
+..
+.. date: 2025-10-15-00-52-12
+.. gh-issue: 140082
+.. nonce: fpET50
+.. section: Tests
+Update ``python -m test`` to set ``FORCE_COLOR=1`` when being run with color
+enabled so that :mod:`unittest` which is run by it with redirected output
+will output in color.
+..
+.. date: 2025-07-09-21-45-51
+.. gh-issue: 136442
+.. nonce: jlbklP
+.. section: Tests
+Use exitcode ``1`` instead of ``5`` if :func:`unittest.TestCase.setUpClass`
+raises an exception
+..
+.. date: 2025-08-15-23-08-44
+.. gh-issue: 137836
+.. nonce: b55rhh
+.. section: Security
+Add support of the "plaintext" element, RAWTEXT elements "xmp", "iframe",
+"noembed" and "noframes", and optionally RAWTEXT element "noscript" in
+:class:`html.parser.HTMLParser`.
+..
+.. date: 2025-06-28-13-23-53
+.. gh-issue: 136063
+.. nonce: aGk0Jv
+.. section: Security
+:mod:`email.message`: ensure linear complexity for legacy HTTP parameters
+parsing. Patch by Bénédikt Tran.
+..
+.. date: 2025-05-30-22-33-27
+.. gh-issue: 136065
+.. nonce: bu337o
+.. section: Security
+Fix quadratic complexity in :func:`os.path.expandvars`.
+..
+.. date: 2025-11-14-16-24-20
+.. gh-issue: 141497
+.. nonce: L_CxDJ
+.. section: Library
+:mod:`ipaddress`: ensure that the methods :meth:`IPv4Network.hosts()
+` and :meth:`IPv6Network.hosts()
+` always return an iterator.
+..
+.. date: 2025-11-13-14-51-30
+.. gh-issue: 140938
+.. nonce: kXsHHv
+.. section: Library
+The :func:`statistics.stdev` and :func:`statistics.pstdev` functions now
+raise a :exc:`ValueError` when the input contains an infinity or a NaN.
+..
+.. date: 2025-11-12-15-42-47
+.. gh-issue: 124111
+.. nonce: hTw4OE
+.. section: Library
+Updated Tcl threading configuration in :mod:`_tkinter` to assume that
+threads are always available in Tcl 9 and later.
+..
+.. date: 2025-11-12-01-49-03
+.. gh-issue: 137109
+.. nonce: D6sq2B
+.. section: Library
+The :mod:`os.fork` and related forking APIs will no longer warn in the
+common case where Linux or macOS platform APIs return the number of threads
+in a process and find the answer to be 1 even when a
+:func:`os.register_at_fork` ``after_in_parent=`` callback (re)starts a
+thread.
+..
+.. date: 2025-11-10-01-47-18
+.. gh-issue: 141314
+.. nonce: baaa28
+.. section: Library
+Fix assertion failure in :meth:`io.TextIOWrapper.tell` when reading files
+with standalone carriage return (``\r``) line endings.
+..
+.. date: 2025-11-09-18-55-13
+.. gh-issue: 141311
+.. nonce: qZ3swc
+.. section: Library
+Fix assertion failure in :func:`!io.BytesIO.readinto` and undefined behavior
+arising when read position is above capcity in :class:`io.BytesIO`.
+..
+.. date: 2025-11-08-13-03-10
+.. gh-issue: 87710
+.. nonce: XJeZlP
+.. section: Library
+:mod:`mimetypes`: Update mime type for ``.ai`` files to ``application/pdf``.
+..
+.. date: 2025-11-07-12-25-46
+.. gh-issue: 85524
+.. nonce: 9SWFIC
+.. section: Library
+Update ``io.FileIO.readall``, an implementation of
+:meth:`io.RawIOBase.readall`, to follow :class:`io.IOBase` guidelines and
+raise :exc:`io.UnsupportedOperation` when a file is in "w" mode rather than
+:exc:`OSError`
+..
+.. date: 2025-11-06-15-11-50
+.. gh-issue: 141141
+.. nonce: tgIfgH
+.. section: Library
+Fix a thread safety issue with :func:`base64.b85decode`. Contributed by
+Benel Tayar.
+..
+.. date: 2025-11-04-20-08-41
+.. gh-issue: 141018
+.. nonce: d_oyOI
+.. section: Library
+:mod:`mimetypes`: Update ``.exe``, ``.dll``, ``.rtf`` and (when
+``strict=False``) ``.jpg`` to their correct IANA mime type.
+..
+.. date: 2025-11-04-15-40-35
+.. gh-issue: 137969
+.. nonce: 9VZQVt
+.. section: Library
+Fix :meth:`annotationlib.ForwardRef.evaluate` returning
+:class:`~annotationlib.ForwardRef` objects which don't update with new
+globals.
+..
+.. date: 2025-11-04-12-16-13
+.. gh-issue: 75593
+.. nonce: EFVhKR
+.. section: Library
+Add support of :term:`path-like objects ` and
+:term:`bytes-like objects ` in :func:`wave.open`.
+..
+.. date: 2025-11-03-16-23-54
+.. gh-issue: 140797
+.. nonce: DuFEeR
+.. section: Library
+The undocumented :class:`!re.Scanner` class now forbids regular expressions
+containing capturing groups in its lexicon patterns. Patterns using
+capturing groups could previously lead to crashes with segmentation fault.
+Use non-capturing groups (?:...) instead.
+..
+.. date: 2025-11-03-05-38-31
+.. gh-issue: 125115
+.. nonce: jGS8MN
+.. section: Library
+Refactor the :mod:`pdb` parsing issue so positional arguments can pass
+through intuitively.
+..
+.. date: 2025-11-02-19-23-32
+.. gh-issue: 140815
+.. nonce: McEG-T
+.. section: Library
+:mod:`faulthandler` now detects if a frame or a code object is invalid or
+freed. Patch by Victor Stinner.
+..
+.. date: 2025-11-02-11-46-00
+.. gh-issue: 100218
+.. nonce: 9Ezfdq
+.. section: Library
+Correctly set :attr:`~OSError.errno` when :func:`socket.if_nametoindex` or
+:func:`socket.if_indextoname` raise an :exc:`OSError`. Patch by Bénédikt
+Tran.
+..
+.. date: 2025-11-02-09-37-22
+.. gh-issue: 140734
+.. nonce: f8gST9
+.. section: Library
+:mod:`multiprocessing`: fix off-by-one error when checking the length of a
+temporary socket file path. Patch by Bénédikt Tran.
+..
+.. date: 2025-11-01-14-44-09
+.. gh-issue: 140873
+.. nonce: kfuc9B
+.. section: Library
+Add support of non-:term:`descriptor` callables in
+:func:`functools.singledispatchmethod`.
+..
+.. date: 2025-11-01-00-36-14
+.. gh-issue: 140874
+.. nonce: eAWt3K
+.. section: Library
+Bump the version of pip bundled in ensurepip to version 25.3
+..
+.. date: 2025-11-01-00-34-53
+.. gh-issue: 140826
+.. nonce: JEDd7U
+.. section: Library
+Now :class:`!winreg.HKEYType` objects are compared by their underlying
+Windows registry handle value instead of their object identity.
+..
+.. date: 2025-10-31-16-25-13
+.. gh-issue: 140808
+.. nonce: XBiQ4j
+.. section: Library
+The internal class ``mailbox._ProxyFile`` is no longer a parameterized
+generic.
+..
+.. date: 2025-10-31-15-06-26
+.. gh-issue: 140691
+.. nonce: JzHGtg
+.. section: Library
+In :mod:`urllib.request`, when opening a FTP URL fails because a data
+connection cannot be made, the control connection's socket is now closed to
+avoid a :exc:`ResourceWarning`.
+..
+.. date: 2025-10-31-13-57-55
+.. gh-issue: 103847
+.. nonce: VM7TnW
+.. section: Library
+Fix hang when cancelling process created by
+:func:`asyncio.create_subprocess_exec` or
+:func:`asyncio.create_subprocess_shell`. Patch by Kumar Aditya.
+..
+.. date: 2025-10-30-15-33-07
+.. gh-issue: 137821
+.. nonce: 8_Iavt
+.. section: Library
+Convert ``_json`` module to use Argument Clinic. Patched by Yoonho Hann.
+..
+.. date: 2025-10-30-12-36-19
+.. gh-issue: 140790
+.. nonce: _3T6-N
+.. section: Library
+Initialize all Pdb's instance variables in ``__init__``, remove some
+hasattr/getattr
+..
+.. date: 2025-10-29-16-53-00
+.. gh-issue: 140766
+.. nonce: CNagKF
+.. section: Library
+Add :func:`enum.show_flag_values` and ``enum.bin`` to ``enum.__all__``.
+..
+.. date: 2025-10-29-16-12-41
+.. gh-issue: 120057
+.. nonce: qGj5Dl
+.. section: Library
+Add :func:`os.reload_environ` to ``os.__all__``.
+..
+.. date: 2025-10-29-09-40-10
+.. gh-issue: 140741
+.. nonce: L13UCV
+.. section: Library
+Fix ``profiling.sampling.sample()`` incorrectly handling a
+:exc:`FileNotFoundError` or :exc:`PermissionError`.
+..
+.. date: 2025-10-28-17-43-51
+.. gh-issue: 140228
+.. nonce: 8kfHhO
+.. section: Library
+Avoid making unnecessary filesystem calls for frozen modules in
+:mod:`linecache` when the global module cache is not present.
+..
+.. date: 2025-10-28-02-46-56
+.. gh-issue: 139946
+.. nonce: aN3_uY
+.. section: Library
+Error and warning keywords in ``argparse.ArgumentParser`` messages are now
+colorized when color output is enabled, fixing a visual inconsistency in
+which they remained plain text while other output was colorized.
+..
+.. date: 2025-10-27-18-29-42
+.. gh-issue: 140590
+.. nonce: LT9HHn
+.. section: Library
+Fix arguments checking for the :meth:`!functools.partial.__setstate__` that
+may lead to internal state corruption and crash. Patch by Sergey Miryanov.
+..
+.. date: 2025-10-27-16-01-41
+.. gh-issue: 125434
+.. nonce: qy0uRA
+.. section: Library
+Display thread name in :mod:`faulthandler` on Windows. Patch by Victor
+Stinner.
+..
+.. date: 2025-10-27-13-49-31
+.. gh-issue: 140634
+.. nonce: ULng9G
+.. section: Library
+Fix a reference counting bug in :meth:`!os.sched_param.__reduce__`.
+..
+.. date: 2025-10-27-00-40-49
+.. gh-issue: 140650
+.. nonce: DYJPJ9
+.. section: Library
+Fix an issue where closing :class:`io.BufferedWriter` could crash if the
+closed attribute raised an exception on access or could not be converted to
+a boolean.
+..
+.. date: 2025-10-26-16-24-12
+.. gh-issue: 140633
+.. nonce: ioayC1
+.. section: Library
+Ignore :exc:`AttributeError` when setting a module's ``__file__`` attribute
+when loading an extension module packaged as Apple Framework.
+..
+.. date: 2025-10-25-22-55-07
+.. gh-issue: 140601
+.. nonce: In3MlS
+.. section: Library
+:func:`xml.etree.ElementTree.iterparse` now emits a :exc:`ResourceWarning`
+when the iterator is not explicitly closed and was opened with a filename.
+This helps developers identify and fix resource leaks. Patch by Osama
+Abdelkader.
+..
+.. date: 2025-10-25-21-26-16
+.. gh-issue: 140593
+.. nonce: OxlLc9
+.. section: Library
+:mod:`xml.parsers.expat`: Fix a memory leak that could affect users with
+:meth:`~xml.parsers.expat.xmlparser.ElementDeclHandler` set to a custom
+element declaration handler. Patch by Sebastian Pipping.
+..
+.. date: 2025-10-25-21-04-00
+.. gh-issue: 140607
+.. nonce: oOZGxS
+.. section: Library
+Inside :meth:`io.RawIOBase.read`, validate that the count of bytes returned
+by :meth:`io.RawIOBase.readinto` is valid (inside the provided buffer).
+..
+.. date: 2025-10-23-19-39-16
+.. gh-issue: 138162
+.. nonce: Znw5DN
+.. section: Library
+Fix :class:`logging.LoggerAdapter` with ``merge_extra=True`` and without the
+*extra* argument.
+..
+.. date: 2025-10-23-13-42-15
+.. gh-issue: 140481
+.. nonce: XKxWpq
+.. section: Library
+Improve error message when trying to iterate a Tk widget, image or font.
+..
+.. date: 2025-10-23-12-12-22
+.. gh-issue: 138774
+.. nonce: mnh2gU
+.. section: Library
+:func:`ast.unparse` now generates full source code when handling
+:class:`ast.Interpolation` nodes that do not have a specified source.
+..
+.. date: 2025-10-22-20-52-13
+.. gh-issue: 140474
+.. nonce: xIWlip
+.. section: Library
+Fix memory leak in :class:`array.array` when creating arrays from an empty
+:class:`str` and the ``u`` type code.
+..
+.. date: 2025-10-22-12-56-57
+.. gh-issue: 140448
+.. nonce: GsEkXD
+.. section: Library
+Change the default of ``suggest_on_error`` to ``True`` in
+``argparse.ArgumentParser``.
+..
+.. date: 2025-10-21-15-54-13
+.. gh-issue: 137530
+.. nonce: ZyIVUH
+.. section: Library
+:mod:`dataclasses` Fix annotations for generated ``__init__`` methods by
+replacing the annotations that were in-line in the generated source code
+with ``__annotate__`` functions attached to the methods.
+..
+.. date: 2025-10-20-12-33-49
+.. gh-issue: 140348
+.. nonce: SAKnQZ
+.. section: Library
+Fix regression in Python 3.14.0 where using the ``|`` operator on a
+:class:`typing.Union` object combined with an object that is not a type
+would raise an error.
+..
+.. date: 2025-10-18-15-20-25
+.. gh-issue: 76007
+.. nonce: SNUzRq
+.. section: Library
+:mod:`decimal`: Deprecate ``__version__`` and replace with
+:data:`decimal.SPEC_VERSION`.
+..
+.. date: 2025-10-18-14-30-21
+.. gh-issue: 76007
+.. nonce: peEgcr
+.. section: Library
+Deprecate ``__version__`` from :mod:`imaplib`. Patch by Hugo van Kemenade.
+..
+.. date: 2025-10-17-23-58-11
+.. gh-issue: 140272
+.. nonce: lhY8uS
+.. section: Library
+Fix memory leak in the :meth:`!clear` method of the :mod:`dbm.gnu` database.
+..
+.. date: 2025-10-17-20-42-38
+.. gh-issue: 129117
+.. nonce: X9jr4p
+.. section: Library
+:mod:`unicodedata`: Add :func:`~unicodedata.isxidstart` and
+:func:`~unicodedata.isxidcontinue` functions to check whether a character
+can start or continue a `Unicode Standard Annex #31
+`_ identifier.
+..
+.. date: 2025-10-17-12-33-01
+.. gh-issue: 140251
+.. nonce: esM-OX
+.. section: Library
+Colorize the default import statement ``import asyncio`` in asyncio REPL.
+..
+.. date: 2025-10-16-22-49-16
+.. gh-issue: 140212
+.. nonce: llBNd0
+.. section: Library
+Calendar's HTML formatting now accepts year and month as options.
+Previously, running ``python -m calendar -t html 2025 10`` would result in
+an error message. It now generates an HTML document displaying the calendar
+for the specified month. Contributed by Pål Grønås Drange.
+..
+.. date: 2025-10-16-17-17-20
+.. gh-issue: 135801
+.. nonce: faH3fa
+.. section: Library
+Improve filtering by module in :func:`warnings.warn_explicit` if no *module*
+argument is passed. It now tests the module regular expression in the
+warnings filter not only against the filename with ``.py`` stripped, but
+also against module names constructed starting from different parent
+directories of the filename (with ``/__init__.py``, ``.py`` and, on Windows,
+``.pyw`` stripped).
+..
+.. date: 2025-10-16-16-10-11
+.. gh-issue: 139707
+.. nonce: zR6Qtn
+.. section: Library
+Improve :exc:`ModuleNotFoundError` error message when a :term:`standard
+library` module is missing.
+..
+.. date: 2025-10-15-21-42-13
+.. gh-issue: 140041
+.. nonce: _Fka2j
+.. section: Library
+Fix import of :mod:`ctypes` on Android and Cygwin when ABI flags are
+present.
+..
+.. date: 2025-10-15-20-47-04
+.. gh-issue: 140120
+.. nonce: 3gffZq
+.. section: Library
+Fixed a memory leak in :mod:`hmac` when it was using the hacl-star backend.
+Discovered by ``@ashm-dev`` using AddressSanitizer.
+..
+.. date: 2025-10-15-17-23-51
+.. gh-issue: 140141
+.. nonce: j2mUDB
+.. section: Library
+The :py:class:`importlib.metadata.PackageNotFoundError` traceback raised
+when ``importlib.metadata.Distribution.from_name`` cannot discover a
+distribution no longer includes a transient :exc:`StopIteration` exception
+trace.
+Contributed by Bartosz Sławecki in :gh:`140142`.
+..
+.. date: 2025-10-15-15-10-34
+.. gh-issue: 140166
+.. nonce: NtxRez
+.. section: Library
+:mod:`mimetypes`: Per the `IANA assignment
+`_, update
+the MIME type for the ``.texi`` and ``.texinfo`` file formats to
+``application/texinfo``, instead of ``application/x-texinfo``.
+..
+.. date: 2025-10-15-02-26-50
+.. gh-issue: 140135
+.. nonce: 54JYfM
+.. section: Library
+Speed up :meth:`io.RawIOBase.readall` by using PyBytesWriter API (about 4x
+faster)
+..
+.. date: 2025-10-14-20-27-06
+.. gh-issue: 76007
+.. nonce: 2NcUbo
+.. section: Library
+:mod:`zlib`: Deprecate ``__version__`` and schedule for removal in Python
+3.20.
+..
+.. date: 2025-10-13-11-25-41
+.. gh-issue: 136702
+.. nonce: uvLGK1
+.. section: Library
+:mod:`encodings`: Deprecate passing a non-ascii *encoding* name to
+:func:`encodings.normalize_encoding` and schedule removal of support for
+Python 3.17.
+..
+.. date: 2025-10-11-09-07-06
+.. gh-issue: 139940
+.. nonce: g54efZ
+.. section: Library
+Print clearer error message when using ``pdb`` to attach to a non-existing
+process.
+..
+.. date: 2025-10-02-22-29-00
+.. gh-issue: 139462
+.. nonce: VZXUHe
+.. section: Library
+When a child process in a :class:`concurrent.futures.ProcessPoolExecutor`
+terminates abruptly, the resulting traceback will now tell you the PID and
+exit code of the terminated process. Contributed by Jonathan Berg.
+..
+.. date: 2025-09-30-12-52-54
+.. gh-issue: 63161
+.. nonce: mECM1A
+.. section: Library
+Fix :func:`tokenize.detect_encoding`. Support non-UTF-8 shebang and comments
+if non-UTF-8 encoding is specified. Detect decoding error for non-UTF-8
+encoding. Detect null bytes in source code.
+..
+.. date: 2025-09-25-20-16-10
+.. gh-issue: 101828
+.. nonce: yTxJlJ
+.. section: Library
+Fix ``'shift_jisx0213'``, ``'shift_jis_2004'``, ``'euc_jisx0213'`` and
+``'euc_jis_2004'`` codecs truncating null chars as they were treated as part
+of multi-character sequences.
+..
+.. date: 2025-09-23-09-46-46
+.. gh-issue: 139246
+.. nonce: pzfM-w
+.. section: Library
+fix: paste zero-width in default repl width is wrong.
+..
+.. date: 2025-09-18-21-25-41
+.. gh-issue: 83714
+.. nonce: TQjDWZ
+.. section: Library
+Implement :func:`os.statx` on Linux kernel versions 4.11 and later with
+glibc versions 2.28 and later. Contributed by Jeffrey Bosboom and Victor
+Stinner.
+..
+.. date: 2025-09-15-21-03-11
+.. gh-issue: 138891
+.. nonce: oZFdtR
+.. section: Library
+Fix ``SyntaxError`` when ``inspect.get_annotations(f, eval_str=True)`` is
+called on a function annotated with a :pep:`646` ``star_expression``
+..
+.. date: 2025-09-13-12-19-17
+.. gh-issue: 138859
+.. nonce: PxjIoN
+.. section: Library
+Fix generic type parameterization raising a :exc:`TypeError` when omitting a
+:class:`ParamSpec` that has a default which is not a list of types.
+..
+.. date: 2025-09-12-09-34-37
+.. gh-issue: 138764
+.. nonce: mokHoY
+.. section: Library
+Prevent :func:`annotationlib.call_annotate_function` from calling
+``__annotate__`` functions that don't support ``VALUE_WITH_FAKE_GLOBALS`` in
+a fake globals namespace with empty globals.
+Make ``FORWARDREF`` and ``STRING`` annotations fall back to using ``VALUE``
+annotations in the case that neither their own format, nor
+``VALUE_WITH_FAKE_GLOBALS`` are supported.
+..
+.. date: 2025-09-11-15-03-37
+.. gh-issue: 138775
+.. nonce: w7rnSx
+.. section: Library
+Use of ``python -m`` with :mod:`base64` has been fixed to detect input from
+a terminal so that it properly notices EOF.
+..
+.. date: 2025-09-03-20-18-39
+.. gh-issue: 98896
+.. nonce: tjez89
+.. section: Library
+Fix a failure in multiprocessing resource_tracker when SharedMemory names
+contain colons. Patch by Rani Pinchuk.
+..
+.. date: 2025-09-03-18-26-07
+.. gh-issue: 138425
+.. nonce: cVE9Ho
+.. section: Library
+Fix partial evaluation of :class:`annotationlib.ForwardRef` objects which
+rely on names defined as globals.
+..
+.. date: 2025-08-26-08-17-56
+.. gh-issue: 138151
+.. nonce: I6CdAk
+.. section: Library
+In :mod:`annotationlib`, improve evaluation of forward references to
+nonlocal variables that are not yet defined when the annotations are
+initially evaluated.
+..
+.. date: 2025-08-15-20-35-30
+.. gh-issue: 69528
+.. nonce: qc-Eh_
+.. section: Library
+The :attr:`~io.FileIO.mode` attribute of files opened in the ``'wb+'`` mode
+is now ``'wb+'`` instead of ``'rb+'``.
+..
+.. date: 2025-08-11-04-52-18
+.. gh-issue: 137627
+.. nonce: Ku5Yi2
+.. section: Library
+Speed up :meth:`csv.Sniffer.sniff` delimiter detection by up to 1.6x.
+..
+.. date: 2025-07-14-09-33-17
+.. gh-issue: 55531
+.. nonce: Gt2e12
+.. section: Library
+:mod:`encodings`: Improve :func:`~encodings.normalize_encoding` performance
+by implementing the function in C using the private
+``_Py_normalize_encoding`` which has been modified to make lowercase
+conversion optional.
+..
+.. date: 2025-07-01-04-57-57
+.. gh-issue: 136057
+.. nonce: 4-t596
+.. section: Library
+Fixed the bug in :mod:`pdb` and :mod:`bdb` where ``next`` and ``step`` can't
+go over the line if a loop exists in the line.
+..
+.. date: 2025-06-29-22-01-00
+.. gh-issue: 133390
+.. nonce: I1DW_3
+.. section: Library
+Support table, index, trigger, view, column, function, and schema completion
+for :mod:`sqlite3`'s :ref:`command-line interface `.
+..
+.. date: 2025-06-10-18-02-29
+.. gh-issue: 135307
+.. nonce: fXGrcK
+.. section: Library
+:mod:`email`: Fix exception in ``set_content()`` when encoding text and
+max_line_length is set to ``0`` or ``None`` (unlimited).
+..
+.. date: 2025-05-10-15-10-54
+.. gh-issue: 133789
+.. nonce: I-ZlUX
+.. section: Library
+Fix unpickling of :mod:`pathlib` objects that were pickled in Python 3.13.
+..
+.. date: 2025-05-07-22-09-28
+.. gh-issue: 133601
+.. nonce: 9kUL3P
+.. section: Library
+Remove deprecated :func:`!typing.no_type_check_decorator`.
+..
+.. date: 2025-04-18-18-08-05
+.. gh-issue: 132686
+.. nonce: 6kV_Gs
+.. section: Library
+Add parameters *inherit_class_doc* and *fallback_to_class_doc* for
+:func:`inspect.getdoc`.
+..
+.. date: 2025-03-12-18-57-10
+.. gh-issue: 131116
+.. nonce: uTpwXZ
+.. section: Library
+:func:`inspect.getdoc` now correctly returns an inherited docstring on
+:class:`~functools.cached_property` objects if none is given in a subclass.
+..
+.. date: 2025-03-04-17-19-26
+.. gh-issue: 130693
+.. nonce: Kv01r8
+.. section: Library
+Add support for ``-nolinestop``, and ``-strictlimits`` options to
+:meth:`!tkinter.Text.search`. Also add the :meth:`!tkinter.Text.search_all`
+method for ``-all`` and ``-overlap`` options.
+..
+.. date: 2024-08-08-12-39-36
+.. gh-issue: 122255
+.. nonce: J_gU8Y
+.. section: Library
+In the :mod:`linecache` module and in the Python implementation of the
+:mod:`warnings` module, a ``DeprecationWarning`` is issued when
+``mod.__loader__`` differs from ``mod.__spec__.loader`` (like in the C
+implementation of the :mod:`!warnings` module).
+..
+.. date: 2024-06-26-16-16-43
+.. gh-issue: 121011
+.. nonce: qW54eh
+.. section: Library
+:func:`math.log` now supports arbitrary large integer-like arguments in the
+same way as arbitrary large integer arguments.
+..
+.. date: 2024-05-28-17-14-30
+.. gh-issue: 119668
+.. nonce: RrIGpn
+.. section: Library
+Publicly expose and document :class:`importlib.machinery.NamespacePath`.
+..
+.. date: 2023-03-21-10-59-40
+.. gh-issue: 102431
+.. nonce: eUDnf4
+.. section: Library
+Clarify constraints for "logical" arguments in methods of
+:class:`decimal.Context`.
+..
+.. date: 2019-06-02-13-56-16
+.. gh-issue: 81313
+.. nonce: axawSH
+.. section: Library
+Add the :mod:`math.integer` module (:pep:`791`).
+..
+.. date: 2025-11-15-01-21-00
+.. gh-issue: 141579
+.. nonce: aB7cD9
+.. section: Core and Builtins
+Fix :func:`sys.activate_stack_trampoline` to properly support the
+``perf_jit`` backend. Patch by Pablo Galindo.
+..
+.. date: 2025-11-14-16-25-15
+.. gh-issue: 114203
+.. nonce: n3tlQO
+.. section: Core and Builtins
+Skip locking if object is already locked by two-mutex critical section.
+..
+.. date: 2025-11-14-00-19-45
+.. gh-issue: 141528
+.. nonce: VWdax1
+.. section: Core and Builtins
+Suggest using :meth:`concurrent.interpreters.Interpreter.close` instead of
+the private ``_interpreters.destroy`` function when warning about remaining
+subinterpreters. Patch by Sergey Miryanov.
+..
+.. date: 2025-11-11-13-40-45
+.. gh-issue: 141367
+.. nonce: I5KY7F
+.. section: Core and Builtins
+Specialize ``CALL_LIST_APPEND`` instruction only for lists, not for list
+subclasses, to avoid unnecessary deopt. Patch by Mikhail Efimov.
+..
+.. date: 2025-11-10-23-07-06
+.. gh-issue: 141312
+.. nonce: H-58GB
+.. section: Core and Builtins
+Fix the assertion failure in the ``__setstate__`` method of the range
+iterator when a non-integer argument is passed. Patch by Sergey Miryanov.
+..
+.. date: 2025-11-05-19-50-37
+.. gh-issue: 140643
+.. nonce: QCEOqG
+.. section: Core and Builtins
+Add support for ```` and ```` frames to
+:mod:`!profiling.sampling` output to denote active garbage collection and
+calls to native code.
+..
+.. date: 2025-11-04-12-18-06
+.. gh-issue: 140942
+.. nonce: GYns6n
+.. section: Library
+Add ``.cjs`` to :mod:`mimetypes` to give CommonJS modules a MIME type of
+``application/node``.
+..
+.. date: 2025-11-04-04-57-24
+.. gh-issue: 140479
+.. nonce: lwQ2v2
+.. section: Core and Builtins
+Update JIT compilation to use LLVM 21 at build time.
+..
+.. date: 2025-11-03-17-21-38
+.. gh-issue: 140939
+.. nonce: FVboAw
+.. section: Core and Builtins
+Fix memory leak when :class:`bytearray` or :class:`bytes` is formated with
+the ``%*b`` format with a large width that results in a :exc:`MemoryError`.
+..
+.. date: 2025-11-02-15-28-33
+.. gh-issue: 140260
+.. nonce: JNzlGz
+.. section: Library
+Fix :mod:`struct` data race in endian table initialization with
+subinterpreters. Patch by Shamil Abdulaev.
+..
+.. date: 2025-11-02-12-47-38
+.. gh-issue: 140530
+.. nonce: S934bp
+.. section: Core and Builtins
+Fix a reference leak when ``raise exc from cause`` fails. Patch by Bénédikt
+Tran.
+..
+.. date: 2025-10-31-14-03-42
+.. gh-issue: 90344
+.. nonce: gvZigO
+.. section: Library
+Replace :class:`io.IncrementalNewlineDecoder` with non incremental newline
+decoders in codebase where :meth:`!io.IncrementalNewlineDecoder.decode` was
+being called once.
+..
+.. date: 2025-10-29-20-59-10
+.. gh-issue: 140373
+.. nonce: -uoaPP
+.. section: Core and Builtins
+Correctly emit ``PY_UNWIND`` event when generator object is closed. Patch by
+Mikhail Efimov.
+..
+.. date: 2025-10-29-11-31-59
+.. gh-issue: 140729
+.. nonce: t9JsNt
+.. section: Core and Builtins
+Fix pickling error in the sampling profiler when using
+``concurrent.futures.ProcessPoolExecutor`` script can not be properly
+pickled and executed in worker processes.
+..
+.. date: 2025-10-25-21-31-43
+.. gh-issue: 131527
+.. nonce: V-JVNP
+.. section: Core and Builtins
+Dynamic borrow checking for stackrefs is added to ``Py_STACKREF_DEBUG``
+mode. Patch by Mikhail Efimov.
+..
+.. date: 2025-10-25-17-36-46
+.. gh-issue: 140576
+.. nonce: kj0SCY
+.. section: Core and Builtins
+Fixed crash in :func:`tokenize.generate_tokens` in case of specific
+incorrect input. Patch by Mikhail Efimov.
+..
+.. date: 2025-10-25-07-25-52
+.. gh-issue: 140544
+.. nonce: lwjtQe
+.. section: Core and Builtins
+Speed up accessing interpreter state by caching it in a thread local
+variable. Patch by Kumar Aditya.
+..
+.. date: 2025-10-24-20-42-33
+.. gh-issue: 140551
+.. nonce: -9swrl
+.. section: Core and Builtins
+Fixed crash in :class:`dict` if :meth:`dict.clear` is called at the lookup
+stage. Patch by Mikhail Efimov and Inada Naoki.
+..
+.. date: 2025-10-24-20-16-42
+.. gh-issue: 140517
+.. nonce: cqun-K
+.. section: Core and Builtins
+Fixed a reference leak when iterating over the result of :func:`map` with
+``strict=True`` when the input iterables have different lengths. Patch by
+Mikhail Efimov.
+..
+.. date: 2025-10-24-14-29-12
+.. gh-issue: 133467
+.. nonce: A5d6TM
+.. section: Core and Builtins
+Fix race when updating :attr:`!type.__bases__` that could allow a read of
+:attr:`!type.__base__` to observe an inconsistent value on the free threaded
+build.
+..
+.. date: 2025-10-23-16-05-50
+.. gh-issue: 140471
+.. nonce: Ax_aXn
+.. section: Core and Builtins
+Fix potential buffer overflow in :class:`ast.AST` node initialization when
+encountering malformed :attr:`~ast.AST._fields` containing non-:class:`str`.
+..
+.. date: 2025-10-22-23-26-37
+.. gh-issue: 140443
+.. nonce: wT5i1A
+.. section: Library
+The logarithm functions (such as :func:`math.log10` and :func:`math.log`)
+may now produce slightly different results for extremely large integers that
+cannot be converted to floats without overflow. These results are generally
+more accurate, with reduced worst-case error and a tighter overall error
+distribution.
+..
+.. date: 2025-10-22-17-22-22
+.. gh-issue: 140431
+.. nonce: m8D_A-
+.. section: Core and Builtins
+Fix a crash in Python's :term:`garbage collector ` due
+to partially initialized :term:`coroutine` objects when coroutine origin
+tracking depth is enabled (:func:`sys.set_coroutine_origin_tracking_depth`).
+..
+.. date: 2025-10-22-12-48-05
+.. gh-issue: 140476
+.. nonce: F3-d1P
+.. section: Core and Builtins
+Optimize :c:func:`PySet_Add` for :class:`frozenset` in :term:`free threaded
+` build.
+..
+.. date: 2025-10-22-11-30-16
+.. gh-issue: 135904
+.. nonce: 3WE5oW
+.. section: Core and Builtins
+Add special labels to the assembly created during stencil creation to
+support relocations that the native object file format does not support.
+Specifically, 19 bit branches for AArch64 in Mach-O object files.
+..
+.. date: 2025-10-21-09-20-03
+.. gh-issue: 140398
+.. nonce: SoABwJ
+.. section: Library
+Fix memory leaks in :mod:`readline` functions
+:func:`~readline.read_init_file`, :func:`~readline.read_history_file`,
+:func:`~readline.write_history_file`, and
+:func:`~readline.append_history_file` when :c:func:`PySys_Audit` fails.
+..
+.. date: 2025-10-21-06-51-50
+.. gh-issue: 140406
+.. nonce: 0gJs8M
+.. section: Core and Builtins
+Fix memory leak when an object's :meth:`~object.__hash__` method returns an
+object that isn't an :class:`int`.
+..
+.. date: 2025-10-20-11-24-36
+.. gh-issue: 140358
+.. nonce: UQuKdV
+.. section: Core and Builtins
+Restore elapsed time and unreachable object count in GC debug output. These
+were inadvertently removed during a refactor of ``gc.c``. The debug log now
+again reports elapsed collection time and the number of unreachable objects.
+Contributed by Pål Grønås Drange.
+..
+.. date: 2025-10-19-10-32-28
+.. gh-issue: 136895
+.. nonce: HfsEh0
+.. section: Core and Builtins
+Update JIT compilation to use LLVM 20 at build time.
+..
+.. date: 2025-10-18-21-50-44
+.. gh-issue: 139109
+.. nonce: 9QQOzN
+.. section: Core and Builtins
+A new tracing frontend for the JIT compiler has been implemented. Patch by
+Ken Jin. Design for CPython by Ken Jin, Mark Shannon and Brandt Bucher.
+..
+.. date: 2025-10-18-21-29-45
+.. gh-issue: 140306
+.. nonce: xS5CcS
+.. section: Core and Builtins
+Fix memory leaks in cross-interpreter channel operations and shared
+namespace handling.
+..
+.. date: 2025-10-18-19-52-20
+.. gh-issue: 116738
+.. nonce: NLJW0L
+.. section: Core and Builtins
+Make _suggestions module thread-safe on the :term:`free threaded ` build.
+..
+.. date: 2025-10-18-18-08-36
+.. gh-issue: 140301
+.. nonce: m-2HxC
+.. section: Core and Builtins
+Fix memory leak of ``PyConfig`` in subinterpreters.
+..
+.. date: 2025-10-17-20-23-19
+.. gh-issue: 140257
+.. nonce: 8Txmem
+.. section: Core and Builtins
+Fix data race between interpreter_clear() and take_gil() on eval_breaker
+during finalization with daemon threads.
+..
+.. date: 2025-10-17-18-03-12
+.. gh-issue: 139951
+.. nonce: IdwM2O
+.. section: Core and Builtins
+Fixes a regression in GC performance for a growing heap composed mostly of
+small tuples.
+* Counts number of actually tracked objects, instead of trackable objects.
+This ensures that untracking tuples has the desired effect of reducing GC overhead.
+* Does not track most untrackable tuples during creation.
+This prevents large numbers of small tuples causing excessive GCs.
+..
+.. date: 2025-10-17-14-38-10
+.. gh-issue: 140253
+.. nonce: gCqFaL
+.. section: Core and Builtins
+Wrong placement of a double-star pattern inside a mapping pattern now throws
+a specialized syntax error. Contributed by Bartosz Sławecki in :gh:`140253`.
+..
+.. date: 2025-10-16-21-47-00
+.. gh-issue: 140104
+.. nonce: A8SQIm
+.. section: Core and Builtins
+Fix a bug with exception handling in the JIT. Patch by Ken Jin. Bug reported
+by Daniel Diniz.
+..
+.. date: 2025-10-15-17-12-32
+.. gh-issue: 140149
+.. nonce: cy1m3d
+.. section: Core and Builtins
+Speed up parsing bytes literals concatenation by using PyBytesWriter API and
+a single memory allocation (about 3x faster).
+..
+.. date: 2025-10-15-00-21-40
+.. gh-issue: 140061
+.. nonce: J0XeDV
+.. section: Core and Builtins
+Fixing the checking of whether an object is uniquely referenced to ensure
+free-threaded compatibility. Patch by Sergey Miryanov.
+..
+.. date: 2025-10-14-20-18-31
+.. gh-issue: 140080
+.. nonce: 8ROjxW
+.. section: Core and Builtins
+Fix hang during finalization when attempting to call :mod:`atexit` handlers
+under no memory.
+..
+.. date: 2025-10-14-18-24-16
+.. gh-issue: 139871
+.. nonce: SWtuUz
+.. section: Core and Builtins
+Update :class:`bytearray` to use a :class:`bytes` under the hood as its
+buffer and add :meth:`bytearray.take_bytes` to take it out.
+..
+.. date: 2025-10-14-17-07-37
+.. gh-issue: 140067
+.. nonce: ID2gOm
+.. section: Core and Builtins
+Fix memory leak in sub-interpreter creation.
+..
+.. date: 2025-10-13-13-54-19
+.. gh-issue: 139914
+.. nonce: M-y_3E
+.. section: Core and Builtins
+Restore support for HP PA-RISC, which has an upwards-growing stack.
+..
+.. date: 2025-10-12-01-12-12
+.. gh-issue: 139817
+.. nonce: PAn-8Z
+.. section: Core and Builtins
+Attribute ``__qualname__`` is added to :class:`typing.TypeAliasType`. Patch
+by Mikhail Efimov.
+..
+.. date: 2025-10-06-14-19-47
+.. gh-issue: 135801
+.. nonce: OhxEZS
+.. section: Core and Builtins
+Many functions related to compiling or parsing Python code, such as
+:func:`compile`, :func:`ast.parse`, :func:`symtable.symtable`, and
+:func:`importlib.abc.InspectLoader.source_to_code` now allow to specify the
+module name. It is needed to unambiguous :ref:`filter `
+syntax warnings by module name.
+..
+.. date: 2025-10-06-10-03-37
+.. gh-issue: 139640
+.. nonce: gY5oTb2
+.. section: Core and Builtins
+:func:`ast.parse` no longer emits syntax warnings for
+``return``/``break``/``continue`` in ``finally`` (see :pep:`765`) -- they
+are only emitted during compilation.
+..
+.. date: 2025-10-06-10-03-37
+.. gh-issue: 139640
+.. nonce: gY5oTb
+.. section: Core and Builtins
+Fix swallowing some syntax warnings in different modules if they
+accidentally have the same message and are emitted from the same line. Fix
+duplicated warnings in the ``finally`` block.
+..
+.. date: 2025-10-03-17-51-43
+.. gh-issue: 139475
+.. nonce: _684ED
+.. section: Core and Builtins
+Changes in stackref debugging mode when ``Py_STACKREF_DEBUG`` is set. We use
+the same pattern of refcounting for stackrefs as in production build.
+..
+.. date: 2025-09-23-21-01-12
+.. gh-issue: 139269
+.. nonce: 1rIaxy
+.. section: Core and Builtins
+Fix undefined behavior when using unaligned store in JIT's ``patch_*``
+functions.
+..
+.. date: 2025-09-15-13-06-11
+.. gh-issue: 138944
+.. nonce: PeCgLb
+.. section: Core and Builtins
+Fix :exc:`SyntaxError` message when invalid syntax appears on the same line
+as a valid ``import ... as ...`` or ``from ... import ... as ...``
+statement. Patch by Brian Schubert.
+..
+.. date: 2025-09-13-01-23-25
+.. gh-issue: 138857
+.. nonce: YQ5gdc
+.. section: Core and Builtins
+Improve :exc:`SyntaxError` message for ``case`` keyword placed outside
+:keyword:`match` body.
+..
+.. date: 2025-07-29-17-51-14
+.. gh-issue: 131253
+.. nonce: GpRjWy
+.. section: Core and Builtins
+Support the ``--enable-pystats`` build option for the free-threaded build.
+..
+.. date: 2025-07-08-00-41-46
+.. gh-issue: 136327
+.. nonce: 7AiTb_
+.. section: Core and Builtins
+Errors when calling functions with invalid values after ``*`` and ``**`` now
+do not include the function name. Patch by Ilia Solin.
+..
+.. date: 2025-06-24-13-12-58
+.. gh-issue: 134786
+.. nonce: MF0VVk
+.. section: Core and Builtins
+If :c:macro:`Py_TPFLAGS_MANAGED_DICT` and
+:c:macro:`Py_TPFLAGS_MANAGED_WEAKREF` are used, then
+:c:macro:`Py_TPFLAGS_HAVE_GC` must be used as well.
+..
+.. date: 2025-11-10-11-26-26
+.. gh-issue: 141341
+.. nonce: OsO6-y
+.. section: C API
+On Windows, rename the ``COMPILER`` macro to ``_Py_COMPILER`` to avoid name
+conflicts. Patch by Victor Stinner.
+..
+.. date: 2025-11-08-10-51-50
+.. gh-issue: 116146
+.. nonce: pCmx6L
+.. section: C API
+Add a new :c:func:`PyImport_CreateModuleFromInitfunc` C-API for creating a
+module from a *spec* and *initfunc*. Patch by Itamar Oren.
+..
+.. date: 2025-11-06-06-28-14
+.. gh-issue: 141042
+.. nonce: brOioJ
+.. section: C API
+Make qNaN in :c:func:`PyFloat_Pack2` and :c:func:`PyFloat_Pack4`, if while
+conversion to a narrower precision floating-point format --- the remaining
+after truncation payload will be zero. Patch by Sergey B Kirpichev.
+..
+.. date: 2025-11-05-05-45-49
+.. gh-issue: 141004
+.. nonce: N9Ooh9
+.. section: C API
+:c:macro:`!Py_MATH_El` and :c:macro:`!Py_MATH_PIl` are deprecated.
+..
+.. date: 2025-11-05-04-38-16
+.. gh-issue: 141004
+.. nonce: rJL43P
+.. section: C API
+The :c:macro:`!Py_INFINITY` macro is :term:`soft deprecated`.
+..
+.. date: 2025-10-26-16-45-28
+.. gh-issue: 140556
+.. nonce: s__Dae
+.. section: C API
+:pep:`793`: Add a new entry point for C extension modules,
+``PyModExport_``.
+..
+.. date: 2025-10-26-16-45-06
+.. gh-issue: 140487
+.. nonce: fGOqss
+.. section: C API
+Fix :c:macro:`Py_RETURN_NOTIMPLEMENTED` in limited C API 3.11 and older:
+don't treat ``Py_NotImplemented`` as immortal. Patch by Victor Stinner.
+..
+.. date: 2025-10-15-15-59-59
+.. gh-issue: 140153
+.. nonce: BO7sH4
+.. section: C API
+Fix :c:func:`Py_REFCNT` definition on limited C API 3.11-3.13. Patch by
+Victor Stinner.
+..
+.. date: 2025-10-06-22-17-47
+.. gh-issue: 139653
+.. nonce: 6-1MOd
+.. section: C API
+Add :c:func:`PyUnstable_ThreadState_SetStackProtection` and
+:c:func:`PyUnstable_ThreadState_ResetStackProtection` functions to set the
+stack protection base address and stack protection size of a Python thread
+state. Patch by Victor Stinner.
+..
+.. date: 2025-10-31-13-20-16
+.. gh-issue: 140454
+.. nonce: gF6dCe
+.. section: Build
+When building the JIT, match the jit_stencils filename expectations in
+Makefile with the generator script. This avoid needless JIT recompilation
+during ``make install``.
+..
+.. date: 2025-10-29-12-30-38
+.. gh-issue: 140768
+.. nonce: ITYrzw
+.. section: Build
+Warn when the WASI SDK version doesn't match what's supported.
+..
+.. date: 2025-10-25-08-07-06
+.. gh-issue: 140513
+.. nonce: 6OhLTs
+.. section: Build
+Generate a clear compilation error when ``_Py_TAIL_CALL_INTERP`` is enabled
+but either ``preserve_none`` or ``musttail`` is not supported.
+..
+.. date: 2025-10-22-12-44-07
+.. gh-issue: 140475
+.. nonce: OhzQbR
+.. section: Build
+Support WASI SDK 25.
+..
+.. date: 2025-10-17-11-33-45
+.. gh-issue: 140239
+.. nonce: _k-GgW
+.. section: Build
+Check ``statx`` availability only on Linux (including Android).
+..
+.. date: 2025-10-16-11-30-53
+.. gh-issue: 140189
+.. nonce: YCrUyt
+.. section: Build
+iOS builds were added to CI.
+..
+.. date: 2025-08-10-22-28-06
+.. gh-issue: 137618
+.. nonce: FdNvIE
+.. section: Build
+``PYTHON_FOR_REGEN`` now requires Python 3.10 to Python 3.15. Patch by Adam
+Turner.
+
+.. date: 2024-11-16-22-08-41
+.. gh-issue: 126911
+.. nonce: HchCZZ
+.. release date: 2024-11-19
+.. section: Windows
+Update credits command output.
+..
+.. date: 2024-11-12-22-31-13
+.. gh-issue: 118973
+.. nonce: _lfxW6
+.. section: Windows
+Ensures the experimental free-threaded install includes the ``_tkinter``
+module. The optional Tcl/Tk component must also be installed in order for
+the module to work.
+..
+.. date: 2024-11-07-20-42-31
+.. gh-issue: 126497
+.. nonce: EARpd-
+.. section: Windows
+Fixes venv failure due to missing redirector executables in experimental
+free-threaded installs.
+..
+.. date: 2024-10-29-20-09-52
+.. gh-issue: 126074
+.. nonce: 83ZzZs
+.. section: Windows
+Removed unnecessary DLLs from Windows embeddable package
+..
+.. date: 2024-10-29-19-48-03
+.. gh-issue: 125315
+.. nonce: jdB9qN
+.. section: Windows
+Avoid crashing in :mod:`platform` due to slow WMI calls on some Windows
+machines.
+..
+.. date: 2024-10-29-09-39-06
+.. gh-issue: 126084
+.. nonce: 3wAL8o
+.. section: Windows
+Fix venvwlauncher to launch pythonw instead of python so no extra console
+window is created.
+..
+.. date: 2024-10-23-17-24-23
+.. gh-issue: 125842
+.. nonce: m3EF9E
+.. section: Windows
+Fix a :exc:`SystemError` when :func:`sys.exit` is called with ``0xffffffff``
+on Windows.
+..
+.. date: 2024-10-15-21-28-43
+.. gh-issue: 125550
+.. nonce: hmGWCP
+.. section: Windows
+Enable the :ref:`launcher` to detect Python 3.14 installs from the Windows
+Store.
+..
+.. date: 2024-09-07-15-16-24
+.. gh-issue: 123803
+.. nonce: J9VNQU
+.. section: Windows
+All Windows code pages are now supported as "cpXXX" codecs on Windows.
+..
+.. date: 2024-11-13-22-23-36
+.. gh-issue: 126807
+.. nonce: vpaWuN
+.. section: Tools/Demos
+Fix extraction warnings in :program:`pygettext.py` caused by mistaking
+function definitions for function calls.
+..
+.. date: 2024-10-30-13-59-07
+.. gh-issue: 126167
+.. nonce: j5cCWE
+.. section: Tools/Demos
+The iOS testbed was modified so that it can be used by third-party projects
+for testing purposes.
+..
+.. date: 2024-11-17-16-56-48
+.. gh-issue: 126909
+.. nonce: 60VTxW
+.. section: Tests
+Fix test_os extended attribute tests to work on filesystems with 1 KiB xattr
+size limit.
+..
+.. date: 2024-10-21-14-10-56
+.. gh-issue: 125730
+.. nonce: kcWbvI
+.. section: Tests
+Change ``make test`` to not run GUI tests by default. Use ``make ci`` to run
+tests with GUI tests instead.
+..
+.. date: 2024-09-30-22-52-44
+.. gh-issue: 124295
+.. nonce: VZy5kx
+.. section: Tests
+Add translation tests to the :mod:`argparse` module.
+..
+.. date: 2024-11-13-11-09-12
+.. gh-issue: 126623
+.. nonce: TO7NnR
+.. section: Security
+Upgrade libexpat to 2.6.4
+..
+.. date: 2024-11-18-15-33-25
+.. gh-issue: 85957
+.. nonce: 8gT3B-
+.. section: Library
+Add missing MIME types for images with RFCs: emf, fits, g3fax, jp2, jpm,
+jpx, t38, tiff-fx and wmf. Patch by Hugo van Kemenade.
+..
+.. date: 2024-11-17-01-14-59
+.. gh-issue: 126920
+.. nonce: s8-f_L
+.. section: Library
+Fix the ``prefix`` and ``exec_prefix`` keys from
+:py:func:`sysconfig.get_config_vars` incorrectly having the same value as
+:py:const:`sys.base_prefix` and :py:const:`sys.base_exec_prefix`,
+respectively, inside virtual environments. They now accurately reflect
+:py:const:`sys.prefix` and :py:const:`sys.exec_prefix`.
+..
+.. date: 2024-11-14-22-25-49
+.. gh-issue: 67877
+.. nonce: G9hw0w
+.. section: Library
+Fix memory leaks when :mod:`regular expression ` matching terminates
+abruptly, either because of a signal or because memory allocation fails.
+..
+.. date: 2024-11-14-13-16-20
+.. gh-issue: 125063
+.. nonce: kJ-WnH
+.. section: Library
+:mod:`marshal` now supports :class:`slice` objects. The marshal format
+version was increased to 5.
+..
+.. date: 2024-11-13-22-25-57
+.. gh-issue: 126789
+.. nonce: lKzlc7
+.. section: Library
+Fixed the values of :py:func:`sysconfig.get_config_vars`,
+:py:func:`sysconfig.get_paths`, and their siblings when the :py:mod:`site`
+initialization happens after :py:mod:`sysconfig` has built a cache for
+:py:func:`sysconfig.get_config_vars`.
+..
+.. date: 2024-11-13-20-03-18
+.. gh-issue: 126188
+.. nonce: RJLKk-
+.. section: Library
+Update bundled pip to 24.3.1
+..
+.. date: 2024-11-12-21-43-12
+.. gh-issue: 126766
+.. nonce: oi2KJ7
+.. section: Library
+Fix issue where :func:`urllib.request.url2pathname` failed to discard two
+leading slashes introducing an empty authority section.
+..
+.. date: 2024-11-11-14-52-21
+.. gh-issue: 126705
+.. nonce: 0W7jFW
+.. section: Library
+Allow :class:`os.PathLike` to be a base for Protocols.
+..
+.. date: 2024-11-11-13-24-22
+.. gh-issue: 126699
+.. nonce: ONGbMd
+.. section: Library
+Allow :class:`collections.abc.AsyncIterator` to be a base for Protocols.
+..
+.. date: 2024-11-11-13-00-21
+.. gh-issue: 126654
+.. nonce: 4gfP2y
+.. section: Library
+Fix crash when non-dict was passed to several functions in ``_interpreters``
+module.
+..
+.. date: 2024-11-10-18-14-51
+.. gh-issue: 104745
+.. nonce: zAa5Ke
+.. section: Library
+Limit starting a patcher (from :func:`unittest.mock.patch` or
+:func:`unittest.mock.patch.object`) more than once without stopping it
+..
+.. date: 2024-11-09-10-31-10
+.. gh-issue: 126595
+.. nonce: A-7MyC
+.. section: Library
+Fix a crash when instantiating :class:`itertools.count` with an initial
+count of :data:`sys.maxsize` on debug builds. Patch by Bénédikt Tran.
+..
+.. date: 2024-11-08-17-05-10
+.. gh-issue: 120423
+.. nonce: 7rdLVV
+.. section: Library
+Fix issue where :func:`urllib.request.pathname2url` mishandled Windows paths
+with embedded forward slashes.
+..
+.. date: 2024-11-08-11-06-14
+.. gh-issue: 126565
+.. nonce: dFFO22
+.. section: Library
+Improve performances of :meth:`zipfile.Path.open` for non-reading modes.
+..
+.. date: 2024-11-07-22-41-47
+.. gh-issue: 126505
+.. nonce: iztYE1
+.. section: Library
+Fix bugs in compiling case-insensitive :mod:`regular expressions ` with
+character classes containing non-BMP characters: upper-case non-BMP
+character did was ignored and the ASCII flag was ignored when matching a
+character range whose upper bound is beyond the BMP region.
+..
+.. date: 2024-11-07-01-40-11
+.. gh-issue: 117378
+.. nonce: o9O5uM
+.. section: Library
+Fixed the :mod:`multiprocessing` ``"forkserver"`` start method forkserver
+process to correctly inherit the parent's :data:`sys.path` during the
+importing of :func:`multiprocessing.set_forkserver_preload` modules in the
+same manner as :data:`sys.path` is configured in workers before executing
+work items.
+This bug caused some forkserver module preloading to silently fail to
+preload. This manifested as a performance degradation in child processes when
+the ``sys.path`` was required due to additional repeated work in every
+worker.
+It could also have a side effect of ``""`` remaining in :data:`sys.path`
+during forkserver preload imports instead of the absolute path from
+:func:`os.getcwd` at multiprocessing import time used in the worker
+``sys.path``.
+The ``sys.path`` differences between phases in the child process could
+potentially have caused preload to import incorrect things from the wrong
+location. We are unaware of that actually having happened in practice.
+..
+.. date: 2024-11-06-23-40-28
+.. gh-issue: 125679
+.. nonce: Qq9xF5
+.. section: Library
+The :class:`multiprocessing.Lock` and :class:`multiprocessing.RLock`
+``repr`` values no longer say "unknown" on macOS.
+..
+.. date: 2024-11-06-18-30-50
+.. gh-issue: 126476
+.. nonce: F1wh3c
+.. section: Library
+Raise :class:`calendar.IllegalMonthError` (now a subclass of
+:class:`IndexError`) for :func:`calendar.month` when the input month is not
+correct.
+..
+.. date: 2024-11-06-13-41-38
+.. gh-issue: 126489
+.. nonce: toaf-0
+.. section: Library
+The Python implementation of :mod:`pickle` no longer calls
+:meth:`pickle.Pickler.persistent_id` for the result of
+:meth:`!persistent_id`.
+..
+.. date: 2024-11-05-11-28-45
+.. gh-issue: 126451
+.. nonce: XJMtqz
+.. section: Library
+Register the :class:`contextvars.Context` type to
+:class:`collections.abc.Mapping`.
+..
+.. date: 2024-11-05-09-54-49
+.. gh-issue: 126175
+.. nonce: spnjJr
+.. section: Library
+Add ``msg``, ``doc``, ``pos``, ``lineno`` and ``colno`` attributes to
+:exc:`tomllib.TOMLDecodeError`. Deprecate instantiating with free-form
+arguments.
+..
+.. date: 2024-11-04-22-53-09
+.. gh-issue: 89416
+.. nonce: YVQaas
+.. section: Library
+Add :rfc:`9559` MIME types for Matroska audiovisual container formats. Patch
+by Hugo van Kemenade.
+..
+.. date: 2024-11-04-16-40-02
+.. gh-issue: 126417
+.. nonce: OWPqn0
+.. section: Library
+Register the :class:`!multiprocessing.managers.DictProxy` and
+:class:`!multiprocessing.managers.ListProxy` types in
+:mod:`multiprocessing.managers` to :class:`collections.abc.MutableMapping`
+and :class:`collections.abc.MutableSequence`, respectively.
+..
+.. date: 2024-11-04-13-16-18
+.. gh-issue: 126390
+.. nonce: Cxvqa5
+.. section: Library
+Add support for returning intermixed options and non-option arguments in
+order in :func:`getopt.gnu_getopt`.
+..
+.. date: 2024-11-03-23-25-07
+.. gh-issue: 126374
+.. nonce: Xu_THP
+.. section: Library
+Add support for options with optional arguments in the :mod:`getopt` module.
+..
+.. date: 2024-11-03-14-43-51
+.. gh-issue: 126363
+.. nonce: Xus7vU
+.. section: Library
+Speed up pattern parsing in :meth:`pathlib.Path.glob` by skipping creation
+of a :class:`pathlib.Path` object for the pattern.
+..
+.. date: 2024-11-03-10-48-07
+.. gh-issue: 126353
+.. nonce: ChDzot
+.. section: Library
+:func:`asyncio.get_event_loop` now does not implicitly creates an event
+loop. It now raises a :exc:`RuntimeError` if there is no set event loop.
+Patch by Kumar Aditya.
+..
+.. date: 2024-11-03-09-42-42
+.. gh-issue: 126313
+.. nonce: EFP6Dl
+.. section: Library
+Fix an issue in :func:`curses.napms` when :func:`curses.initscr` has not yet
+been called. Patch by Bénédikt Tran.
+..
+.. date: 2024-11-02-19-20-44
+.. gh-issue: 126303
+.. nonce: yVvyWB
+.. section: Library
+Fix pickling and copying of :class:`os.sched_param` objects.
+..
+.. date: 2024-11-01-14-31-41
+.. gh-issue: 126138
+.. nonce: yTniOG
+.. section: Library
+Fix a use-after-free crash on :class:`asyncio.Task` objects whose underlying
+coroutine yields an object that implements an evil
+:meth:`~object.__getattribute__`. Patch by Nico Posada.
+..
+.. date: 2024-11-01-10-35-49
+.. gh-issue: 120057
+.. nonce: YWy81Q
+.. section: Library
+Replace the ``os.environ.refresh()`` method with a new
+:func:`os.reload_environ` function. Patch by Victor Stinner.
+..
+.. date: 2024-10-31-14-06-28
+.. gh-issue: 126220
+.. nonce: uJAJCU
+.. section: Library
+Fix crash in :class:`!cProfile.Profile` and :class:`!_lsprof.Profiler` when
+their callbacks were directly called with 0 arguments.
+..
+.. date: 2024-10-30-23-59-36
+.. gh-issue: 126212
+.. nonce: _9uYjT
+.. section: Library
+Fix issue where :func:`urllib.request.pathname2url` and
+:func:`~urllib.request.url2pathname` removed slashes from Windows DOS drive
+paths and URLs.
+..
+.. date: 2024-10-30-23-42-44
+.. gh-issue: 126223
+.. nonce: k2qooc
+.. section: Library
+Raise a :exc:`UnicodeEncodeError` instead of a :exc:`SystemError` upon
+calling :func:`!_interpreters.create` with an invalid Unicode character.
+..
+.. date: 2024-10-30-20-45-17
+.. gh-issue: 126205
+.. nonce: CHEmtx
+.. section: Library
+Fix issue where :func:`urllib.request.pathname2url` generated URLs beginning
+with four slashes (rather than two) when given a Windows UNC path.
+..
+.. date: 2024-10-30-00-12-22
+.. gh-issue: 126156
+.. nonce: BOSqv0
+.. section: Library
+Improved performances of creating :py:class:`~http.cookies.Morsel` objects
+by a factor of 3.8x.
+..
+.. date: 2024-10-29-11-45-44
+.. gh-issue: 126105
+.. nonce: cOL-R6
+.. section: Library
+Fix a crash in :mod:`ast` when the :attr:`ast.AST._fields` attribute is
+deleted.
+..
+.. date: 2024-10-29-10-58-52
+.. gh-issue: 126106
+.. nonce: rlF798
+.. section: Library
+Fixes a possible ``NULL`` pointer dereference in :mod:`ssl`.
+..
+.. date: 2024-10-29-10-38-28
+.. gh-issue: 126080
+.. nonce: qKRBuo
+.. section: Library
+Fix a use-after-free crash on :class:`asyncio.Task` objects for which the
+underlying event loop implements an evil :meth:`~object.__getattribute__`.
+Reported by Nico-Posada. Patch by Bénédikt Tran.
+..
+.. date: 2024-10-29-07-24-52
+.. gh-issue: 125322
+.. nonce: sstOM-
+.. section: Library
+Correct detection of complex numbers support in libffi.
+..
+.. date: 2024-10-28-22-35-22
+.. gh-issue: 126083
+.. nonce: TuI--n
+.. section: Library
+Fixed a reference leak in :class:`asyncio.Task` objects when reinitializing
+the same object with a non-``None`` context. Patch by Nico Posada.
+..
+.. date: 2024-10-28-11-33-59
+.. gh-issue: 126068
+.. nonce: Pdznm_
+.. section: Library
+Fix exceptions in the :mod:`argparse` module so that only error messages for
+ArgumentError and ArgumentTypeError are now translated. ArgumentError is now
+only used for command line errors, not for logical errors in the program.
+TypeError is now raised instead of ValueError for some logical errors.
+..
+.. date: 2024-10-28-01-24-52
+.. gh-issue: 125413
+.. nonce: Jat5kq
+.. section: Library
+Add :meth:`!pathlib.Path.scandir` method to efficiently fetch directory
+children and their file attributes. This is a trivial wrapper of
+:func:`os.scandir`.
+..
+.. date: 2024-10-26-12-50-48
+.. gh-issue: 125984
+.. nonce: d4vp5_
+.. section: Library
+Fix use-after-free crashes on :class:`asyncio.Future` objects for which the
+underlying event loop implements an evil :meth:`~object.__getattribute__`.
+Reported by Nico-Posada. Patch by Bénédikt Tran.
+..
+.. date: 2024-10-25-20-52-15
+.. gh-issue: 125926
+.. nonce: pp8rtZ
+.. section: Library
+Fix :func:`urllib.parse.urljoin` for base URI with undefined authority.
+Although :rfc:`3986` only specify reference resolution for absolute base
+URI, :func:`!urljoin` should continue to return sensible result for relative
+base URI.
+..
+.. date: 2024-10-25-11-13-24
+.. gh-issue: 125969
+.. nonce: YvbrTr
+.. section: Library
+Fix an out-of-bounds crash when an evil :meth:`asyncio.loop.call_soon`
+mutates the length of the internal callbacks list. Patch by Bénédikt Tran.
+..
+.. date: 2024-10-25-10-53-56
+.. gh-issue: 125966
+.. nonce: eOCYU_
+.. section: Library
+Fix a use-after-free crash in :meth:`asyncio.Future.remove_done_callback`.
+Patch by Bénédikt Tran.
+..
+.. date: 2024-10-24-14-08-10
+.. gh-issue: 125789
+.. nonce: eaiAMw
+.. section: Library
+Fix possible crash when mutating list of callbacks returned by
+:attr:`!asyncio.Future._callbacks`. It now always returns a new copy in C
+implementation :mod:`!_asyncio`. Patch by Kumar Aditya.
+..
+.. date: 2024-10-24-13-40-20
+.. gh-issue: 126916
+.. nonce: MAgz6D
+.. section: Library
+Allow the *initial* parameter of :func:`functools.reduce` to be passed as a
+keyword argument. Patch by Sayandip Dutta.
+..
+.. date: 2024-10-24-10-49-47
+.. gh-issue: 124452
+.. nonce: eqTRgx
+.. section: Library
+Fix an issue in :meth:`email.policy.EmailPolicy.header_source_parse` and
+:meth:`email.policy.Compat32.header_source_parse` that introduced spurious
+leading whitespaces into header values when the header includes a newline
+character after the header name delimiter (``:``) and before the value.
+..
+.. date: 2024-10-23-20-44-30
+.. gh-issue: 117941
+.. nonce: Y9jdlW
+.. section: Library
+:class:`!argparse.BooleanOptionalAction` now rejects option names starting
+with ``--no-``.
+..
+.. date: 2024-10-23-17-45-40
+.. gh-issue: 125884
+.. nonce: 41E_PD
+.. section: Library
+Fixed the bug for :mod:`pdb` where it can't set breakpoints on functions
+with certain annotations.
+..
+.. date: 2024-10-22-13-28-00
+.. gh-issue: 125355
+.. nonce: zssHm_
+.. section: Library
+Fix several bugs in :meth:`argparse.ArgumentParser.parse_intermixed_args`.
+* The parser no longer changes temporarily during parsing.
+* Default values are not processed twice.
+* Required mutually exclusive groups containing positional arguments are now supported.
+* The missing arguments report now includes the names of all required optional and positional arguments.
+* Unknown options can be intermixed with positional arguments in parse_known_intermixed_args().
+..
+.. date: 2024-10-21-13-52-37
+.. gh-issue: 125767
+.. nonce: 0kK4lX
+.. section: Library
+:class:`super` objects are now :mod:`pickleable ` and :mod:`copyable
+`.
+..
+.. date: 2024-10-21-12-06-55
+.. gh-issue: 124969
+.. nonce: xiY8UP
+.. section: Library
+``locale.nl_langinfo(locale.ALT_DIGITS)`` now returns a string again. The
+returned value consists of up to 100 semicolon-separated symbols.
+..
+.. date: 2024-10-20-00-56-44
+.. gh-issue: 84850
+.. nonce: p5TeUB
+.. section: Library
+Remove :class:`!URLopener` and :class:`!FancyURLopener` classes from
+:mod:`urllib.request`. They had previously raised :exc:`DeprecationWarning`
+since Python 3.3.
+..
+.. date: 2024-10-19-16-06-52
+.. gh-issue: 125666
+.. nonce: jGfdCP
+.. section: Library
+Avoid the exiting the interpreter if a null byte is given as input in the
+new REPL.
+..
+.. date: 2024-10-19-13-37-37
+.. gh-issue: 125710
+.. nonce: FyFAAr
+.. section: Library
+[Enum] fix hashable<->nonhashable comparisons for member values
+..
+.. date: 2024-10-19-11-06-06
+.. gh-issue: 125631
+.. nonce: BlhVvR
+.. section: Library
+Restore ability to set :attr:`~pickle.Pickler.persistent_id` and
+:attr:`~pickle.Unpickler.persistent_load` attributes of instances of the
+:class:`!Pickler` and :class:`!Unpickler` classes in the :mod:`pickle`
+module.
+..
+.. date: 2024-10-19-01-30-40
+.. gh-issue: 125378
+.. nonce: WTosxX
+.. section: Library
+Fixed the bug in :mod:`pdb` where after a multi-line command, an empty line
+repeats the first line of the multi-line command, instead of the full
+command.
+..
+.. date: 2024-10-18-09-51-29
+.. gh-issue: 125682
+.. nonce: vsj4cU
+.. section: Library
+Reject non-ASCII digits in the Python implementation of :func:`json.loads`
+conforming to the JSON specification.
+..
+.. date: 2024-10-18-08-58-10
+.. gh-issue: 125660
+.. nonce: sDdDqO
+.. section: Library
+Reject invalid unicode escapes for Python implementation of
+:func:`json.loads`.
+..
+.. date: 2024-10-17-20-36-06
+.. gh-issue: 52551
+.. nonce: EIVNYY
+.. section: Library
+Use :c:func:`!wcsftime` to implement :func:`time.strftime` on Windows.
+..
+.. date: 2024-10-17-16-10-29
+.. gh-issue: 125259
+.. nonce: oMew0c
+.. section: Library
+Fix the notes removal logic for errors thrown in enum initialization.
+..
+.. date: 2024-10-17-04-52-00
+.. gh-issue: 125633
+.. nonce: lMck06
+.. section: Library
+Add function :func:`inspect.ispackage` to determine whether an object is a
+:term:`package` or not.
+..
+.. date: 2024-10-16-22-45-50
+.. gh-issue: 125614
+.. nonce: 3OEo_Q
+.. section: Library
+In the :data:`~annotationlib.Format.FORWARDREF` format of
+:mod:`annotationlib`, fix bug where nested expressions were not returned as
+:class:`annotationlib.ForwardRef` format.
+..
+.. date: 2024-10-16-20-32-40
+.. gh-issue: 125590
+.. nonce: stHzOP
+.. section: Library
+Allow ``FrameLocalsProxy`` to delete and pop if the key is not a fast
+variable.
+..
+.. date: 2024-10-16-15-55-50
+.. gh-issue: 125600
+.. nonce: yMsJx0
+.. section: Library
+Only show stale code warning in :mod:`pdb` when we display source code.
+..
+.. date: 2024-10-16-04-50-53
+.. gh-issue: 125542
+.. nonce: vZJ-Ns
+.. section: Library
+Deprecate passing keyword-only *prefix_chars* argument to
+:meth:`argparse.ArgumentParser.add_argument_group`.
+..
+.. date: 2024-10-15-16-50-03
+.. gh-issue: 125541
+.. nonce: FfhmWo
+.. section: Library
+Pressing :kbd:`Ctrl-C` while blocked in :meth:`threading.Lock.acquire`,
+:meth:`threading.RLock.acquire`, and :meth:`threading.Thread.join` now
+interrupts the function call and raises a :exc:`KeyboardInterrupt` exception
+on Windows, similar to how those functions behave on macOS and Linux.
+..
+.. date: 2024-10-15-14-01-03
+.. gh-issue: 125519
+.. nonce: TqGh6a
+.. section: Library
+Improve traceback if :func:`importlib.reload` is called with an object that
+is not a module. Patch by Alex Waygood.
+..
+.. date: 2024-10-14-17-29-34
+.. gh-issue: 125451
+.. nonce: fmP3T9
+.. section: Library
+Fix deadlock when :class:`concurrent.futures.ProcessPoolExecutor` shuts down
+concurrently with an error when feeding a job to a worker process.
+..
+.. date: 2024-10-14-02-07-44
+.. gh-issue: 125115
+.. nonce: IOf3ON
+.. section: Library
+Fixed a bug in :mod:`pdb` where arguments starting with ``-`` can't be
+passed to the debugged script.
+..
+.. date: 2024-10-13-15-04-58
+.. gh-issue: 125398
+.. nonce: UW7Ndv
+.. section: Library
+Fix the conversion of the :envvar:`!VIRTUAL_ENV` path in the activate script
+in :mod:`venv` when running in Git Bash for Windows.
+..
+.. date: 2024-10-11-00-40-13
+.. gh-issue: 125245
+.. nonce: 8vReM-
+.. section: Library
+Fix race condition when importing :mod:`collections.abc`, which could
+incorrectly return an empty module.
+..
+.. date: 2024-10-09-17-07-33
+.. gh-issue: 52551
+.. nonce: PBakSY
+.. section: Library
+Fix encoding issues in :func:`time.strftime`, the
+:meth:`~datetime.datetime.strftime` method of the :mod:`datetime` classes
+:class:`~datetime.datetime`, :class:`~datetime.date` and
+:class:`~datetime.time` and formatting of these classes. Characters not
+encodable in the current locale are now acceptable in the format string.
+Surrogate pairs and sequence of surrogatescape-encoded bytes are no longer
+recombinated. Embedded null character no longer terminates the format
+string.
+..
+.. date: 2024-10-04-22-43-48
+.. gh-issue: 124984
+.. nonce: xjMv9b
+.. section: Library
+Fixed thread safety in :mod:`ssl` in the free-threaded build. OpenSSL
+operations are now protected by a per-object lock.
+..
+.. date: 2024-09-28-02-03-04
+.. gh-issue: 124651
+.. nonce: bLBGtH
+.. section: Library
+Properly quote template strings in :mod:`venv` activation scripts.
+..
+.. date: 2024-09-27-15-42-55
+.. gh-issue: 124694
+.. nonce: uUy32y
+.. section: Library
+We've added :class:`concurrent.futures.InterpreterPoolExecutor`, which
+allows you to run code in multiple isolated interpreters. This allows you
+to circumvent the limitations of CPU-bound threads (due to the GIL). Patch
+by Eric Snow.
+This addition is unrelated to :pep:`734`.
+..
+.. date: 2024-09-27-13-10-17
+.. gh-issue: 58032
+.. nonce: 0aNAQ0
+.. section: Library
+Deprecate the :class:`argparse.FileType` type converter.
+..
+.. date: 2024-09-24-18-49-16
+.. gh-issue: 99749
+.. nonce: gBDJX7
+.. section: Library
+Adds a feature to optionally enable suggestions for argument choices and
+subparser names if mistyped by the user.
+..
+.. date: 2024-09-24-18-16-59
+.. gh-issue: 58956
+.. nonce: 0wFrBR
+.. section: Library
+Fixed a bug in :mod:`pdb` where sometimes the breakpoint won't trigger if it
+was set on a function which is already in the call stack.
+..
+.. date: 2024-09-17-10-38-26
+.. gh-issue: 124111
+.. nonce: Hd53VN
+.. section: Library
+The tkinter module can now be built to use either the new version 9.0.0 of
+Tcl/Tk or the latest release 8.6.15 of Tcl/Tk 8. Tcl/Tk 9 includes many
+improvements, both to the Tcl language and to the appearance and utility of
+the graphical user interface provided by Tk.
+..
+.. date: 2024-09-07-13-57-49
+.. gh-issue: 80958
+.. nonce: fVYnqV
+.. section: Library
+unittest discovery supports PEP 420 namespace packages as start directory
+again.
+..
+.. date: 2024-08-28-19-27-35
+.. gh-issue: 123370
+.. nonce: SPZ9Ux
+.. section: Library
+Fix the canvas not clearing after running turtledemo clock.
+..
+.. date: 2024-08-22-12-12-35
+.. gh-issue: 89083
+.. nonce: b6zFh0
+.. section: Library
+Add :func:`uuid.uuid8` for generating UUIDv8 objects as specified in
+:rfc:`9562`. Patch by Bénédikt Tran
+..
+.. date: 2024-08-01-11-15-55
+.. gh-issue: 122549
+.. nonce: ztV4Kz
+.. section: Library
+Add :func:`platform.invalidate_caches` to invalidate cached results.
+..
+.. date: 2024-07-23-02-24-50
+.. gh-issue: 120754
+.. nonce: nHb5mG
+.. section: Library
+Update unbounded ``read`` calls in :mod:`zipfile` to specify an explicit
+``size`` putting a limit on how much data they may read. This also updates
+handling around ZIP max comment size to match the standard instead of
+reading comments that are one byte too long.
+..
+.. date: 2024-07-02-15-56-42
+.. gh-issue: 121267
+.. nonce: yFBWkh
+.. section: Library
+Improve the performance of :mod:`tarfile` when writing files, by caching
+user names and group names.
+..
+.. date: 2024-06-06-04-06-05
+.. gh-issue: 70764
+.. nonce: 6511hw
+.. section: Library
+Fixed an issue where :func:`inspect.getclosurevars` would incorrectly
+classify an attribute name as a global variable when the name exists both as
+an attribute name and a global variable.
+..
+.. date: 2024-06-05-19-09-36
+.. gh-issue: 118289
+.. nonce: moL9_d
+.. section: Library
+:func:`!posixpath.realpath` now raises :exc:`NotADirectoryError` when
+*strict* mode is enabled and a non-directory path with a trailing slash is
+supplied.
+..
+.. date: 2024-06-02-11-48-19
+.. gh-issue: 119826
+.. nonce: N1obGa
+.. section: Library
+Always return an absolute path for :func:`os.path.abspath` on Windows.
+..
+.. date: 2024-05-28-14-35-23
+.. gh-issue: 97850
+.. nonce: dCtjel
+.. section: Library
+Remove deprecated :func:`!pkgutil.get_loader` and
+:func:`!pkgutil.find_loader`.
+..
+.. date: 2024-05-13-10-09-41
+.. gh-issue: 118986
+.. nonce: -r4W9h
+.. section: Library
+Add :data:`!socket.IPV6_RECVERR` constant (available since Linux 2.2).
+..
+.. date: 2024-03-16-13-38-27
+.. gh-issue: 116897
+.. nonce: UDQTjp
+.. section: Library
+Accepting objects with false values (like ``0`` and ``[]``) except empty
+strings, byte-like objects and ``None`` in :mod:`urllib.parse` functions
+:func:`~urllib.parse.parse_qsl` and :func:`~urllib.parse.parse_qs` is now
+deprecated.
+..
+.. date: 2023-10-26-16-36-22
+.. gh-issue: 101955
+.. nonce: Ixu3IF
+.. section: Library
+Fix SystemError when match regular expression pattern containing some
+combination of possessive quantifier, alternative and capture group.
+..
+.. date: 2022-10-15-10-18-20
+.. gh-issue: 71936
+.. nonce: MzJjc_
+.. section: Library
+Fix a race condition in :class:`multiprocessing.pool.Pool`.
+..
+.. bpo: 46128
+.. date: 2021-12-19-10-47-24
+.. nonce: Qv3EK1
+.. section: Library
+Strip :class:`unittest.IsolatedAsyncioTestCase` stack frames from reported
+stacktraces.
+..
+.. date: 2020-05-19-01-12-47
+.. gh-issue: 84852
+.. nonce: FEjHJW
+.. section: Library
+Add MIME types for MS Embedded OpenType, OpenType Layout, TrueType, WOFF 1.0
+and 2.0 fonts. Patch by Sahil Prajapati and Hugo van Kemenade.
+..
+.. date: 2024-11-09-19-43-10
+.. gh-issue: 126622
+.. nonce: YacfDc
+.. section: Documentation
+Added stub pages for removed modules explaining their removal, where to find
+replacements, and linking to the last Python version that supported them.
+Contributed by Ned Batchelder.
+..
+.. date: 2024-10-10-23-46-54
+.. gh-issue: 125277
+.. nonce: QAby09
+.. section: Documentation
+Require Sphinx 7.2.6 or later to build the Python documentation. Patch by
+Adam Turner.
+..
+.. date: 2023-03-28-22-24-45
+.. gh-issue: 60712
+.. nonce: So5uad
+.. section: Documentation
+Include the :class:`object` type in the lists of documented types. Change by
+Furkan Onder and Martin Panter.
+..
+.. date: 2024-11-13-17-18-13
+.. gh-issue: 126795
+.. nonce: _JBX9e
+.. section: Core and Builtins
+Increase the threshold for JIT code warmup. Depending on platform and
+workload, this can result in performance gains of 1-9% and memory savings of
+3-5%.
+..
+.. date: 2024-11-12-19-24-00
+.. gh-issue: 126341
+.. nonce: 5SdAe1
+.. section: Core and Builtins
+Now :exc:`ValueError` is raised instead of :exc:`SystemError` when trying to
+iterate over a released :class:`memoryview` object.
+..
+.. date: 2024-11-11-17-02-48
+.. gh-issue: 126688
+.. nonce: QiOXUi
+.. section: Core and Builtins
+Fix a crash when calling :func:`os.fork` on some operating systems,
+including SerenityOS.
+..
+.. date: 2024-11-09-16-10-22
+.. gh-issue: 126066
+.. nonce: 9zs4m4
+.. section: Library
+Fix :mod:`importlib` to not write an incomplete .pyc files when a ulimit or
+some other operating system mechanism is preventing the write to go through
+fully.
+..
+.. date: 2024-11-06-16-34-11
+.. gh-issue: 126222
+.. nonce: 9NBfTn
+.. section: Core and Builtins
+Do not include count of "peek" items in ``_PyUop_num_popped``. This ensures
+that the correct number of items are popped from the stack when a micro-op
+exits with an error.
+..
+.. date: 2024-11-03-15-15-36
+.. gh-issue: 126366
+.. nonce: 8BBdGU
+.. section: Core and Builtins
+Fix crash when using ``yield from`` on an object that raises an exception in
+its ``__iter__``.
+..
+.. date: 2024-11-02-18-01-31
+.. gh-issue: 126209
+.. nonce: 2ZIhrS
+.. section: Library
+Fix an issue with ``skip_file_prefixes`` parameter which resulted in an
+inconsistent behaviour between the C and Python implementations of
+:func:`warnings.warn`. Patch by Daehee Kim.
+..
+.. date: 2024-11-02-14-43-46
+.. gh-issue: 126312
+.. nonce: LMHzLT
+.. section: Core and Builtins
+Fix crash during garbage collection on an object frozen by :func:`gc.freeze`
+on the free-threaded build.
+..
+.. date: 2024-11-01-09-58-06
+.. gh-issue: 103951
+.. nonce: 6qduwj
+.. section: Core and Builtins
+Relax optimization requirements to allow fast attribute access to module
+subclasses.
+..
+.. date: 2024-10-31-21-49-00
+.. gh-issue: 126072
+.. nonce: o9k8Ns
+.. section: Core and Builtins
+Following :gh:`126101`, for :ref:`codeobjects` like lambda, annotation and
+type alias, we no longer add ``None`` to its :attr:`~codeobject.co_consts`.
+..
+.. date: 2024-10-30-18-16-10
+.. gh-issue: 126195
+.. nonce: 6ezBpr
+.. section: Core and Builtins
+Improve JIT performance by 1.4% on macOS Apple Silicon by using
+platform-specific memory protection APIs. Patch by Diego Russo.
+..
+.. date: 2024-10-29-15-17-31
+.. gh-issue: 126139
+.. nonce: B4OQ8a
+.. section: Core and Builtins
+Provide better error location when attempting to use a :term:`future
+statement <__future__>` with an unknown future feature.
+..
+.. date: 2024-10-29-10-37-39
+.. gh-issue: 126072
+.. nonce: XLKlxv
+.. section: Core and Builtins
+Add a new attribute in :attr:`~codeobject.co_flags` to indicate whether the
+first item in :attr:`~codeobject.co_consts` is the docstring. If a code
+object has no docstring, ``None`` will **NOT** be inserted.
+..
+.. date: 2024-10-28-13-18-16
+.. gh-issue: 126076
+.. nonce: MebZuS
+.. section: Core and Builtins
+Relocated objects such as ``tuple``, ``bytes`` and ``str`` objects are
+properly tracked by :mod:`tracemalloc` and its associated hooks. Patch by
+Pablo Galindo.
+..
+.. date: 2024-10-27-20-31-43
+.. gh-issue: 90370
+.. nonce: IP_W3a
+.. section: Core and Builtins
+Avoid temporary tuple creation for vararg in argument passing with Argument
+Clinic generated code (if arguments either vararg or positional-only).
+..
+.. date: 2024-10-26-23-50-03
+.. gh-issue: 126018
+.. nonce: Hq-qcM
+.. section: Core and Builtins
+Fix a crash in :func:`sys.audit` when passing a non-string as first argument
+and Python was compiled in debug mode.
+..
+.. date: 2024-10-26-13-32-48
+.. gh-issue: 126012
+.. nonce: 2KalhG
+.. section: Core and Builtins
+The :class:`memoryview` type now supports subscription, making it a
+:term:`generic type`.
+..
+.. date: 2024-10-25-15-56-14
+.. gh-issue: 125837
+.. nonce: KlCdgD
+.. section: Core and Builtins
+Adds :opcode:`LOAD_SMALL_INT` and :opcode:`!LOAD_CONST_IMMORTAL`
+instructions. ``LOAD_SMALL_INT`` pushes a small integer equal to the
+``oparg`` to the stack. ``LOAD_CONST_IMMORTAL`` does the same as
+``LOAD_CONST`` but is more efficient for immortal objects. Removes
+``RETURN_CONST`` instruction.
+..
+.. date: 2024-10-24-22-43-03
+.. gh-issue: 125942
+.. nonce: 3UQht1
+.. section: Core and Builtins
+On Android, the ``errors`` setting of :any:`sys.stdout` was changed from
+``surrogateescape`` to ``backslashreplace``.
+..
+.. date: 2024-10-23-14-42-27
+.. gh-issue: 125859
+.. nonce: m3EF9E
+.. section: Core and Builtins
+Fix a crash in the free threading build when :func:`gc.get_objects` or
+:func:`gc.get_referrers` is called during an in-progress garbage collection.
+..
+.. date: 2024-10-23-14-05-47
+.. gh-issue: 125868
+.. nonce: uLfXYB
+.. section: Core and Builtins
+It was possible in 3.14.0a1 only for attribute lookup to give the wrong
+value. This was due to an incorrect specialization in very specific
+circumstances. This is fixed in 3.14.0a2.
+..
+.. date: 2024-10-22-04-18-53
+.. gh-issue: 125498
+.. nonce: cFjPIn
+.. section: Core and Builtins
+The JIT has been updated to leverage Clang 19’s new ``preserve_none``
+attribute, which supports more platforms and is more useful than LLVM's
+existing ``ghccc`` calling convention. This also removes the need to
+manually patch the calling convention in LLVM IR, simplifying the JIT
+compilation process.
+..
+.. date: 2024-10-18-16-00-10
+.. gh-issue: 125703
+.. nonce: QRoqMo
+.. section: Core and Builtins
+Correctly honour :mod:`tracemalloc` hooks in specialized ``Py_DECREF``
+paths. Patch by Pablo Galindo
+..
+.. date: 2024-10-18-10-11-43
+.. gh-issue: 125593
+.. nonce: Q97m3A
+.. section: Core and Builtins
+Use color to highlight error locations in traceback from exception group
+..
+.. date: 2024-10-16-23-06-06
+.. gh-issue: 125017
+.. nonce: fcltj0
+.. section: Core and Builtins
+Fix crash on certain accesses to the ``__annotations__`` of
+:class:`staticmethod` and :class:`classmethod` objects.
+..
+.. date: 2024-10-16-13-52-48
+.. gh-issue: 125588
+.. nonce: kCahyO
+.. section: Core and Builtins
+The Python PEG generator can now use f-strings in the grammar actions. Patch
+by Pablo Galindo
+..
+.. date: 2024-10-16-12-12-39
+.. gh-issue: 125444
+.. nonce: 9tG2X6
+.. section: Core and Builtins
+Fix illegal instruction for older Arm architectures. Patch by Diego Russo,
+testing by Ross Burton.
+..
+.. date: 2024-10-14-17-13-12
+.. gh-issue: 118423
+.. nonce: SkBoda
+.. section: Core and Builtins
+Add a new ``INSTRUCTION_SIZE`` macro to the cases generator which returns
+the current instruction size.
+..
+.. date: 2024-10-09-13-53-50
+.. gh-issue: 125038
+.. nonce: ffSLCz
+.. section: Core and Builtins
+Fix crash when iterating over a generator expression after direct changes on
+``gi_frame.f_locals``. Patch by Mikhail Efimov.
+..
+.. date: 2024-10-01-17-31-32
+.. gh-issue: 124855
+.. nonce: sdsv_H
+.. section: Core and Builtins
+Don't allow the JIT and perf support to be active at the same time. Patch by
+Pablo Galindo
+..
+.. date: 2024-09-14-20-09-39
+.. gh-issue: 123714
+.. nonce: o1mbe4
+.. section: Core and Builtins
+Update JIT compilation to use LLVM 19
+..
+.. date: 2024-09-11-01-32-07
+.. gh-issue: 123930
+.. nonce: BkPfB6
+.. section: Core and Builtins
+Improve the error message when a script shadowing a module from the standard
+library causes :exc:`ImportError` to be raised during a "from" import.
+Similarly, improve the error message when a script shadowing a third party
+module attempts to "from" import an attribute from that third party module
+while still initialising.
+..
+.. date: 2024-06-13-19-12-49
+.. gh-issue: 119793
+.. nonce: FDVCDk
+.. section: Core and Builtins
+The :func:`map` built-in now has an optional keyword-only *strict* flag like
+:func:`zip` to check that all the iterables are of equal length. Patch by
+Wannes Boeykens.
+..
+.. date: 2024-05-12-03-10-36
+.. gh-issue: 118950
+.. nonce: 5Wc4vp
+.. section: Library
+Fix bug where SSLProtocol.connection_lost wasn't getting called when OSError
+was thrown on writing to socket.
+..
+.. date: 2023-12-30-00-21-45
+.. gh-issue: 113570
+.. nonce: _XQgsW
+.. section: Library
+Fixed a bug in ``reprlib.repr`` where it incorrectly called the repr method
+on shadowed Python built-in types.
+..
+.. date: 2024-11-07-20-24-58
+.. gh-issue: 126554
+.. nonce: ri12eb
+.. section: C API
+Fix error handling in :class:`ctypes.CDLL` objects which could result in a
+crash in rare situations.
+..
+.. date: 2024-10-28-15-56-03
+.. gh-issue: 126061
+.. nonce: Py51_1
+.. section: C API
+Add :c:func:`PyLong_IsPositive`, :c:func:`PyLong_IsNegative` and
+:c:func:`PyLong_IsZero` for checking if a :c:type:`PyLongObject` is
+positive, negative, or zero, respectively.
+..
+.. date: 2024-10-16-19-28-23
+.. gh-issue: 125608
+.. nonce: gTsU2g
+.. section: C API
+Fix a bug where dictionary watchers (e.g., :c:func:`PyDict_Watch`) on an
+object's attribute dictionary (:attr:`~object.__dict__`) were not triggered
+when the object's attributes were modified.
+..
+.. date: 2024-09-03-13-33-33
+.. gh-issue: 123619
+.. nonce: HhgUUI
+.. section: C API
+Added the :c:func:`PyUnstable_Object_EnableDeferredRefcount` function for
+enabling :pep:`703` deferred reference counting.
+..
+.. date: 2024-07-30-14-40-08
+.. gh-issue: 121654
+.. nonce: tgGeAl
+.. section: C API
+Add :c:func:`PyType_Freeze` function to make a type immutable. Patch by
+Victor Stinner.
+..
+.. date: 2024-06-04-13-38-44
+.. gh-issue: 120026
+.. nonce: uhEvJ9
+.. section: C API
+The :c:macro:`!Py_HUGE_VAL` macro is :term:`soft deprecated`.
+..
+.. date: 2024-11-13-15-47-09
+.. gh-issue: 126691
+.. nonce: ni4K-b
+.. section: Build
+Removed the ``--with-emscripten-target`` configure flag. We unified the
+``node`` and ``browser`` options and the same build can now be used,
+independent of target runtime.
+..
+.. date: 2024-11-07-11-09-31
+.. gh-issue: 123877
+.. nonce: CVdd0b
+.. section: Build
+Use ``wasm32-wasip1`` as the target triple for WASI instead of
+``wasm32-wasi``. The latter will eventually be reclaimed for WASI 1.0 while
+CPython currently only supports WASI preview1.
+..
+.. date: 2024-11-06-11-12-04
+.. gh-issue: 126458
+.. nonce: 7vzHtx
+.. section: Build
+Disable SIMD support for HACL under WASI.
+..
+.. date: 2024-11-04-09-42-04
+.. gh-issue: 89640
+.. nonce: QBv05o
+.. section: Build
+Hard-code float word ordering as little endian on WASM.
+..
+.. date: 2024-10-31-15-37-05
+.. gh-issue: 126206
+.. nonce: oC6z2i
+.. section: Build
+``make clinic`` now runs Argument Clinic using the ``--force`` option, thus
+forcefully regenerating generated code.
+..
+.. date: 2024-10-30-17-47-15
+.. gh-issue: 126187
+.. nonce: 0jFCZB
+.. section: Build
+Introduced ``Tools/wasm/emscripten.py`` to simplify doing Emscripten builds.
+..
+.. date: 2024-10-25-17-20-50
+.. gh-issue: 124932
+.. nonce: F-aNuS
+.. section: Build
+For cross builds, there is now support for having a different install
+``prefix`` than the ``host_prefix`` used by ``getpath.py``. This is set to
+``/`` by default for Emscripten, on other platforms the default behavior is
+the same as before.
+..
+.. date: 2024-10-25-00-29-15
+.. gh-issue: 125946
+.. nonce: KPA3g0
+.. section: Build
+The minimum supported Android version is now 7.0 (API level 24).
+..
+.. date: 2024-10-24-22-14-35
+.. gh-issue: 125940
+.. nonce: 2wMtTA
+.. section: Build
+The Android build now supports `16 KB page sizes
+`__.
+..
+.. date: 2024-10-16-09-37-51
+.. gh-issue: 89640
+.. nonce: UDsW-j
+.. section: Build
+Improve detection of float word ordering on Linux when link-time
+optimizations are enabled.
+..
+.. date: 2024-10-04-17-29-23
+.. gh-issue: 124928
+.. nonce: FsGffe
+.. section: Build
+Emscripten builds now require node >= 18.
+..
+.. date: 2024-03-03-20-28-23
+.. gh-issue: 115382
+.. nonce: 97hJFE
+.. section: Build
+Fix cross compile failures when the host and target SOABIs match.
+
+.. bpo: 33786
+.. date: 2018-06-06-23-24-40
+.. nonce: lBvT8z
+.. release date: 2018-06-11
+.. section: Core and Builtins
+Fix asynchronous generators to handle GeneratorExit in athrow() correctly
+..
+.. bpo: 30654
+.. date: 2018-05-28-12-28-53
+.. nonce: 9fDJye
+.. section: Core and Builtins
+Fixed reset of the SIGINT handler to SIG_DFL on interpreter shutdown even
+when there was a custom handler set previously. Patch by Philipp Kerling.
+..
+.. bpo: 33622
+.. date: 2018-05-23-20-46-14
+.. nonce: xPucO9
+.. section: Core and Builtins
+Fixed a leak when the garbage collector fails to add an object with the
+``__del__`` method or referenced by it into the :data:`gc.garbage` list.
+:c:func:`PyGC_Collect` can now be called when an exception is set and
+preserves it.
+..
+.. bpo: 31849
+.. date: 2018-05-14-11-00-00
+.. nonce: EmHaH4
+.. section: Core and Builtins
+Fix signed/unsigned comparison warning in pyhash.c.
+..
+.. bpo: 33391
+.. date: 2018-05-02-08-36-03
+.. nonce: z4a7rb
+.. section: Core and Builtins
+Fix a leak in set_symmetric_difference().
+..
+.. bpo: 28055
+.. date: 2018-04-25-20-44-42
+.. nonce: f49kfC
+.. section: Core and Builtins
+Fix unaligned accesses in siphash24(). Patch by Rolf Eike Beer.
+..
+.. bpo: 33231
+.. date: 2018-04-05-22-20-44
+.. nonce: 3Jmo0q
+.. section: Core and Builtins
+Fix potential memory leak in ``normalizestring()``.
+..
+.. bpo: 29922
+.. date: 2018-04-03-00-30-25
+.. nonce: CdLuMl
+.. section: Core and Builtins
+Improved error messages in 'async with' when ``__aenter__()`` or
+``__aexit__()`` return non-awaitable object.
+..
+.. bpo: 33199
+.. date: 2018-04-02-09-32-40
+.. nonce: TPnxQu
+.. section: Core and Builtins
+Fix ``ma_version_tag`` in dict implementation is uninitialized when copying
+from key-sharing dict.
+..
+.. bpo: 33041
+.. date: 2018-03-18-13-56-14
+.. nonce: XwPhI2
+.. section: Core and Builtins
+Fixed jumping when the function contains an ``async for`` loop.
+..
+.. bpo: 32282
+.. date: 2017-12-12-14-02-28
+.. nonce: xFVMTn
+.. section: Core and Builtins
+Fix an unnecessary ifdef in the include of VersionHelpers.h in socketmodule
+on Windows.
+..
+.. bpo: 21983
+.. date: 2017-10-02-21-02-14
+.. nonce: UoC319
+.. section: Core and Builtins
+Fix a crash in ``ctypes.cast()`` in case the type argument is a ctypes
+structured data type. Patch by Eryk Sun and Oren Milman.
+..
+.. bpo: 30167
+.. date: 2018-06-10-19-29-17
+.. nonce: G5EgC5
+.. section: Library
+Prevent site.main() exception if PYTHONSTARTUP is set. Patch by Steve Weber.
+..
+.. bpo: 33812
+.. date: 2018-06-10-13-26-02
+.. nonce: frGAOr
+.. section: Library
+Datetime instance d with non-None tzinfo, but with d.tzinfo.utcoffset(d)
+returning None is now treated as naive by the astimezone() method.
+..
+.. bpo: 30805
+.. date: 2018-06-08-17-34-16
+.. nonce: 3qCWa0
+.. section: Library
+Avoid race condition with debug logging
+..
+.. bpo: 33767
+.. date: 2018-06-03-22-41-59
+.. nonce: 2e82g3
+.. section: Library
+The concatenation (``+``) and repetition (``*``) sequence operations now
+raise :exc:`TypeError` instead of :exc:`SystemError` when performed on
+:class:`mmap.mmap` objects. Patch by Zackery Spytz.
+..
+.. bpo: 32684
+.. date: 2018-05-29-12-51-18
+.. nonce: ZEIism
+.. section: Library
+Fix gather to propagate cancellation of itself even with return_exceptions.
+..
+.. bpo: 33674
+.. date: 2018-05-28-22-49-59
+.. nonce: 6LFFj7
+.. section: Library
+Fix a race condition in SSLProtocol.connection_made() of asyncio.sslproto:
+start immediately the handshake instead of using call_soon(). Previously,
+data_received() could be called before the handshake started, causing the
+handshake to hang or fail.
+..
+.. bpo: 31647
+.. date: 2018-05-28-18-40-26
+.. nonce: s4Fad3
+.. section: Library
+Fixed bug where calling write_eof() on a _SelectorSocketTransport after it's
+already closed raises AttributeError.
+..
+.. bpo: 33672
+.. date: 2018-05-28-17-45-06
+.. nonce: GM_Xm_
+.. section: Library
+Fix Task.__repr__ crash with Cython's bogus coroutines
+..
+.. bpo: 33469
+.. date: 2018-05-28-15-55-12
+.. nonce: hmXBpY
+.. section: Library
+Fix RuntimeError after closing loop that used run_in_executor
+..
+.. bpo: 11874
+.. date: 2018-05-23-00-26-27
+.. nonce: glK5iP
+.. section: Library
+Use a better regex when breaking usage into wrappable parts. Avoids bogus
+assertion errors from custom metavar strings.
+..
+.. bpo: 30877
+.. date: 2018-05-22-13-05-12
+.. nonce: JZEGjI
+.. section: Library
+Fixed a bug in the Python implementation of the JSON decoder that prevented
+the cache of parsed strings from clearing after finishing the decoding.
+Based on patch by c-fos.
+..
+.. bpo: 33548
+.. date: 2018-05-16-17-05-48
+.. nonce: xWslmx
+.. section: Library
+tempfile._candidate_tempdir_list should consider common TEMP locations
+..
+.. bpo: 33542
+.. date: 2018-05-16-09-30-27
+.. nonce: idNAcs
+.. section: Library
+Prevent ``uuid.get_node`` from using a DUID instead of a MAC on Windows.
+Patch by Zvi Effron
+..
+.. bpo: 26819
+.. date: 2018-05-16-05-24-43
+.. nonce: taxbVT
+.. section: Library
+Fix race condition with ``ReadTransport.resume_reading`` in Windows proactor
+event loop.
+..
+.. bpo: 28556
+.. date: 2018-05-10-14-51-19
+.. nonce: y3zK6I
+.. section: Library
+Minor fixes in typing module: add annotations to ``NamedTuple.__new__``,
+pass ``*args`` and ``**kwds`` in ``Generic.__new__``. Original PRs by
+Paulius Šarka and Chad Dombrova.
+..
+.. bpo: 20087
+.. date: 2018-05-05-18-02-24
+.. nonce: lJrvXL
+.. section: Library
+Updated alias mapping with glibc 2.27 supported locales.
+..
+.. bpo: 33422
+.. date: 2018-05-05-09-53-05
+.. nonce: 4FtQ0q
+.. section: Library
+Fix trailing quotation marks getting deleted when looking up byte/string
+literals on pydoc. Patch by Andrés Delfino.
+..
+.. bpo: 33197
+.. date: 2018-04-29-23-56-20
+.. nonce: dgRLqr
+.. section: Library
+Update error message when constructing invalid inspect.Parameters Patch by
+Donghee Na.
+..
+.. bpo: 33383
+.. date: 2018-04-29-11-15-38
+.. nonce: g32YWn
+.. section: Library
+Fixed crash in the get() method of the :mod:`dbm.ndbm` database object when
+it is called with a single argument.
+..
+.. bpo: 33329
+.. date: 2018-04-23-13-21-39
+.. nonce: lQ-Eod
+.. section: Library
+Fix multiprocessing regression on newer glibcs
+..
+.. bpo: 991266
+.. date: 2018-04-21-00-24-08
+.. nonce: h93TP_
+.. section: Library
+Fix quoting of the ``Comment`` attribute of
+:class:`http.cookies.SimpleCookie`.
+..
+.. bpo: 33131
+.. date: 2018-04-20-10-43-17
+.. nonce: L2E977
+.. section: Library
+Upgrade bundled version of pip to 10.0.1.
+..
+.. bpo: 33308
+.. date: 2018-04-18-19-12-25
+.. nonce: fW75xi
+.. section: Library
+Fixed a crash in the :mod:`parser` module when converting an ST object to a
+tree of tuples or lists with ``line_info=False`` and ``col_info=True``.
+..
+.. bpo: 33263
+.. date: 2018-04-11-20-29-19
+.. nonce: B56Hc1
+.. section: Library
+Fix FD leak in ``_SelectorSocketTransport`` Patch by Vlad Starostin.
+..
+.. bpo: 33256
+.. date: 2018-04-10-20-57-14
+.. nonce: ndHkqu
+.. section: Library
+Fix display of ```` call in the html produced by ``cgitb.html()``.
+Patch by Stéphane Blondon.
+..
+.. bpo: 33203
+.. date: 2018-04-05-11-09-45
+.. nonce: Hje9Py
+.. section: Library
+``random.Random.choice()`` now raises ``IndexError`` for empty sequences
+consistently even when called from subclasses without a ``getrandbits()``
+implementation.
+..
+.. bpo: 33224
+.. date: 2018-04-04-23-41-30
+.. nonce: pyR0jB
+.. section: Library
+Update difflib.mdiff() for :pep:`479`. Convert an uncaught StopIteration in a
+generator into a return-statement.
+..
+.. bpo: 33209
+.. date: 2018-04-03-10-37-13
+.. nonce: 9sGWE_
+.. section: Library
+End framing at the end of C implementation of :func:`pickle.Pickler.dump`.
+..
+.. bpo: 32861
+.. date: 2018-04-02-20-44-54
+.. nonce: HeBjzN
+.. section: Library
+The urllib.robotparser's ``__str__`` representation now includes wildcard
+entries and the "Crawl-delay" and "Request-rate" fields. Patch by Michael
+Lazar.
+..
+.. bpo: 33096
+.. date: 2018-03-25-13-18-16
+.. nonce: ofdbe7
+.. section: Library
+Allow ttk.Treeview.insert to insert iid that has a false boolean value. Note
+iid=0 and iid=False would be same. Patch by Garvit Khatri.
+..
+.. bpo: 33127
+.. date: 2018-03-24-15-08-24
+.. nonce: olJmHv
+.. section: Library
+The ssl module now compiles with LibreSSL 2.7.1.
+..
+.. bpo: 33021
+.. date: 2018-03-12-00-27-56
+.. nonce: m19B9T
+.. section: Library
+Release the GIL during fstat() calls, avoiding hang of all threads when
+calling mmap.mmap(), os.urandom(), and random.seed(). Patch by Nir Soffer.
+..
+.. bpo: 27683
+.. date: 2018-03-07-22-28-17
+.. nonce: 572Rv4
+.. section: Library
+Fix a regression in :mod:`ipaddress` that result of :meth:`hosts` is empty
+when the network is constructed by a tuple containing an integer mask and
+only 1 bit left for addresses.
+..
+.. bpo: 32844
+.. date: 2018-02-28-13-08-00
+.. nonce: u8tnAe
+.. section: Library
+Fix wrong redirection of a low descriptor (0 or 1) to stderr in subprocess
+if another low descriptor is closed.
+..
+.. bpo: 31908
+.. date: 2017-10-31
+.. nonce: g4xh8x
+.. section: Library
+Fix output of cover files for ``trace`` module command-line tool. Previously
+emitted cover files only when ``--missing`` option was used. Patch by
+Michael Selik.
+..
+.. bpo: 31457
+.. date: 2017-10-18-19-05-17
+.. nonce: KlE6r8
+.. section: Library
+If nested log adapters are used, the inner ``process()`` methods are no
+longer omitted.
+..
+.. bpo: 16865
+.. date: 2017-09-29-16-40-38
+.. nonce: l-f6I_
+.. section: Library
+Support arrays >=2GiB in :mod:`ctypes`. Patch by Segev Finer.
+..
+.. bpo: 31238
+.. date: 2017-08-21-12-31-53
+.. nonce: Gg0LRH
+.. section: Library
+pydoc: the stop() method of the private ServerThread class now waits until
+DocServer.serve_until_quit() completes and then explicitly sets its
+docserver attribute to None to break a reference cycle.
+..
+.. bpo: 33503
+.. date: 2018-05-14-20-08-58
+.. nonce: Wvt0qg
+.. section: Documentation
+Fix broken pypi link
+..
+.. bpo: 33421
+.. date: 2018-05-14-15-23-51
+.. nonce: 3GU_QO
+.. section: Documentation
+Add missing documentation for ``typing.AsyncContextManager``.
+..
+.. bpo: 33378
+.. date: 2018-04-29-04-02-18
+.. nonce: -anAHN
+.. section: Documentation
+Add Korean language switcher for https://docs.python.org/3/
+..
+.. bpo: 33276
+.. date: 2018-04-20-14-09-36
+.. nonce: rA1z_3
+.. section: Documentation
+Clarify that the ``__path__`` attribute on modules cannot be just any value.
+..
+.. bpo: 33201
+.. date: 2018-04-01-21-03-41
+.. nonce: aa8Lkl
+.. section: Documentation
+Modernize documentation for writing C extension types.
+..
+.. bpo: 33195
+.. date: 2018-04-01-14-30-36
+.. nonce: dRS-XX
+.. section: Documentation
+Deprecate ``Py_UNICODE`` usage in ``c-api/arg`` document. ``Py_UNICODE``
+related APIs are deprecated since Python 3.3, but it is missed in the
+document.
+..
+.. bpo: 33126
+.. date: 2018-03-28-17-03-17
+.. nonce: 5UGkNv
+.. section: Documentation
+Document PyBuffer_ToContiguous().
+..
+.. bpo: 27212
+.. date: 2018-03-22-19-23-04
+.. nonce: wrE5KR
+.. section: Documentation
+Modify documentation for the :func:`islice` recipe to consume initial values
+up to the start index.
+..
+.. bpo: 28247
+.. date: 2018-03-20-20-11-05
+.. nonce: -V-WS-
+.. section: Documentation
+Update :mod:`zipapp` documentation to describe how to make standalone
+applications.
+..
+.. bpo: 18802
+.. date: 2018-03-11-18-53-47
+.. nonce: JhAqH3
+.. section: Documentation
+Documentation changes for ipaddress. Patch by Jon Foster and Berker Peksag.
+..
+.. bpo: 27428
+.. date: 2018-03-11-00-16-56
+.. nonce: B7A8FT
+.. section: Documentation
+Update documentation to clarify that ``WindowsRegistryFinder`` implements
+``MetaPathFinder``. (Patch by Himanshu Lakhara)
+..
+.. bpo: 8243
+.. date: 2018-01-13-20-30-53
+.. nonce: s98r28
+.. section: Documentation
+Add a note about curses.addch and curses.addstr exception behavior when
+writing outside a window, or pad.
+..
+.. bpo: 31432
+.. date: 2017-09-13-07-14-59
+.. nonce: yAY4Z3
+.. section: Documentation
+Clarify meaning of CERT_NONE, CERT_OPTIONAL, and CERT_REQUIRED flags for
+ssl.SSLContext.verify_mode.
+..
+.. bpo: 33655
+.. date: 2018-05-26-16-01-40
+.. nonce: Frb4LA
+.. section: Tests
+Ignore test_posix_fallocate failures on BSD platforms that might be due to
+running on ZFS.
+..
+.. bpo: 19417
+.. date: 2018-01-08-13-33-47
+.. nonce: 2asoXy
+.. section: Tests
+Add test_bdb.py.
+..
+.. bpo: 5755
+.. date: 2018-06-04-21-34-34
+.. nonce: 65GmCj
+.. section: Build
+Move ``-Wstrict-prototypes`` option to ``CFLAGS_NODIST`` from ``OPT``. This
+option emitted annoying warnings when building extension modules written in
+C++.
+..
+.. bpo: 33614
+.. date: 2018-05-28-11-40-22
+.. nonce: 28e0sE
+.. section: Build
+Ensures module definition files for the stable ABI on Windows are correctly
+regenerated.
+..
+.. bpo: 33522
+.. date: 2018-05-15-12-44-50
+.. nonce: mJoNcA
+.. section: Build
+Enable CI builds on Visual Studio Team Services at
+https://python.visualstudio.com/cpython
+..
+.. bpo: 33012
+.. date: 2018-05-10-21-10-01
+.. nonce: 5Zfjac
+.. section: Build
+Add ``-Wno-cast-function-type`` for gcc 8 for silencing warnings about
+function casts like casting to PyCFunction in method definition lists.
+..
+.. bpo: 33394
+.. date: 2018-04-30-17-36-46
+.. nonce: _Vdi4t
+.. section: Build
+Enable the verbose build for extension modules, when GNU make is passed
+macros on the command line.
+..
+.. bpo: 33184
+.. date: 2018-04-13-11-39-28
+.. nonce: aEohx0
+.. section: Windows
+Update Windows installer to OpenSSL 1.0.2o.
+..
+.. bpo: 33184
+.. date: 2018-04-07-00-58-50
+.. nonce: rMTiqu
+.. section: macOS
+Update macOS installer build to use OpenSSL 1.0.2o.
+..
+.. bpo: 33656
+.. date: 2018-06-10-17-59-36
+.. nonce: 60ZqJS
+.. section: IDLE
+On Windows, add API call saying that tk scales for DPI. On Windows 8.1+ or
+10, with DPI compatibility properties of the Python binary unchanged, and a
+monitor resolution greater than 96 DPI, this should make text and lines
+sharper. It should otherwise have no effect.
+..
+.. bpo: 33768
+.. date: 2018-06-04-19-23-11
+.. nonce: I_2qpV
+.. section: IDLE
+Clicking on a context line moves that line to the top of the editor window.
+..
+.. bpo: 33763
+.. date: 2018-06-03-20-12-57
+.. nonce: URiFlE
+.. section: IDLE
+IDLE: Use read-only text widget for code context instead of label widget.
+..
+.. bpo: 33664
+.. date: 2018-06-03-09-13-28
+.. nonce: PZzQyL
+.. section: IDLE
+Scroll IDLE editor text by lines. Previously, the mouse wheel and scrollbar
+slider moved text by a fixed number of pixels, resulting in partial lines at
+the top of the editor box. The change also applies to the shell and grep
+output windows, but not to read-only text views.
+..
+.. bpo: 33679
+.. date: 2018-05-29-07-14-37
+.. nonce: MgX_Ui
+.. section: IDLE
+Enable theme-specific color configuration for Code Context. Use the
+Highlights tab to see the setting for built-in themes or add settings to
+custom themes.
+..
+.. bpo: 33642
+.. date: 2018-05-24-20-42-44
+.. nonce: J0VQbS
+.. section: IDLE
+Display up to maxlines non-blank lines for Code Context. If there is no
+current context, show a single blank line.
+..
+.. bpo: 33628
+.. date: 2018-05-23-19-51-07
+.. nonce: sLlFLO
+.. section: IDLE
+IDLE: Cleanup codecontext.py and its test.
+..
+.. bpo: 33564
+.. date: 2018-05-17-19-41-12
+.. nonce: XzHZJe
+.. section: IDLE
+IDLE's code context now recognizes async as a block opener.
+..
+.. bpo: 29706
+.. date: 2018-05-15-17-01-10
+.. nonce: id4H5i
+.. section: IDLE
+IDLE now colors async and await as keywords in 3.6. They become full
+keywords in 3.7.
+..
+.. bpo: 21474
+.. date: 2018-04-29-16-13-02
+.. nonce: bglg-F
+.. section: IDLE
+Update word/identifier definition from ascii to unicode. In text and entry
+boxes, this affects selection by double-click, movement left/right by
+control-left/right, and deletion left/right by control-BACKSPACE/DEL.
+..
+.. bpo: 33204
+.. date: 2018-04-02-00-28-13
+.. nonce: NBsuIv
+.. section: IDLE
+IDLE: consistently color invalid string prefixes. A 'u' string prefix cannot
+be paired with either 'r' or 'f'. Consistently color as much of the prefix,
+starting at the right, as is valid. Revise and extend colorizer test.
+..
+.. bpo: 32831
+.. date: 2018-02-12-08-08-45
+.. nonce: srDRvU
+.. section: IDLE
+Add docstrings and tests for codecontext.
+..
+.. bpo: 33189
+.. date: 2018-04-03-18-10-00
+.. nonce: QrXR00
+.. section: Tools/Demos
+:program:`pygettext.py` now recognizes only literal strings as docstrings
+and translatable strings, and rejects bytes literals and f-string
+expressions.
+..
+.. bpo: 31920
+.. date: 2018-03-26-18-54-24
+.. nonce: u_WKsT
+.. section: Tools/Demos
+Fixed handling directories as arguments in the ``pygettext`` script. Based
+on patch by Oleg Krasnikov.
+..
+.. bpo: 29673
+.. date: 2018-03-16-17-25-05
+.. nonce: m8QtaW
+.. section: Tools/Demos
+Fix pystackv and pystack gdbinit macros.
+..
+.. bpo: 32885
+.. date: 2018-02-20-12-16-47
+.. nonce: dL5x7C
+.. section: Tools/Demos
+Add an ``-n`` flag for ``Tools/scripts/pathfix.py`` to disable automatic
+backup creation (files with ``~`` suffix).
+..
+.. bpo: 31583
+.. date: 2017-09-26-10-11-21
+.. nonce: TM90_H
+.. section: Tools/Demos
+Fix 2to3 for using with --add-suffix option but without --output-dir option
+for relative path to files in current directory.
+..
+.. bpo: 32374
+.. date: 2018-01-09-17-03-54
+.. nonce: SwwLoz
+.. section: C API
+Document that m_traverse for multi-phase initialized modules can be called
+with m_state=NULL, and add a sanity check
+
+.. bpo: 24467
+.. date: 9236
+.. nonce: BAJ80-
+.. release date: 2015-07-05
+.. section: Core and Builtins
+Fixed possible buffer over-read in bytearray. The bytearray object now
+always allocates place for trailing null byte and it's buffer now is always
+null-terminated.
+..
+.. bpo: 0
+.. date: 9235
+.. nonce: 944IUY
+.. section: Core and Builtins
+Upgrade to Unicode 8.0.0.
+..
+.. bpo: 24345
+.. date: 9234
+.. nonce: fVcTaB
+.. section: Core and Builtins
+Add Py_tp_finalize slot for the stable ABI.
+..
+.. bpo: 24400
+.. date: 9233
+.. nonce: 2mNeD8
+.. section: Core and Builtins
+Introduce a distinct type for :pep:`492` coroutines; add types.CoroutineType,
+inspect.getcoroutinestate, inspect.getcoroutinelocals; coroutines no longer
+use CO_GENERATOR flag; sys.set_coroutine_wrapper works only for 'async def'
+coroutines; inspect.iscoroutine no longer uses collections.abc.Coroutine,
+it's intended to test for pure 'async def' coroutines only; add new opcode:
+GET_YIELD_FROM_ITER; fix generators wrapper used in types.coroutine to be
+instance of collections.abc.Generator; collections.abc.Awaitable and
+collections.abc.Coroutine can no longer be used to detect generator-based
+coroutines--use inspect.isawaitable instead.
+..
+.. bpo: 24450
+.. date: 9232
+.. nonce: lF0S5c
+.. section: Core and Builtins
+Add gi_yieldfrom to generators and cr_await to coroutines. Contributed by
+Benno Leslie and Yury Selivanov.
+..
+.. bpo: 19235
+.. date: 9231
+.. nonce: 0kW4n5
+.. section: Core and Builtins
+Add new RecursionError exception. Patch by Georg Brandl.
+..
+.. bpo: 21750
+.. date: 9230
+.. nonce: _Ycvgi
+.. section: Library
+mock_open.read_data can now be read from each instance, as it could in
+Python 3.3.
+..
+.. bpo: 24552
+.. date: 9229
+.. nonce: VTO6sf
+.. section: Library
+Fix use after free in an error case of the _pickle module.
+..
+.. bpo: 24514
+.. date: 9228
+.. nonce: _xRb2r
+.. section: Library
+tarfile now tolerates number fields consisting of only whitespace.
+..
+.. bpo: 19176
+.. date: 9227
+.. nonce: 8V6nOK
+.. section: Library
+Fixed doctype() related bugs in C implementation of ElementTree. A
+deprecation warning no longer issued by XMLParser subclass with default
+doctype() method. Direct call of doctype() now issues a warning. Parser's
+doctype() now is not called if target's doctype() is called. Based on patch
+by Martin Panter.
+..
+.. bpo: 20387
+.. date: 9226
+.. nonce: aAbWbQ
+.. section: Library
+Restore semantic round-trip correctness in tokenize/untokenize for
+tab-indented blocks.
+..
+.. bpo: 24456
+.. date: 9225
+.. nonce: yYSd2u
+.. section: Library
+Fixed possible buffer over-read in adpcm2lin() and lin2adpcm() functions of
+the audioop module.
+..
+.. bpo: 24336
+.. date: 9224
+.. nonce: 4a5y1m
+.. section: Library
+The contextmanager decorator now works with functions with keyword arguments
+called "func" and "self". Patch by Martin Panter.
+..
+.. bpo: 24522
+.. date: 9223
+.. nonce: PkcqCA
+.. section: Library
+Fix possible integer overflow in json accelerator module.
+..
+.. bpo: 24489
+.. date: 9222
+.. nonce: GJnMcW
+.. section: Library
+ensure a previously set C errno doesn't disturb cmath.polar().
+..
+.. bpo: 24408
+.. date: 9221
+.. nonce: vPb5UK
+.. section: Library
+Fixed AttributeError in measure() and metrics() methods of tkinter.Font.
+..
+.. bpo: 14373
+.. date: 9220
+.. nonce: CTYZ4J
+.. section: Library
+C implementation of functools.lru_cache() now can be used with methods.
+..
+.. bpo: 24347
+.. date: 9219
+.. nonce: CPPDb8
+.. section: Library
+Set KeyError if PyDict_GetItemWithError returns NULL.
+..
+.. bpo: 24348
+.. date: 9218
+.. nonce: U11rhr
+.. section: Library
+Drop superfluous incref/decref.
+..
+.. bpo: 24359
+.. date: 9217
+.. nonce: -IRNG9
+.. section: Library
+Check for changed OrderedDict size during iteration.
+..
+.. bpo: 24368
+.. date: 9216
+.. nonce: 550kDT
+.. section: Library
+Support keyword arguments in OrderedDict methods.
+..
+.. bpo: 24362
+.. date: 9215
+.. nonce: cHYce5
+.. section: Library
+Simplify the C OrderedDict fast nodes resize logic.
+..
+.. bpo: 24377
+.. date: 9214
+.. nonce: Gp1Bqr
+.. section: Library
+Fix a ref leak in OrderedDict.__repr__.
+..
+.. bpo: 24369
+.. date: 9213
+.. nonce: qFl7lZ
+.. section: Library
+Defend against key-changes during iteration.
+..
+.. bpo: 24373
+.. date: 9212
+.. nonce: 6TL2XG
+.. section: Tests
+_testmultiphase and xxlimited now use tp_traverse and tp_finalize to avoid
+reference leaks encountered when combining tp_dealloc with PyType_FromSpec
+(see issue #16690 for details)
+..
+.. bpo: 24458
+.. date: 9211
+.. nonce: 1egApX
+.. section: Documentation
+Update documentation to cover multi-phase initialization for extension
+modules (PEP 489). Patch by Petr Viktorin.
+..
+.. bpo: 24351
+.. date: 9210
+.. nonce: XeSVl5
+.. section: Documentation
+Clarify what is meant by "identifier" in the context of string.Template
+instances.
+..
+.. bpo: 24432
+.. date: 9209
+.. nonce: IvUSiN
+.. section: Build
+Update Windows builds and OS X 10.5 installer to use OpenSSL 1.0.2c.
+
+.. bpo: 24305
+.. date: 9302
+.. nonce: QeF4A8
+.. release date: 2015-09-07
+.. section: Core and Builtins
+Prevent import subsystem stack frames from being counted by the
+warnings.warn(stacklevel=) parameter.
+..
+.. bpo: 24912
+.. date: 9301
+.. nonce: ubSi5J
+.. section: Core and Builtins
+Prevent __class__ assignment to immutable built-in objects.
+..
+.. bpo: 24975
+.. date: 9300
+.. nonce: 2gLdfN
+.. section: Core and Builtins
+Fix AST compilation for :pep:`448` syntax.
+..
+.. bpo: 24917
+.. date: 9299
+.. nonce: xaQocz
+.. section: Library
+time_strftime() buffer over-read.
+..
+.. bpo: 24748
+.. date: 9298
+.. nonce: 83NuO8
+.. section: Library
+To resolve a compatibility problem found with py2exe and pywin32,
+imp.load_dynamic() once again ignores previously loaded modules to support
+Python modules replacing themselves with extension modules. Patch by Petr
+Viktorin.
+..
+.. bpo: 24635
+.. date: 9297
+.. nonce: EiJPPf
+.. section: Library
+Fixed a bug in typing.py where isinstance([], typing.Iterable) would return
+True once, then False on subsequent calls.
+..
+.. bpo: 24989
+.. date: 9296
+.. nonce: 9BJLiy
+.. section: Library
+Fixed buffer overread in BytesIO.readline() if a position is set beyond
+size. Based on patch by John Leitch.
+..
+.. bpo: 24913
+.. date: 9295
+.. nonce: p2ZAJ4
+.. section: Library
+Fix overrun error in deque.index(). Found by John Leitch and Bryce Darling.
+
+.. bpo: 32176
+.. date: 2017-12-02-21-37-22
+.. nonce: Wt25-N
+.. release date: 2017-12-05
+.. section: Core and Builtins
+co_flags.CO_NOFREE is now always set correctly by the code object
+constructor based on freevars and cellvars, rather than needing to be set
+correctly by the caller. This ensures it will be cleared automatically when
+additional cell references are injected into a modified code object and
+function.
+..
+.. bpo: 31949
+.. date: 2017-11-05-16-11-07
+.. nonce: 2yNC_z
+.. section: Core and Builtins
+Fixed several issues in printing tracebacks (PyTraceBack_Print()).
+Setting sys.tracebacklimit to 0 or less now suppresses printing tracebacks.
+Setting sys.tracebacklimit to None now causes using the default limit.
+Setting sys.tracebacklimit to an integer larger than LONG_MAX now means using
+the limit LONG_MAX rather than the default limit.
+Fixed integer overflows in the case of more than ``2**31`` traceback items on
+Windows.
+Fixed output errors handling.
+..
+.. bpo: 30696
+.. date: 2017-10-28-22-06-03
+.. nonce: lhC3HE
+.. section: Core and Builtins
+Fix the interactive interpreter looping endlessly when no memory.
+..
+.. bpo: 20047
+.. date: 2017-10-28-19-11-05
+.. nonce: GuNAto
+.. section: Core and Builtins
+Bytearray methods partition() and rpartition() now accept only bytes-like
+objects as separator, as documented. In particular they now raise TypeError
+rather of returning a bogus result when an integer is passed as a separator.
+..
+.. bpo: 31852
+.. date: 2017-10-27-19-18-44
+.. nonce: P_4cVr
+.. section: Core and Builtins
+Fix a segmentation fault caused by a combination of the async soft keyword
+and continuation lines.
+..
+.. bpo: 21720
+.. date: 2017-10-25-15-51-37
+.. nonce: BwIKLP
+.. section: Core and Builtins
+BytesWarning no longer emitted when the *fromlist* argument of
+``__import__()`` or the ``__all__`` attribute of the module contain bytes
+instances.
+..
+.. bpo: 31825
+.. date: 2017-10-20-14-07-46
+.. nonce: gJvmGW
+.. section: Core and Builtins
+Fixed OverflowError in the 'unicode-escape' codec and in
+codecs.escape_decode() when decode an escaped non-ascii byte.
+..
+.. bpo: 28603
+.. date: 2017-10-17-13-29-19
+.. nonce: _-oia3
+.. section: Core and Builtins
+Print the full context/cause chain of exceptions on interpreter exit, even
+if an exception in the chain is unhashable or compares equal to later ones.
+Patch by Zane Bitter.
+..
+.. bpo: 31786
+.. date: 2017-10-15-23-44-57
+.. nonce: XwdEP4
+.. section: Core and Builtins
+Fix timeout rounding in the select module to round correctly negative
+timeouts between -1.0 and 0.0. The functions now block waiting for events as
+expected. Previously, the call was incorrectly non-blocking. Patch by Pablo
+Galindo.
+..
+.. bpo: 31642
+.. date: 2017-10-08-10-00-55
+.. nonce: 1IKqgs
+.. section: Core and Builtins
+Restored blocking "from package import module" by setting
+sys.modules["package.module"] to None.
+..
+.. bpo: 31626
+.. date: 2017-10-01-15-48-03
+.. nonce: reLPxY
+.. section: Core and Builtins
+Fixed a bug in debug memory allocator. There was a write to freed memory
+after shrinking a memory block.
+..
+.. bpo: 31619
+.. date: 2017-09-29-20-32-24
+.. nonce: 6gQ1kv
+.. section: Core and Builtins
+Fixed a ValueError when convert a string with large number of underscores to
+integer with binary base.
+..
+.. bpo: 31592
+.. date: 2017-09-26-16-05-04
+.. nonce: IFBZj9
+.. section: Core and Builtins
+Fixed an assertion failure in Python parser in case of a bad
+``unicodedata.normalize()``. Patch by Oren Milman.
+..
+.. bpo: 31588
+.. date: 2017-09-26-13-03-16
+.. nonce: wT9Iy7
+.. section: Core and Builtins
+Raise a ``TypeError`` with a helpful error message when class creation fails
+due to a metaclass with a bad ``__prepare__()`` method. Patch by Oren
+Milman.
+..
+.. bpo: 31566
+.. date: 2017-09-24-09-57-04
+.. nonce: OxwINs
+.. section: Core and Builtins
+Fix an assertion failure in ``_warnings.warn()`` in case of a bad ``__name__``
+global. Patch by Oren Milman.
+..
+.. bpo: 31505
+.. date: 2017-09-18-12-07-39
+.. nonce: VomaFa
+.. section: Core and Builtins
+Fix an assertion failure in ``json``, in case ``_json.make_encoder()`` received
+a bad ``encoder()`` argument. Patch by Oren Milman.
+..
+.. bpo: 31492
+.. date: 2017-09-16-22-49-16
+.. nonce: RtyteL
+.. section: Core and Builtins
+Fix assertion failures in case of failing to import from a module with a bad
+``__name__`` attribute, and in case of failing to access an attribute of
+such a module. Patch by Oren Milman.
+..
+.. bpo: 31490
+.. date: 2017-09-16-13-32-35
+.. nonce: r7m2sj
+.. section: Core and Builtins
+Fix an assertion failure in ``ctypes`` class definition, in case the class has
+an attribute whose name is specified in ``_anonymous_`` but not in
+``_fields_``. Patch by Oren Milman.
+..
+.. bpo: 31478
+.. date: 2017-09-15-09-13-07
+.. nonce: o06iKD
+.. section: Core and Builtins
+Fix an assertion failure in ``_random.Random.seed()`` in case the argument has
+a bad ``__abs__()`` method. Patch by Oren Milman.
+..
+.. bpo: 31315
+.. date: 2017-09-01-00-40-58
+.. nonce: ZX20bl
+.. section: Core and Builtins
+Fix an assertion failure in imp.create_dynamic(), when spec.name is not a
+string. Patch by Oren Milman.
+..
+.. bpo: 31311
+.. date: 2017-08-31-17-52-56
+.. nonce: bNE2l-
+.. section: Core and Builtins
+Fix a crash in the ``__setstate__()`` method of ``ctypes._CData``, in case of
+a bad ``__dict__``. Patch by Oren Milman.
+..
+.. bpo: 31293
+.. date: 2017-08-28-17-51-42
+.. nonce: eMYZXj
+.. section: Core and Builtins
+Fix crashes in true division and multiplication of a timedelta object by a
+float with a bad as_integer_ratio() method. Patch by Oren Milman.
+..
+.. bpo: 31285
+.. date: 2017-08-27-21-18-30
+.. nonce: 7lzaKV
+.. section: Core and Builtins
+Fix an assertion failure in ``warnings.warn_explicit``, when the return value
+of the received loader's ``get_source()`` has a bad ``splitlines()`` method. Patch
+by Oren Milman.
+..
+.. bpo: 30817
+.. date: 2017-07-01-15-11-13
+.. nonce: j7ZvN_
+.. section: Core and Builtins
+``PyErr_PrintEx()`` clears now the ignored exception that may be raised by
+``_PySys_SetObjectId()``, for example when no memory.
+..
+.. bpo: 28556
+.. date: 2017-12-05-02-03-07
+.. nonce: 9Z_PsJ
+.. section: Library
+Two minor fixes for ``typing`` module: allow shallow copying instances of
+generic classes, improve interaction of ``__init_subclass__`` with generics.
+Original PRs by Ivan Levkivskyi.
+..
+.. bpo: 27240
+.. date: 2017-12-02-16-06-00
+.. nonce: Kji34M
+.. section: Library
+The header folding algorithm for the new email policies has been rewritten,
+which also fixes bpo-30788, bpo-31831, and bpo-32182. In particular,
+RFC2231 folding is now done correctly.
+..
+.. bpo: 32186
+.. date: 2017-11-30-20-38-16
+.. nonce: O42bVe
+.. section: Library
+io.FileIO.readall() and io.FileIO.read() now release the GIL when getting
+the file size. Fixed hang of all threads with inaccessible NFS server. Patch
+by Nir Soffer.
+..
+.. bpo: 12239
+.. date: 2017-11-24-14-07-55
+.. nonce: Nj3A0x
+.. section: Library
+Make :meth:`!msilib.SummaryInformation.GetProperty` return ``None`` when the
+value of property is ``VT_EMPTY``. Initial patch by Mark Mc Mahon.
+..
+.. bpo: 31325
+.. date: 2017-11-23-22-12-11
+.. nonce: 8jAUxN
+.. section: Library
+Fix wrong usage of :func:`collections.namedtuple` in the
+:meth:`RobotFileParser.parse() `
+method.
+Initial patch by Robin Wellner.
+..
+.. bpo: 12382
+.. date: 2017-11-23-21-47-36
+.. nonce: xWT9k0
+.. section: Library
+:func:`!msilib.OpenDatabase` now raises a better exception message when it
+couldn't open or create an MSI file. Initial patch by William Tisäter.
+..
+.. bpo: 32110
+.. date: 2017-11-22-09-44-15
+.. nonce: VJa9bo
+.. section: Library
+``codecs.StreamReader.read(n)`` now returns not more than *n*
+characters/bytes for non-negative *n*. This makes it compatible with
+``read()`` methods of other file-like objects.
+..
+.. bpo: 32072
+.. date: 2017-11-18-21-13-52
+.. nonce: nwDV8L
+.. section: Library
+Fixed issues with binary plists:
+Fixed saving bytearrays.
+Identical objects will be saved only once.
+Equal references will be load as identical objects.
+Added support for saving and loading recursive data structures.
+..
+.. bpo: 32034
+.. date: 2017-11-15-13-44-28
+.. nonce: uHAOmu
+.. section: Library
+Make asyncio.IncompleteReadError and LimitOverrunError pickleable.
+..
+.. bpo: 32015
+.. date: 2017-11-13-17-48-33
+.. nonce: 4nqRTD
+.. section: Library
+Fixed the looping of asyncio in the case of reconnection the socket during
+waiting async read/write from/to the socket.
+..
+.. bpo: 32011
+.. date: 2017-11-12-20-47-59
+.. nonce: NzVDdZ
+.. section: Library
+Restored support of loading marshal files with the TYPE_INT64 code. These
+files can be produced in Python 2.7.
+..
+.. bpo: 31970
+.. date: 2017-11-07-14-20-09
+.. nonce: x4EN_9
+.. section: Library
+Reduce performance overhead of asyncio debug mode.
+..
+.. bpo: 9678
+.. date: 2017-11-03-22-05-47
+.. nonce: oD51q6
+.. section: Library
+Fixed determining the MAC address in the uuid module:
+Using ifconfig on NetBSD and OpenBSD.
+Using arp on Linux, FreeBSD, NetBSD and OpenBSD.
+Based on patch by Takayuki Shimizukawa.
+..
+.. bpo: 30057
+.. date: 2017-11-03-19-11-43
+.. nonce: NCaijI
+.. section: Library
+Fix potential missed signal in signal.signal().
+..
+.. bpo: 31933
+.. date: 2017-11-03-08-36-03
+.. nonce: UrtoMP
+.. section: Library
+Fix Blake2 params leaf_size and node_offset on big endian platforms. Patch
+by Jack O'Connor.
+..
+.. bpo: 31927
+.. date: 2017-11-02-18-26-40
+.. nonce: 40K6kp
+.. section: Library
+Fixed compilation of the socket module on NetBSD 8. Fixed assertion failure
+or reading arbitrary data when parse a AF_BLUETOOTH address on NetBSD and
+DragonFly BSD.
+..
+.. bpo: 27666
+.. date: 2017-11-01-18-13-42
+.. nonce: j2zRnF
+.. section: Library
+Fixed stack corruption in curses.box() and curses.ungetmouse() when the size
+of types chtype or mmask_t is less than the size of C long. curses.box()
+now accepts characters as arguments. Based on patch by Steve Fink.
+..
+.. bpo: 31897
+.. date: 2017-10-30-11-04-56
+.. nonce: yjwdEb
+.. section: Library
+plistlib now catches more errors when read binary plists and raises
+InvalidFileException instead of unexpected exceptions.
+..
+.. bpo: 25720
+.. date: 2017-10-29-17-52-40
+.. nonce: vSvb5h
+.. section: Library
+Fix the method for checking pad state of curses WINDOW. Patch by Masayuki
+Yamamoto.
+..
+.. bpo: 31893
+.. date: 2017-10-29-13-51-01
+.. nonce: 8LZKEz
+.. section: Library
+Fixed the layout of the kqueue_event structure on OpenBSD and NetBSD. Fixed
+the comparison of the kqueue_event objects.
+..
+.. bpo: 31891
+.. date: 2017-10-29-11-23-24
+.. nonce: 9kAPha
+.. section: Library
+Fixed building the curses module on NetBSD.
+..
+.. bpo: 28416
+.. date: 2017-10-23-12-05-33
+.. nonce: Ldnw8X
+.. section: Library
+Instances of pickle.Pickler subclass with the persistent_id() method and
+pickle.Unpickler subclass with the persistent_load() method no longer create
+reference cycles.
+..
+.. bpo: 28326
+.. date: 2017-10-22-11-06-02
+.. nonce: rxh7L4
+.. section: Library
+Fix multiprocessing.Process when stdout and/or stderr is closed or None.
+..
+.. bpo: 31457
+.. date: 2017-10-18-19-05-17
+.. nonce: KlE6r8
+.. section: Library
+If nested log adapters are used, the inner ``process()`` methods are no
+longer omitted.
+..
+.. bpo: 31457
+.. date: 2017-10-18-16-48-09
+.. nonce: _ovmzp
+.. section: Library
+The ``manager`` property on LoggerAdapter objects is now properly settable.
+..
+.. bpo: 31806
+.. date: 2017-10-17-23-27-03
+.. nonce: TzphdL
+.. section: Library
+Fix timeout rounding in time.sleep(), threading.Lock.acquire() and
+socket.socket.settimeout() to round correctly negative timeouts between -1.0
+and 0.0. The functions now block waiting for events as expected. Previously,
+the call was incorrectly non-blocking. Patch by Pablo Galindo.
+..
+.. bpo: 28603
+.. date: 2017-10-17-12-29-18
+.. nonce: tGuX2C
+.. section: Library
+traceback: Fix a TypeError that occurred during printing of exception
+tracebacks when either the current exception or an exception in its
+context/cause chain is unhashable. Patch by Zane Bitter.
+..
+.. bpo: 30058
+.. date: 2017-10-12-19-00-53
+.. nonce: cENtry
+.. section: Library
+Fixed buffer overflow in select.kqueue.control().
+..
+.. bpo: 31770
+.. date: 2017-10-12-18-45-38
+.. nonce: GV3MPx
+.. section: Library
+Prevent a crash when calling the ``__init__()`` method of a
+``sqlite3.Cursor`` object more than once. Patch by Oren Milman.
+..
+.. bpo: 31672
+.. date: 2017-10-12-02-47-16
+.. nonce: DaOkVd
+.. section: Library
+``idpattern`` in ``string.Template`` matched some non-ASCII characters. Now
+it uses ``-i`` regular expression local flag to avoid non-ASCII characters.
+..
+.. bpo: 31764
+.. date: 2017-10-11-22-18-04
+.. nonce: EMyIkK
+.. section: Library
+Prevent a crash in ``sqlite3.Cursor.close()`` in case the ``Cursor`` object
+is uninitialized. Patch by Oren Milman.
+..
+.. bpo: 31752
+.. date: 2017-10-11-00-45-01
+.. nonce: DhWevN
+.. section: Library
+Fix possible crash in timedelta constructor called with custom integers.
+..
+.. bpo: 31701
+.. date: 2017-10-09-17-42-30
+.. nonce: NRrVel
+.. section: Library
+On Windows, faulthandler.enable() now ignores MSC and COM exceptions.
+..
+.. bpo: 31728
+.. date: 2017-10-08-23-28-30
+.. nonce: XrVMME
+.. section: Library
+Prevent crashes in ``_elementtree`` due to unsafe cleanup of ``Element.text``
+and ``Element.tail``. Patch by Oren Milman.
+..
+.. bpo: 31620
+.. date: 2017-10-06-04-35-31
+.. nonce: gksLA1
+.. section: Library
+an empty asyncio.Queue now doesn't leak memory when queue.get pollers
+timeout
+..
+.. bpo: 31632
+.. date: 2017-10-04-11-37-14
+.. nonce: LiOC3C
+.. section: Library
+Fix method set_protocol() of class _SSLProtocolTransport in asyncio module.
+This method was previously modifying a wrong reference to the protocol.
+..
+.. bpo: 31675
+.. date: 2017-10-03-15-06-24
+.. nonce: Nh7jJ3
+.. section: Library
+Fixed memory leaks in Tkinter's methods splitlist() and split() when pass a
+string larger than 2 GiB.
+..
+.. bpo: 31673
+.. date: 2017-10-03-14-37-46
+.. nonce: RFCrka
+.. section: Library
+Fixed typo in the name of Tkinter's method adderrorinfo().
+..
+.. bpo: 30806
+.. date: 2017-09-29
+.. nonce: lP5GrH
+.. section: Library
+Fix the string representation of a netrc object.
+..
+.. bpo: 15037
+.. date: 2017-09-29-19-19-36
+.. nonce: ykimLK
+.. section: Library
+Added a workaround for getkey() in curses for ncurses 5.7 and earlier.
+..
+.. bpo: 25351
+.. date: 2017-09-28-23-10-51
+.. nonce: 2JmFpF
+.. section: Library
+Avoid venv activate failures with undefined variables
+..
+.. bpo: 25532
+.. date: 2017-09-27-08-11-38
+.. nonce: ey4Yez
+.. section: Library
+inspect.unwrap() will now only try to unwrap an object
+sys.getrecursionlimit() times, to protect against objects which create a new
+object on every attribute access.
+..
+.. bpo: 30347
+.. date: 2017-09-25-14-04-30
+.. nonce: B4--_D
+.. section: Library
+Stop crashes when concurrently iterate over itertools.groupby() iterators.
+..
+.. bpo: 31516
+.. date: 2017-09-20-18-43-01
+.. nonce: 23Yuq3
+.. section: Library
+``threading.current_thread()`` should not return a dummy thread at shutdown.
+..
+.. bpo: 31351
+.. date: 2017-09-17-15-24-25
+.. nonce: yQdKv-
+.. section: Library
+python -m ensurepip now exits with non-zero exit code if pip bootstrapping
+has failed.
+..
+.. bpo: 31482
+.. date: 2017-09-16-01-53-11
+.. nonce: 39s5dS
+.. section: Library
+``random.seed()`` now works with bytes in version=1
+..
+.. bpo: 31334
+.. date: 2017-09-04-00-22-31
+.. nonce: 9WYRfi
+.. section: Library
+Fix ``poll.poll([timeout])`` in the ``select`` module for arbitrary negative
+timeouts on all OSes where it can only be a non-negative integer or -1.
+Patch by Riccardo Coccioli.
+..
+.. bpo: 31310
+.. date: 2017-08-30-18-23-54
+.. nonce: 7D1UNt
+.. section: Library
+multiprocessing's semaphore tracker should be launched again if crashed.
+..
+.. bpo: 31308
+.. date: 2017-08-30-17-59-36
+.. nonce: KbexyC
+.. section: Library
+Make multiprocessing's forkserver process immune to Ctrl-C and other user
+interruptions. If it crashes, restart it when necessary.
+..
+.. bpo: 32105
+.. date: 2017-11-21-10-54-16
+.. nonce: 91mhWm
+.. section: Documentation
+Added asyncio.BaseEventLoop.connect_accepted_socket versionadded marker.
+..
+.. bpo: 31537
+.. date: 2017-10-08-23-02-14
+.. nonce: SiFNM8
+.. section: Documentation
+Fix incorrect usage of ``get_history_length`` in readline documentation
+example code. Patch by Brad Smith.
+..
+.. bpo: 30085
+.. date: 2017-09-14-18-44-50
+.. nonce: 0J9w-u
+.. section: Documentation
+The operator functions without double underscores are preferred for clarity.
+The one with underscores are only kept for back-compatibility.
+..
+.. bpo: 31380
+.. date: 2017-12-04-23-19-16
+.. nonce: VlMmHW
+.. section: Tests
+Skip test_httpservers test_undecodable_file on macOS: fails on APFS.
+..
+.. bpo: 31705
+.. date: 2017-11-30-12-27-10
+.. nonce: yULW7O
+.. section: Tests
+Skip test_socket.test_sha256() on Linux kernel older than 4.5. The test
+fails with ENOKEY on kernel 3.10 (on ppc64le). A fix was merged into the
+kernel 4.5.
+..
+.. bpo: 31174
+.. date: 2017-10-24-11-36-10
+.. nonce: xCvXcr
+.. section: Tests
+Fix test_tools.test_unparse: DirectoryTestCase now stores the names sample
+to always test the same files. It prevents false alarms when hunting
+reference leaks.
+..
+.. bpo: 30695
+.. date: 2017-06-30-11-20-20
+.. nonce: lo7FQX
+.. section: Tests
+Add the ``set_nomemory(start, stop)`` and ``remove_mem_hooks()`` functions to
+the ``_testcapi`` module.
+..
+.. bpo: 32059
+.. date: 2017-11-18-11-19-28
+.. nonce: a0Hxgp
+.. section: Build
+``detect_modules()`` in ``setup.py`` now also searches the sysroot paths
+when cross-compiling.
+..
+.. bpo: 31957
+.. date: 2017-11-06-11-53-39
+.. nonce: S_1jFK
+.. section: Build
+Fixes Windows SDK version detection when building for Windows.
+..
+.. bpo: 31609
+.. date: 2017-11-04-15-35-08
+.. nonce: k7_nBR
+.. section: Build
+Fixes quotes in PCbuild/clean.bat
+..
+.. bpo: 31934
+.. date: 2017-11-03-15-17-50
+.. nonce: 8bUlpv
+.. section: Build
+Abort the build when building out of a not clean source tree.
+..
+.. bpo: 31926
+.. date: 2017-11-03-10-07-14
+.. nonce: 57wE98
+.. section: Build
+Fixed Argument Clinic sometimes causing compilation errors when there was
+more than one function and/or method in a .c file with the same name.
+..
+.. bpo: 28791
+.. date: 2017-11-02-20-30-57
+.. nonce: VaE3o8
+.. section: Build
+Update Windows builds to use SQLite 3.21.0.
+..
+.. bpo: 28791
+.. date: 2017-11-02-20-13-46
+.. nonce: STt3jL
+.. section: Build
+Update OS X installer to use SQLite 3.21.0.
+..
+.. bpo: 22140
+.. date: 2017-09-26-22-39-58
+.. nonce: ZRf7Wn
+.. section: Build
+Prevent double substitution of prefix in python-config.sh.
+..
+.. bpo: 31536
+.. date: 2017-09-20-21-32-21
+.. nonce: KUDjno
+.. section: Build
+Avoid wholesale rebuild after ``make regen-all`` if nothing changed.
+..
+.. bpo: 1102
+.. date: 2017-11-19-09-46-27
+.. nonce: NY-g1F
+.. section: Windows
+Return ``None`` when ``View.Fetch()`` returns ``ERROR_NO_MORE_ITEMS``
+instead of raising ``MSIError``.
+Initial patch by Anthony Tuininga.
+..
+.. bpo: 31944
+.. date: 2017-11-04-15-29-47
+.. nonce: 0Bx8tZ
+.. section: Windows
+Fixes Modify button in Apps and Features dialog.
+..
+.. bpo: 31392
+.. date: 2017-12-04-21-57-43
+.. nonce: f8huBC
+.. section: macOS
+Update macOS installer to use OpenSSL 1.0.2m
+..
+.. bpo: 32207
+.. date: 2017-12-04-15-04-43
+.. nonce: IzyAJo
+.. section: IDLE
+Improve tk event exception tracebacks in IDLE. When tk event handling is
+driven by IDLE's run loop, a confusing and distracting queue.EMPTY traceback
+context is no longer added to tk event exception tracebacks. The traceback
+is now the same as when event handling is driven by user code. Patch based
+on a suggestion by Serhiy Storchaka.
+..
+.. bpo: 32164
+.. date: 2017-11-28-21-47-15
+.. nonce: 2T2Na8
+.. section: IDLE
+Delete unused file idlelib/tabbedpages.py. Use of TabbedPageSet in
+configdialog was replaced by ttk.Notebook.
+..
+.. bpo: 32100
+.. date: 2017-11-21-08-26-08
+.. nonce: P43qx2
+.. section: IDLE
+IDLE: Fix old and new bugs in pathbrowser; improve tests. Patch mostly by
+Cheryl Sabella.
+..
+.. bpo: 31858
+.. date: 2017-10-26-20-20-19
+.. nonce: VuSA_e
+.. section: IDLE
+IDLE -- Restrict shell prompt manipulation to the shell. Editor and output
+windows only see an empty last prompt line. This simplifies the code and
+fixes a minor bug when newline is inserted. Sys.ps1, if present, is read on
+Shell start-up, but is not set or changed.
+..
+.. bpo: 31860
+.. date: 2017-10-24-16-21-50
+.. nonce: gECuWx
+.. section: IDLE
+The font sample in the IDLE configuration dialog is now editable. Changes
+persist while IDLE remains open
+..
+.. bpo: 31836
+.. date: 2017-10-21-15-41-53
+.. nonce: fheLME
+.. section: IDLE
+Test_code_module now passes if run after test_idle, which sets ps1.
+The code module uses sys.ps1 if present or sets it to '>>> ' if not.
+Test_code_module now properly tests both behaviors. Ditto for ps2.
+..
+.. bpo: 28603
+.. date: 2017-10-17-13-26-13
+.. nonce: TMEQfp
+.. section: IDLE
+Fix a TypeError that caused a shell restart when printing a traceback that
+includes an exception that is unhashable. Patch by Zane Bitter.
+..
+.. bpo: 13802
+.. date: 2017-10-12-00-51-29
+.. nonce: VwjZRD
+.. section: IDLE
+Use non-Latin characters in the IDLE's Font settings sample. Even if one
+selects a font that defines a limited subset of the unicode Basic
+Multilingual Plane, tcl/tk will use other fonts that define a character. The
+expanded example give users of non-Latin characters a better idea of what
+they might see in IDLE's shell and editors. To make room for the expanded
+sample, frames on the Font tab are re-arranged. The Font/Tabs help explains
+a bit about the additions.
+..
+.. bpo: 31460
+.. date: 2017-09-30-19-03-26
+.. nonce: HpveI6
+.. section: IDLE
+Simplify the API of IDLE's Module Browser.
+Passing a widget instead of an flist with a root widget opens the option of
+creating a browser frame that is only part of a window. Passing a full file
+name instead of pieces assumed to come from a .py file opens the possibility
+of browsing python files that do not end in .py.
+..
+.. bpo: 31649
+.. date: 2017-09-30-13-59-18
+.. nonce: LxN4Vb
+.. section: IDLE
+IDLE - Make _htest, _utest parameters keyword only.
+..
+.. bpo: 31559
+.. date: 2017-09-23-12-52-24
+.. nonce: ydckYX
+.. section: IDLE
+Remove test order dependence in idle_test.test_browser.
+..
+.. bpo: 31459
+.. date: 2017-09-22-20-26-23
+.. nonce: L0pnH9
+.. section: IDLE
+Rename IDLE's module browser from Class Browser to Module Browser. The
+original module-level class and method browser became a module browser, with
+the addition of module-level functions, years ago. Nested classes and
+functions were added yesterday. For back-compatibility, the virtual event
+<>, which appears on the Keys tab of the Settings
+dialog, is not changed. Patch by Cheryl Sabella.
+..
+.. bpo: 31500
+.. date: 2017-09-18-10-43-03
+.. nonce: Y_YDxA
+.. section: IDLE
+Default fonts now are scaled on HiDPI displays.
+..
+.. bpo: 1612262
+.. date: 2017-08-14-15-13-50
+.. nonce: -x_Oyq
+.. section: IDLE
+IDLE module browser now shows nested classes and functions. Original patches
+for code and tests by Guilherme Polo and Cheryl Sabella, respectively.
+..
+.. bpo: 30722
+.. date: 2017-10-23-19-45-52
+.. nonce: ioRlAu
+.. section: Tools/Demos
+Make redemo work with Python 3.6 and newer versions.
+Also, remove the ``LOCALE`` option since it doesn't work with string
+patterns in Python 3.
+Patch by Christoph Sarnowski.
+..
+.. bpo: 20891
+.. date: 2017-11-30-18-13-45
+.. nonce: wBnMdF
+.. section: C API
+Fix PyGILState_Ensure(). When PyGILState_Ensure() is called in a non-Python
+thread before PyEval_InitThreads(), only call PyEval_InitThreads() after
+calling PyThreadState_New() to fix a crash.
+..
+.. bpo: 31532
+.. date: 2017-09-20-21-59-52
+.. nonce: s9Cw9_
+.. section: C API
+Fix memory corruption due to allocator mix in getpath.c between Py_GetPath()
+and Py_SetPath()
+..
+.. bpo: 30697
+.. date: 2017-06-30-11-58-01
+.. nonce: Q3T_8n
+.. section: C API
+The ``PyExc_RecursionErrorInst`` singleton is removed and
+``PyErr_NormalizeException()`` does not use it anymore. This singleton is
+persistent and its members being never cleared may cause a segfault during
+finalization of the interpreter. See also issue #22898.
+
+.. bpo: 46009
+.. date: 2021-12-08-11-06-53
+.. nonce: cL8pH0
+.. release date: 2021-12-08
+.. section: Core and Builtins
+Restore behavior from 3.9 and earlier when sending non-None to newly started
+generator. In 3.9 this did not affect the state of the generator. In 3.10.0
+and 3.10.1 ``gen_func().send(0)`` is equivalent to
+``gen_func().throw(TypeError(...)`` which exhausts the generator. In 3.10.2
+onward, the behavior has been reverted to that of 3.9.
+..
+.. bpo: 46004
+.. date: 2021-12-07-11-24-24
+.. nonce: TTEU1p
+.. section: Core and Builtins
+Fix the :exc:`SyntaxError` location for errors involving for loops with
+invalid targets. Patch by Pablo Galindo
+..
+.. bpo: 45711
+.. date: 2021-12-05-17-36-08
+.. nonce: 3TmTSw
+.. section: Core and Builtins
+:c:func:`!_PyErr_ChainStackItem` no longer normalizes ``exc_info`` (including
+setting the traceback on the exception instance) because ``exc_info`` is
+always normalized.
+..
+.. bpo: 45607
+.. date: 2021-12-01-15-38-04
+.. nonce: JhuF8b
+.. section: Core and Builtins
+The ``__note__`` field was added to :exc:`BaseException`. It is ``None`` by
+default but can be set to a string which is added to the exception's
+traceback.
+..
+.. bpo: 45947
+.. date: 2021-12-01-14-06-36
+.. nonce: 1XPPm_
+.. section: Core and Builtins
+Place pointers to dict and values immediately before GC header. This reduces
+number of dependent memory loads to access either dict or values from 3 to
+1.
+..
+.. bpo: 45915
+.. date: 2021-11-28-11-25-08
+.. nonce: TSGcLF
+.. section: Core and Builtins
+``is_valid_fd`` now uses faster ``fcntl(fd, F_GETFD)`` on Linux, macOS, and
+Windows.
+..
+.. bpo: 44530
+.. date: 2021-11-26-23-26-25
+.. nonce: EZ0gel
+.. section: Core and Builtins
+Reverts a change to the ``code.__new__`` :ref:`audit event `
+from an earlier prerelease.
+..
+.. bpo: 42268
+.. date: 2021-11-26-22-31-22
+.. nonce: 3wl-09
+.. section: Core and Builtins
+Fail the configure step if the selected compiler doesn't support memory
+sanitizer. Patch by Pablo Galindo
+..
+.. bpo: 45711
+.. date: 2021-11-25-17-51-29
+.. nonce: D2igmz
+.. section: Core and Builtins
+The three values of ``exc_info`` are now always consistent with each other.
+In particular, the ``type`` and ``traceback`` fields are now derived from
+the exception instance. This impacts the return values of
+:func:`sys.exc_info` and :c:func:`PyErr_GetExcInfo()` if the exception
+instance is modified while the exception is handled, as well as
+:c:func:`PyErr_SetExcInfo()`, which now ignores the ``type`` and
+``traceback`` arguments provided to it.
+..
+.. bpo: 45727
+.. date: 2021-11-24-18-24-49
+.. nonce: _xVbbo
+.. section: Core and Builtins
+Refine the custom syntax error that suggests that a comma may be missing to
+trigger only when the expressions are detected between parentheses or
+brackets. Patch by Pablo Galindo
+..
+.. bpo: 45885
+.. date: 2021-11-23-21-01-56
+.. nonce: 3IxeCX
+.. section: Core and Builtins
+Specialized the ``COMPARE_OP`` opcode using the PEP 659 machinery.
+..
+.. bpo: 45786
+.. date: 2021-11-23-15-25-00
+.. nonce: UdEciD
+.. section: Core and Builtins
+Allocate space for the interpreter frame in the frame object, to avoid an
+additional allocation when the frame object outlives the frame activation.
+..
+.. bpo: 45614
+.. date: 2021-11-23-12-06-41
+.. nonce: fIekgI
+.. section: Library
+Fix :mod:`traceback` display for exceptions with invalid module name.
+..
+.. bpo: 45813
+.. date: 2021-11-22-11-28-13
+.. nonce: ZMaWE2
+.. section: Core and Builtins
+Fix crash when calling coro.cr_frame.clear() after coroutine has been freed.
+..
+.. bpo: 45811
+.. date: 2021-11-20-02-25-06
+.. nonce: B-1Gsr
+.. section: Core and Builtins
+Improve the tokenizer errors when encountering invisible control characters
+in the parser. Patch by Pablo Galindo
+..
+.. bpo: 45848
+.. date: 2021-11-19-22-57-42
+.. nonce: HgVBJ5
+.. section: Core and Builtins
+Allow the parser to obtain error lines directly from encoded files. Patch by
+Pablo Galindo
+..
+.. bpo: 45709
+.. date: 2021-11-19-13-17-47
+.. nonce: H_t7ut
+.. section: Core and Builtins
+Restore behavior from 3.10 when tracing an exception raised within a with
+statement.
+..
+.. bpo: 44525
+.. date: 2021-11-18-10-02-02
+.. nonce: M4xwn_
+.. section: Core and Builtins
+Adds new :opcode:`COPY_FREE_VARS` opcode, to make copying of free variables
+from function to frame explicit. Helps optimization of calls to Python
+function.
+..
+.. bpo: 45829
+.. date: 2021-11-17-10-14-35
+.. nonce: 5Cf6fY
+.. section: Core and Builtins
+Specialize :opcode:`BINARY_SUBSCR` for classes with a ``__getitem__`` method
+implemented in Python
+..
+.. bpo: 45826
+.. date: 2021-11-17-08-05-27
+.. nonce: OERoTm
+.. section: Core and Builtins
+Fixed a crash when calling ``.with_traceback(None)`` on ``NameError``. This
+occurs internally in ``unittest.TestCase.assertRaises()``.
+..
+.. bpo: 45822
+.. date: 2021-11-16-19-41-04
+.. nonce: OT6ueS
+.. section: Core and Builtins
+Fixed a bug in the parser that was causing it to not respect :pep:`263`
+coding cookies when no flags are provided. Patch by Pablo Galindo
+..
+.. bpo: 45820
+.. date: 2021-11-16-19-00-27
+.. nonce: 2X6Psr
+.. section: Core and Builtins
+Fix a segfault when the parser fails without reading any input. Patch by
+Pablo Galindo
+..
+.. bpo: 45636
+.. date: 2021-11-15-13-32-54
+.. nonce: RDlTdL
+.. section: Core and Builtins
+Simplify the implementation of :opcode:`BINARY_OP` by indexing into an array
+of function pointers (rather than switching on the oparg).
+..
+.. bpo: 42540
+.. date: 2021-11-15-12-08-27
+.. nonce: V2w107
+.. section: Core and Builtins
+Fix crash when :func:`os.fork` is called with an active non-default memory
+allocator.
+..
+.. bpo: 45738
+.. date: 2021-11-14-00-14-45
+.. nonce: e0cgKd
+.. section: Core and Builtins
+Fix computation of error location for invalid continuation characters in the
+parser. Patch by Pablo Galindo.
+..
+.. bpo: 45636
+.. date: 2021-11-11-19-11-57
+.. nonce: 2fyIVm
+.. section: Core and Builtins
+Remove an existing "fast path" for old-style string formatting, since it no
+longer appears to have any measurable impact.
+..
+.. bpo: 45753
+.. date: 2021-11-11-17-14-21
+.. nonce: nEBFcC
+.. section: Core and Builtins
+Make recursion checks a bit more efficient by tracking amount of calls left
+before overflow.
+..
+.. bpo: 45773
+.. date: 2021-11-09-13-01-35
+.. nonce: POU8A4
+.. section: Core and Builtins
+Fix a compiler hang when attempting to optimize certain jump patterns.
+..
+.. bpo: 45764
+.. date: 2021-11-09-12-19-22
+.. nonce: 8RLhWL
+.. section: Core and Builtins
+The parser now gives a better error message when leaving out the opening
+parenthesis ``(`` after a ``def``-statement::
+>>> def f:
+File "", line 1
+def f:
+^
+SyntaxError: expected '('
+..
+.. bpo: 45609
+.. date: 2021-10-27-21-00-49
+.. nonce: L1GKPX
+.. section: Core and Builtins
+Specialized the ``STORE_SUBSCR`` opcode using the PEP 659 machinery.
+..
+.. bpo: 45636
+.. date: 2021-10-27-15-14-31
+.. nonce: K2X7QS
+.. section: Core and Builtins
+Replace all numeric ``BINARY_*`` and ``INPLACE_*`` instructions with a
+single :opcode:`BINARY_OP` implementation.
+..
+.. bpo: 45582
+.. date: 2021-10-23-00-39-31
+.. nonce: YONPuo
+.. section: Core and Builtins
+Path calculation (known as ``getpath``) has been reimplemented as a frozen
+Python module. This should have no visible impact, but may affect
+calculation of all paths referenced in :mod:`sys` and :mod:`sysconfig`.
+..
+.. bpo: 45450
+.. date: 2021-10-12-18-22-44
+.. nonce: d9a-bX
+.. section: Core and Builtins
+Improve the syntax error message for parenthesized arguments. Patch by Pablo
+Galindo.
+..
+.. bpo: 27946
+.. date: 2021-12-04-20-08-42
+.. nonce: -Vuarf
+.. section: Library
+Fix possible crash when getting an attribute of
+:class:`xml.etree.ElementTree.Element` simultaneously with replacing the
+``attrib`` dict.
+..
+.. bpo: 45711
+.. date: 2021-12-02-17-22-06
+.. nonce: D6jsdv
+.. section: Library
+Make :mod:`asyncio` normalize exceptions as soon as they are captured with
+:c:func:`PyErr_Fetch`, and before they are stored as an exc_info triplet.
+This brings :mod:`asyncio` in line with the rest of the codebase, where an
+exc_info triplet is always normalized.
+..
+.. bpo: 23819
+.. date: 2021-12-02-14-37-30
+.. nonce: An6vkT
+.. section: Library
+Replaced asserts with exceptions in asyncio, patch by Kumar Aditya.
+..
+.. bpo: 13236
+.. date: 2021-11-30-13-52-02
+.. nonce: FmJIkO
+.. section: Library
+:class:`unittest.TextTestResult` and :class:`unittest.TextTestRunner` flush
+now the output stream more often.
+..
+.. bpo: 45917
+.. date: 2021-11-28-17-24-11
+.. nonce: J5TIrd
+.. section: Library
+Added :func:`math.exp2`:, which returns 2 raised to the power of x.
+..
+.. bpo: 37658
+.. date: 2021-11-28-15-30-34
+.. nonce: 8Hno7d
+.. section: Library
+Fix issue when on certain conditions ``asyncio.wait_for()`` may allow a
+coroutine to complete successfully, but fail to return the result,
+potentially causing memory leaks or other issues.
+..
+.. bpo: 45876
+.. date: 2021-11-23-15-36-56
+.. nonce: NO8Yaj
+.. section: Library
+Improve the accuracy of stdev() and pstdev() in the statistics module. When
+the inputs are floats or fractions, the output is a correctly rounded float
+..
+.. bpo: 44649
+.. date: 2021-11-21-20-50-42
+.. nonce: E8M936
+.. section: Library
+Handle dataclass(slots=True) with a field that has default a default value,
+but for which init=False.
+..
+.. bpo: 45803
+.. date: 2021-11-20-17-04-25
+.. nonce: wSgFOy
+.. section: Library
+Added missing kw_only parameter to dataclasses.make_dataclass().
+..
+.. bpo: 45837
+.. date: 2021-11-18-13-13-19
+.. nonce: aGyr1I
+.. section: Library
+The :meth:`!turtle.RawTurtle.settiltangle` is deprecated since Python 3.1, it
+now emits a deprecation warning and will be removed in Python 3.13.
+Use :meth:`turtle.RawTurtle.tiltangle` instead.
+:meth:`turtle.RawTurtle.tiltangle` was earlier incorrectly marked as
+deprecated, its docstring has been corrected.
+Patch by Hugo van Kemenade.
+..
+.. bpo: 45831
+.. date: 2021-11-17-19-25-37
+.. nonce: 9-TojK
+.. section: Library
+:mod:`faulthandler` can now write ASCII-only strings (like filenames and
+function names) with a single write() syscall when dumping a traceback. It
+reduces the risk of getting an unreadable dump when two threads or two
+processes dump a traceback to the same file (like stderr) at the same time.
+Patch by Victor Stinner.
+..
+.. bpo: 45828
+.. date: 2021-11-17-11-40-21
+.. nonce: kQU35U
+.. section: Library
+:mod:`sqlite` C callbacks now use unraisable exceptions if callback
+tracebacks are enabled. Patch by Erlend E. Aasland.
+..
+.. bpo: 41735
+.. date: 2021-11-16-18-13-49
+.. nonce: D72UY1
+.. section: Library
+Fix thread lock in ``zlib.Decompress.flush()`` method before
+``PyObject_GetBuffer``.
+..
+.. bpo: 45235
+.. date: 2021-11-11-13-03-17
+.. nonce: 8ZbkHa
+.. section: Library
+Reverted an argparse bugfix that caused regression in the handling of
+default arguments for subparsers. This prevented leaf level arguments from
+taking precedence over root level arguments.
+..
+.. bpo: 45754
+.. date: 2021-11-09-15-48-38
+.. nonce: c-JDto
+.. section: Library
+Fix a regression in Python 3.11a1 and 3.11a2 where :mod:`sqlite3`
+incorrectly would use ``SQLITE_LIMIT_LENGTH`` when checking SQL statement
+lengths. Now, ``SQLITE_LIMIT_SQL_LENGTH`` is used. Patch by Erlend E.
+Aasland.
+..
+.. bpo: 45766
+.. date: 2021-11-09-09-18-06
+.. nonce: dvbcMf
+.. section: Library
+Added *proportional* option to :meth:`statistics.linear_regression`.
+..
+.. bpo: 45765
+.. date: 2021-11-09-09-04-19
+.. nonce: JVobxK
+.. section: Library
+In importlib.metadata, fix distribution discovery for an empty path.
+..
+.. bpo: 45757
+.. date: 2021-11-08-23-22-14
+.. nonce: MHZHt3
+.. section: Library
+Fix bug where :mod:`dis` produced an incorrect oparg when
+:opcode:`EXTENDED_ARG` is followed by an opcode that does not use its
+argument.
+..
+.. bpo: 45644
+.. date: 2021-11-06-17-47-46
+.. nonce: ZMqHD_
+.. section: Library
+In-place JSON file formatting using ``python3 -m json.tool infile infile``
+now works correctly, previously it left the file empty. Patch by Chris
+Wesseling.
+..
+.. bpo: 45703
+.. date: 2021-11-03-13-41-49
+.. nonce: 35AagL
+.. section: Library
+When a namespace package is imported before another module from the same
+namespace is created/installed in a different :data:`sys.path` location
+while the program is running, calling the
+:func:`importlib.invalidate_caches` function will now also guarantee the new
+module is noticed.
+..
+.. bpo: 45535
+.. date: 2021-10-29-16-28-06
+.. nonce: n8NiOE
+.. section: Library
+Improve output of ``dir()`` with Enums.
+..
+.. bpo: 45664
+.. date: 2021-10-28-23-40-54
+.. nonce: 7dqtxQ
+.. section: Library
+Fix :func:`types.resolve_bases` and :func:`types.new_class` for
+:class:`types.GenericAlias` instance as a base.
+..
+.. bpo: 45663
+.. date: 2021-10-28-23-11-59
+.. nonce: J90N5R
+.. section: Library
+Fix :func:`dataclasses.is_dataclass` for dataclasses which are subclasses of
+:class:`types.GenericAlias`.
+..
+.. bpo: 45662
+.. date: 2021-10-28-22-58-14
+.. nonce: sJd7Ir
+.. section: Library
+Fix the repr of :data:`dataclasses.InitVar` with a type alias to the
+built-in class, e.g. ``InitVar[list[int]]``.
+..
+.. bpo: 43137
+.. date: 2021-10-25-12-51-02
+.. nonce: apo7jY
+.. section: Library
+Launch GNOME web browsers via gio tool instead of obsolete gvfs-open
+..
+.. bpo: 45429
+.. date: 2021-10-25-01-22-49
+.. nonce: VaEyN9
+.. section: Library
+On Windows, :func:`time.sleep` now uses a waitable timer which supports
+high-resolution timers. Patch by Donghee Na and Eryk Sun.
+..
+.. bpo: 37295
+.. date: 2021-10-18-16-08-55
+.. nonce: wBEWH2
+.. section: Library
+Optimize :func:`math.comb` and :func:`math.perm`.
+..
+.. bpo: 45514
+.. date: 2021-10-18-14-25-35
+.. nonce: YmlzIl
+.. section: Library
+Deprecated legacy functions in :mod:`importlib.resources`.
+..
+.. bpo: 45507
+.. date: 2021-10-18-14-00-01
+.. nonce: lDotNV
+.. section: Library
+Add tests for truncated/missing trailers in gzip.decompress implementation.
+..
+.. bpo: 45359
+.. date: 2021-10-03-22-27-35
+.. nonce: LX_uxe
+.. section: Library
+Implement :pep:`585` for :class:`graphlib.TopologicalSorter`.
+..
+.. bpo: 44733
+.. date: 2021-07-26-13-33-37
+.. nonce: 88LrP1
+.. section: Library
+Add ``max_tasks_per_child`` to
+:class:`concurrent.futures.ProcessPoolExecutor`. This allows users to
+specify the maximum number of tasks a single process should execute before
+the process needs to be restarted.
+..
+.. bpo: 28806
+.. date: 2021-05-24-13-48-34
+.. nonce: PkNw5D
+.. section: Library
+Improve netrc library. netrc file no longer needs to contain all tokens. And
+if the login name is anonymous, security check is no longer need.
+..
+.. bpo: 43498
+.. date: 2021-04-20-14-14-16
+.. nonce: L_Hq-8
+.. section: Library
+Avoid a possible *"RuntimeError: dictionary changed size during iteration"*
+when adjusting the process count of :class:`ProcessPoolExecutor`.
+..
+.. bpo: 42158
+.. date: 2020-11-10-17-46-12
+.. nonce: OhxAiH
+.. section: Library
+Add MIME types for N-quads, N-triples, Notation3 and TriG to ``mimetypes``.
+..
+.. bpo: 30533
+.. date: 2020-06-16-18-00-56
+.. nonce: StL57t
+.. section: Library
+Add :func:`inspect.getmembers_static` , it return all members without
+triggering dynamic lookup via the descriptor protocol. Patch by Weipeng
+Hong.
+..
+.. bpo: 42238
+.. date: 2021-11-20-02-46-39
+.. nonce: hlfMIc
+.. section: Documentation
+``make -C Doc suspicious`` will be removed soon in favor of ``make -C Doc
+check``, mark it as deprecated.
+..
+.. bpo: 45840
+.. date: 2021-11-19-02-02-32
+.. nonce: A51B2S
+.. section: Documentation
+Improve cross-references in the documentation for the data model.
+..
+.. bpo: 45640
+.. date: 2021-11-18-16-44-12
+.. nonce: lSpc2A
+.. section: Documentation
+Properly marked-up grammar tokens in the documentation are now clickable and
+take you to the definition of a given piece of grammar. Patch by Arthur
+Milchior.
+..
+.. bpo: 45788
+.. date: 2021-11-18-00-07-40
+.. nonce: qibUoB
+.. section: Documentation
+Link doc for sys.prefix to sysconfig doc on installation paths.
+..
+.. bpo: 45772
+.. date: 2021-11-09-13-10-55
+.. nonce: EdrM3t
+.. section: Documentation
+``socket.socket`` documentation is corrected to a class from a function.
+..
+.. bpo: 45392
+.. date: 2021-11-06-10-54-17
+.. nonce: JZnVOz
+.. section: Documentation
+Update the docstring of the :class:`type` built-in to remove a redundant
+line and to mention keyword arguments for the constructor.
+..
+.. bpo: 45250
+.. date: 2021-10-22-12-09-18
+.. nonce: Iit5-Y
+.. section: Documentation
+Update the documentation to note that CPython does not consistently require
+iterators to define ``__iter__``.
+..
+.. bpo: 25381
+.. date: 2021-06-21-17-51-51
+.. nonce: 7Kn-_H
+.. section: Documentation
+In the extending chapter of the extending doc, update a paragraph about the
+global variables containing exception information.
+..
+.. bpo: 43905
+.. date: 2021-05-24-05-00-12
+.. nonce: tBIndE
+.. section: Documentation
+Expanded :func:`~dataclasses.astuple` and :func:`~dataclasses.asdict` docs,
+warning about deepcopy being applied and providing a workaround.
+..
+.. bpo: 45695
+.. date: 2021-12-03-14-19-16
+.. nonce: QKBn2E
+.. section: Tests
+Out-of-tree builds with a read-only source directory are now tested by CI.
+..
+.. bpo: 19460
+.. date: 2021-11-28-15-25-02
+.. nonce: lr0aWs
+.. section: Tests
+Add new Test for ``Lib/email/mime/nonmultipart.py::MIMENonMultipart``.
+..
+.. bpo: 45835
+.. date: 2021-11-17-14-28-08
+.. nonce: Mgyhjx
+.. section: Tests
+Fix race condition in test_queue tests with multiple "feeder" threads.
+..
+.. bpo: 45783
+.. date: 2021-11-11-13-56-00
+.. nonce: 8k1Rng
+.. section: Tests
+The test for the freeze tool now handles file moves and deletions.
+..
+.. bpo: 45745
+.. date: 2021-11-10-12-01-28
+.. nonce: wX5B3K
+.. section: Tests
+Remove the ``--findleaks`` command line option of regrtest: use the
+``--fail-env-changed`` option instead. Since Python 3.7, it was a deprecated
+alias to the ``--fail-env-changed`` option.
+..
+.. bpo: 45701
+.. date: 2021-10-31-10-58-45
+.. nonce: r0LAUL
+.. section: Tests
+Add tests with ``tuple`` type with :func:`functools.lru_cache` to
+``test_functools``.
+..
+.. bpo: 44035
+.. date: 2021-12-06-09-31-27
+.. nonce: BiO4XC
+.. section: Build
+CI now verifies that autoconf files have been regenerated with a current and
+unpatched autoconf package.
+..
+.. bpo: 45950
+.. date: 2021-12-01-17-28-39
+.. nonce: eEVLoz
+.. section: Build
+The build system now uses a :program:`_bootstrap_python` interpreter for
+freezing and deepfreezing again. To speed up build process the build tools
+:program:`_bootstrap_python` and :program:`_freeze_module` are no longer
+build with LTO.
+..
+.. bpo: 45881
+.. date: 2021-11-29-16-32-55
+.. nonce: 7597J6
+.. section: Build
+The :program:`configure` script now accepts ``--with-build-python`` and
+``--with-freeze-module`` options to make cross compiling easier.
+..
+.. bpo: 40280
+.. date: 2021-11-29-14-37-29
+.. nonce: UlTMR8
+.. section: Build
+Emscripten platform now uses ``.wasm`` suffix by default.
+..
+.. bpo: 40280
+.. date: 2021-11-29-11-24-45
+.. nonce: Knx7d7
+.. section: Build
+Disable unusable core extension modules on WASM/Emscripten targets.
+..
+.. bpo: 40280
+.. date: 2021-11-26-14-09-04
+.. nonce: ZLpwQf
+.. section: Build
+``configure`` now checks for socket ``shutdown`` function. The check makes
+it possible to disable ``SYS_shutdown`` with ``ac_cv_func_shutdown=no`` in
+CONFIG_SITE.
+..
+.. bpo: 40280
+.. date: 2021-11-26-09-10-19
+.. nonce: xmiMJl
+.. section: Build
+``configure`` now checks for functions ``fork1, getegid, geteuid, getgid,
+getppid, getuid, opendir, pipe, system, wait, ttyname``.
+..
+.. bpo: 33393
+.. date: 2021-11-25-20-26-06
+.. nonce: 24YNtM
+.. section: Build
+Update ``config.guess`` to 2021-06-03 and ``config.sub`` to 2021-08-14.
+``Makefile`` now has an ``update-config`` target to make updating more
+convenient.
+..
+.. bpo: 45866
+.. date: 2021-11-25-13-53-36
+.. nonce: ZH1W8N
+.. section: Build
+``make regen-all`` now produces the same output when run from a directory
+other than the source tree: when building Python out of the source tree.
+pegen now strips directory of the "generated by pygen from "
+header Patch by Victor Stinner.
+..
+.. bpo: 40280
+.. date: 2021-11-25-10-55-03
+.. nonce: E9-gsQ
+.. section: Build
+``configure`` now accepts machine ``wasm32`` or ``wasm64`` and OS ``wasi``
+or ``emscripten`` for cross building, e.g. ``wasm32-unknown-emscripten``,
+``wasm32-wasi``, or ``wasm32-unknown-wasi``.
+..
+.. bpo: 41498
+.. date: 2021-11-25-09-15-04
+.. nonce: qAk5eo
+.. section: Build
+Python now compiles on platforms without ``sigset_t``. Several functions in
+:mod:`signal` are not available when ``sigset_t`` is missing.
+Based on patch by Roman Yurchak for pyodide.
+..
+.. bpo: 45881
+.. date: 2021-11-24-17-14-06
+.. nonce: GTXXLk
+.. section: Build
+``setup.py`` now uses ``CC`` from environment first to discover multiarch
+and cross compile paths.
+..
+.. bpo: 45886
+.. date: 2021-11-23-23-37-49
+.. nonce: _Ulnh-
+.. section: Build
+The ``_freeze_module`` program path can now be overridden on the command
+line, e.g. ``make FREEZE_MODULE=../x86_64/Program/_freeze_module``.
+..
+.. bpo: 45873
+.. date: 2021-11-23-04-28-40
+.. nonce: 9dldZ4
+.. section: Build
+Get rid of the ``_bootstrap_python`` build step. The deepfreeze.py script is
+now run using ``$(PYTHON_FOR_REGEN)`` which can be Python 3.7 or newer (on
+Windows, 3.8 or newer).
+..
+.. bpo: 45847
+.. date: 2021-11-19-17-57-57
+.. nonce: 9phcpd
+.. section: Build
+Port builtin hashlib extensions to ``PY_STDLIB_MOD`` macro and ``addext()``.
+..
+.. bpo: 45723
+.. date: 2021-11-19-15-42-27
+.. nonce: vwIJWI
+.. section: Build
+Add ``autoconf`` helpers for saving and restoring environment variables:
+* ``SAVE_ENV``: Save ``$CFLAGS``, ``$LDFLAGS``, ``$LIBS``, and
+``$CPPFLAGS``.
+* ``RESTORE_ENV``: Restore ``$CFLAGS``, ``$LDFLAGS``, ``$LIBS``, and
+``$CPPFLAGS``.
+* ``WITH_SAVE_ENV([SCRIPT])``: Run ``SCRIPT`` wrapped with ``SAVE_ENV`` and
+``RESTORE_ENV``.
+Patch by Erlend E. Aasland.
+..
+.. bpo: 45573
+.. date: 2021-11-18-13-31-02
+.. nonce: LCjGB8
+.. section: Build
+Mandatory core modules, that are required to bootstrap Python, are now in
+``Modules/Setup.bootstrap``.
+..
+.. bpo: 45573
+.. date: 2021-11-18-12-18-43
+.. nonce: xsMZzn
+.. section: Build
+``configure`` now creates ``Modules/Setup.stdlib`` with conditionally
+enabled/disabled extension module lines. The file is not used, yet.
+..
+.. bpo: 45573
+.. date: 2021-11-17-19-02-51
+.. nonce: GMNdun
+.. section: Build
+``configure`` now uses a unified format to set state, compiler flags, and
+linker flags in Makefile. The new macro ``PY_STDLIB_MOD`` sets three
+variables that are consumed by ``Modules/Setup`` and ``setup.py``.
+..
+.. bpo: 45816
+.. date: 2021-11-16-14-44-06
+.. nonce: nbdmVK
+.. section: Build
+Python now supports building with Visual Studio 2022 (MSVC v143, VS Version
+17.0). Patch by Jeremiah Vivian.
+..
+.. bpo: 45800
+.. date: 2021-11-13-16-40-05
+.. nonce: 5Hz6nr
+.. section: Build
+Settings for :mod:`pyexpat` C extension are now detected by ``configure``.
+The bundled ``expat`` library is built in ``Makefile``.
+..
+.. bpo: 45798
+.. date: 2021-11-13-10-18-22
+.. nonce: IraaTs
+.. section: Build
+Settings for :mod:`decimal` internal C extension are now detected by
+``configure``. The bundled ``libmpdec`` library is built in ``Makefile``.
+..
+.. bpo: 45723
+.. date: 2021-11-10-16-13-02
+.. nonce: B5gCB1
+.. section: Build
+:program:`configure` has a new option ``--with-pkg-config`` to disable or
+require pkg-config.
+..
+.. bpo: 45774
+.. date: 2021-11-09-23-30-12
+.. nonce: Mwm3ZR
+.. section: Build
+The build dependencies for :mod:`sqlite3` are now detected by ``configure``
+and ``pkg-config``. Patch by Erlend E. Aasland.
+..
+.. bpo: 45763
+.. date: 2021-11-09-10-15-33
+.. nonce: gP-vrX
+.. section: Build
+The build dependencies for :mod:`zlib`, :mod:`bz2`, and :mod:`lzma` are now
+detected by ``configure``.
+..
+.. bpo: 45747
+.. date: 2021-11-08-11-31-48
+.. nonce: AODmk_
+.. section: Build
+gdbm and dbm build dependencies are now detected by ``configure``.
+..
+.. bpo: 45743
+.. date: 2021-11-08-08-58-06
+.. nonce: fZ8CTi
+.. section: Build
+On macOS, the build system no longer passes ``search_paths_first`` to the
+linker. The flag has been the default since Xcode 4 / macOS 10.6.
+..
+.. bpo: 45723
+.. date: 2021-11-07-10-45-40
+.. nonce: AreusF
+.. section: Build
+``configure.ac`` is now compatible with autoconf 2.71. Deprecated checks
+``STDC_HEADERS`` and ``AC_HEADER_TIME`` have been removed.
+..
+.. bpo: 45723
+.. date: 2021-11-07-10-36-12
+.. nonce: JNwKSG
+.. section: Build
+``configure`` now prints a warning when pkg-config is missing.
+..
+.. bpo: 45731
+.. date: 2021-11-05-20-56-29
+.. nonce: 9SDnDf
+.. section: Build
+``configure --enable-loadable-sqlite-extensions`` is now handled by new
+``PY_SQLITE_ENABLE_LOAD_EXTENSION`` macro instead of logic in setup.py.
+..
+.. bpo: 45723
+.. date: 2021-11-05-15-09-49
+.. nonce: gfSxur
+.. section: Build
+configure.ac now uses custom helper macros and ``AC_CACHE_CHECK`` to
+simplify and speed up configure runs.
+..
+.. bpo: 45696
+.. date: 2021-11-03-00-19-50
+.. nonce: eKs46f
+.. section: Build
+Skip the marshal step for frozen modules by generating C code that produces
+a set of ready-to-use code objects. This speeds up startup time by another
+10% or more.
+..
+.. bpo: 45561
+.. date: 2021-10-21-14-38-30
+.. nonce: PVqhZE
+.. section: Build
+Run smelly.py tool from $(srcdir).
+..
+.. bpo: 46105
+.. date: 2021-12-08-16-36-20
+.. nonce: t1mJ6Q
+.. section: Windows
+Fixed calculation of :data:`sys.path` in a venv on Windows.
+..
+.. bpo: 45901
+.. date: 2021-11-26-18-17-41
+.. nonce: c5IBqM
+.. section: Windows
+When installed through the Microsoft Store and set as the default app for
+:file:`*.py` files, command line arguments will now be passed to Python when
+invoking a script without explicitly launching Python (that is, ``script.py
+args`` rather than ``python script.py args``).
+..
+.. bpo: 45616
+.. date: 2021-11-23-11-44-42
+.. nonce: K52PLZ
+.. section: Windows
+Fix Python Launcher's ability to distinguish between versions 3.1 and 3.10
+when either one is explicitly requested. Previously, 3.1 would be used if
+3.10 was requested but not installed, and 3.10 would be used if 3.1 was
+requested but 3.10 was installed.
+..
+.. bpo: 45850
+.. date: 2021-11-20-00-06-59
+.. nonce: q9lofz
+.. section: Windows
+Implement changes to build with deep-frozen modules on Windows. Note that we
+now require Python 3.10 as the "bootstrap" or "host" Python.
+..
+.. bpo: 45732
+.. date: 2021-11-08-21-53-11
+.. nonce: idl5kx
+.. section: Windows
+Updates bundled Tcl/Tk to 8.6.12.
+..
+.. bpo: 45720
+.. date: 2021-11-05-01-05-46
+.. nonce: 47Nc5I
+.. section: Windows
+Internal reference to :file:`shlwapi.dll` was dropped to help improve
+startup time. This DLL will no longer be loaded at the start of every Python
+process.
+..
+.. bpo: 45732
+.. date: 2021-12-05-23-52-03
+.. nonce: -BWrnh
+.. section: macOS
+Update python.org macOS installer to use Tcl/Tk 8.6.12.
+..
+.. bpo: 39026
+.. date: 2021-11-09-15-42-11
+.. nonce: sUnYWn
+.. section: C API
+Fix Python.h to build C extensions with Xcode: remove a relative include
+from ``Include/cpython/pystate.h``.
+
+.. bpo: 23285
+.. date: 8948
+.. nonce: bJJA8B
+.. release date: 2015-02-08
+.. section: Core and Builtins
+PEP 475 - EINTR handling.
+..
+.. bpo: 22735
+.. date: 8947
+.. nonce: mFEX9n
+.. section: Core and Builtins
+Fix many edge cases (including crashes) involving custom mro()
+implementations.
+..
+.. bpo: 22896
+.. date: 8946
+.. nonce: xSDAHK
+.. section: Core and Builtins
+Avoid using PyObject_AsCharBuffer(), PyObject_AsReadBuffer() and
+PyObject_AsWriteBuffer().
+..
+.. bpo: 21295
+.. date: 8945
+.. nonce: LYq9nF
+.. section: Core and Builtins
+Revert some changes (issue #16795) to AST line numbers and column offsets
+that constituted a regression.
+..
+.. bpo: 22986
+.. date: 8944
+.. nonce: yay2Lv
+.. section: Core and Builtins
+Allow changing an object's __class__ between a dynamic type and static type
+in some cases.
+..
+.. bpo: 15859
+.. date: 8943
+.. nonce: Fs5mE2
+.. section: Core and Builtins
+PyUnicode_EncodeFSDefault(), PyUnicode_EncodeMBCS() and
+PyUnicode_EncodeCodePage() now raise an exception if the object is not a
+Unicode object. For PyUnicode_EncodeFSDefault(), it was already the case on
+platforms other than Windows. Patch written by Campbell Barton.
+..
+.. bpo: 21408
+.. date: 8942
+.. nonce: Lz6P3P
+.. section: Core and Builtins
+The default __ne__() now returns NotImplemented if __eq__() returned
+NotImplemented. Original patch by Martin Panter.
+..
+.. bpo: 23321
+.. date: 8941
+.. nonce: HQelge
+.. section: Core and Builtins
+Fixed a crash in str.decode() when error handler returned replacement string
+longer than malformed input data.
+..
+.. bpo: 22286
+.. date: 8940
+.. nonce: l6Qyy1
+.. section: Core and Builtins
+The "backslashreplace" error handlers now works with decoding and
+translating.
+..
+.. bpo: 23253
+.. date: 8939
+.. nonce: p4B1H-
+.. section: Core and Builtins
+Delay-load ShellExecute[AW] in os.startfile for reduced startup overhead on
+Windows.
+..
+.. bpo: 22038
+.. date: 8938
+.. nonce: BMZUHx
+.. section: Core and Builtins
+pyatomic.h now uses stdatomic.h or GCC built-in functions for atomic memory
+access if available. Patch written by Vitor de Lima and Gustavo Temple.
+..
+.. bpo: 20284
+.. date: 8937
+.. nonce: CH8wpD
+.. section: Core and Builtins
+%-interpolation (aka printf) formatting added for bytes and bytearray.
+..
+.. bpo: 23048
+.. date: 8936
+.. nonce: X5BUd3
+.. section: Core and Builtins
+Fix jumping out of an infinite while loop in the pdb.
+..
+.. bpo: 20335
+.. date: 8935
+.. nonce: YcAPOs
+.. section: Core and Builtins
+bytes constructor now raises TypeError when encoding or errors is specified
+with non-string argument. Based on patch by Renaud Blanch.
+..
+.. bpo: 22834
+.. date: 8934
+.. nonce: N1kAXN
+.. section: Core and Builtins
+If the current working directory ends up being set to a non-existent
+directory then import will no longer raise FileNotFoundError.
+..
+.. bpo: 22869
+.. date: 8933
+.. nonce: rAWg-V
+.. section: Core and Builtins
+Move the interpreter startup & shutdown code to a new dedicated
+pylifecycle.c module
+..
+.. bpo: 22847
+.. date: 8932
+.. nonce: 6baj9f
+.. section: Core and Builtins
+Improve method cache efficiency.
+..
+.. bpo: 22335
+.. date: 8931
+.. nonce: DWsXiy
+.. section: Core and Builtins
+Fix crash when trying to enlarge a bytearray to 0x7fffffff bytes on a 32-bit
+platform.
+..
+.. bpo: 22653
+.. date: 8930
+.. nonce: pCNlpv
+.. section: Core and Builtins
+Fix an assertion failure in debug mode when doing a reentrant dict insertion
+in debug mode.
+..
+.. bpo: 22643
+.. date: 8929
+.. nonce: xv8xev
+.. section: Core and Builtins
+Fix integer overflow in Unicode case operations (upper, lower, title,
+swapcase, casefold).
+..
+.. bpo: 17636
+.. date: 8928
+.. nonce: wiqnhw
+.. section: Core and Builtins
+Circular imports involving relative imports are now supported.
+..
+.. bpo: 22604
+.. date: 8927
+.. nonce: yii-It
+.. section: Core and Builtins
+Fix assertion error in debug mode when dividing a complex number by
+(nan+0j).
+..
+.. bpo: 21052
+.. date: 8926
+.. nonce: -sf3tp
+.. section: Core and Builtins
+Do not raise ImportWarning when sys.path_hooks or sys.meta_path are set to
+None.
+..
+.. bpo: 16518
+.. date: 8925
+.. nonce: UADwcN
+.. section: Core and Builtins
+Use 'bytes-like object required' in error messages that previously used the
+far more cryptic "'x' does not support the buffer protocol.
+..
+.. bpo: 22470
+.. date: 8924
+.. nonce: igrgN2
+.. section: Core and Builtins
+Fixed integer overflow issues in "backslashreplace", "xmlcharrefreplace",
+and "surrogatepass" error handlers.
+..
+.. bpo: 22540
+.. date: 8923
+.. nonce: FM72m-
+.. section: Core and Builtins
+speed up ``PyObject_IsInstance`` and ``PyObject_IsSubclass`` in the common case
+that the second argument has metaclass ``type``.
+..
+.. bpo: 18711
+.. date: 8922
+.. nonce: ds5wQa
+.. section: Core and Builtins
+Add a new ``PyErr_FormatV`` function, similar to ``PyErr_Format`` but accepting
+a ``va_list`` argument.
+..
+.. bpo: 22520
+.. date: 8921
+.. nonce: ZPJXSq
+.. section: Core and Builtins
+Fix overflow checking when generating the repr of a unicode object.
+..
+.. bpo: 22519
+.. date: 8920
+.. nonce: xvJVg0
+.. section: Core and Builtins
+Fix overflow checking in PyBytes_Repr.
+..
+.. bpo: 22518
+.. date: 8919
+.. nonce: C9T6ed
+.. section: Core and Builtins
+Fix integer overflow issues in latin-1 encoding.
+..
+.. bpo: 16324
+.. date: 8918
+.. nonce: YfrBNz
+.. section: Core and Builtins
+_charset parameter of MIMEText now also accepts email.charset.Charset
+instances. Initial patch by Claude Paroz.
+..
+.. bpo: 1764286
+.. date: 8917
+.. nonce: L4seL2
+.. section: Core and Builtins
+Fix inspect.getsource() to support decorated functions. Patch by Claudiu
+Popa.
+..
+.. bpo: 18554
+.. date: 8916
+.. nonce: hxnaui
+.. section: Core and Builtins
+os.__all__ includes posix functions.
+..
+.. bpo: 21391
+.. date: 8915
+.. nonce: 3jntPd
+.. section: Core and Builtins
+Use os.path.abspath in the shutil module.
+..
+.. bpo: 11471
+.. date: 8914
+.. nonce: Uu752F
+.. section: Core and Builtins
+avoid generating a JUMP_FORWARD instruction at the end of an if-block if
+there is no else-clause. Original patch by Eugene Toder.
+..
+.. bpo: 22215
+.. date: 8913
+.. nonce: IBFi6H
+.. section: Core and Builtins
+Now ValueError is raised instead of TypeError when str or bytes argument
+contains not permitted null character or byte.
+..
+.. bpo: 22258
+.. date: 8912
+.. nonce: 4FszMt
+.. section: Core and Builtins
+Fix the internal function set_inheritable() on Illumos. This platform
+exposes the function ``ioctl(FIOCLEX)``, but calling it fails with errno is
+ENOTTY: "Inappropriate ioctl for device". set_inheritable() now falls back
+to the slower ``fcntl()`` (``F_GETFD`` and then ``F_SETFD``).
+..
+.. bpo: 21389
+.. date: 8911
+.. nonce: dnWZBn
+.. section: Core and Builtins
+Displaying the __qualname__ of the underlying function in the repr of a
+bound method.
+..
+.. bpo: 22206
+.. date: 8910
+.. nonce: 0i_ihB
+.. section: Core and Builtins
+Using pthread, PyThread_create_key() now sets errno to ENOMEM and returns -1
+(error) on integer overflow.
+..
+.. bpo: 20184
+.. date: 8909
+.. nonce: bb3uHY
+.. section: Core and Builtins
+Argument Clinic based signature introspection added for 30 of the builtin
+functions.
+..
+.. bpo: 22116
+.. date: 8908
+.. nonce: auVmIt
+.. section: Core and Builtins
+C functions and methods (of the 'builtin_function_or_method' type) can now
+be weakref'ed. Patch by Wei Wu.
+..
+.. bpo: 22077
+.. date: 8907
+.. nonce: KZUDR-
+.. section: Core and Builtins
+Improve index error messages for bytearrays, bytes, lists, and tuples by
+adding 'or slices'. Added ', not ' for bytearrays. Original patch
+by Claudiu Popa.
+..
+.. bpo: 20179
+.. date: 8906
+.. nonce: Nvhffc
+.. section: Core and Builtins
+Apply Argument Clinic to bytes and bytearray. Patch by Tal Einat.
+..
+.. bpo: 22082
+.. date: 8905
+.. nonce: 6X8Qmg
+.. section: Core and Builtins
+Clear interned strings in slotdefs.
+..
+.. bpo: 0
+.. date: 8904
+.. nonce: tuMnCc
+.. section: Core and Builtins
+Upgrade Unicode database to Unicode 7.0.0.
+..
+.. bpo: 21897
+.. date: 8903
+.. nonce: kiOGHe
+.. section: Core and Builtins
+Fix a crash with the f_locals attribute with closure variables when
+frame.clear() has been called.
+..
+.. bpo: 21205
+.. date: 8902
+.. nonce: wZsx1K
+.. section: Core and Builtins
+Add a new ``__qualname__`` attribute to generator, the qualified name, and
+use it in the representation of a generator (``repr(gen)``). The default
+name of the generator (``__name__`` attribute) is now get from the function
+instead of the code. Use ``gen.gi_code.co_name`` to get the name of the
+code.
+..
+.. bpo: 21669
+.. date: 8901
+.. nonce: DFDrBA
+.. section: Core and Builtins
+With the aid of heuristics in SyntaxError.__init__, the parser now attempts
+to generate more meaningful (or at least more search engine friendly) error
+messages when "exec" and "print" are used as statements.
+..
+.. bpo: 21642
+.. date: 8900
+.. nonce: -lWoKz
+.. section: Core and Builtins
+In the conditional if-else expression, allow an integer written with no
+space between itself and the ``else`` keyword (e.g. ``True if 42else
+False``) to be valid syntax.
+..
+.. bpo: 21523
+.. date: 8899
+.. nonce: f_PPYO
+.. section: Core and Builtins
+Fix over-pessimistic computation of the stack effect of some opcodes in the
+compiler. This also fixes a quadratic compilation time issue noticeable
+when compiling code with a large number of "and" and "or" operators.
+..
+.. bpo: 21418
+.. date: 8898
+.. nonce: z9jp1_
+.. section: Core and Builtins
+Fix a crash in the builtin function super() when called without argument and
+without current frame (ex: embedded Python).
+..
+.. bpo: 21425
+.. date: 8897
+.. nonce: i3Teb8
+.. section: Core and Builtins
+Fix flushing of standard streams in the interactive interpreter.
+..
+.. bpo: 21435
+.. date: 8896
+.. nonce: ZojVOT
+.. section: Core and Builtins
+In rare cases, when running finalizers on objects in cyclic trash a bad
+pointer dereference could occur due to a subtle flaw in internal iteration
+logic.
+..
+.. bpo: 21377
+.. date: 8895
+.. nonce: OawYfl
+.. section: Core and Builtins
+PyBytes_Concat() now tries to concatenate in-place when the first argument
+has a reference count of 1. Patch by Nikolaus Rath.
+..
+.. bpo: 20355
+.. date: 8894
+.. nonce: OrCNkZ
+.. section: Core and Builtins
+-W command line options now have higher priority than the PYTHONWARNINGS
+environment variable. Patch by Arfrever.
+..
+.. bpo: 21274
+.. date: 8893
+.. nonce: fVGfwq
+.. section: Core and Builtins
+Define PATH_MAX for GNU/Hurd in Python/pythonrun.c.
+..
+.. bpo: 20904
+.. date: 8892
+.. nonce: fAGdj2
+.. section: Core and Builtins
+Support setting FPU precision on m68k.
+..
+.. bpo: 21209
+.. date: 8891
+.. nonce: nMljFr
+.. section: Core and Builtins
+Fix sending tuples to custom generator objects with the yield from syntax.
+..
+.. bpo: 21193
+.. date: 8890
+.. nonce: Dg98Oo
+.. section: Core and Builtins
+pow(a, b, c) now raises ValueError rather than TypeError when b is negative.
+Patch by Josh Rosenberg.
+..
+.. bpo: 21176
+.. date: 8889
+.. nonce: mitDhW
+.. section: Core and Builtins
+PEP 465: Add the '@' operator for matrix multiplication.
+..
+.. bpo: 21134
+.. date: 8888
+.. nonce: ZL4SKo
+.. section: Core and Builtins
+Fix segfault when str is called on an uninitialized UnicodeEncodeError,
+UnicodeDecodeError, or UnicodeTranslateError object.
+..
+.. bpo: 19537
+.. date: 8887
+.. nonce: AkuC_J
+.. section: Core and Builtins
+Fix PyUnicode_DATA() alignment under m68k. Patch by Andreas Schwab.
+..
+.. bpo: 20929
+.. date: 8886
+.. nonce: 9NlUR7
+.. section: Core and Builtins
+Add a type cast to avoid shifting a negative number.
+..
+.. bpo: 20731
+.. date: 8885
+.. nonce: _03SZg
+.. section: Core and Builtins
+Properly position in source code files even if they are opened in text mode.
+Patch by Serhiy Storchaka.
+..
+.. bpo: 20637
+.. date: 8884
+.. nonce: ppYU0o
+.. section: Core and Builtins
+Key-sharing now also works for instance dictionaries of subclasses. Patch
+by Peter Ingebretson.
+..
+.. bpo: 8297
+.. date: 8883
+.. nonce: _XdGON
+.. section: Core and Builtins
+Attributes missing from modules now include the module name in the error
+text. Original patch by ysj.ray.
+..
+.. bpo: 19995
+.. date: 8882
+.. nonce: mnHEzX
+.. section: Core and Builtins
+%c, %o, %x, and %X now raise TypeError on non-integer input.
+..
+.. bpo: 19655
+.. date: 8881
+.. nonce: JgVdes
+.. section: Core and Builtins
+The ASDL parser - used by the build process to generate code for managing
+the Python AST in C - was rewritten. The new parser is self contained and
+does not require to carry long the spark.py parser-generator library;
+spark.py was removed from the source base.
+..
+.. bpo: 12546
+.. date: 8880
+.. nonce: 09naZ9
+.. section: Core and Builtins
+Allow ``\x00`` to be used as a fill character when using str, int, float,
+and complex __format__ methods.
+..
+.. bpo: 20480
+.. date: 8879
+.. nonce: TIYPLo
+.. section: Core and Builtins
+Add ipaddress.reverse_pointer. Patch by Leon Weber.
+..
+.. bpo: 13598
+.. date: 8878
+.. nonce: GJelrw
+.. section: Core and Builtins
+Modify string.Formatter to support auto-numbering of replacement fields. It
+now matches the behavior of str.format() in this regard. Patches by Phil
+Elson and Ramchandra Apte.
+..
+.. bpo: 8931
+.. date: 8877
+.. nonce: M05x4f
+.. section: Core and Builtins
+Make alternate formatting ('#') for type 'c' raise an exception. In versions
+prior to 3.5, '#' with 'c' had no effect. Now specifying it is an error.
+Patch by Torsten Landschoff.
+..
+.. bpo: 23165
+.. date: 8876
+.. nonce: lk8uCE
+.. section: Core and Builtins
+Perform overflow checks before allocating memory in the _Py_char2wchar
+function.
+..
+.. bpo: 23399
+.. date: 8875
+.. nonce: hXMYgA
+.. section: Library
+pyvenv creates relative symlinks where possible.
+..
+.. bpo: 20289
+.. date: 8874
+.. nonce: nio1N-
+.. section: Library
+cgi.FieldStorage() now supports the context management protocol.
+..
+.. bpo: 13128
+.. date: 8873
+.. nonce: vqEcsy
+.. section: Library
+Print response headers for CONNECT requests when debuglevel > 0. Patch by
+Demian Brecht.
+..
+.. bpo: 15381
+.. date: 8872
+.. nonce: Xv-wu8
+.. section: Library
+Optimized io.BytesIO to make less allocations and copyings.
+..
+.. bpo: 22818
+.. date: 8871
+.. nonce: NYdAc9
+.. section: Library
+Splitting on a pattern that could match an empty string now raises a
+warning. Patterns that can only match empty strings are now rejected.
+..
+.. bpo: 23099
+.. date: 8870
+.. nonce: ZASrUo
+.. section: Library
+Closing io.BytesIO with exported buffer is rejected now to prevent
+corrupting exported buffer.
+..
+.. bpo: 23326
+.. date: 8869
+.. nonce: 8VzlZD
+.. section: Library
+Removed __ne__ implementations. Since fixing default __ne__ implementation
+in issue #21408 they are redundant.
+..
+.. bpo: 23363
+.. date: 8868
+.. nonce: -koaol
+.. section: Library
+Fix possible overflow in itertools.permutations.
+..
+.. bpo: 23364
+.. date: 8867
+.. nonce: 3yBV-6
+.. section: Library
+Fix possible overflow in itertools.product.
+..
+.. bpo: 23366
+.. date: 8866
+.. nonce: tyAfm8
+.. section: Library
+Fixed possible integer overflow in itertools.combinations.
+..
+.. bpo: 23369
+.. date: 8865
+.. nonce: nqChyE
+.. section: Library
+Fixed possible integer overflow in _json.encode_basestring_ascii.
+..
+.. bpo: 23353
+.. date: 8864
+.. nonce: Iytkpc
+.. section: Library
+Fix the exception handling of generators in PyEval_EvalFrameEx(). At entry,
+save or swap the exception state even if PyEval_EvalFrameEx() is called with
+throwflag=0. At exit, the exception state is now always restored or swapped,
+not only if why is WHY_YIELD or WHY_RETURN. Patch co-written with Antoine
+Pitrou.
+..
+.. bpo: 14099
+.. date: 8863
+.. nonce: t9-HVE
+.. section: Library
+Restored support of writing ZIP files to tellable but non-seekable streams.
+..
+.. bpo: 14099
+.. date: 8862
+.. nonce: Myxxww
+.. section: Library
+Writing to ZipFile and reading multiple ZipExtFiles is threadsafe now.
+..
+.. bpo: 19361
+.. date: 8861
+.. nonce: 2mvrV3
+.. section: Library
+JSON decoder now raises JSONDecodeError instead of ValueError.
+..
+.. bpo: 18518
+.. date: 8860
+.. nonce: JXgicC
+.. section: Library
+timeit now rejects statements which can't be compiled outside a function or
+a loop (e.g. "return" or "break").
+..
+.. bpo: 23094
+.. date: 8859
+.. nonce: -8AXSi
+.. section: Library
+Fixed readline with frames in Python implementation of pickle.
+..
+.. bpo: 23268
+.. date: 8858
+.. nonce: ATtRa5
+.. section: Library
+Fixed bugs in the comparison of ipaddress classes.
+..
+.. bpo: 21408
+.. date: 8857
+.. nonce: 0rI6tx
+.. section: Library
+Removed incorrect implementations of __ne__() which didn't returned
+NotImplemented if __eq__() returned NotImplemented. The default __ne__()
+now works correctly.
+..
+.. bpo: 19996
+.. date: 8856
+.. nonce: 2-SiMf
+.. section: Library
+:class:`email.feedparser.FeedParser` now handles (malformed) headers with no
+key rather than assuming the body has started.
+..
+.. bpo: 20188
+.. date: 8855
+.. nonce: xocY-2
+.. section: Library
+Support Application-Layer Protocol Negotiation (ALPN) in the ssl module.
+..
+.. bpo: 23133
+.. date: 8854
+.. nonce: 8p2Wnl
+.. section: Library
+Pickling of ipaddress objects now produces more compact and portable
+representation.
+..
+.. bpo: 23248
+.. date: 8853
+.. nonce: FjcyCP
+.. section: Library
+Update ssl error codes from latest OpenSSL git master.
+..
+.. bpo: 23266
+.. date: 8852
+.. nonce: Mo7alR
+.. section: Library
+Much faster implementation of ipaddress.collapse_addresses() when there are
+many non-consecutive addresses.
+..
+.. bpo: 23098
+.. date: 8851
+.. nonce: 7VwF3K
+.. section: Library
+64-bit dev_t is now supported in the os module.
+..
+.. bpo: 21817
+.. date: 8850
+.. nonce: xYUW-9
+.. section: Library
+When an exception is raised in a task submitted to a ProcessPoolExecutor,
+the remote traceback is now displayed in the parent process. Patch by
+Claudiu Popa.
+..
+.. bpo: 15955
+.. date: 8849
+.. nonce: uvpBL4
+.. section: Library
+Add an option to limit output size when decompressing LZMA data. Patch by
+Nikolaus Rath and Martin Panter.
+..
+.. bpo: 23250
+.. date: 8848
+.. nonce: qNGAUf
+.. section: Library
+In the http.cookies module, capitalize "HttpOnly" and "Secure" as they are
+written in the standard.
+..
+.. bpo: 23063
+.. date: 8847
+.. nonce: 9-UJRs
+.. section: Library
+In the distutils' check command, fix parsing of reST with code or code-block
+directives.
+..
+.. bpo: 23209
+.. date: 8846
+.. nonce: I0bCCH
+.. section: Library
+selectors.BaseSelector.get_key() now raises a RuntimeError if the selector
+is closed. And selectors.BaseSelector.close() now clears its internal
+reference to the selector mapping to break a reference cycle. Initial patch
+written by Martin Richard. (See also: bpo-23225)
+..
+.. bpo: 17911
+.. date: 8845
+.. nonce: yg65Iu
+.. section: Library
+Provide a way to seed the linecache for a PEP-302 module without actually
+loading the code.
+..
+.. bpo: 17911
+.. date: 8844
+.. nonce: qeTePa
+.. section: Library
+Provide a new object API for traceback, including the ability to not lookup
+lines at all until the traceback is actually rendered, without any trace of
+the original objects being kept alive.
+..
+.. bpo: 19777
+.. date: 8843
+.. nonce: H_NDIA
+.. section: Library
+Provide a home() classmethod on Path objects. Contributed by Victor Salgado
+and Mayank Tripathi.
+..
+.. bpo: 23206
+.. date: 8842
+.. nonce: xSiYwq
+.. section: Library
+Make ``json.dumps(..., ensure_ascii=False)`` as fast as the default case of
+``ensure_ascii=True``. Patch by Naoki Inada.
+..
+.. bpo: 23185
+.. date: 8841
+.. nonce: KHyoSO
+.. section: Library
+Add math.inf and math.nan constants.
+..
+.. bpo: 23186
+.. date: 8840
+.. nonce: KzWLP2
+.. section: Library
+Add ssl.SSLObject.shared_ciphers() and ssl.SSLSocket.shared_ciphers() to
+fetch the client's list ciphers sent at handshake.
+..
+.. bpo: 23143
+.. date: 8839
+.. nonce: AWxJXV
+.. section: Library
+Remove compatibility with OpenSSLs older than 0.9.8.
+..
+.. bpo: 23132
+.. date: 8838
+.. nonce: pbQcut
+.. section: Library
+Improve performance and introspection support of comparison methods created
+by functool.total_ordering.
+..
+.. bpo: 19776
+.. date: 8837
+.. nonce: BxNgxd
+.. section: Library
+Add an expanduser() method on Path objects.
+..
+.. bpo: 23112
+.. date: 8836
+.. nonce: dZGf82
+.. section: Library
+Fix SimpleHTTPServer to correctly carry the query string and fragment when
+it redirects to add a trailing slash.
+..
+.. bpo: 21793
+.. date: 8835
+.. nonce: T1kQBL
+.. section: Library
+Added http.HTTPStatus enums (i.e. HTTPStatus.OK, HTTPStatus.NOT_FOUND).
+Patch by Demian Brecht.
+..
+.. bpo: 23093
+.. date: 8834
+.. nonce: cP7OqD
+.. section: Library
+In the io, module allow more operations to work on detached streams.
+..
+.. bpo: 23111
+.. date: 8833
+.. nonce: A34IA4
+.. section: Library
+In the ftplib, make ssl.PROTOCOL_SSLv23 the default protocol version.
+..
+.. bpo: 22585
+.. date: 8832
+.. nonce: F4BkNo
+.. section: Library
+On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(), instead of
+reading /dev/urandom, to get pseudo-random bytes.
+..
+.. bpo: 19104
+.. date: 8831
+.. nonce: _eIThy
+.. section: Library
+pprint now produces evaluable output for wrapped strings.
+..
+.. bpo: 23071
+.. date: 8830
+.. nonce: 3BSqF7
+.. section: Library
+Added missing names to codecs.__all__. Patch by Martin Panter.
+..
+.. bpo: 22783
+.. date: 8829
+.. nonce: OfYxBd
+.. section: Library
+Pickling now uses the NEWOBJ opcode instead of the NEWOBJ_EX opcode if
+possible.
+..
+.. bpo: 15513
+.. date: 8828
+.. nonce: 7yVnRE
+.. section: Library
+Added a __sizeof__ implementation for pickle classes.
+..
+.. bpo: 19858
+.. date: 8827
+.. nonce: cqOlIt
+.. section: Library
+pickletools.optimize() now aware of the MEMOIZE opcode, can produce more
+compact result and no longer produces invalid output if input data contains
+MEMOIZE opcodes together with PUT or BINPUT opcodes.
+..
+.. bpo: 22095
+.. date: 8826
+.. nonce: iISzxM
+.. section: Library
+Fixed HTTPConnection.set_tunnel with default port. The port value in the
+host header was set to "None". Patch by Demian Brecht.
+..
+.. bpo: 23016
+.. date: 8825
+.. nonce: LyrPd_
+.. section: Library
+A warning no longer produces an AttributeError when the program is run with
+pythonw.exe.
+..
+.. bpo: 21775
+.. date: 8824
+.. nonce: ELR_Al
+.. section: Library
+shutil.copytree(): fix crash when copying to VFAT. An exception handler
+assumed that OSError objects always have a 'winerror' attribute. That is not
+the case, so the exception handler itself raised AttributeError when run on
+Linux (and, presumably, any other non-Windows OS). Patch by Greg Ward.
+..
+.. bpo: 1218234
+.. date: 8823
+.. nonce: 4GcoQK
+.. section: Library
+Fix inspect.getsource() to load updated source of reloaded module. Initial
+patch by Berker Peksag.
+..
+.. bpo: 21740
+.. date: 8822
+.. nonce: TtAApO
+.. section: Library
+Support wrapped callables in doctest. Patch by Claudiu Popa.
+..
+.. bpo: 23009
+.. date: 8821
+.. nonce: -sW7gk
+.. section: Library
+Make sure selectors.EpollSelector.select() works when no FD is registered.
+..
+.. bpo: 22959
+.. date: 8820
+.. nonce: Vxt3EP
+.. section: Library
+In the constructor of http.client.HTTPSConnection, prefer the context's
+check_hostname attribute over the *check_hostname* parameter.
+..
+.. bpo: 22696
+.. date: 8819
+.. nonce: pvdcxs
+.. section: Library
+Add function :func:`sys.is_finalizing` to know about interpreter shutdown.
+..
+.. bpo: 16043
+.. date: 8818
+.. nonce: TGIC7t
+.. section: Library
+Add a default limit for the amount of data xmlrpclib.gzip_decode will
+return. This resolves :cve:`2013-1753`.
+..
+.. bpo: 14099
+.. date: 8817
+.. nonce: GJ5meQ
+.. section: Library
+ZipFile.open() no longer reopen the underlying file. Objects returned by
+ZipFile.open() can now operate independently of the ZipFile even if the
+ZipFile was created by passing in a file-like object as the first argument
+to the constructor.
+..
+.. bpo: 22966
+.. date: 8816
+.. nonce: zIxDrT
+.. section: Library
+Fix __pycache__ pyc file name clobber when pyc_compile is asked to compile a
+source file containing multiple dots in the source file name.
+..
+.. bpo: 21971
+.. date: 8815
+.. nonce: XlTc22
+.. section: Library
+Update turtledemo doc and add module to the index.
+..
+.. bpo: 21032
+.. date: 8814
+.. nonce: wxT_41
+.. section: Library
+Fixed socket leak if HTTPConnection.getresponse() fails. Original patch by
+Martin Panter.
+..
+.. bpo: 22407
+.. date: 8813
+.. nonce: CWi1wX
+.. section: Library
+Deprecated the use of re.LOCALE flag with str patterns or re.ASCII. It was
+newer worked.
+..
+.. bpo: 22902
+.. date: 8812
+.. nonce: ZqXriA
+.. section: Library
+The "ip" command is now used on Linux to determine MAC address in
+uuid.getnode(). Patch by Bruno Cauet.
+..
+.. bpo: 22960
+.. date: 8811
+.. nonce: 2VDILT
+.. section: Library
+Add a context argument to xmlrpclib.ServerProxy constructor.
+..
+.. bpo: 22389
+.. date: 8810
+.. nonce: 82DuwD
+.. section: Library
+Add contextlib.redirect_stderr().
+..
+.. bpo: 21356
+.. date: 8809
+.. nonce: 8NY75J
+.. section: Library
+Make ssl.RAND_egd() optional to support LibreSSL. The availability of the
+function is checked during the compilation. Patch written by Bernard Spil.
+..
+.. bpo: 22915
+.. date: 8808
+.. nonce: 709UAo
+.. section: Library
+SAX parser now supports files opened with file descriptor or bytes path.
+..
+.. bpo: 22609
+.. date: 8807
+.. nonce: mmLoeb
+.. section: Library
+Constructors and update methods of mapping classes in the collections module
+now accept the self keyword argument.
+..
+.. bpo: 22940
+.. date: 8806
+.. nonce: SP99Nf
+.. section: Library
+Add readline.append_history_file.
+..
+.. bpo: 19676
+.. date: 8805
+.. nonce: Wijwr8
+.. section: Library
+Added the "namereplace" error handler.
+..
+.. bpo: 22788
+.. date: 8804
+.. nonce: vofL9e
+.. section: Library
+Add *context* parameter to logging.handlers.HTTPHandler.
+..
+.. bpo: 22921
+.. date: 8803
+.. nonce: a4wx1C
+.. section: Library
+Allow SSLContext to take the *hostname* parameter even if OpenSSL doesn't
+support SNI.
+..
+.. bpo: 22894
+.. date: 8802
+.. nonce: 4AkwPA
+.. section: Library
+TestCase.subTest() would cause the test suite to be stopped when in failfast
+mode, even in the absence of failures.
+..
+.. bpo: 22796
+.. date: 8801
+.. nonce: _pFPFA
+.. section: Library
+HTTP cookie parsing is now stricter, in order to protect against potential
+injection attacks.
+..
+.. bpo: 22370
+.. date: 8800
+.. nonce: j4y21u
+.. section: Library
+Windows detection in pathlib is now more robust.
+..
+.. bpo: 22841
+.. date: 8799
+.. nonce: 8wpk7T
+.. section: Library
+Reject coroutines in asyncio add_signal_handler(). Patch by Ludovic.Gasc.
+..
+.. bpo: 19494
+.. date: 8798
+.. nonce: 7O5O8k
+.. section: Library
+Added urllib.request.HTTPBasicPriorAuthHandler. Patch by Matej Cepl.
+..
+.. bpo: 22578
+.. date: 8797
+.. nonce: 6XZ0Jf
+.. section: Library
+Added attributes to the re.error class.
+..
+.. bpo: 22849
+.. date: 8796
+.. nonce: AqBPyj
+.. section: Library
+Fix possible double free in the io.TextIOWrapper constructor.
+..
+.. bpo: 12728
+.. date: 8795
+.. nonce: rHZmXO
+.. section: Library
+Different Unicode characters having the same uppercase but different
+lowercase are now matched in case-insensitive regular expressions.
+..
+.. bpo: 22821
+.. date: 8794
+.. nonce: 30cQ-U
+.. section: Library
+Fixed fcntl() with integer argument on 64-bit big-endian platforms.
+..
+.. bpo: 21650
+.. date: 8793
+.. nonce: 62MLqr
+.. section: Library
+Add an ``--sort-keys`` option to ``json.tool`` CLI.
+..
+.. bpo: 22824
+.. date: 8792
+.. nonce: d5Txvr
+.. section: Library
+Updated reprlib output format for sets to use set literals. Patch
+contributed by Berker Peksag.
+..
+.. bpo: 22824
+.. date: 8791
+.. nonce: H_r9uH
+.. section: Library
+Updated reprlib output format for arrays to display empty arrays without an
+unnecessary empty list. Suggested by Serhiy Storchaka.
+..
+.. bpo: 22406
+.. date: 8790
+.. nonce: sPlVbI
+.. section: Library
+Fixed the uu_codec codec incorrectly ported to 3.x. Based on patch by Martin
+Panter.
+..
+.. bpo: 17293
+.. date: 8789
+.. nonce: Hk06bO
+.. section: Library
+uuid.getnode() now determines MAC address on AIX using netstat. Based on
+patch by Aivars Kalvāns.
+..
+.. bpo: 22769
+.. date: 8788
+.. nonce: PunnvQ
+.. section: Library
+Fixed ttk.Treeview.tag_has() when called without arguments.
+..
+.. bpo: 22417
+.. date: 8787
+.. nonce: To4b7U
+.. section: Library
+Verify certificates by default in httplib (PEP 476).
+..
+.. bpo: 22775
+.. date: 8786
+.. nonce: V5aCUz
+.. section: Library
+Fixed unpickling of http.cookies.SimpleCookie with protocol 2 and above.
+Patch by Tim Graham.
+..
+.. bpo: 22776
+.. date: 8785
+.. nonce: xNcRse
+.. section: Library
+Brought excluded code into the scope of a try block in SysLogHandler.emit().
+..
+.. bpo: 22665
+.. date: 8784
+.. nonce: j6Jlp8
+.. section: Library
+Add missing get_terminal_size and SameFileError to shutil.__all__.
+..
+.. bpo: 6623
+.. date: 8783
+.. nonce: 6LOidS
+.. section: Library
+Remove deprecated Netrc class in the ftplib module. Patch by Matt Chaput.
+..
+.. bpo: 17381
+.. date: 8782
+.. nonce: 4J5yv7
+.. section: Library
+Fixed handling of case-insensitive ranges in regular expressions.
+..
+.. bpo: 22410
+.. date: 8781
+.. nonce: 99YFdd
+.. section: Library
+Module level functions in the re module now cache compiled locale-dependent
+regular expressions taking into account the locale.
+..
+.. bpo: 22759
+.. date: 8780
+.. nonce: BJPdiL
+.. section: Library
+Query methods on pathlib.Path() (exists(), is_dir(), etc.) now return False
+when the underlying stat call raises NotADirectoryError.
+..
+.. bpo: 8876
+.. date: 8779
+.. nonce: A83Av4
+.. section: Library
+distutils now falls back to copying files when hard linking doesn't work.
+This allows use with special filesystems such as VirtualBox shared folders.
+..
+.. bpo: 22217
+.. date: 8778
+.. nonce: nXzGur
+.. section: Library
+Implemented reprs of classes in the zipfile module.
+..
+.. bpo: 22457
+.. date: 8777
+.. nonce: Xd2Mk-
+.. section: Library
+Honour load_tests in the start_dir of discovery.
+..
+.. bpo: 18216
+.. date: 8776
+.. nonce: trTZw4
+.. section: Library
+gettext now raises an error when a .mo file has an unsupported major version
+number. Patch by Aaron Hill.
+..
+.. bpo: 13918
+.. date: 8775
+.. nonce: -OnUhD
+.. section: Library
+Provide a locale.delocalize() function which can remove locale-specific
+number formatting from a string representing a number, without then
+converting it to a specific type. Patch by Cédric Krier.
+..
+.. bpo: 22676
+.. date: 8774
+.. nonce: d2v8QM
+.. section: Library
+Make the pickling of global objects which don't have a __module__ attribute
+less slow.
+..
+.. bpo: 18853
+.. date: 8773
+.. nonce: 76DrPD
+.. section: Library
+Fixed ResourceWarning in shlex.__nain__.
+..
+.. bpo: 9351
+.. date: 8772
+.. nonce: u5UI-6
+.. section: Library
+Defaults set with set_defaults on an argparse subparser are no longer
+ignored when also set on the parent parser.
+..
+.. bpo: 7559
+.. date: 8771
+.. nonce: QG35ZP
+.. section: Library
+unittest test loading ImportErrors are reported as import errors with their
+import exception rather than as attribute errors after the import has
+already failed.
+..
+.. bpo: 19746
+.. date: 8770
+.. nonce: S1dg1K
+.. section: Library
+Make it possible to examine the errors from unittest discovery without
+executing the test suite. The new ``errors`` attribute on ``TestLoader`` exposes
+these non-fatal errors encountered during discovery.
+..
+.. bpo: 21991
+.. date: 8769
+.. nonce: Mkm0IN
+.. section: Library
+Make email.headerregistry's header 'params' attributes be read-only
+(MappingProxyType). Previously the dictionary was modifiable but a new one
+was created on each access of the attribute.
+..
+.. bpo: 22638
+.. date: 8768
+.. nonce: Ur73gJ
+.. section: Library
+SSLv3 is now disabled throughout the standard library. It can still be
+enabled by instantiating a SSLContext manually.
+..
+.. bpo: 22641
+.. date: 8767
+.. nonce: m0ldtl
+.. section: Library
+In asyncio, the default SSL context for client connections is now created
+using ssl.create_default_context(), for stronger security.
+..
+.. bpo: 17401
+.. date: 8766
+.. nonce: SZd19P
+.. section: Library
+Include closefd in io.FileIO repr.
+..
+.. bpo: 21338
+.. date: 8765
+.. nonce: evDyHD
+.. section: Library
+Add silent mode for compileall. quiet parameters of compile_{dir, file,
+path} functions now have a multilevel value. Also, -q option of the CLI now
+have a multilevel value. Patch by Thomas Kluyver.
+..
+.. bpo: 20152
+.. date: 8764
+.. nonce: 9_o92A
+.. section: Library
+Convert the array and cmath modules to Argument Clinic.
+..
+.. bpo: 18643
+.. date: 8763
+.. nonce: 6Qdc0J
+.. section: Library
+Add socket.socketpair() on Windows.
+..
+.. bpo: 22435
+.. date: 8762
+.. nonce: s2U7Zm
+.. section: Library
+Fix a file descriptor leak when socketserver bind fails.
+..
+.. bpo: 13096
+.. date: 8761
+.. nonce: rsailB
+.. section: Library
+Fixed segfault in CTypes POINTER handling of large values.
+..
+.. bpo: 11694
+.. date: 8760
+.. nonce: JuDrch
+.. section: Library
+Raise ConversionError in xdrlib as documented. Patch by Filip Gruszczyński
+and Claudiu Popa.
+..
+.. bpo: 19380
+.. date: 8759
+.. nonce: nqgoRQ
+.. section: Library
+Optimized parsing of regular expressions.
+..
+.. bpo: 1519638
+.. date: 8758
+.. nonce: 2pbuog
+.. section: Library
+Now unmatched groups are replaced with empty strings in re.sub() and
+re.subn().
+..
+.. bpo: 18615
+.. date: 8757
+.. nonce: 65TxnY
+.. section: Library
+sndhdr.what/whathdr now return a namedtuple.
+..
+.. bpo: 22462
+.. date: 8756
+.. nonce: 1h4Kpr
+.. section: Library
+Fix pyexpat's creation of a dummy frame to make it appear in exception
+tracebacks.
+..
+.. bpo: 21965
+.. date: 8755
+.. nonce: n_jnXs
+.. section: Library
+Add support for in-memory SSL to the ssl module. Patch by Geert Jansen.
+..
+.. bpo: 21173
+.. date: 8754
+.. nonce: egkbEx
+.. section: Library
+Fix len() on a WeakKeyDictionary when .clear() was called with an iterator
+alive.
+..
+.. bpo: 11866
+.. date: 8753
+.. nonce: xrvbIC
+.. section: Library
+Eliminated race condition in the computation of names for new threads.
+..
+.. bpo: 21905
+.. date: 8752
+.. nonce: coKyRo
+.. section: Library
+Avoid RuntimeError in pickle.whichmodule() when sys.modules is mutated while
+iterating. Patch by Olivier Grisel.
+..
+.. bpo: 11271
+.. date: 8751
+.. nonce: ZYiJru
+.. section: Library
+concurrent.futures.Executor.map() now takes a *chunksize* argument to allow
+batching of tasks in child processes and improve performance of
+ProcessPoolExecutor. Patch by Dan O'Reilly.
+..
+.. bpo: 21883
+.. date: 8750
+.. nonce: qpuQu6
+.. section: Library
+os.path.join() and os.path.relpath() now raise a TypeError with more helpful
+error message for unsupported or mismatched types of arguments.
+..
+.. bpo: 22219
+.. date: 8749
+.. nonce: l9Enh9
+.. section: Library
+The zipfile module CLI now adds entries for directories (including empty
+directories) in ZIP file.
+..
+.. bpo: 22449
+.. date: 8748
+.. nonce: nFW_Fl
+.. section: Library
+In the ssl.SSLContext.load_default_certs, consult the environmental
+variables SSL_CERT_DIR and SSL_CERT_FILE on Windows.
+..
+.. bpo: 22508
+.. date: 8747
+.. nonce: 2LbnGQ
+.. section: Library
+The email.__version__ variable has been removed; the email code is no longer
+shipped separately from the stdlib, and __version__ hasn't been updated in
+several releases.
+..
+.. bpo: 20076
+.. date: 8746
+.. nonce: -7OIVB
+.. section: Library
+Added non derived UTF-8 aliases to locale aliases table.
+..
+.. bpo: 20079
+.. date: 8745
+.. nonce: qM949O
+.. section: Library
+Added locales supported in glibc 2.18 to locale alias table.
+..
+.. bpo: 20218
+.. date: 8744
+.. nonce: CMgOyE
+.. section: Library
+Added convenience methods read_text/write_text and read_bytes/ write_bytes
+to pathlib.Path objects.
+..
+.. bpo: 22396
+.. date: 8743
+.. nonce: cQSizA
+.. section: Library
+On 32-bit AIX platform, don't expose os.posix_fadvise() nor
+os.posix_fallocate() because their prototypes in system headers are wrong.
+..
+.. bpo: 22517
+.. date: 8742
+.. nonce: qT6-aB
+.. section: Library
+When an io.BufferedRWPair object is deallocated, clear its weakrefs.
+..
+.. bpo: 22437
+.. date: 8741
+.. nonce: MRVnmQ
+.. section: Library
+Number of capturing groups in regular expression is no longer limited by
+100.
+..
+.. bpo: 17442
+.. date: 8740
+.. nonce: rnc87D
+.. section: Library
+InteractiveInterpreter now displays the full chained traceback in its
+showtraceback method, to match the built in interactive interpreter.
+..
+.. bpo: 23392
+.. date: 8739
+.. nonce: Pe7_WK
+.. section: Library
+Added tests for marshal C API that works with FILE*.
+..
+.. bpo: 10510
+.. date: 8738
+.. nonce: N-ntcD
+.. section: Library
+distutils register and upload methods now use HTML standards compliant CRLF
+line endings.
+..
+.. bpo: 9850
+.. date: 8737
+.. nonce: D-UnVi
+.. section: Library
+Fixed macpath.join() for empty first component. Patch by Oleg Oshmyan.
+..
+.. bpo: 5309
+.. date: 8736
+.. nonce: pVMmQ8
+.. section: Library
+distutils' build and build_ext commands now accept a ``-j`` option to enable
+parallel building of extension modules.
+..
+.. bpo: 22448
+.. date: 8735
+.. nonce: fAapvE
+.. section: Library
+Improve canceled timer handles cleanup to prevent unbound memory usage.
+Patch by Joshua Moore-Oliva.
+..
+.. bpo: 22427
+.. date: 8734
+.. nonce: TZ5S_u
+.. section: Library
+TemporaryDirectory no longer attempts to clean up twice when used in the
+with statement in generator.
+..
+.. bpo: 22362
+.. date: 8733
+.. nonce: xIBThN
+.. section: Library
+Forbidden ambiguous octal escapes out of range 0-0o377 in regular
+expressions.
+..
+.. bpo: 20912
+.. date: 8732
+.. nonce: cAq3mZ
+.. section: Library
+Now directories added to ZIP file have correct Unix and MS-DOS directory
+attributes.
+..
+.. bpo: 21866
+.. date: 8731
+.. nonce: hSc4wM
+.. section: Library
+ZipFile.close() no longer writes ZIP64 central directory records if
+allowZip64 is false.
+..
+.. bpo: 22278
+.. date: 8730
+.. nonce: abqBXZ
+.. section: Library
+Fix urljoin problem with relative urls, a regression observed after changes
+to issue22118 were submitted.
+..
+.. bpo: 22415
+.. date: 8729
+.. nonce: xJLAvI
+.. section: Library
+Fixed debugging output of the GROUPREF_EXISTS opcode in the re module.
+Removed trailing spaces in debugging output.
+..
+.. bpo: 22423
+.. date: 8728
+.. nonce: Rtb4oT
+.. section: Library
+Unhandled exception in thread no longer causes unhandled AttributeError when
+sys.stderr is None.
+..
+.. bpo: 21332
+.. date: 8727
+.. nonce: Gwxwlr
+.. section: Library
+Ensure that ``bufsize=1`` in subprocess.Popen() selects line buffering,
+rather than block buffering. Patch by Akira Li.
+..
+.. bpo: 21091
+.. date: 8726
+.. nonce: M5hAtT
+.. section: Library
+Fix API bug: email.message.EmailMessage.is_attachment is now a method.
+..
+.. bpo: 21079
+.. date: 8725
+.. nonce: czVcL8
+.. section: Library
+Fix email.message.EmailMessage.is_attachment to return the correct result
+when the header has parameters as well as a value.
+..
+.. bpo: 22247
+.. date: 8724
+.. nonce: sGIpR3
+.. section: Library
+Add NNTPError to nntplib.__all__.
+..
+.. bpo: 22366
+.. date: 8723
+.. nonce: Dd1eFj
+.. section: Library
+urllib.request.urlopen will accept a context object (SSLContext) as an
+argument which will then be used for HTTPS connection. Patch by Alex Gaynor.
+..
+.. bpo: 4180
+.. date: 8722
+.. nonce: QBx0JK
+.. section: Library
+The warnings registries are now reset when the filters are modified.
+..
+.. bpo: 22419
+.. date: 8721
+.. nonce: FqH4aC
+.. section: Library
+Limit the length of incoming HTTP request in wsgiref server to 65536 bytes
+and send a 414 error code for higher lengths. Patch contributed by Devin
+Cook.
+..
+.. bpo: 0
+.. date: 8720
+.. nonce: y7r3O2
+.. section: Library
+Lax cookie parsing in http.cookies could be a security issue when combined
+with non-standard cookie handling in some web browsers. Reported by Sergey
+Bobrov.
+..
+.. bpo: 20537
+.. date: 8719
+.. nonce: E0CE54
+.. section: Library
+logging methods now accept an exception instance as well as a Boolean value
+or exception tuple. Thanks to Yury Selivanov for the patch.
+..
+.. bpo: 22384
+.. date: 8718
+.. nonce: -Nl4He
+.. section: Library
+An exception in Tkinter callback no longer crashes the program when it is
+run with pythonw.exe.
+..
+.. bpo: 22168
+.. date: 8717
+.. nonce: vLeKWC
+.. section: Library
+Prevent turtle AttributeError with non-default Canvas on OS X.
+..
+.. bpo: 21147
+.. date: 8716
+.. nonce: w9DE17
+.. section: Library
+sqlite3 now raises an exception if the request contains a null character
+instead of truncating it. Based on patch by Victor Stinner.
+..
+.. bpo: 13968
+.. date: 8715
+.. nonce: 1okGqm
+.. section: Library
+The glob module now supports recursive search in subdirectories using the
+``**`` pattern.
+..
+.. bpo: 21951
+.. date: 8714
+.. nonce: 3vS4LK
+.. section: Library
+Fixed a crash in Tkinter on AIX when called Tcl command with empty string or
+tuple argument.
+..
+.. bpo: 21951
+.. date: 8713
+.. nonce: _CCC4v
+.. section: Library
+Tkinter now most likely raises MemoryError instead of crash if the memory
+allocation fails.
+..
+.. bpo: 22338
+.. date: 8712
+.. nonce: rKlCMz
+.. section: Library
+Fix a crash in the json module on memory allocation failure.
+..
+.. bpo: 12410
+.. date: 8711
+.. nonce: oFf-cB
+.. section: Library
+imaplib.IMAP4 now supports the context management protocol. Original patch
+by Tarek Ziadé.
+..
+.. bpo: 21270
+.. date: 8710
+.. nonce: qMBaY-
+.. section: Library
+We now override tuple methods in mock.call objects so that they can be used
+as normal call attributes.
+..
+.. bpo: 16662
+.. date: 8709
+.. nonce: Nghn-Y
+.. section: Library
+``load_tests()`` is now unconditionally run when it is present in a package's
+``__init__.py``. ``TestLoader.loadTestsFromModule()`` still accepts use_load_tests,
+but it is deprecated and ignored. A new keyword-only attribute ``pattern`` is
+added and documented. Patch given by Robert Collins, tweaked by Barry
+Warsaw.
+..
+.. bpo: 22226
+.. date: 8708
+.. nonce: T1ZMPY
+.. section: Library
+First letter no longer is stripped from the "status" key in the result of
+Treeview.heading().
+..
+.. bpo: 19524
+.. date: 8707
+.. nonce: EQJjlF
+.. section: Library
+Fixed resource leak in the HTTP connection when an invalid response is
+received. Patch by Martin Panter.
+..
+.. bpo: 20421
+.. date: 8706
+.. nonce: iR0S1s
+.. section: Library
+Add a .version() method to SSL sockets exposing the actual protocol version
+in use.
+..
+.. bpo: 19546
+.. date: 8705
+.. nonce: 8VdYBK
+.. section: Library
+configparser exceptions no longer expose implementation details. Chained
+KeyErrors are removed, which leads to cleaner tracebacks. Patch by Claudiu
+Popa.
+..
+.. bpo: 22051
+.. date: 8704
+.. nonce: cUjFqL
+.. section: Library
+turtledemo no longer reloads examples to re-run them. Initialization of
+variables and gui setup should be done in main(), which is called each time
+a demo is run, but not on import.
+..
+.. bpo: 21933
+.. date: 8703
+.. nonce: IhMjN1
+.. section: Library
+Turtledemo users can change the code font size with a menu selection or
+control(command) '-' or '+' or control-mousewheel. Original patch by Lita
+Cho.
+..
+.. bpo: 21597
+.. date: 8702
+.. nonce: aPTCWJ
+.. section: Library
+The separator between the turtledemo text pane and the drawing canvas can
+now be grabbed and dragged with a mouse. The code text pane can be widened
+to easily view or copy the full width of the text. The canvas can be
+widened on small screens. Original patches by Jan Kanis and Lita Cho.
+..
+.. bpo: 18132
+.. date: 8701
+.. nonce: 2R2nwM
+.. section: Library
+Turtledemo buttons no longer disappear when the window is shrunk. Original
+patches by Jan Kanis and Lita Cho.
+..
+.. bpo: 22043
+.. date: 8700
+.. nonce: Q6RvGL
+.. section: Library
+time.monotonic() is now always available. ``threading.Lock.acquire()``,
+``threading.RLock.acquire()`` and socket operations now use a monotonic
+clock, instead of the system clock, when a timeout is used.
+..
+.. bpo: 21527
+.. date: 8699
+.. nonce: N5WPxr
+.. section: Library
+Add a default number of workers to ThreadPoolExecutor equal to 5 times the
+number of CPUs. Patch by Claudiu Popa.
+..
+.. bpo: 22216
+.. date: 8698
+.. nonce: Cmalu6
+.. section: Library
+smtplib now resets its state more completely after a quit. The most obvious
+consequence of the previous behavior was a STARTTLS failure during a
+connect/starttls/quit/connect/starttls sequence.
+..
+.. bpo: 22098
+.. date: 8697
+.. nonce: 5JYiQN
+.. section: Library
+ctypes' BigEndianStructure and LittleEndianStructure now define an empty
+__slots__ so that subclasses don't always get an instance dict. Patch by
+Claudiu Popa.
+..
+.. bpo: 22185
+.. date: 8696
+.. nonce: 1SCCIK
+.. section: Library
+Fix an occasional RuntimeError in threading.Condition.wait() caused by
+mutation of the waiters queue without holding the lock. Patch by Doug
+Zongker.
+..
+.. bpo: 22287
+.. date: 8695
+.. nonce: awH2AI
+.. section: Library
+On UNIX, _PyTime_gettimeofday() now uses clock_gettime(CLOCK_REALTIME) if
+available. As a side effect, Python now depends on the librt library on
+Solaris and on Linux (only with glibc older than 2.17).
+..
+.. bpo: 22182
+.. date: 8694
+.. nonce: 5EG1Bc
+.. section: Library
+Use e.args to unpack exceptions correctly in distutils.file_util.move_file.
+Patch by Claudiu Popa.
+..
+.. bpo: 0
+.. date: 8693
+.. nonce: zBfe8J
+.. section: Library
+The webbrowser module now uses subprocess's start_new_session=True rather
+than a potentially risky preexec_fn=os.setsid call.
+..
+.. bpo: 22042
+.. date: 8692
+.. nonce: WZvb8s
+.. section: Library
+signal.set_wakeup_fd(fd) now raises an exception if the file descriptor is
+in blocking mode.
+..
+.. bpo: 16808
+.. date: 8691
+.. nonce: kPy_5U
+.. section: Library
+inspect.stack() now returns a named tuple instead of a tuple. Patch by
+Daniel Shahaf.
+..
+.. bpo: 22236
+.. date: 8690
+.. nonce: 1utXkg
+.. section: Library
+Fixed Tkinter images copying operations in NoDefaultRoot mode.
+..
+.. bpo: 2527
+.. date: 8689
+.. nonce: fR2GS6
+.. section: Library
+Add a *globals* argument to timeit functions, in order to override the
+globals namespace in which the timed code is executed. Patch by Ben Roberts.
+..
+.. bpo: 22118
+.. date: 8688
+.. nonce: 3gdkOF
+.. section: Library
+Switch urllib.parse to use RFC 3986 semantics for the resolution of relative
+URLs, rather than RFCs 1808 and 2396. Patch by Demian Brecht.
+..
+.. bpo: 21549
+.. date: 8687
+.. nonce: i1LVvg
+.. section: Library
+Added the "members" parameter to TarFile.list().
+..
+.. bpo: 19628
+.. date: 8686
+.. nonce: ssQVP8
+.. section: Library
+Allow compileall recursion depth to be specified with a -r option.
+..
+.. bpo: 15696
+.. date: 8685
+.. nonce: PTwXYJ
+.. section: Library
+Add a __sizeof__ implementation for mmap objects on Windows.
+..
+.. bpo: 22068
+.. date: 8684
+.. nonce: wCdaW0
+.. section: Library
+Avoided reference loops with Variables and Fonts in Tkinter.
+..
+.. bpo: 22165
+.. date: 8683
+.. nonce: J1np4o
+.. section: Library
+SimpleHTTPRequestHandler now supports undecodable file names.
+..
+.. bpo: 15381
+.. date: 8682
+.. nonce: Ia8pf6
+.. section: Library
+Optimized line reading in io.BytesIO.
+..
+.. bpo: 8797
+.. date: 8681
+.. nonce: aJcIPu
+.. section: Library
+Raise HTTPError on failed Basic Authentication immediately. Initial patch by
+Sam Bull.
+..
+.. bpo: 20729
+.. date: 8680
+.. nonce: I-1Lap
+.. section: Library
+Restored the use of lazy iterkeys()/itervalues()/iteritems() in the mailbox
+module.
+..
+.. bpo: 21448
+.. date: 8679
+.. nonce: THJSYB
+.. section: Library
+Changed FeedParser feed() to avoid *O*\ (*n*\ :sup:`2`) behavior when parsing long line.
+Original patch by Raymond Hettinger.
+..
+.. bpo: 22184
+.. date: 8678
+.. nonce: UCbSOt
+.. section: Library
+The functools LRU Cache decorator factory now gives an earlier and clearer
+error message when the user forgets the required parameters.
+..
+.. bpo: 17923
+.. date: 8677
+.. nonce: YI_QjG
+.. section: Library
+glob() patterns ending with a slash no longer match non-dirs on AIX. Based
+on patch by Delhallt.
+..
+.. bpo: 21725
+.. date: 8676
+.. nonce: eIu-2N
+.. section: Library
+Added support for RFC 6531 (SMTPUTF8) in smtpd.
+..
+.. bpo: 22176
+.. date: 8675
+.. nonce: rgbRyg
+.. section: Library
+Update the ctypes module's libffi to v3.1. This release adds support for
+the Linux AArch64 and POWERPC ELF ABIv2 little endian architectures.
+..
+.. bpo: 5411
+.. date: 8674
+.. nonce: 5Utapn
+.. section: Library
+Added support for the "xztar" format in the shutil module.
+..
+.. bpo: 21121
+.. date: 8673
+.. nonce: ZLsRil
+.. section: Library
+Don't force 3rd party C extensions to be built with
+-Werror=declaration-after-statement.
+..
+.. bpo: 21975
+.. date: 8672
+.. nonce: MI8ntO
+.. section: Library
+Fixed crash when using uninitialized sqlite3.Row (in particular when
+unpickling pickled sqlite3.Row). sqlite3.Row is now initialized in the
+__new__() method.
+..
+.. bpo: 20170
+.. date: 8671
+.. nonce: 8QfhN7
+.. section: Library
+Convert posixmodule to use Argument Clinic.
+..
+.. bpo: 21539
+.. date: 8670
+.. nonce: YccmZF
+.. section: Library
+Add an *exists_ok* argument to ``Pathlib.mkdir()`` to mimic ``mkdir -p`` and
+``os.makedirs()`` functionality. When true, ignore ``FileExistsErrors``. Patch
+by Berker Peksag.
+..
+.. bpo: 22127
+.. date: 8669
+.. nonce: 0l2OO5
+.. section: Library
+Bypass IDNA for pure-ASCII host names in the socket module (in particular
+for numeric IPs).
+..
+.. bpo: 21047
+.. date: 8668
+.. nonce: XfUQG3
+.. section: Library
+set the default value for the *convert_charrefs* argument of HTMLParser to
+True. Patch by Berker Peksag.
+..
+.. bpo: 0
+.. date: 8667
+.. nonce: 56bAnQ
+.. section: Library
+Add an __all__ to html.entities.
+..
+.. bpo: 15114
+.. date: 8666
+.. nonce: jXwseC
+.. section: Library
+the strict mode and argument of HTMLParser, HTMLParser.error, and the
+HTMLParserError exception have been removed.
+..
+.. bpo: 22085
+.. date: 8665
+.. nonce: 3JM_Aw
+.. section: Library
+Dropped support of Tk 8.3 in Tkinter.
+..
+.. bpo: 21580
+.. date: 8664
+.. nonce: 3ssycS
+.. section: Library
+Now Tkinter correctly handles bytes arguments passed to Tk. In particular
+this allows initializing images from binary data.
+..
+.. bpo: 22003
+.. date: 8663
+.. nonce: 4ZIDS1
+.. section: Library
+When initialized from a bytes object, io.BytesIO() now defers making a copy
+until it is mutated, improving performance and memory use on some use cases.
+Patch by David Wilson.
+..
+.. bpo: 22018
+.. date: 8662
+.. nonce: 6ApxSH
+.. section: Library
+On Windows, signal.set_wakeup_fd() now also supports sockets. A side effect
+is that Python depends to the WinSock library.
+..
+.. bpo: 22054
+.. date: 8661
+.. nonce: zp6Svw
+.. section: Library
+Add os.get_blocking() and os.set_blocking() functions to get and set the
+blocking mode of a file descriptor (False if the O_NONBLOCK flag is set,
+True otherwise). These functions are not available on Windows.
+..
+.. bpo: 17172
+.. date: 8660
+.. nonce: R_LI_2
+.. section: Library
+Make turtledemo start as active on OS X even when run with subprocess.
+Patch by Lita Cho.
+..
+.. bpo: 21704
+.. date: 8659
+.. nonce: gL3ikj
+.. section: Library
+Fix build error for _multiprocessing when semaphores are not available.
+Patch by Arfrever Frehtes Taifersar Arahesis.
+..
+.. bpo: 20173
+.. date: 8658
+.. nonce: FAL-4L
+.. section: Library
+Convert sha1, sha256, sha512 and md5 to ArgumentClinic. Patch by Vajrasky
+Kok.
+..
+.. bpo: 0
+.. date: 8657
+.. nonce: G25tq3
+.. section: Library
+Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowError on
+closed socket. repr(socket.socket) already works fine.
+..
+.. bpo: 22033
+.. date: 8656
+.. nonce: nkBNci
+.. section: Library
+Reprs of most Python implemented classes now contain actual class name
+instead of hardcoded one.
+..
+.. bpo: 21947
+.. date: 8655
+.. nonce: mlisu-
+.. section: Library
+The dis module can now disassemble generator-iterator objects based on their
+gi_code attribute. Patch by Clement Rouault.
+..
+.. bpo: 16133
+.. date: 8654
+.. nonce: tYuYQF
+.. section: Library
+The asynchat.async_chat.handle_read() method now ignores BlockingIOError
+exceptions.
+..
+.. bpo: 22044
+.. date: 8653
+.. nonce: t09GRU
+.. section: Library
+Fixed premature DECREF in call_tzinfo_method. Patch by Tom Flanagan.
+..
+.. bpo: 19884
+.. date: 8652
+.. nonce: v73gSn
+.. section: Library
+readline: Disable the meta modifier key if stdout is not a terminal to not
+write the ANSI sequence ``"\033[1034h"`` into stdout. This sequence is used
+on some terminal (ex: TERM=xterm-256color") to enable support of 8 bit
+characters.
+..
+.. bpo: 4350
+.. date: 8651
+.. nonce: nrTzJn
+.. section: Library
+Removed a number of out-of-dated and non-working for a long time Tkinter
+methods.
+..
+.. bpo: 6167
+.. date: 8650
+.. nonce: n9dV_D
+.. section: Library
+Scrollbar.activate() now returns the name of active element if the argument
+is not specified. Scrollbar.set() now always accepts only 2 arguments.
+..
+.. bpo: 15275
+.. date: 8649
+.. nonce: jk0tTI
+.. section: Library
+Clean up and speed up the ntpath module.
+..
+.. bpo: 21888
+.. date: 8648
+.. nonce: danlpz
+.. section: Library
+plistlib's load() and loads() now work if the fmt parameter is specified.
+..
+.. bpo: 22032
+.. date: 8647
+.. nonce: UklzQW
+.. section: Library
+__qualname__ instead of __name__ is now always used to format fully
+qualified class names of Python implemented classes.
+..
+.. bpo: 22031
+.. date: 8646
+.. nonce: 9aazp1
+.. section: Library
+Reprs now always use hexadecimal format with the "0x" prefix when contain an
+id in form " at 0x...".
+..
+.. bpo: 22018
+.. date: 8645
+.. nonce: b_JTHH
+.. section: Library
+signal.set_wakeup_fd() now raises an OSError instead of a ValueError on
+``fstat()`` failure.
+..
+.. bpo: 21044
+.. date: 8644
+.. nonce: 16xo9u
+.. section: Library
+tarfile.open() now handles fileobj with an integer 'name' attribute. Based
+on patch by Antoine Pietri.
+..
+.. bpo: 21966
+.. date: 8643
+.. nonce: hHD9MK
+.. section: Library
+Respect -q command-line option when code module is ran.
+..
+.. bpo: 19076
+.. date: 8642
+.. nonce: xCoIai
+.. section: Library
+Don't pass the redundant 'file' argument to self.error().
+..
+.. bpo: 16382
+.. date: 8641
+.. nonce: -XBK7z
+.. section: Library
+Improve exception message of warnings.warn() for bad category. Initial patch
+by Phil Elson.
+..
+.. bpo: 21932
+.. date: 8640
+.. nonce: LK_5S1
+.. section: Library
+os.read() now uses a :c:func:`Py_ssize_t` type instead of :c:expr:`int` for
+the size to support reading more than 2 GB at once. On Windows, the size is
+truncated to INT_MAX. As any call to os.read(), the OS may read less bytes
+than the number of requested bytes.
+..
+.. bpo: 21942
+.. date: 8639
+.. nonce: TLOS41
+.. section: Library
+Fixed source file viewing in pydoc's server mode on Windows.
+..
+.. bpo: 11259
+.. date: 8638
+.. nonce: GxfYnE
+.. section: Library
+asynchat.async_chat().set_terminator() now raises a ValueError if the number
+of received bytes is negative.
+..
+.. bpo: 12523
+.. date: 8637
+.. nonce: XBdAky
+.. section: Library
+asynchat.async_chat.push() now raises a TypeError if it doesn't get a bytes
+string
+..
+.. bpo: 21707
+.. date: 8636
+.. nonce: rrY_wd
+.. section: Library
+Add missing kwonlyargcount argument to ModuleFinder.replace_paths_in_code().
+..
+.. bpo: 20639
+.. date: 8635
+.. nonce: YdvOpp
+.. section: Library
+calling Path.with_suffix('') allows removing the suffix again. Patch by
+July Tikhonov.
+..
+.. bpo: 21714
+.. date: 8634
+.. nonce: HhkGXW
+.. section: Library
+Disallow the construction of invalid paths using Path.with_name(). Original
+patch by Antony Lee.
+..
+.. bpo: 15014
+.. date: 8633
+.. nonce: dB50zb
+.. section: Library
+Added 'auth' method to smtplib to make implementing auth mechanisms simpler,
+and used it internally in the login method.
+..
+.. bpo: 21151
+.. date: 8632
+.. nonce: o7IuiD
+.. section: Library
+Fixed a segfault in the winreg module when ``None`` is passed as a
+``REG_BINARY`` value to SetValueEx. Patch by John Ehresman.
+..
+.. bpo: 21090
+.. date: 8631
+.. nonce: 20Ooif
+.. section: Library
+io.FileIO.readall() does not ignore I/O errors anymore. Before, it ignored
+I/O errors if at least the first C call read() succeed.
+..
+.. bpo: 5800
+.. date: 8630
+.. nonce: ZJiLZP
+.. section: Library
+headers parameter of wsgiref.headers.Headers is now optional. Initial patch
+by Pablo Torres Navarrete and SilentGhost.
+..
+.. bpo: 21781
+.. date: 8629
+.. nonce: u_oiv9
+.. section: Library
+ssl.RAND_add() now supports strings longer than 2 GB.
+..
+.. bpo: 21679
+.. date: 8628
+.. nonce: CTVT9A
+.. section: Library
+Prevent extraneous fstat() calls during open(). Patch by Bohuslav Kabrda.
+..
+.. bpo: 21863
+.. date: 8627
+.. nonce: BzbwSL
+.. section: Library
+cProfile now displays the module name of C extension functions, in addition
+to their own name.
+..
+.. bpo: 11453
+.. date: 8626
+.. nonce: 53Gr_R
+.. section: Library
+asyncore: emit a ResourceWarning when an unclosed file_wrapper object is
+destroyed. The destructor now closes the file if needed. The close() method
+can now be called twice: the second call does nothing.
+..
+.. bpo: 21858
+.. date: 8625
+.. nonce: 0hbFBG
+.. section: Library
+Better handling of Python exceptions in the sqlite3 module.
+..
+.. bpo: 21476
+.. date: 8624
+.. nonce: VN-5pW
+.. section: Library
+Make sure the email.parser.BytesParser TextIOWrapper is discarded after
+parsing, so the input file isn't unexpectedly closed.
+..
+.. bpo: 20295
+.. date: 8623
+.. nonce: U1MPhw
+.. section: Library
+imghdr now recognizes OpenEXR format images.
+..
+.. bpo: 21729
+.. date: 8622
+.. nonce: dk7o_U
+.. section: Library
+Used the "with" statement in the dbm.dumb module to ensure files closing.
+Patch by Claudiu Popa.
+..
+.. bpo: 21491
+.. date: 8621
+.. nonce: Zxmut-
+.. section: Library
+socketserver: Fix a race condition in child processes reaping.
+..
+.. bpo: 21719
+.. date: 8620
+.. nonce: DhQz3I
+.. section: Library
+Added the ``st_file_attributes`` field to os.stat_result on Windows.
+..
+.. bpo: 21832
+.. date: 8619
+.. nonce: PBA0Uu
+.. section: Library
+Require named tuple inputs to be exact strings.
+..
+.. bpo: 21722
+.. date: 8618
+.. nonce: WTHuRy
+.. section: Library
+The distutils "upload" command now exits with a non-zero return code when
+uploading fails. Patch by Martin Dengler.
+..
+.. bpo: 21723
+.. date: 8617
+.. nonce: r86fwb
+.. section: Library
+asyncio.Queue: support any type of number (ex: float) for the maximum size.
+Patch written by Vajrasky Kok.
+..
+.. bpo: 21711
+.. date: 8616
+.. nonce: JWPFQZ
+.. section: Library
+support for "site-python" directories has now been removed from the site
+module (it was deprecated in 3.4).
+..
+.. bpo: 17552
+.. date: 8615
+.. nonce: NunErD
+.. section: Library
+new socket.sendfile() method allowing a file to be sent over a socket by
+using high-performance os.sendfile() on UNIX. Patch by Giampaolo Rodola'.
+..
+.. bpo: 18039
+.. date: 8614
+.. nonce: vC9hNy
+.. section: Library
+dbm.dump.open() now always creates a new database when the flag has the
+value 'n'. Patch by Claudiu Popa.
+..
+.. bpo: 21326
+.. date: 8613
+.. nonce: Y6iW3s
+.. section: Library
+Add a new is_closed() method to asyncio.BaseEventLoop. run_forever() and
+run_until_complete() methods of asyncio.BaseEventLoop now raise an exception
+if the event loop was closed.
+..
+.. bpo: 21766
+.. date: 8612
+.. nonce: 0xk_xC
+.. section: Library
+Prevent a security hole in CGIHTTPServer by URL unquoting paths before
+checking for a CGI script at that path.
+..
+.. bpo: 21310
+.. date: 8611
+.. nonce: 2mjByJ
+.. section: Library
+Fixed possible resource leak in failed open().
+..
+.. bpo: 21256
+.. date: 8610
+.. nonce: dGq6cw
+.. section: Library
+Printout of keyword args should be in deterministic order in a mock function
+call. This will help to write better doctests.
+..
+.. bpo: 21677
+.. date: 8609
+.. nonce: 58CDDD
+.. section: Library
+Fixed chaining nonnormalized exceptions in io close() methods.
+..
+.. bpo: 11709
+.. date: 8608
+.. nonce: JdObvL
+.. section: Library
+Fix the pydoc.help function to not fail when sys.stdin is not a valid file.
+..
+.. bpo: 21515
+.. date: 8607
+.. nonce: D9TLJF
+.. section: Library
+tempfile.TemporaryFile now uses os.O_TMPFILE flag is available.
+..
+.. bpo: 13223
+.. date: 8606
+.. nonce: 9AzEbN
+.. section: Library
+Fix pydoc.writedoc so that the HTML documentation for methods that use
+'self' in the example code is generated correctly.
+..
+.. bpo: 21463
+.. date: 8605
+.. nonce: 09PsgH
+.. section: Library
+In urllib.request, fix pruning of the FTP cache.
+..
+.. bpo: 21618
+.. date: 8604
+.. nonce: 3Z7WS3
+.. section: Library
+The subprocess module could fail to close open fds that were inherited by
+the calling process and already higher than POSIX resource limits would
+otherwise allow. On systems with a functioning /proc/self/fd or /dev/fd
+interface the max is now ignored and all fds are closed.
+..
+.. bpo: 20383
+.. date: 8603
+.. nonce: pSPFpW
+.. section: Library
+Introduce importlib.util.module_from_spec() as the preferred way to create a
+new module.
+..
+.. bpo: 21552
+.. date: 8602
+.. nonce: uVy4tM
+.. section: Library
+Fixed possible integer overflow of too long string lengths in the tkinter
+module on 64-bit platforms.
+..
+.. bpo: 14315
+.. date: 8601
+.. nonce: YzZzS8
+.. section: Library
+The zipfile module now ignores extra fields in the central directory that
+are too short to be parsed instead of letting a struct.unpack error bubble
+up as this "bad data" appears in many real world zip files in the wild and
+is ignored by other zip tools.
+..
+.. bpo: 13742
+.. date: 8600
+.. nonce: QJiVSC
+.. section: Library
+Added "key" and "reverse" parameters to heapq.merge(). (First draft of patch
+contributed by Simon Sapin.)
+..
+.. bpo: 21402
+.. date: 8599
+.. nonce: 51vDXt
+.. section: Library
+tkinter.ttk now works when default root window is not set.
+..
+.. bpo: 3015
+.. date: 8598
+.. nonce: FE_PII
+.. section: Library
+``_tkinter.create()`` now creates ``tkapp`` object with ``wantobjects=1`` by
+default.
+..
+.. bpo: 10203
+.. date: 8597
+.. nonce: zgr0hh
+.. section: Library
+sqlite3.Row now truly supports sequence protocol. In particular it supports
+reverse() and negative indices. Original patch by Claudiu Popa.
+..
+.. bpo: 18807
+.. date: 8596
+.. nonce: XP7p8B
+.. section: Library
+If copying (no symlinks) specified for a venv, then the python interpreter
+aliases (python, python3) are now created by copying rather than symlinking.
+..
+.. bpo: 20197
+.. date: 8595
+.. nonce: nYR9fq
+.. section: Library
+Added support for the WebP image type in the imghdr module. Patch by Fabrice
+Aneche and Claudiu Popa.
+..
+.. bpo: 21513
+.. date: 8594
+.. nonce: ro4AOe
+.. section: Library
+Speedup some properties of IP addresses (IPv4Address, IPv6Address) such as
+.is_private or .is_multicast.
+..
+.. bpo: 21137
+.. date: 8593
+.. nonce: wgHb_F
+.. section: Library
+Improve the repr for threading.Lock() and its variants by showing the
+"locked" or "unlocked" status. Patch by Berker Peksag.
+..
+.. bpo: 21538
+.. date: 8592
+.. nonce: Q60FWA
+.. section: Library
+The plistlib module now supports loading of binary plist files when
+reference or offset size is not a power of two.
+..
+.. bpo: 21455
+.. date: 8591
+.. nonce: 6-Uvv4
+.. section: Library
+Add a default backlog to socket.listen().
+..
+.. bpo: 21525
+.. date: 8590
+.. nonce: hAKOve
+.. section: Library
+Most Tkinter methods which accepted tuples now accept lists too.
+..
+.. bpo: 22166
+.. date: 8589
+.. nonce: sZYhmv
+.. section: Library
+With the assistance of a new internal _codecs._forget_codec helping
+function, test_codecs now clears the encoding caches to avoid the appearance
+of a reference leak
+..
+.. bpo: 22236
+.. date: 8588
+.. nonce: ginJSI
+.. section: Library
+Tkinter tests now don't reuse default root window. New root window is
+created for every test class.
+..
+.. bpo: 10744
+.. date: 8587
+.. nonce: kfV0wm
+.. section: Library
+Fix :pep:`3118` format strings on ctypes objects with a nontrivial shape.
+..
+.. bpo: 20826
+.. date: 8586
+.. nonce: 3rXqMC
+.. section: Library
+Optimize ipaddress.collapse_addresses().
+..
+.. bpo: 21487
+.. date: 8585
+.. nonce: sX8YmK
+.. section: Library
+Optimize ipaddress.summarize_address_range() and
+ipaddress.{IPv4Network,IPv6Network}.subnets().
+..
+.. bpo: 21486
+.. date: 8584
+.. nonce: CeFKRP
+.. section: Library
+Optimize parsing of netmasks in ipaddress.IPv4Network and
+ipaddress.IPv6Network.
+..
+.. bpo: 13916
+.. date: 8583
+.. nonce: D77YVH
+.. section: Library
+Disallowed the surrogatepass error handler for non UTF-\* encodings.
+..
+.. bpo: 20998
+.. date: 8582
+.. nonce: fkxpXI
+.. section: Library
+Fixed re.fullmatch() of repeated single character pattern with ignore case.
+Original patch by Matthew Barnett.
+..
+.. bpo: 21075
+.. date: 8581
+.. nonce: f_hmEh
+.. section: Library
+fileinput.FileInput now reads bytes from standard stream if binary mode is
+specified. Patch by Sam Kimbrel.
+..
+.. bpo: 19775
+.. date: 8580
+.. nonce: yxxD_R
+.. section: Library
+Add a samefile() method to pathlib Path objects. Initial patch by Vajrasky
+Kok.
+..
+.. bpo: 21226
+.. date: 8579
+.. nonce: pzGmG1
+.. section: Library
+Set up modules properly in PyImport_ExecCodeModuleObject (and friends).
+..
+.. bpo: 21398
+.. date: 8578
+.. nonce: guSBXt
+.. section: Library
+Fix a unicode error in the pydoc pager when the documentation contains
+characters not encodable to the stdout encoding.
+..
+.. bpo: 16531
+.. date: 8577
+.. nonce: AhrY_v
+.. section: Library
+ipaddress.IPv4Network and ipaddress.IPv6Network now accept an (address,
+netmask) tuple argument, so as to easily construct network objects from
+existing addresses.
+..
+.. bpo: 21156
+.. date: 8576
+.. nonce: 3dmBEp
+.. section: Library
+importlib.abc.InspectLoader.source_to_code() is now a staticmethod.
+..
+.. bpo: 21424
+.. date: 8575
+.. nonce: 8CJBqW
+.. section: Library
+Simplified and optimized heaqp.nlargest() and nmsmallest() to make fewer
+tuple comparisons.
+..
+.. bpo: 21396
+.. date: 8574
+.. nonce: cqO6DN
+.. section: Library
+Fix TextIOWrapper(..., write_through=True) to not force a flush() on the
+underlying binary stream. Patch by akira.
+..
+.. bpo: 18314
+.. date: 8573
+.. nonce: NCd_KF
+.. section: Library
+Unlink now removes junctions on Windows. Patch by Kim Gräsman
+..
+.. bpo: 21088
+.. date: 8572
+.. nonce: WOg7Xy
+.. section: Library
+Bugfix for curses.window.addch() regression in 3.4.0. In porting to Argument
+Clinic, the first two arguments were reversed.
+..
+.. bpo: 21407
+.. date: 8571
+.. nonce: cZjFde
+.. section: Library
+_decimal: The module now supports function signatures.
+..
+.. bpo: 10650
+.. date: 8570
+.. nonce: HYT4Oe
+.. section: Library
+Remove the non-standard 'watchexp' parameter from the Decimal.quantize()
+method in the Python version. It had never been present in the C version.
+..
+.. bpo: 21469
+.. date: 8569
+.. nonce: _fFGuq
+.. section: Library
+Reduced the risk of false positives in robotparser by checking to make sure
+that robots.txt has been read or does not exist prior to returning True in
+can_fetch().
+..
+.. bpo: 19414
+.. date: 8568
+.. nonce: bAAw4D
+.. section: Library
+Have the OrderedDict mark deleted links as unusable. This gives an early
+failure if the link is deleted during iteration.
+..
+.. bpo: 21421
+.. date: 8567
+.. nonce: 5AKAat
+.. section: Library
+Add __slots__ to the MappingViews ABC. Patch by Josh Rosenberg.
+..
+.. bpo: 21101
+.. date: 8566
+.. nonce: Lj-_P4
+.. section: Library
+Eliminate double hashing in the C speed-up code for collections.Counter().
+..
+.. bpo: 21321
+.. date: 8565
+.. nonce: wUkTON
+.. section: Library
+itertools.islice() now releases the reference to the source iterator when
+the slice is exhausted. Patch by Anton Afanasyev.
+..
+.. bpo: 21057
+.. date: 8564
+.. nonce: 0TC4Xl
+.. section: Library
+TextIOWrapper now allows the underlying binary stream's read() or read1()
+method to return an arbitrary bytes-like object (such as a memoryview).
+Patch by Nikolaus Rath.
+..
+.. bpo: 20951
+.. date: 8563
+.. nonce: tF0dJi
+.. section: Library
+SSLSocket.send() now raises either SSLWantReadError or SSLWantWriteError on
+a non-blocking socket if the operation would block. Previously, it would
+return 0. Patch by Nikolaus Rath.
+..
+.. bpo: 13248
+.. date: 8562
+.. nonce: 7vtGj0
+.. section: Library
+removed previously deprecated asyncore.dispatcher __getattr__ cheap
+inheritance hack.
+..
+.. bpo: 9815
+.. date: 8561
+.. nonce: 52FPlI
+.. section: Library
+assertRaises now tries to clear references to local variables in the
+exception's traceback.
+..
+.. bpo: 19940
+.. date: 8560
+.. nonce: 2qtBQ8
+.. section: Library
+ssl.cert_time_to_seconds() now interprets the given time string in the UTC
+timezone (as specified in RFC 5280), not the local timezone.
+..
+.. bpo: 13204
+.. date: 8559
+.. nonce: ZPKA5g
+.. section: Library
+Calling sys.flags.__new__ would crash the interpreter, now it raises a
+TypeError.
+..
+.. bpo: 19385
+.. date: 8558
+.. nonce: PexO_g
+.. section: Library
+Make operations on a closed dbm.dumb database always raise the same
+exception.
+..
+.. bpo: 21207
+.. date: 8557
+.. nonce: Hr72AB
+.. section: Library
+Detect when the os.urandom cached fd has been closed or replaced, and open
+it anew.
+..
+.. bpo: 21291
+.. date: 8556
+.. nonce: 5sSLWN
+.. section: Library
+subprocess's Popen.wait() is now thread safe so that multiple threads may be
+calling wait() or poll() on a Popen instance at the same time without losing
+the Popen.returncode value.
+..
+.. bpo: 21127
+.. date: 8555
+.. nonce: A1aBjG
+.. section: Library
+Path objects can now be instantiated from str subclass instances (such as
+``numpy.str_``).
+..
+.. bpo: 15002
+.. date: 8554
+.. nonce: qorYDe
+.. section: Library
+urllib.response object to use _TemporaryFileWrapper (and
+_TemporaryFileCloser) facility. Provides a better way to handle file
+descriptor close. Patch contributed by Christian Theune.
+..
+.. bpo: 12220
+.. date: 8553
+.. nonce: U25uE9
+.. section: Library
+mindom now raises a custom ValueError indicating it doesn't support spaces
+in URIs instead of letting a 'split' ValueError bubble up.
+..
+.. bpo: 21068
+.. date: 8552
+.. nonce: 9k6N9m
+.. section: Library
+The ssl.PROTOCOL* constants are now enum members.
+..
+.. bpo: 21276
+.. date: 8551
+.. nonce: JkfhvQ
+.. section: Library
+posixmodule: Don't define USE_XATTRS on KFreeBSD and the Hurd.
+..
+.. bpo: 21262
+.. date: 8550
+.. nonce: 1J5ylk
+.. section: Library
+New method assert_not_called for Mock. It raises AssertionError if the mock
+has been called.
+..
+.. bpo: 21238
+.. date: 8549
+.. nonce: 5CDoox
+.. section: Library
+New keyword argument ``unsafe`` to Mock. It raises ``AttributeError`` in case of
+an attribute startswith assert or assret.
+..
+.. bpo: 20896
+.. date: 8548
+.. nonce: oWwAb1
+.. section: Library
+ssl.get_server_certificate() now uses PROTOCOL_SSLv23, not PROTOCOL_SSLv3,
+for maximum compatibility.
+..
+.. bpo: 21239
+.. date: 8547
+.. nonce: EalCNt
+.. section: Library
+patch.stopall() didn't work deterministically when the same name was patched
+more than once.
+..
+.. bpo: 21203
+.. date: 8546
+.. nonce: 1IMs-Z
+.. section: Library
+Updated fileConfig and dictConfig to remove inconsistencies. Thanks to Jure
+Koren for the patch.
+..
+.. bpo: 21222
+.. date: 8545
+.. nonce: G6MQBP
+.. section: Library
+Passing name keyword argument to mock.create_autospec now works.
+..
+.. bpo: 21197
+.. date: 8544
+.. nonce: Gzfqdl
+.. section: Library
+Add lib64 -> lib symlink in venvs on 64-bit non-OS X POSIX.
+..
+.. bpo: 17498
+.. date: 8543
+.. nonce: LR9xyb
+.. section: Library
+Some SMTP servers disconnect after certain errors, violating strict RFC
+conformance. Instead of losing the error code when we issue the subsequent
+RSET, smtplib now returns the error code and defers raising the
+SMTPServerDisconnected error until the next command is issued.
+..
+.. bpo: 17826
+.. date: 8542
+.. nonce: z0zMRV
+.. section: Library
+setting an iterable side_effect on a mock function created by
+create_autospec now works. Patch by Kushal Das.
+..
+.. bpo: 7776
+.. date: 8541
+.. nonce: K5S2Pe
+.. section: Library
+Fix ``Host:`` header and reconnection when using
+http.client.HTTPConnection.set_tunnel(). Patch by Nikolaus Rath.
+..
+.. bpo: 20968
+.. date: 8540
+.. nonce: 53Aagz
+.. section: Library
+unittest.mock.MagicMock now supports division. Patch by Johannes Baiter.
+..
+.. bpo: 21529
+.. date: 8539
+.. nonce: 57R_Fc
+.. section: Library
+Fix arbitrary memory access in JSONDecoder.raw_decode with a negative second
+parameter. Bug reported by Guido Vranken. (See also: :cve:`2014-4616`)
+..
+.. bpo: 21169
+.. date: 8538
+.. nonce: KE7B0M
+.. section: Library
+getpass now handles non-ascii characters that the input stream encoding
+cannot encode by re-encoding using the replace error handler.
+..
+.. bpo: 21171
+.. date: 8537
+.. nonce: iUbV9S
+.. section: Library
+Fixed undocumented filter API of the rot13 codec. Patch by Berker Peksag.
+..
+.. bpo: 20539
+.. date: 8536
+.. nonce: 62nbEb
+.. section: Library
+Improved math.factorial error message for large positive inputs and changed
+exception type (OverflowError -> ValueError) for large negative inputs.
+..
+.. bpo: 21172
+.. date: 8535
+.. nonce: dQ7yY7
+.. section: Library
+isinstance check relaxed from dict to collections.Mapping.
+..
+.. bpo: 21155
+.. date: 8534
+.. nonce: JSKEE7
+.. section: Library
+asyncio.EventLoop.create_unix_server() now raises a ValueError if path and
+sock are specified at the same time.
+..
+.. bpo: 21136
+.. date: 8533
+.. nonce: JZAKv3
+.. section: Library
+Avoid unnecessary normalization of Fractions resulting from power and other
+operations. Patch by Raymond Hettinger.
+..
+.. bpo: 17621
+.. date: 8532
+.. nonce: 1x0mvJ
+.. section: Library
+Introduce importlib.util.LazyLoader.
+..
+.. bpo: 21076
+.. date: 8531
+.. nonce: upxQc6
+.. section: Library
+signal module constants were turned into enums. Patch by Giampaolo Rodola'.
+..
+.. bpo: 20636
+.. date: 8530
+.. nonce: KGh-BD
+.. section: Library
+Improved the repr of Tkinter widgets.
+..
+.. bpo: 19505
+.. date: 8529
+.. nonce: VEtIE6
+.. section: Library
+The items, keys, and values views of OrderedDict now support reverse
+iteration using reversed().
+..
+.. bpo: 21149
+.. date: 8528
+.. nonce: cnjwMR
+.. section: Library
+Improved thread-safety in logging cleanup during interpreter shutdown.
+Thanks to Devin Jeanpierre for the patch.
+..
+.. bpo: 21058
+.. date: 8527
+.. nonce: IhluPP
+.. section: Library
+Fix a leak of file descriptor in :func:`tempfile.NamedTemporaryFile`, close
+the file descriptor if :func:`io.open` fails
+..
+.. bpo: 21200
+.. date: 8526
+.. nonce: Kht8yD
+.. section: Library
+Return None from pkgutil.get_loader() when __spec__ is missing.
+..
+.. bpo: 21013
+.. date: 8525
+.. nonce: 3s8Ic0
+.. section: Library
+Enhance ssl.create_default_context() when used for server side sockets to
+provide better security by default.
+..
+.. bpo: 20145
+.. date: 8524
+.. nonce: FP5FY0
+.. section: Library
+``assertRaisesRegex`` and ``assertWarnsRegex`` now raise a ``TypeError`` if the
+second argument is not a string or compiled regex.
+..
+.. bpo: 20633
+.. date: 8523
+.. nonce: 6kaPjT
+.. section: Library
+Replace relative import by absolute import.
+..
+.. bpo: 20980
+.. date: 8522
+.. nonce: cYszHY
+.. section: Library
+Stop wrapping exception when using ThreadPool.
+..
+.. bpo: 21082
+.. date: 8521
+.. nonce: GLzGlV
+.. section: Library
+In os.makedirs, do not set the process-wide umask. Note this changes
+behavior of makedirs when exist_ok=True.
+..
+.. bpo: 20990
+.. date: 8520
+.. nonce: PBfjW3
+.. section: Library
+Fix issues found by pyflakes for multiprocessing.
+..
+.. bpo: 21015
+.. date: 8519
+.. nonce: xnwWAH
+.. section: Library
+SSL contexts will now automatically select an elliptic curve for ECDH key
+exchange on OpenSSL 1.0.2 and later, and otherwise default to "prime256v1".
+..
+.. bpo: 21000
+.. date: 8518
+.. nonce: JUyyVV
+.. section: Library
+Improve the command-line interface of json.tool.
+..
+.. bpo: 20995
+.. date: 8517
+.. nonce: KSORJT
+.. section: Library
+Enhance default ciphers used by the ssl module to enable better security and
+prioritize perfect forward secrecy.
+..
+.. bpo: 20884
+.. date: 8516
+.. nonce: qNmub_
+.. section: Library
+Don't assume that __file__ is defined on importlib.__init__.
+..
+.. bpo: 21499
+.. date: 8515
+.. nonce: wU4OBi
+.. section: Library
+Ignore __builtins__ in several test_importlib.test_api tests.
+..
+.. bpo: 20627
+.. date: 8514
+.. nonce: fgfQ1x
+.. section: Library
+xmlrpc.client.ServerProxy is now a context manager.
+..
+.. bpo: 19165
+.. date: 8513
+.. nonce: sAkUjU
+.. section: Library
+The formatter module now raises DeprecationWarning instead of
+PendingDeprecationWarning.
+..
+.. bpo: 13936
+.. date: 8512
+.. nonce: _Q0Yog
+.. section: Library
+Remove the ability of datetime.time instances to be considered false in
+boolean contexts.
+..
+.. bpo: 18931
+.. date: 8511
+.. nonce: mq4Mud
+.. section: Library
+selectors module now supports /dev/poll on Solaris. Patch by Giampaolo
+Rodola'.
+..
+.. bpo: 19977
+.. date: 8510
+.. nonce: A-sQ_V
+.. section: Library
+When the ``LC_TYPE`` locale is the POSIX locale (``C`` locale),
+:py:data:`sys.stdin` and :py:data:`sys.stdout` are now using the
+``surrogateescape`` error handler, instead of the ``strict`` error handler.
+..
+.. bpo: 20574
+.. date: 8509
+.. nonce: KaKqSs
+.. section: Library
+Implement incremental decoder for cp65001 code (Windows code page 65001,
+Microsoft UTF-8).
+..
+.. bpo: 20879
+.. date: 8508
+.. nonce: myeYdq
+.. section: Library
+Delay the initialization of encoding and decoding tables for base32, ascii85
+and base85 codecs in the base64 module, and delay the initialization of the
+unquote_to_bytes() table of the urllib.parse module, to not waste memory if
+these modules are not used.
+..
+.. bpo: 19157
+.. date: 8507
+.. nonce: V1-XhC
+.. section: Library
+Include the broadcast address in the usable hosts for IPv6 in ipaddress.
+..
+.. bpo: 11599
+.. date: 8506
+.. nonce: 9QOXf4
+.. section: Library
+When an external command (e.g. compiler) fails, distutils now prints out the
+whole command line (instead of just the command name) if the environment
+variable DISTUTILS_DEBUG is set.
+..
+.. bpo: 4931
+.. date: 8505
+.. nonce: uF10hr
+.. section: Library
+distutils should not produce unhelpful "error: None" messages anymore.
+distutils.util.grok_environment_error is kept but doc-deprecated.
+..
+.. bpo: 20875
+.. date: 8504
+.. nonce: IjfI5V
+.. section: Library
+Prevent possible gzip "'read' is not defined" NameError. Patch by Claudiu
+Popa.
+..
+.. bpo: 11558
+.. date: 8503
+.. nonce: pxrsmq
+.. section: Library
+``email.message.Message.attach`` now returns a more useful error message if
+``attach`` is called on a message for which ``is_multipart`` is False.
+..
+.. bpo: 20283
+.. date: 8502
+.. nonce: v0Vs9V
+.. section: Library
+RE pattern methods now accept the string keyword parameters as documented.
+The pattern and source keyword parameters are left as deprecated aliases.
+..
+.. bpo: 20778
+.. date: 8501
+.. nonce: g_fAGI
+.. section: Library
+Fix modulefinder to work with bytecode-only modules.
+..
+.. bpo: 20791
+.. date: 8500
+.. nonce: n_zrkc
+.. section: Library
+copy.copy() now doesn't make a copy when the input is a bytes object.
+Initial patch by Peter Otten.
+..
+.. bpo: 19748
+.. date: 8499
+.. nonce: kiA171
+.. section: Library
+On AIX, time.mktime() now raises an OverflowError for year outsize range
+[1902; 2037].
+..
+.. bpo: 19573
+.. date: 8498
+.. nonce: QJvX_V
+.. section: Library
+inspect.signature: Use enum for parameter kind constants.
+..
+.. bpo: 20726
+.. date: 8497
+.. nonce: 0yfRDI
+.. section: Library
+inspect.signature: Make Signature and Parameter picklable.
+..
+.. bpo: 17373
+.. date: 8496
+.. nonce: ECwuJO
+.. section: Library
+Add inspect.Signature.from_callable method.
+..
+.. bpo: 20378
+.. date: 8495
+.. nonce: l9M3H-
+.. section: Library
+Improve repr of inspect.Signature and inspect.Parameter.
+..
+.. bpo: 20816
+.. date: 8494
+.. nonce: DFMEgN
+.. section: Library
+Fix inspect.getcallargs() to raise correct TypeError for missing
+keyword-only arguments. Patch by Jeremiah Lowin.
+..
+.. bpo: 20817
+.. date: 8493
+.. nonce: O5XyZB
+.. section: Library
+Fix inspect.getcallargs() to fail correctly if more than 3 arguments are
+missing. Patch by Jeremiah Lowin.
+..
+.. bpo: 6676
+.. date: 8492
+.. nonce: CJu5On
+.. section: Library
+Ensure a meaningful exception is raised when attempting to parse more than
+one XML document per pyexpat xmlparser instance. (Original patches by
+Hirokazu Yamamoto and Amaury Forgeot d'Arc, with suggested wording by David
+Gutteridge)
+..
+.. bpo: 21117
+.. date: 8491
+.. nonce: hyH7EK
+.. section: Library
+Fix inspect.signature to better support functools.partial. Due to the
+specifics of functools.partial implementation, positional-or-keyword
+arguments passed as keyword arguments become keyword-only.
+..
+.. bpo: 20334
+.. date: 8490
+.. nonce: 0yFmfQ
+.. section: Library
+inspect.Signature and inspect.Parameter are now hashable. Thanks to Antony
+Lee for bug reports and suggestions.
+..
+.. bpo: 15916
+.. date: 8489
+.. nonce: _vhKPn
+.. section: Library
+doctest.DocTestSuite returns an empty unittest.TestSuite instead of raising
+ValueError if it finds no tests
+..
+.. bpo: 21209
+.. date: 8488
+.. nonce: wRE7Dn
+.. section: Library
+Fix asyncio.tasks.CoroWrapper to workaround a bug in yield-from
+implementation in CPythons prior to 3.4.1.
+..
+.. bpo: 0
+.. date: 8487
+.. nonce: Q1I78Z
+.. section: Library
+asyncio: Add gi_{frame,running,code} properties to CoroWrapper (upstream
+issue #163).
+..
+.. bpo: 21311
+.. date: 8486
+.. nonce: JsDF8H
+.. section: Library
+Avoid exception in _osx_support with non-standard compiler configurations.
+Patch by John Szakmeister.
+..
+.. bpo: 11571
+.. date: 8485
+.. nonce: RPeGNo
+.. section: Library
+Ensure that the turtle window becomes the topmost window when launched on OS
+X.
+..
+.. bpo: 21801
+.. date: 8484
+.. nonce: rzfhYl
+.. section: Library
+Validate that __signature__ is None or an instance of Signature.
+..
+.. bpo: 21923
+.. date: 8483
+.. nonce: hXnoZa
+.. section: Library
+Prevent AttributeError in distutils.sysconfig.customize_compiler due to
+possible uninitialized _config_vars.
+..
+.. bpo: 21323
+.. date: 8482
+.. nonce: quiWfl
+.. section: Library
+Fix http.server to again handle scripts in CGI subdirectories, broken by the
+fix for security issue #19435. Patch by Zach Byrne.
+..
+.. bpo: 22733
+.. date: 8481
+.. nonce: 21gJBp
+.. section: Library
+Fix ffi_prep_args not zero-extending argument values correctly on 64-bit
+Windows.
+..
+.. bpo: 23302
+.. date: 8480
+.. nonce: X2dabK
+.. section: Library
+Default to TCP_NODELAY=1 upon establishing an HTTPConnection. Removed use of
+hard-coded MSS as it's an optimization that's no longer needed with Nagle
+disabled.
+..
+.. bpo: 20577
+.. date: 8479
+.. nonce: Y71IMj
+.. section: IDLE
+Configuration of the max line length for the FormatParagraph extension has
+been moved from the General tab of the Idle preferences dialog to the
+FormatParagraph tab of the Config Extensions dialog. Patch by Tal Einat.
+..
+.. bpo: 16893
+.. date: 8478
+.. nonce: JfHAA4
+.. section: IDLE
+Update Idle doc chapter to match current Idle and add new information.
+..
+.. bpo: 3068
+.. date: 8477
+.. nonce: TYjXTA
+.. section: IDLE
+Add Idle extension configuration dialog to Options menu. Changes are written
+to HOME/.idlerc/config-extensions.cfg. Original patch by Tal Einat.
+..
+.. bpo: 16233
+.. date: 8476
+.. nonce: sOadNo
+.. section: IDLE
+A module browser (File : Class Browser, Alt+C) requires an editor window
+with a filename. When Class Browser is requested otherwise, from a shell,
+output window, or 'Untitled' editor, Idle no longer displays an error box.
+It now pops up an Open Module box (Alt+M). If a valid name is entered and a
+module is opened, a corresponding browser is also opened.
+..
+.. bpo: 4832
+.. date: 8475
+.. nonce: GRKi9M
+.. section: IDLE
+Save As to type Python files automatically adds .py to the name you enter
+(even if your system does not display it). Some systems automatically add
+.txt when type is Text files.
+..
+.. bpo: 21986
+.. date: 8474
+.. nonce: 04GUv2
+.. section: IDLE
+Code objects are not normally pickled by the pickle module. To match this,
+they are no longer pickled when running under Idle.
+..
+.. bpo: 17390
+.. date: 8473
+.. nonce: I4vHFh
+.. section: IDLE
+Adjust Editor window title; remove 'Python', move version to end.
+..
+.. bpo: 14105
+.. date: 8472
+.. nonce: -FZwYH
+.. section: IDLE
+Idle debugger breakpoints no longer disappear when inserting or deleting
+lines.
+..
+.. bpo: 17172
+.. date: 8471
+.. nonce: R8jkU1
+.. section: IDLE
+Turtledemo can now be run from Idle. Currently, the entry is on the Help
+menu, but it may move to Run. Patch by Ramchandra Apt and Lita Cho.
+..
+.. bpo: 21765
+.. date: 8470
+.. nonce: JyiDbd
+.. section: IDLE
+Add support for non-ascii identifiers to HyperParser.
+..
+.. bpo: 21940
+.. date: 8469
+.. nonce: VlIRz7
+.. section: IDLE
+Add unittest for WidgetRedirector. Initial patch by Saimadhav Heblikar.
+..
+.. bpo: 18592
+.. date: 8468
+.. nonce: sMG-SZ
+.. section: IDLE
+Add unittest for SearchDialogBase. Patch by Phil Webster.
+..
+.. bpo: 21694
+.. date: 8467
+.. nonce: 1oLmRo
+.. section: IDLE
+Add unittest for ParenMatch. Patch by Saimadhav Heblikar.
+..
+.. bpo: 21686
+.. date: 8466
+.. nonce: TAkFB0
+.. section: IDLE
+add unittest for HyperParser. Original patch by Saimadhav Heblikar.
+..
+.. bpo: 12387
+.. date: 8465
+.. nonce: XO7Ozk
+.. section: IDLE
+Add missing upper(lower)case versions of default Windows key bindings for
+Idle so Caps Lock does not disable them. Patch by Roger Serwy.
+..
+.. bpo: 21695
+.. date: 8464
+.. nonce: g-t0Tm
+.. section: IDLE
+Closing a Find-in-files output window while the search is still in progress
+no longer closes Idle.
+..
+.. bpo: 18910
+.. date: 8463
+.. nonce: ke8lMK
+.. section: IDLE
+Add unittest for textView. Patch by Phil Webster.
+..
+.. bpo: 18292
+.. date: 8462
+.. nonce: ks_3wm
+.. section: IDLE
+Add unittest for AutoExpand. Patch by Saihadhav Heblikar.
+..
+.. bpo: 18409
+.. date: 8461
+.. nonce: 7fe-aK
+.. section: IDLE
+Add unittest for AutoComplete. Patch by Phil Webster.
+..
+.. bpo: 21477
+.. date: 8460
+.. nonce: 33NOe0
+.. section: IDLE
+htest.py - Improve framework, complete set of tests. Patches by Saimadhav
+Heblikar
+..
+.. bpo: 18104
+.. date: 8459
+.. nonce: 8Fj9Pf
+.. section: IDLE
+Add idlelib/idle_test/htest.py with a few sample tests to begin
+consolidating and improving human-validated tests of Idle. Change other
+files as needed to work with htest. Running the module as __main__ runs all
+tests.
+..
+.. bpo: 21139
+.. date: 8458
+.. nonce: kqetng
+.. section: IDLE
+Change default paragraph width to 72, the :pep:`8` recommendation.
+..
+.. bpo: 21284
+.. date: 8457
+.. nonce: KKJfmv
+.. section: IDLE
+Paragraph reformat test passes after user changes reformat width.
+..
+.. bpo: 17654
+.. date: 8456
+.. nonce: NbzhNS
+.. section: IDLE
+Ensure IDLE menus are customized properly on OS X for non-framework builds
+and for all variants of Tk.
+..
+.. bpo: 23180
+.. date: 8455
+.. nonce: cE_89F
+.. section: IDLE
+Rename IDLE "Windows" menu item to "Window". Patch by Al Sweigart.
+..
+.. bpo: 15506
+.. date: 8454
+.. nonce: nh8KlR
+.. section: Build
+Use standard PKG_PROG_PKG_CONFIG autoconf macro in the configure script.
+..
+.. bpo: 22935
+.. date: 8453
+.. nonce: -vY3lc
+.. section: Build
+Allow the ssl module to be compiled if openssl doesn't support SSL 3.
+..
+.. bpo: 22592
+.. date: 8452
+.. nonce: O_IE9W
+.. section: Build
+Drop support of the Borland C compiler to build Python. The distutils module
+still supports it to build extensions.
+..
+.. bpo: 22591
+.. date: 8451
+.. nonce: wwBlG8
+.. section: Build
+Drop support of MS-DOS, especially of the DJGPP compiler (MS-DOS port of
+GCC).
+..
+.. bpo: 16537
+.. date: 8450
+.. nonce: llFo71
+.. section: Build
+Check whether self.extensions is empty in setup.py. Patch by Jonathan
+Hosmer.
+..
+.. bpo: 22359
+.. date: 8449
+.. nonce: YYFOFG
+.. section: Build
+Remove incorrect uses of recursive make. Patch by Jonas Wagner.
+..
+.. bpo: 21958
+.. date: 8448
+.. nonce: 3rq4qR
+.. section: Build
+Define HAVE_ROUND when building with Visual Studio 2013 and above. Patch by
+Zachary Turner.
+..
+.. bpo: 18093
+.. date: 8447
+.. nonce: gnZieo
+.. section: Build
+the programs that embed the CPython runtime are now in a separate "Programs"
+directory, rather than being kept in the Modules directory.
+..
+.. bpo: 15759
+.. date: 8446
+.. nonce: iGLR6O
+.. section: Build
+"make suspicious", "make linkcheck" and "make doctest" in Doc/ now display
+special message when and only when there are failures.
+..
+.. bpo: 21141
+.. date: 8445
+.. nonce: 669LzK
+.. section: Build
+The Windows build process no longer attempts to find Perl, instead relying
+on OpenSSL source being configured and ready to build. The
+``PCbuild\build_ssl.py`` script has been re-written and re-named to
+``PCbuild\prepare_ssl.py``, and takes care of configuring OpenSSL source for
+both 32 and 64 bit platforms. OpenSSL sources obtained from svn.python.org
+will always be pre-configured and ready to build.
+..
+.. bpo: 21037
+.. date: 8444
+.. nonce: v1rZzo
+.. section: Build
+Add a build option to enable AddressSanitizer support.
+..
+.. bpo: 19962
+.. date: 8443
+.. nonce: HDlwsE
+.. section: Build
+The Windows build process now creates "python.bat" in the root of the source
+tree, which passes all arguments through to the most recently built
+interpreter.
+..
+.. bpo: 21285
+.. date: 8442
+.. nonce: cU9p2E
+.. section: Build
+Refactor and fix curses configure check to always search in a ncursesw
+directory.
+..
+.. bpo: 15234
+.. date: 8441
+.. nonce: vlM720
+.. section: Build
+For BerkeleyDB and Sqlite, only add the found library and include directories
+if they aren't already being searched. This avoids an explicit runtime
+library dependency.
+..
+.. bpo: 17861
+.. date: 8440
+.. nonce: jCi44U
+.. section: Build
+Tools/scripts/generate_opcode_h.py automatically regenerates
+Include/opcode.h from Lib/opcode.py if the latter gets any change.
+..
+.. bpo: 20644
+.. date: 8439
+.. nonce: aV0zq7
+.. section: Build
+OS X installer build support for documentation build changes in 3.4.1:
+assume externally supplied sphinx-build is available in /usr/bin.
+..
+.. bpo: 20022
+.. date: 8438
+.. nonce: EqSCTW
+.. section: Build
+Eliminate use of deprecated bundlebuilder in OS X builds.
+..
+.. bpo: 15968
+.. date: 8437
+.. nonce: vxUxHK
+.. section: Build
+Incorporated Tcl, Tk, and Tix builds into the Windows build solution.
+..
+.. bpo: 17095
+.. date: 8436
+.. nonce: -XEBIU
+.. section: Build
+Fix Modules/Setup *shared* support.
+..
+.. bpo: 21811
+.. date: 8435
+.. nonce: 3_Xyr-
+.. section: Build
+Anticipated fixes to support OS X versions > 10.9.
+..
+.. bpo: 21166
+.. date: 8434
+.. nonce: KAl7aO
+.. section: Build
+Prevent possible segfaults and other random failures of python
+--generate-posix-vars in pybuilddir.txt build target.
+..
+.. bpo: 18096
+.. date: 8433
+.. nonce: ELyAUJ
+.. section: Build
+Fix library order returned by python-config.
+..
+.. bpo: 17219
+.. date: 8432
+.. nonce: q8ueQ0
+.. section: Build
+Add library build dir for Python extension cross-builds.
+..
+.. bpo: 22919
+.. date: 8431
+.. nonce: 1XThL9
+.. section: Build
+Windows build updated to support VC 14.0 (Visual Studio 2015), which will be
+used for the official release.
+..
+.. bpo: 21236
+.. date: 8430
+.. nonce: 84LXxj
+.. section: Build
+Build _msi.pyd with cabinet.lib instead of fci.lib
+..
+.. bpo: 17128
+.. date: 8429
+.. nonce: U2biLA
+.. section: Build
+Use private version of OpenSSL for OS X 10.5+ installer.
+..
+.. bpo: 14203
+.. date: 8428
+.. nonce: 3hv0TX
+.. section: C API
+Remove obsolete support for view==NULL in PyBuffer_FillInfo(),
+bytearray_getbuffer(), bytesiobuf_getbuffer() and array_buffer_getbuf(). All
+functions now raise BufferError in that case.
+..
+.. bpo: 22445
+.. date: 8427
+.. nonce: s0AOAS
+.. section: C API
+PyBuffer_IsContiguous() now implements precise contiguity tests, compatible
+with NumPy's NPY_RELAXED_STRIDES_CHECKING compilation flag. Previously the
+function reported false negatives for corner cases.
+..
+.. bpo: 22079
+.. date: 8426
+.. nonce: zhs2qM
+.. section: C API
+PyType_Ready() now checks that statically allocated type has no dynamically
+allocated bases.
+..
+.. bpo: 22453
+.. date: 8425
+.. nonce: XoO4ns
+.. section: C API
+Removed non-documented macro PyObject_REPR().
+..
+.. bpo: 18395
+.. date: 8424
+.. nonce: YC9B06
+.. section: C API
+Rename ``_Py_char2wchar()`` to :c:func:`Py_DecodeLocale`, rename
+``_Py_wchar2char()`` to :c:func:`Py_EncodeLocale`, and document these
+functions.
+..
+.. bpo: 21233
+.. date: 8423
+.. nonce: 98hZAt
+.. section: C API
+Add new C functions: PyMem_RawCalloc(), PyMem_Calloc(), PyObject_Calloc(),
+_PyObject_GC_Calloc(). bytes(int) is now using ``calloc()`` instead of
+``malloc()`` for large objects which is faster and use less memory.
+..
+.. bpo: 20942
+.. date: 8422
+.. nonce: qHLJ5-
+.. section: C API
+PyImport_ImportFrozenModuleObject() no longer sets __file__ to match what
+importlib does; this affects _frozen_importlib as well as any module loaded
+using imp.init_frozen().
+..
+.. bpo: 19548
+.. date: 8421
+.. nonce: yOX8sS
+.. section: Documentation
+Update the codecs module documentation to better cover the distinction
+between text encodings and other codecs, together with other clarifications.
+Patch by Martin Panter.
+..
+.. bpo: 22394
+.. date: 8420
+.. nonce: 6bJywY
+.. section: Documentation
+Doc/Makefile now supports ``make venv PYTHON=../python`` to create a venv
+for generating the documentation, e.g., ``make html
+PYTHON=venv/bin/python3``.
+..
+.. bpo: 21514
+.. date: 8419
+.. nonce: 1H16T6
+.. section: Documentation
+The documentation of the json module now refers to new JSON RFC 7159 instead
+of obsoleted RFC 4627.
+..
+.. bpo: 21777
+.. date: 8418
+.. nonce: dtQCWV
+.. section: Documentation
+The binary sequence methods on bytes and bytearray are now documented
+explicitly, rather than assuming users will be able to derive the expected
+behaviour from the behaviour of the corresponding str methods.
+..
+.. bpo: 6916
+.. date: 8417
+.. nonce: 4sm3nE
+.. section: Documentation
+undocument deprecated asynchat.fifo class.
+..
+.. bpo: 17386
+.. date: 8416
+.. nonce: ivaGLb
+.. section: Documentation
+Expanded functionality of the ``Doc/make.bat`` script to make it much more
+comparable to ``Doc/Makefile``.
+..
+.. bpo: 21312
+.. date: 8415
+.. nonce: 6IqcV4
+.. section: Documentation
+Update the thread_foobar.h template file to include newer threading APIs.
+Patch by Jack McCracken.
+..
+.. bpo: 21043
+.. date: 8414
+.. nonce: oEOC8O
+.. section: Documentation
+Remove the recommendation for specific CA organizations and to mention the
+ability to load the OS certificates.
+..
+.. bpo: 20765
+.. date: 8413
+.. nonce: Rv3GgV
+.. section: Documentation
+Add missing documentation for PurePath.with_name() and
+PurePath.with_suffix().
+..
+.. bpo: 19407
+.. date: 8412
+.. nonce: mRyNnG
+.. section: Documentation
+New package installation and distribution guides based on the Python
+Packaging Authority tools. Existing guides have been retained as legacy
+links from the distutils docs, as they still contain some required reference
+material for tool developers that isn't recorded anywhere else.
+..
+.. bpo: 19697
+.. date: 8411
+.. nonce: 2jMQBP
+.. section: Documentation
+Document cases where __main__.__spec__ is None.
+..
+.. bpo: 18982
+.. date: 8410
+.. nonce: TynSM6
+.. section: Tests
+Add tests for CLI of the calendar module.
+..
+.. bpo: 19548
+.. date: 8409
+.. nonce: 25Kxq_
+.. section: Tests
+Added some additional checks to test_codecs to ensure that statements in the
+updated documentation remain accurate. Patch by Martin Panter.
+..
+.. bpo: 22838
+.. date: 8408
+.. nonce: VZBtZg
+.. section: Tests
+All test_re tests now work with unittest test discovery.
+..
+.. bpo: 22173
+.. date: 8407
+.. nonce: dxIIVx
+.. section: Tests
+Update lib2to3 tests to use unittest test discovery.
+..
+.. bpo: 16000
+.. date: 8406
+.. nonce: Y7O6TP
+.. section: Tests
+Convert test_curses to use unittest.
+..
+.. bpo: 21456
+.. date: 8405
+.. nonce: Axsw43
+.. section: Tests
+Skip two tests in test_urllib2net.py if _ssl module not present. Patch by
+Remi Pointel.
+..
+.. bpo: 20746
+.. date: 8404
+.. nonce: N2pzAY
+.. section: Tests
+Fix test_pdb to run in refleak mode (-R). Patch by Xavier de Gaye.
+..
+.. bpo: 22060
+.. date: 8403
+.. nonce: TduJNO
+.. section: Tests
+test_ctypes has been somewhat cleaned up and simplified; it now uses
+unittest test discovery to find its tests.
+..
+.. bpo: 22104
+.. date: 8402
+.. nonce: -YYDup
+.. section: Tests
+regrtest.py no longer holds a reference to the suite of tests loaded from
+test modules that don't define test_main().
+..
+.. bpo: 22111
+.. date: 8401
+.. nonce: 0XlFAU
+.. section: Tests
+Assorted cleanups in test_imaplib. Patch by Milan Oberkirch.
+..
+.. bpo: 22002
+.. date: 8400
+.. nonce: jpiaA2
+.. section: Tests
+Added ``load_package_tests`` function to test.support and used it to
+implement/augment test discovery in test_asyncio, test_email,
+test_importlib, test_json, and test_tools.
+..
+.. bpo: 21976
+.. date: 8399
+.. nonce: Slq6se
+.. section: Tests
+Fix test_ssl to accept LibreSSL version strings. Thanks to William Orr.
+..
+.. bpo: 21918
+.. date: 8398
+.. nonce: QTFFSj
+.. section: Tests
+Converted test_tools from a module to a package containing separate test
+files for each tested script.
+..
+.. bpo: 9554
+.. date: 8397
+.. nonce: VsP0Ve
+.. section: Tests
+Use modern unittest features in test_argparse. Initial patch by Denver
+Coneybeare and Radu Voicilas.
+..
+.. bpo: 20155
+.. date: 8396
+.. nonce: nphzS3
+.. section: Tests
+Changed HTTP method names in failing tests in test_httpservers so that
+packet filtering software (specifically Windows Base Filtering Engine) does
+not interfere with the transaction semantics expected by the tests.
+..
+.. bpo: 19493
+.. date: 8395
+.. nonce: SwbzLQ
+.. section: Tests
+Refactored the ctypes test package to skip tests explicitly rather than
+silently.
+..
+.. bpo: 18492
+.. date: 8394
+.. nonce: ylPRU7
+.. section: Tests
+All resources are now allowed when tests are not run by regrtest.py.
+..
+.. bpo: 21634
+.. date: 8393
+.. nonce: Eng06F
+.. section: Tests
+Fix pystone micro-benchmark: use floor division instead of true division to
+benchmark integers instead of floating-point numbers. Set pystone version to
+1.2. Patch written by Lennart Regebro.
+..
+.. bpo: 21605
+.. date: 8392
+.. nonce: qsLV8d
+.. section: Tests
+Added tests for Tkinter images.
+..
+.. bpo: 21493
+.. date: 8391
+.. nonce: NqhRsy
+.. section: Tests
+Added test for ntpath.expanduser(). Original patch by Claudiu Popa.
+..
+.. bpo: 19925
+.. date: 8390
+.. nonce: dhMx08
+.. section: Tests
+Added tests for the spwd module. Original patch by Vajrasky Kok.
+..
+.. bpo: 21522
+.. date: 8389
+.. nonce: b-VwFW
+.. section: Tests
+Added Tkinter tests for Listbox.itemconfigure(),
+PanedWindow.paneconfigure(), and Menu.entryconfigure().
+..
+.. bpo: 17756
+.. date: 8388
+.. nonce: LLfbfU
+.. section: Tests
+Fix test_code test when run from the installed location.
+..
+.. bpo: 17752
+.. date: 8387
+.. nonce: P8iG44
+.. section: Tests
+Fix distutils tests when run from the installed location.
+..
+.. bpo: 18604
+.. date: 8386
+.. nonce: Q00Xrj
+.. section: Tests
+Consolidated checks for GUI availability. All platforms now at least check
+whether Tk can be instantiated when the GUI resource is requested.
+..
+.. bpo: 21275
+.. date: 8385
+.. nonce: lI5FkX
+.. section: Tests
+Fix a socket test on KFreeBSD.
+..
+.. bpo: 21223
+.. date: 8384
+.. nonce: lMY6ka
+.. section: Tests
+Pass test_site/test_startup_imports when some of the extensions are built as
+builtins.
+..
+.. bpo: 20635
+.. date: 8383
+.. nonce: mzWmoS
+.. section: Tests
+Added tests for Tk geometry managers.
+..
+.. bpo: 0
+.. date: 8382
+.. nonce: E5XNqr
+.. section: Tests
+Add test case for freeze.
+..
+.. bpo: 20743
+.. date: 8381
+.. nonce: hxZQUf
+.. section: Tests
+Fix a reference leak in test_tcl.
+..
+.. bpo: 21097
+.. date: 8380
+.. nonce: gsUesm
+.. section: Tests
+Move test_namespace_pkgs into test_importlib.
+..
+.. bpo: 21503
+.. date: 8379
+.. nonce: H9TPCg
+.. section: Tests
+Use test_both() consistently in test_importlib.
+..
+.. bpo: 20939
+.. date: 8378
+.. nonce: x3KQ35
+.. section: Tests
+Avoid various network test failures due to new redirect of
+http://www.python.org/ to https://www.python.org: use http://www.example.com
+instead.
+..
+.. bpo: 20668
+.. date: 8377
+.. nonce: IWjOSC
+.. section: Tests
+asyncio tests no longer rely on tests.txt file. (Patch by Vajrasky Kok)
+..
+.. bpo: 21093
+.. date: 8376
+.. nonce: CcpRim
+.. section: Tests
+Prevent failures of ctypes test_macholib on OS X if a copy of libz exists in
+$HOME/lib or /usr/local/lib.
+..
+.. bpo: 22770
+.. date: 8375
+.. nonce: FxAh91
+.. section: Tests
+Prevent some Tk segfaults on OS X when running gui tests.
+..
+.. bpo: 23211
+.. date: 8374
+.. nonce: Bc-QfJ
+.. section: Tests
+Workaround test_logging failure on some OS X 10.6 systems.
+..
+.. bpo: 23345
+.. date: 8373
+.. nonce: HIGBKx
+.. section: Tests
+Prevent test_ssl failures with large OpenSSL patch level values (like
+0.9.8zc).
+..
+.. bpo: 22314
+.. date: 8372
+.. nonce: ws6xsH
+.. section: Tools/Demos
+pydoc now works when the LINES environment variable is set.
+..
+.. bpo: 22615
+.. date: 8371
+.. nonce: My3DWN
+.. section: Tools/Demos
+Argument Clinic now supports the "type" argument for the int converter.
+This permits using the int converter with enums and typedefs.
+..
+.. bpo: 20076
+.. date: 8370
+.. nonce: ZNuBrC
+.. section: Tools/Demos
+The makelocalealias.py script no longer ignores UTF-8 mapping.
+..
+.. bpo: 20079
+.. date: 8369
+.. nonce: ogPXcK
+.. section: Tools/Demos
+The makelocalealias.py script now can parse the SUPPORTED file from glibc
+sources and supports command line options for source paths.
+..
+.. bpo: 22201
+.. date: 8368
+.. nonce: k1Awbh
+.. section: Tools/Demos
+Command-line interface of the zipfile module now correctly extracts ZIP
+files with directory entries. Patch by Ryan Wilson.
+..
+.. bpo: 22120
+.. date: 8367
+.. nonce: KmBUj-
+.. section: Tools/Demos
+For functions using an unsigned integer return converter, Argument Clinic
+now generates a cast to that type for the comparison to -1 in the generated
+code. (This suppresses a compilation warning.)
+..
+.. bpo: 18974
+.. date: 8366
+.. nonce: I3DdAo
+.. section: Tools/Demos
+Tools/scripts/diff.py now uses argparse instead of optparse.
+..
+.. bpo: 21906
+.. date: 8365
+.. nonce: ZsKy9v
+.. section: Tools/Demos
+Make Tools/scripts/md5sum.py work in Python 3. Patch by Zachary Ware.
+..
+.. bpo: 21629
+.. date: 8364
+.. nonce: 9kZmQl
+.. section: Tools/Demos
+Fix Argument Clinic's "--converters" feature.
+..
+.. bpo: 0
+.. date: 8363
+.. nonce: _-ge-g
+.. section: Tools/Demos
+Add support for ``yield from`` to 2to3.
+..
+.. bpo: 0
+.. date: 8362
+.. nonce: dpFbyZ
+.. section: Tools/Demos
+Add support for the :pep:`465` matrix multiplication operator to 2to3.
+..
+.. bpo: 16047
+.. date: 8361
+.. nonce: IsgTzm
+.. section: Tools/Demos
+Fix module exception list and __file__ handling in freeze. Patch by Meador
+Inge.
+..
+.. bpo: 11824
+.. date: 8360
+.. nonce: OBWc3T
+.. section: Tools/Demos
+Consider ABI tags in freeze. Patch by Meador Inge.
+..
+.. bpo: 20535
+.. date: 8359
+.. nonce: 0qkvZZ
+.. section: Tools/Demos
+PYTHONWARNING no longer affects the run_tests.py script. Patch by Arfrever
+Frehtes Taifersar Arahesis.
+..
+.. bpo: 23260
+.. date: 8358
+.. nonce: aZ5VLH
+.. section: Windows
+Update Windows installer
+..
+.. bpo: 0
+.. date: 8357
+.. nonce: _aEUNt
+.. section: Windows
+The bundled version of Tcl/Tk has been updated to 8.6.3. The most visible
+result of this change is the addition of new native file dialogs when
+running on Windows Vista or newer. See Tcl/Tk's TIP 432 for more
+information. Also, this version of Tcl/Tk includes support for Windows 10.
+..
+.. bpo: 17896
+.. date: 8356
+.. nonce: o79rHM
+.. section: Windows
+The Windows build scripts now expect external library sources to be in
+``PCbuild\..\externals`` rather than ``PCbuild\..\..``.
+..
+.. bpo: 17717
+.. date: 8355
+.. nonce: y1zoye
+.. section: Windows
+The Windows build scripts now use a copy of NASM pulled from svn.python.org
+to build OpenSSL.
+..
+.. bpo: 21907
+.. date: 8354
+.. nonce: jm1smN
+.. section: Windows
+Improved the batch scripts provided for building Python.
+..
+.. bpo: 22644
+.. date: 8353
+.. nonce: gosBki
+.. section: Windows
+The bundled version of OpenSSL has been updated to 1.0.1j.
+..
+.. bpo: 10747
+.. date: 8352
+.. nonce: LTWhLn
+.. section: Windows
+Use versioned labels in the Windows start menu. Patch by Olive Kilburn.
+..
+.. bpo: 22980
+.. date: 8351
+.. nonce: -UypE5
+.. section: Windows
+.pyd files with a version and platform tag (for example, ".cp35-win32.pyd")
+will now be loaded in preference to those without tags.
+
+
+"""