[issue41165] [Python 3.10] Remove APIs deprecated long enough
Inada Naoki
report at bugs.python.org
Thu Jul 2 23:14:45 EDT 2020
Inada Naoki <songofacandy at gmail.com> added the comment:
Hmm. You are right. The warnings are shown by default.
On the other hand, some project uses custom `setup.py test` command. It hides the DeprecationWarning.
https://github.com/warner/python-ed25519/blob/master/setup.py
https://github.com/warner/python-ed25519/blob/master/src/ed25519/test_ed25519.py#L42
How about emitting FutureWarning instead of DeprecationWarning?
DeprecationWarning is hidden to avoid end users see noisy warnings.
But test is for developers, not end users.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41165>
_______________________________________
More information about the Python-bugs-list
mailing list