[issue44354] ssl deprecation warnings erganomics

Thomas Grainger report at bugs.python.org
Tue Jun 8 16:36:09 EDT 2021


New submission from Thomas Grainger <tagrain at gmail.com>:

The ssl module OP_NO_* deprecation warning message is slightly wrong: The error message prints out "is deprecated is deprecated" because of an earlier format template

There's a colon in the warning message `ssl module:` and that makes it difficult to use in simplefilter

The NPN deprecation warnning raises a UserWarning instead of DeprecationWarning

see also UserWarning: ssl module: NPN is deprecated, use ALPN instead

----------
messages: 395362
nosy: alex, christian.heimes, dstufft, graingert, janssen
priority: normal
pull_requests: 25197
severity: normal
status: open
title: ssl deprecation warnings erganomics
versions: Python 3.10, Python 3.11

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


More information about the Python-bugs-list mailing list