File tree Expand file tree Collapse file tree 4 files changed +14
-10
lines changed Expand file tree Collapse file tree 4 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -106,13 +106,6 @@ Pending Removal in Python 3.14
106
106
if :ref: `named placeholders <sqlite3-placeholders >` are used and
107
107
*parameters * is a sequence instead of a :class: `dict `.
108
108
109
- * :class: `types.CodeType `: Accessing :attr: `~codeobject.co_lnotab ` was
110
- deprecated in :pep: `626 `
111
- since 3.10 and was planned to be removed in 3.12,
112
- but it only got a proper :exc: `DeprecationWarning ` in 3.12.
113
- May be removed in 3.14.
114
- (Contributed by Nikita Sobolev in :gh: `101866 `.)
115
-
116
109
* :mod: `typing `: :class: `~typing.ByteString `, deprecated since Python 3.9,
117
110
now causes a :exc: `DeprecationWarning ` to be emitted when it is used.
118
111
Original file line number Diff line number Diff line change @@ -37,6 +37,17 @@ Pending Removal in Python 3.15
37
37
(``NT = NamedTuple("NT", x=int) ``) is deprecated, and will be disallowed in
38
38
3.15. Use the class-based syntax or the functional syntax instead.
39
39
40
+ * :mod: `types `:
41
+
42
+ * :class: `types.CodeType `: Accessing :attr: `~codeobject.co_lnotab ` was
43
+ deprecated in :pep: `626 `
44
+ since 3.10 and was planned to be removed in 3.12,
45
+ but it only got a proper :exc: `DeprecationWarning ` in 3.12.
46
+ May be removed in 3.15.
47
+ (Contributed by Nikita Sobolev in :gh: `101866 `.)
48
+
49
+ * :mod: `typing `:
50
+
40
51
* When using the functional syntax to create a :class: `!NamedTuple ` class, failing to
41
52
pass a value to the *fields * parameter (``NT = NamedTuple("NT") ``) is
42
53
deprecated. Passing ``None `` to the *fields * parameter
Original file line number Diff line number Diff line change @@ -1428,7 +1428,7 @@ Special read-only attributes
1428
1428
1429
1429
.. deprecated :: 3.12
1430
1430
This attribute of code objects is deprecated, and may be removed in
1431
- Python 3.14 .
1431
+ Python 3.15 .
1432
1432
1433
1433
* - .. attribute:: codeobject.co_stacksize
1434
1434
- The required stack size of the code object
Original file line number Diff line number Diff line change @@ -1338,8 +1338,8 @@ Deprecated
1338
1338
1339
1339
* Accessing :attr: `~codeobject.co_lnotab ` on code objects was deprecated in
1340
1340
Python 3.10 via :pep: `626 `,
1341
- but it only got a proper :exc: `DeprecationWarning ` in 3.12,
1342
- therefore it will be removed in 3.14 .
1341
+ but it only got a proper :exc: `DeprecationWarning ` in 3.12.
1342
+ May be removed in 3.15 .
1343
1343
(Contributed by Nikita Sobolev in :gh: `101866 `.)
1344
1344
1345
1345
.. include :: ../deprecations/pending-removal-in-3.13.rst
You can’t perform that action at this time.
0 commit comments