File tree Expand file tree Collapse file tree 6 files changed +28
-0
lines changed
Expand file tree Collapse file tree 6 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,15 @@ Deprecations
55
66.. include :: pending-removal-in-3.16.rst
77
8+ .. include :: pending-removal-in-3.17.rst
9+
810.. include :: pending-removal-in-future.rst
911
1012C API deprecations
1113------------------
1214
1315.. include :: c-api-pending-removal-in-3.15.rst
1416
17+ .. include :: c-api-pending-removal-in-3.18.rst
18+
1519.. include :: c-api-pending-removal-in-future.rst
Original file line number Diff line number Diff line change @@ -61,6 +61,12 @@ Pending removal in Python 3.16
6161 * Calling the Python implementation of :func: `functools.reduce ` with *function *
6262 or *sequence * as keyword arguments has been deprecated since Python 3.14.
6363
64+ * :mod: `logging `:
65+
66+ Support for custom logging handlers with the *strm * argument is deprecated
67+ and scheduled for removal in Python 3.16. Define handlers with the *stream *
68+ argument instead. (Contributed by Mariusz Felisiak in :gh: `115032 `.)
69+
6470* :mod: `mimetypes `:
6571
6672 * Valid extensions start with a '.' or are empty for
Original file line number Diff line number Diff line change 1+ Pending removal in Python 3.17
2+ ------------------------------
3+
4+ * :mod: `typing `:
5+
6+ - Before Python 3.14, old-style unions were implemented using the private class
7+ ``typing._UnionGenericAlias ``. This class is no longer needed for the implementation,
8+ but it has been retained for backward compatibility, with removal scheduled for Python
9+ 3.17. Users should use documented introspection helpers like :func: `typing.get_origin `
10+ and :func: `typing.get_args ` instead of relying on private implementation details.
Original file line number Diff line number Diff line change @@ -1347,6 +1347,8 @@ Deprecated
13471347
13481348.. include :: ../deprecations/pending-removal-in-3.16.rst
13491349
1350+ .. include :: ../deprecations/pending-removal-in-3.17.rst
1351+
13501352.. include :: ../deprecations/pending-removal-in-future.rst
13511353
13521354.. _whatsnew312-removed :
Original file line number Diff line number Diff line change @@ -2009,6 +2009,8 @@ New Deprecations
20092009
20102010.. include :: ../deprecations/pending-removal-in-3.16.rst
20112011
2012+ .. include :: ../deprecations/pending-removal-in-3.17.rst
2013+
20122014.. include :: ../deprecations/pending-removal-in-future.rst
20132015
20142016CPython Bytecode Changes
@@ -2529,6 +2531,8 @@ Deprecated C APIs
25292531
25302532.. include :: ../deprecations/c-api-pending-removal-in-3.15.rst
25312533
2534+ .. include :: ../deprecations/c-api-pending-removal-in-3.18.rst
2535+
25322536.. include :: ../deprecations/c-api-pending-removal-in-future.rst
25332537
25342538.. _pythoncapi-compat project : https://github.com/python/pythoncapi-compat/
Original file line number Diff line number Diff line change @@ -1737,6 +1737,8 @@ Deprecated
17371737
17381738.. include :: ../deprecations/pending-removal-in-3.16.rst
17391739
1740+ .. include :: ../deprecations/pending-removal-in-3.17.rst
1741+
17401742.. include :: ../deprecations/pending-removal-in-future.rst
17411743
17421744Removed
You can’t perform that action at this time.
0 commit comments