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 alexandre.vassalotti
Recipients ac.james, alexandre.vassalotti, georg.brandl
Date 2009-06-23.01:52:28
SpamBayes Score 3.0813299e-09
Marked as misclassified No
Message-id <1245721950.4.0.71440791376.issue6290@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2009-06-23 01:52:30alexandre.vassalottisetrecipients: + alexandre.vassalotti, georg.brandl, ac.james
2009-06-23 01:52:30alexandre.vassalottisetmessageid: <1245721950.4.0.71440791376.issue6290@psf.upfronthosting.co.za>
2009-06-23 01:52:29alexandre.vassalottilinkissue6290 messages
2009-06-23 01:52:28alexandre.vassalotticreate