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

gh-101865: Docs: Keep co_lnotab deprecation for at least 3.14#126392

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
hugovk merged 1 commit intopython:mainfromhugovk:docs-co_lnotab-3.15
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletionsDoc/deprecations/pending-removal-in-3.14.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -103,13 +103,6 @@ Pending removal in Python 3.14
if :ref:`named placeholders <sqlite3-placeholders>` are used and
*parameters* is a sequence instead of a :class:`dict`.

* :class:`types.CodeType`: Accessing :attr:`~codeobject.co_lnotab` was
deprecated in :pep:`626`
since 3.10 and was planned to be removed in 3.12,
but it only got a proper :exc:`DeprecationWarning` in 3.12.
May be removed in 3.14.
(Contributed by Nikita Sobolev in :gh:`101866`.)

* :mod:`typing`: :class:`!typing.ByteString`, deprecated since Python 3.9,
now causes a :exc:`DeprecationWarning` to be emitted when it is used.

Expand Down
9 changes: 9 additions & 0 deletionsDoc/deprecations/pending-removal-in-3.15.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -59,6 +59,15 @@ Pending removal in Python 3.15
but the C version allows any number of positional or keyword arguments,
ignoring every argument.

* :mod:`types`:

* :class:`types.CodeType`: Accessing :attr:`~codeobject.co_lnotab` was
deprecated in :pep:`626`
since 3.10 and was planned to be removed in 3.12,
but it only got a proper :exc:`DeprecationWarning` in 3.12.
May be removed in 3.15.
(Contributed by Nikita Sobolev in :gh:`101866`.)

* :mod:`typing`:

* The undocumented keyword argument syntax for creating
Expand Down
2 changes: 1 addition & 1 deletionDoc/reference/datamodel.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -1507,7 +1507,7 @@ Special read-only attributes

.. deprecated:: 3.12
This attribute of code objects is deprecated, and may be removed in
Python 3.14.
Python 3.15.

* - .. attribute:: codeobject.co_stacksize
- The required stack size of the code object
Expand Down
4 changes: 2 additions & 2 deletionsDoc/whatsnew/3.12.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -1327,8 +1327,8 @@ Deprecated

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

.. include:: ../deprecations/pending-removal-in-3.13.rst
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp