Message 127710 - Python tracker (original) (raw)
If OrderedDict is used, the test case quickly uses 8GB of memory. With this change (I'm not suggesting this as a fix!), the timings are normal:
Index: Lib/ConfigParser.py
--- Lib/ConfigParser.py (revision 88298) +++ Lib/ConfigParser.py (working copy) @@ -92,6 +92,7 @@ except ImportError: # fallback for setup.py which hasn't yet built _collections _default_dict = dict +_default_dict = dict
import re