[issue19831] tracemalloc: stop the module later at Python shutdown

2013-12-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset cc8953ea3c7e by Victor Stinner in branch 'default': Closes #19831: Stop tracemalloc later at Python shutdown to be able to use http://hg.python.org/cpython/rev/cc8953ea3c7e -- nosy: +python-dev resolution: -> fixed stage: -> committed/reje

[issue19831] tracemalloc: stop the module later at Python shutdown

2013-11-29 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19831] tracemalloc: stop the module later at Python shutdown

2013-11-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also issue19255. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailin

[issue19831] tracemalloc: stop the module later at Python shutdown

2013-11-29 Thread STINNER Victor
STINNER Victor added the comment: Oh tracemalloc_fini.patch is not correct, _PyTraceMalloc_Fini() should be called after PyImport_Cleanup(). -- Added file: http://bugs.python.org/file32888/tracemalloc_fini-2.patch ___ Python tracker

[issue19831] tracemalloc: stop the module later

2013-11-29 Thread STINNER Victor
New submission from STINNER Victor: tracemalloc cannot be used in object destructors because the module is stopped early at Python shutdown. I would like to use tracemalloc.get_object_traceback() in object destructors to retrieve where an object was allocated. Attached patch replaces the atex

[issue19831] tracemalloc: stop the module later at Python shutdown

2013-11-29 Thread STINNER Victor
Changes by STINNER Victor : -- title: tracemalloc: stop the module later -> tracemalloc: stop the module later at Python shutdown ___ Python tracker ___