[issue26567] ResourceWarning: Use tracemalloc to display the traceback where an object was allocated when a ResourceWarning is emitted

STINNER Victor report at bugs.python.org
Thu Mar 17 07:08:30 EDT 2016


STINNER Victor added the comment:

I used this patch to identify a ResourceWarning in test_faulthandler when the test is interrupted by CTRL+c: it's really efficient!

I will be very useful to identify all ResourceWarning that I saw in test_asyncio, like the ones seen on the AIX buildbot.

----------

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


More information about the Python-bugs-list mailing list