[issue46819] Add an Error / Exception / Warning when contextlib.suppress() is entered with no specified exception(s) to suppress

Cooper Lees report at bugs.python.org
Tue Feb 22 13:29:26 EST 2022


Cooper Lees <me at cooperlees.com> added the comment:

I would never want to do that ... I understand it's bad. Just questioning things before adding lints so we put things in the right places and more importantly making sure I understand.

Thanks for the discussion all.

----------

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


More information about the Python-bugs-list mailing list