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 mattip
Recipients eric.smith, loewis, mark.dickinson, mattip, serhiy.storchaka
Date 2012-04-10.09:13:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334049186.77.0.789197869267.issue14521@psf.upfronthosting.co.za>
In-reply-to
Content
The pickle output has the sign-bit set. Ignoring the sign-bit, it is unpickled correctly. However math.copysign using this value will now return minus on platforms where copysign(3., float('nan')) is known to work.

Perhaps the whole can of worms should not have been opened in the first place.
Another solution would be to raise a ValueError if copysign(x, float('nan')) is called...
History
Date User Action Args
2012-04-10 09:13:06mattipsetrecipients: + mattip, loewis, mark.dickinson, eric.smith, serhiy.storchaka
2012-04-10 09:13:06mattipsetmessageid: <1334049186.77.0.789197869267.issue14521@psf.upfronthosting.co.za>
2012-04-10 09:13:06mattiplinkissue14521 messages
2012-04-10 09:13:06mattipcreate