diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-03-19 01:03:51 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-03-19 01:03:51 +0100 |
commit | 914cde89d4c94b0b9206d0fa22322a1142833a56 (patch) | |
tree | 7eed294f0da18437f719df470dbee278cfb40787 /Python/thread_pthread.h | |
parent | 1231a4615fd447f0988a72a134a1fc5e7d4e8d69 (diff) | |
download | cpython-git-914cde89d4c94b0b9206d0fa22322a1142833a56.tar.gz |
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.
Diffstat (limited to 'Python/thread_pthread.h')
0 files changed, 0 insertions, 0 deletions