commit | f9d0b1256fd5a9ae90fa8e8418bd450ec6b7f5f2 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Sun Dec 09 14:28:26 2012 +0100 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Sun Dec 09 14:28:26 2012 +0100 |
tree | fd5ad7ad717440f4586652180cb31a3cf2e52e97 | |
parent | b4b8f234d4407492c4493e3a16bc8263139c7869 [diff] |
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.