cpython: 0d2dc3611e3b (original) (raw)
Mercurial > cpython
changeset 40920:0d2dc3611e3b
Fix a bizarre error where test_pickletools fails if preceded by test_pyclbr. The fix is in neither, but in pickle.py where a loop over sys.modules.items() could modify sys.modules, occasionally.
Guido van Rossum guido@python.org | |
---|---|
date | Mon, 26 Feb 2007 07:07:02 +0000 |
parents | 40b17afc4aa7 |
children | 610c7acc9982 |
files | Lib/pickle.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-)[+] [-] Lib/pickle.py 2 |
line wrap: on
line diff
--- a/Lib/pickle.py +++ b/Lib/pickle.py @@ -791,7 +791,7 @@ def whichmodule(func, funcname): if func in classmap: return classmap[func]