.. include:: pending-removal-in-3.16.rst
+.. include:: pending-removal-in-3.17.rst
+
.. include:: pending-removal-in-future.rst
C API deprecations
.. include:: c-api-pending-removal-in-3.15.rst
+.. include:: c-api-pending-removal-in-3.18.rst
+
.. include:: c-api-pending-removal-in-future.rst
* Calling the Python implementation of :func:`functools.reduce` with *function*
or *sequence* as keyword arguments has been deprecated since Python 3.14.
+* :mod:`logging`:
+
+ Support for custom logging handlers with the *strm* argument is deprecated
+ and scheduled for removal in Python 3.16. Define handlers with the *stream*
+ argument instead. (Contributed by Mariusz Felisiak in :gh:`115032`.)
+
* :mod:`mimetypes`:
* Valid extensions start with a '.' or are empty for
--- /dev/null
+Pending removal in Python 3.17
+------------------------------
+
+* :mod:`typing`:
+
+ - Before Python 3.14, old-style unions were implemented using the private class
+ ``typing._UnionGenericAlias``. This class is no longer needed for the implementation,
+ but it has been retained for backward compatibility, with removal scheduled for Python
+ 3.17. Users should use documented introspection helpers like :func:`typing.get_origin`
+ and :func:`typing.get_args` instead of relying on private implementation details.
.. include:: ../deprecations/pending-removal-in-3.16.rst
+.. include:: ../deprecations/pending-removal-in-3.17.rst
+
.. include:: ../deprecations/pending-removal-in-future.rst
.. _whatsnew312-removed:
.. include:: ../deprecations/pending-removal-in-3.16.rst
+.. include:: ../deprecations/pending-removal-in-3.17.rst
+
.. include:: ../deprecations/pending-removal-in-future.rst
CPython Bytecode Changes
.. include:: ../deprecations/c-api-pending-removal-in-3.15.rst
+.. include:: ../deprecations/c-api-pending-removal-in-3.18.rst
+
.. include:: ../deprecations/c-api-pending-removal-in-future.rst
.. _pythoncapi-compat project: https://github.com/python/pythoncapi-compat/
.. include:: ../deprecations/pending-removal-in-3.16.rst
+.. include:: ../deprecations/pending-removal-in-3.17.rst
+
.. include:: ../deprecations/pending-removal-in-future.rst
Removed