https://github.com/python/cpython
Revision 9e00e80e213ebc37eff89ce72102c1f928ebc133 authored by Victor Stinner on 25 October 2018, 11:31:16 UTC, committed by GitHub on 25 October 2018, 11:31:16 UTC
tracemalloc now tries to update the traceback when an object is
reused from a "free list" (optimization for faster object creation,
used by the builtin list type for example).

Changes:

* Add _PyTraceMalloc_NewReference() function which tries to update
  the Python traceback of a Python object.
* _Py_NewReference() now calls _PyTraceMalloc_NewReference().
* Add an unit test.
1 parent d7c3e5f
History
Tip revision: 9e00e80e213ebc37eff89ce72102c1f928ebc133 authored by Victor Stinner on 25 October 2018, 11:31:16 UTC
bpo-35053: Enhance tracemalloc to trace free lists (GH-10063)
Tip revision: 9e00e80
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.5 KB
.gitignore -rw-r--r-- 1.6 KB
.travis.yml -rw-r--r-- 7.6 KB
CODE_OF_CONDUCT.md -rw-r--r-- 609 bytes
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 61.0 KB
README.rst -rw-r--r-- 10.0 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 481.9 KB
configure.ac -rw-r--r-- 157.8 KB
install-sh -rw-r--r-- 15.0 KB
pyconfig.h.in -rw-r--r-- 42.6 KB
setup.py -rw-r--r-- 98.8 KB

README.rst

back to top