Alexander Mohr <thehes...@gmail.com> added the comment:

actually, thinking about this more on my way to work, this should NOT be 
closed.  The callstack I initially mentioned still has no explanation and we 
now know is not correct.  It should either have listed something related to 
warnings, or nothing at all (<unknown>) or something like that.

There is no documentation to describe this behavior, think about it, it would 
have to be something like:

"tracemalloc may give completely irrelevant callstacks".  

So I think this callstack still needs to be explained, and either:

1) the module should be fixed so it would give something more relevant (to give 
developers some foothold to realize this was related to warnings

2) For this scenario the callstack should be removed, to inform the developer 
that they should manually track the allocations in gdb or with some other 
mechanism.

It would be really nice to know what c-callstacks (with parameters) trigger 
this tracemalloc stack.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33565>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to