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

Reply via email to