cpython/Lib/test/test_warnings
Victor Stinner 914cde89d4 On ResourceWarning, log traceback where the object was allocated
Issue #26567:

* Add a new function PyErr_ResourceWarning() function to pass the destroyed
  object
* Add a source attribute to warnings.WarningMessage
* Add warnings._showwarnmsg() which uses tracemalloc to get the traceback where
  source object was allocated.
2016-03-19 01:03:51 +01:00
..
data
__init__.py On ResourceWarning, log traceback where the object was allocated 2016-03-19 01:03:51 +01:00
__main__.py