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 pitrou
Recipients mark.dickinson, pitrou, steve.dower, tim.golden, zach.ware
Date 2014-10-09.20:00:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412884822.91.0.0228163953424.issue22590@psf.upfronthosting.co.za>
In-reply-to
Content
Also, the fact that we support float('nan') and float('-nan') as producing different bit patterns means we should perhaps produce the right sign bit for each (it seems that's the problem here).

>>> import struct
>>> struct.pack("d", float("nan"))
'\x00\x00\x00\x00\x00\x00\xf8\xff'
>>> struct.pack("d", float("-nan"))
'\x00\x00\x00\x00\x00\x00\xf8\x7f'
History
Date User Action Args
2014-10-09 20:00:22pitrousetrecipients: + pitrou, mark.dickinson, tim.golden, zach.ware, steve.dower
2014-10-09 20:00:22pitrousetmessageid: <1412884822.91.0.0228163953424.issue22590@psf.upfronthosting.co.za>
2014-10-09 20:00:22pitroulinkissue22590 messages
2014-10-09 20:00:22pitroucreate