[issue28835] Change in behavior when overriding warnings.showwarning and with catch_warnings(record=True)

Serhiy Storchaka report at bugs.python.org
Tue Dec 6 04:50:28 EST 2016


Serhiy Storchaka added the comment:

I don't understand why test_showwarnmsg_missing was added. Why deleting warnings._showwarnmsg should be supported?

I would rename _showwarning to _showwarning_orig for accenting it's purpose. It is used only for checking if showwarning was replaced by the user.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28835>
_______________________________________


More information about the Python-bugs-list mailing list