diff options
| author | Christian Heimes <christian@cheimes.de> | 2008-02-04 18:00:12 (GMT) |
|---|---|---|
| committer | Christian Heimes <christian@cheimes.de> | 2008-02-04 18:00:12 (GMT) |
| commit | 422051a3675271e179995ad4a0f056ff94395d55 (patch) | |
| tree | 3316e9503901082cc4beefbf169d8191c9838190 /Lib/test/regrtest.py | |
| parent | a26cf9b7609fc1c08fd1a69ddf5e44dc98a70dce (diff) | |
| download | cpython-422051a3675271e179995ad4a0f056ff94395d55.zip cpython-422051a3675271e179995ad4a0f056ff94395d55.tar.gz cpython-422051a3675271e179995ad4a0f056ff94395d55.tar.bz2 | |
Patch #1953
I implemented the function sys._compact_freelists() and C API functions PyInt_/PyFloat_CompactFreeList() to compact the pre-allocated blocks of ints and floats. They allow the user to reduce the memory usage of a Python process that deals with lots of numbers.
The patch also renames sys._cleartypecache to sys._clear_type_cache
Diffstat (limited to 'Lib/test/regrtest.py')
| -rwxr-xr-x | Lib/test/regrtest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 72d1039..b6aa96b 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -710,7 +710,7 @@ def dash_R_cleanup(fs, ps, pic, abcs): sys.path_importer_cache.update(pic) # clear type cache - sys._cleartypecache() + sys._clear_type_cache() # Clear ABC registries, restoring previously saved ABC registries. for abc in [getattr(_abcoll, a) for a in _abcoll.__all__]: |
