This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients georg.brandl, loewis, mark.dickinson, oneg, sgala
Date 2009-01-05.12:22:10
SpamBayes Score 7.925097e-05
Marked as misclassified No
Message-id <1231158131.65.0.592773779587.issue1672332@psf.upfronthosting.co.za>
In-reply-to
Content
I'm seeing this too on OS X, with Python 2.6.

Python 2.6.1+ (release26-maint:68182M, Jan  2 2009, 23:13:43) 
[GCC 4.0.1 (Apple Inc. build 5490)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import cPickle
>>> cPickle.dumps(1e-307)
'F9.9999999999999991e-308\n.'
>>> cPickle.loads(_)
9.9999999999999991e-308
>>> cPickle.dumps(1e-308)
'F9.9999999999999991e-309\n.'
>>> cPickle.loads(_)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: could not convert string to float

Same results on trunk, and (using pickle instead of cPickle, and 
specifying protocol 0 explicitly) for 3.x.

I'll see if I can figure out where this is coming from.
History
Date User Action Args
2009-01-05 12:22:11mark.dickinsonsetrecipients: + mark.dickinson, loewis, georg.brandl, sgala, oneg
2009-01-05 12:22:11mark.dickinsonsetmessageid: <1231158131.65.0.592773779587.issue1672332@psf.upfronthosting.co.za>
2009-01-05 12:22:10mark.dickinsonlinkissue1672332 messages
2009-01-05 12:22:10mark.dickinsoncreate