File tree 6 files changed +28
-0
lines changed
6 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,15 @@ Deprecations
5
5
6
6
.. include :: pending-removal-in-3.16.rst
7
7
8
+ .. include :: pending-removal-in-3.17.rst
9
+
8
10
.. include :: pending-removal-in-future.rst
9
11
10
12
C API deprecations
11
13
------------------
12
14
13
15
.. include :: c-api-pending-removal-in-3.15.rst
14
16
17
+ .. include :: c-api-pending-removal-in-3.18.rst
18
+
15
19
.. 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
61
61
* Calling the Python implementation of :func: `functools.reduce ` with *function *
62
62
or *sequence * as keyword arguments has been deprecated since Python 3.14.
63
63
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
+
64
70
* :mod: `mimetypes `:
65
71
66
72
* 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
1347
1347
1348
1348
.. include :: ../deprecations/pending-removal-in-3.16.rst
1349
1349
1350
+ .. include :: ../deprecations/pending-removal-in-3.17.rst
1351
+
1350
1352
.. include :: ../deprecations/pending-removal-in-future.rst
1351
1353
1352
1354
.. _whatsnew312-removed :
Original file line number Diff line number Diff line change @@ -2009,6 +2009,8 @@ New Deprecations
2009
2009
2010
2010
.. include :: ../deprecations/pending-removal-in-3.16.rst
2011
2011
2012
+ .. include :: ../deprecations/pending-removal-in-3.17.rst
2013
+
2012
2014
.. include :: ../deprecations/pending-removal-in-future.rst
2013
2015
2014
2016
CPython Bytecode Changes
@@ -2529,6 +2531,8 @@ Deprecated C APIs
2529
2531
2530
2532
.. include :: ../deprecations/c-api-pending-removal-in-3.15.rst
2531
2533
2534
+ .. include :: ../deprecations/c-api-pending-removal-in-3.18.rst
2535
+
2532
2536
.. include :: ../deprecations/c-api-pending-removal-in-future.rst
2533
2537
2534
2538
.. _pythoncapi-compat project : https://github.com/python/pythoncapi-compat/
Original file line number Diff line number Diff line change @@ -1737,6 +1737,8 @@ Deprecated
1737
1737
1738
1738
.. include :: ../deprecations/pending-removal-in-3.16.rst
1739
1739
1740
+ .. include :: ../deprecations/pending-removal-in-3.17.rst
1741
+
1740
1742
.. include :: ../deprecations/pending-removal-in-future.rst
1741
1743
1742
1744
Removed
You can’t perform that action at this time.
0 commit comments