Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-105376: Restore deprecated logging warn() method #122775

Merged
merged 4 commits into from
Aug 9, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update Doc/deprecations/pending-removal-in-future.rst
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
  • Loading branch information
gpshead and hugovk committed Aug 7, 2024
commit 34f45f59de2e2b7ff9136003cfd8367058eb90bb
4 changes: 2 additions & 2 deletions Doc/deprecations/pending-removal-in-future.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
* ``EntryPoints`` tuple interface.
* Implicit ``None`` on return values.

* :mod:`logging`: the ``warn()`` method is deprecated, use ``warning()``
instead.
* :mod:`logging`: the :meth:`~logging.warn()` method has been deprecated

Check warning on line 70 in Doc/deprecations/pending-removal-in-future.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

py:meth reference target not found: logging.warn [ref.meth]

Check warning on line 70 in Doc/deprecations/pending-removal-in-future.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

py:meth reference target not found: logging.warn [ref.meth]

Check warning on line 70 in Doc/deprecations/pending-removal-in-future.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

py:meth reference target not found: logging.warn [ref.meth]

Check warning on line 70 in Doc/deprecations/pending-removal-in-future.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

py:meth reference target not found: logging.warn [ref.meth]

Check warning on line 70 in Doc/deprecations/pending-removal-in-future.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

py:meth reference target not found: logging.warn [ref.meth]
hugovk marked this conversation as resolved.
Show resolved Hide resolved
since Python 3.3, use :meth:`~logging.warning()` instead.

* :mod:`mailbox`: Use of StringIO input and text mode is deprecated, use
BytesIO and binary mode instead.
Expand Down
Loading