found the memory-critical pieces. also removed old debug code

This commit is contained in:
David Halter
2012-08-13 16:45:33 +02:00
parent e6f6003476
commit 37b5f2cb93
6 changed files with 7 additions and 31 deletions

View File

@@ -75,7 +75,8 @@ def clear_caches():
for m in memoize_caches:
m.clear()
memoize_caches = []
# memorize_caches must never be deleted, because the dicts will get lost in
# the wrappers.
statement_path = []
faked_scopes = []