mirror of
https://github.com/python/cpython.git
synced 2025-08-15 06:10:47 +00:00
Merged revisions 68903,68906 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r68903 | mark.dickinson | 2009-01-24 16:40:29 +0000 (Sat, 24 Jan 2009) | 5 lines Issue #1672332: Fix unpickling of subnormal floats, which was raising ValueError on some platforms as a result of the platform strtod setting errno on underflow. ........ r68906 | mark.dickinson | 2009-01-24 21:08:38 +0000 (Sat, 24 Jan 2009) | 2 lines Issue #3657: fix occasional test_pickletools failures. ........
This commit is contained in:
parent
42f612a19b
commit
3df16920eb
4 changed files with 20 additions and 6 deletions
|
@ -2083,11 +2083,11 @@ highest protocol among opcodes = 1
|
|||
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue