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 mark.dickinson, srid
Date 2009-08-06.09:39:01
SpamBayes Score 3.3412169e-09
Marked as misclassified No
Message-id <1249551545.28.0.0640914193708.issue6646@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the report!

What's the underlying hardware on your machine?

Here's a Python 2.6 interpreter session on my machine (OS X 10.5/Intel).  
Would it be possible for you to execute the same commands on your machine 
and tell me what you get?

Python 2.6.2 (r262:71600, Jun 17 2009, 09:08:27) 
[GCC 4.0.1 (Apple Inc. build 5490)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from sys import float_info
>>> float_info
sys.floatinfo(max=1.7976931348623157e+308, max_exp=1024, max_10_exp=308, 
min=2.2250738585072014e-308, min_exp=-1021, min_10_exp=-307, dig=15, 
mant_dig=53, epsilon=2.2204460492503131e-16, radix=2, rounds=1)
>>> from pickle import dumps, loads
>>> x = 7e-308
>>> x
7.0000000000000004e-308
>>> p = [dumps(x, proto) for proto in range(3)]
>>> p
['F7.0000000000000004e-308\n.', 'G\x00)*\xee\xa4Z\xae\xe0.', 
'\x80\x02G\x00)*\xee\xa4Z\xae\xe0.']
>>> up = [loads(z) for z in p]
>>> up
[7.0000000000000004e-308, 7.0000000000000004e-308, 7.0000000000000004e-
308]
History
Date User Action Args
2009-08-06 09:39:05mark.dickinsonsetrecipients: + mark.dickinson, srid
2009-08-06 09:39:05mark.dickinsonsetmessageid: <1249551545.28.0.0640914193708.issue6646@psf.upfronthosting.co.za>
2009-08-06 09:39:03mark.dickinsonlinkissue6646 messages
2009-08-06 09:39:02mark.dickinsoncreate