New submission from Harry <harry.l...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue44543>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to