[Python-checkins] r68906 - python/trunk/Lib/pickletools.py
mark.dickinson
python-checkins at python.org
Sat Jan 24 22:08:39 CET 2009
Author: mark.dickinson
Date: Sat Jan 24 22:08:38 2009
New Revision: 68906
Log:
Issue #3657: fix occasional test_pickletools failures.
Modified:
python/trunk/Lib/pickletools.py
Modified: python/trunk/Lib/pickletools.py
==============================================================================
--- python/trunk/Lib/pickletools.py (original)
+++ python/trunk/Lib/pickletools.py Sat Jan 24 22:08:38 2009
@@ -2083,11 +2083,11 @@
Exercise the INST/OBJ/BUILD family.
->>> import random
->>> dis(pickle.dumps(random.random, 0))
- 0: c GLOBAL 'random random'
- 15: p PUT 0
- 18: . STOP
+>>> import pickletools
+>>> dis(pickle.dumps(pickletools.dis, 0))
+ 0: c GLOBAL 'pickletools dis'
+ 17: p PUT 0
+ 20: . STOP
highest protocol among opcodes = 0
>>> from pickletools import _Example
More information about the Python-checkins
mailing list