]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-105376: Restore deprecated logging warn() method (GH-122775) (#122856)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 9 Aug 2024 15:15:30 +0000 (17:15 +0200)
committerGitHub <noreply@github.com>
Fri, 9 Aug 2024 15:15:30 +0000 (17:15 +0200)
commitbcce4cc466b5f172fe63e26108030be8f9eadad2
tree5c98d9bc1cc67d650e36478c0bd62adda502a60a
parent013752c9f8f3b675cf34be1e940b14460d9d2423
[3.13] gh-105376: Restore deprecated logging warn() method (GH-122775) (#122856)

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

This reverts commit dcc028d92428bd57358a5028ada2a53fc79fc365 and
commit 6c54e5d72166d012b52155cbf13af9e533290e06.

Keep the deprecated logging warn() method in Python 3.13.

(cherry picked from commit d3239976a8e66ae3e2f4314a6889d79cdc9a9625)

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Doc/deprecations/pending-removal-in-future.rst
Doc/library/logging.rst
Doc/whatsnew/3.13.rst
Lib/logging/__init__.py
Misc/NEWS.d/next/Library/2024-08-07-14-12-19.gh-issue-105376.QbGPdE.rst [new file with mode: 0644]