[New-bugs-announce] [issue44543] Remove depreciated logging.warn() method

Harry report at bugs.python.org
Thu Jul 1 04:49:52 EDT 2021


New submission from Harry <harry.lees at gmail.com>:

The logging.warn() method as an alias for logging.warning() is a mysterious function in the logging module, as far as I can tell it was depreciated the minute it was added, originally only added for backwards compatibility.

Up until 3.3 it was undocumented, and after that it was Depreciated and was set to be removed in 3.4 (https://bugs.python.org/issue13235). At this point, I believe this function only serves to create confusion as an obscure alternative to logging.warning() and should probably be removed in 3.11.

----------
components: Library (Lib)
messages: 396813
nosy: Harry-Lees
priority: normal
severity: normal
status: open
title: Remove depreciated logging.warn() method
type: enhancement
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44543>
_______________________________________


More information about the New-bugs-announce mailing list