[issue32089] In developer mode (-X dev), ResourceWarning is only emited once per line numbers

STINNER Victor report at bugs.python.org
Mon Nov 27 06:14:41 EST 2017


STINNER Victor <victor.stinner at gmail.com> added the comment:

The "default warning filters" are documented, but only for Python compiled in release mode:
https://docs.python.org/dev/library/warnings.html#default-warning-filters

So I didn't touch this documentation.

The initial issue is now fixed: the development mode (-X dev) now behaves as the debug mode (pydebug build) for the default warning filters.

The second issue, Antoine's complain about the "always" action, was also fixed.

I close the issue. At the end, we should get a better debug experience ;-)

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list