]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #13390: New function :func:`sys.getallocatedblocks()` returns the number of...
authorAntoine Pitrou <solipsis@pitrou.net>
Sun, 9 Dec 2012 13:28:26 +0000 (14:28 +0100)
committerAntoine Pitrou <solipsis@pitrou.net>
Sun, 9 Dec 2012 13:28:26 +0000 (14:28 +0100)
commitf9d0b1256fd5a9ae90fa8e8418bd450ec6b7f5f2
treefd5ad7ad717440f4586652180cb31a3cf2e52e97
parentb4b8f234d4407492c4493e3a16bc8263139c7869
Issue #13390: New function :func:`sys.getallocatedblocks()` returns the number of memory blocks currently allocated.
Also, the ``-R`` option to regrtest uses this function to guard against memory allocation leaks.
Doc/library/sys.rst
Include/objimpl.h
Lib/test/regrtest.py
Lib/test/support.py
Lib/test/test_sys.py
Misc/NEWS
Objects/obmalloc.c
Python/pythonrun.c
Python/sysmodule.c