[issue41197] Async magic methods in contextlib.closing

Serhiy Storchaka report at bugs.python.org
Fri Jul 3 01:15:01 EDT 2020


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

Warning is not error. It may left unnoticed, especially if the code is executed on server. And in this particular case turning the warning into exception by setting warning filters does not help, because it would be raised in the context where exceptions are swallowed.

----------

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


More information about the Python-bugs-list mailing list