[issue30054] Expose tracemalloc C API to track/untrack memory blocks

2017-06-20 Thread STINNER Victor
STINNER Victor added the comment: I merged my PR: the future Python 3.7 will provide a public C API to track memory allocations. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue30054] Expose tracemalloc C API to track/untrack memory blocks

2017-06-20 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5ea4c0677389ead2eee759958694cff2c65834a7 by Victor Stinner in branch 'master': bpo-30054: Expose tracemalloc C API (#1236) https://github.com/python/cpython/commit/5ea4c0677389ead2eee759958694cff2c65834a7 --

[issue30054] Expose tracemalloc C API to track/untrack memory blocks

2017-04-21 Thread STINNER Victor
STINNER Victor added the comment: @jtaylor: Ok, I created https://github.com/python/cpython/pull/1236 -- ___ Python tracker ___ ___ Py

[issue30054] Expose tracemalloc C API to track/untrack memory blocks

2017-04-21 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1354 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30054] Expose tracemalloc C API to track/untrack memory blocks

2017-04-12 Thread Julian Taylor
Julian Taylor added the comment: With this changeset it would: https://github.com/numpy/numpy/pull/8885 -- ___ Python tracker ___ ___

[issue30054] Expose tracemalloc C API to track/untrack memory blocks

2017-04-12 Thread STINNER Victor
STINNER Victor added the comment: What's the status in numpy? Is the current numpy release able to use CPython 3.6 tracemalloc private functions? -- ___ Python tracker ___ _

[issue30054] Expose tracemalloc C API to track/untrack memory blocks

2017-04-12 Thread Julian Taylor
Julian Taylor added the comment: I am not sure if _PyTraceMalloc_GetTraceback really needs to be a public function. Exposing the tracing information should probably just go over python interfaces. -- ___ Python tracker

[issue30054] Expose tracemalloc C API to track/untrack memory blocks

2017-04-12 Thread STINNER Victor
New submission from STINNER Victor: The issue #26530 added a private C API to manually track/untrack memory blocks in tracemalloc. I was just validated by Julian Taylor who confirms that the API works as expected: http://bugs.python.org/issue26530#msg291551 So I propose to make the 3 newly add