Message89620
Could you give me the output of this?
import cPickle
print repr(cPickle.dumps([float('+inf'), float('-inf'), float('nan')]))
print [float('+inf'), float('-inf'), float('nan')]
By the way, are you sure this bug occurs on Python 2.6? Python 2.6 uses
a platform-independent float to string converter (i.e.,
PyOS_double_to_string) which shouldn't output stuff like "1.#INF"
Also, can you verify that the bug does not occur with pickle protocol 1
and over? |
|
Date |
User |
Action |
Args |
2009-06-23 01:52:30 | alexandre.vassalotti | set | recipients:
+ alexandre.vassalotti, georg.brandl, ac.james |
2009-06-23 01:52:30 | alexandre.vassalotti | set | messageid: <1245721950.4.0.71440791376.issue6290@psf.upfronthosting.co.za> |
2009-06-23 01:52:29 | alexandre.vassalotti | link | issue6290 messages |
2009-06-23 01:52:28 | alexandre.vassalotti | create | |
|