Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commiteac41c5

Browse files
authored
gh-101865: Docs: Keep co_lnotab deprecation for at least 3.14 (#126392)
1 parentc806cd5 commiteac41c5

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

‎Doc/deprecations/pending-removal-in-3.14.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,6 @@ Pending removal in Python 3.14
103103
if:ref:`named placeholders<sqlite3-placeholders>` are used and
104104
*parameters* is a sequence instead of a:class:`dict`.
105105

106-
*:class:`types.CodeType`: Accessing:attr:`~codeobject.co_lnotab` was
107-
deprecated in:pep:`626`
108-
since 3.10 and was planned to be removed in 3.12,
109-
but it only got a proper:exc:`DeprecationWarning` in 3.12.
110-
May be removed in 3.14.
111-
(Contributed by Nikita Sobolev in:gh:`101866`.)
112-
113106
*:mod:`typing`::class:`!typing.ByteString`, deprecated since Python 3.9,
114107
now causes a:exc:`DeprecationWarning` to be emitted when it is used.
115108

‎Doc/deprecations/pending-removal-in-3.15.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,15 @@ Pending removal in Python 3.15
5959
but the C version allows any number of positional or keyword arguments,
6060
ignoring every argument.
6161

62+
*:mod:`types`:
63+
64+
*:class:`types.CodeType`: Accessing:attr:`~codeobject.co_lnotab` was
65+
deprecated in:pep:`626`
66+
since 3.10 and was planned to be removed in 3.12,
67+
but it only got a proper:exc:`DeprecationWarning` in 3.12.
68+
May be removed in 3.15.
69+
(Contributed by Nikita Sobolev in:gh:`101866`.)
70+
6271
*:mod:`typing`:
6372

6473
* The undocumented keyword argument syntax for creating

‎Doc/reference/datamodel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1507,7 +1507,7 @@ Special read-only attributes
15071507

15081508
..deprecated::3.12
15091509
This attribute of code objects is deprecated, and may be removed in
1510-
Python 3.14.
1510+
Python 3.15.
15111511

15121512
* - .. attribute:: codeobject.co_stacksize
15131513
- The required stack size of the code object

‎Doc/whatsnew/3.12.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1327,8 +1327,8 @@ Deprecated
13271327

13281328
* Accessing:attr:`~codeobject.co_lnotab` on code objects was deprecated in
13291329
Python 3.10 via:pep:`626`,
1330-
but it only got a proper:exc:`DeprecationWarning` in 3.12,
1331-
therefore it willbe removed in 3.14.
1330+
but it only got a proper:exc:`DeprecationWarning` in 3.12.
1331+
Maybe removed in 3.15.
13321332
(Contributed by Nikita Sobolev in:gh:`101866`.)
13331333

13341334
..include::../deprecations/pending-removal-in-3.13.rst

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp