[issue1672332] cPickle cannot unpickle subnormal floats on some machines

2009-01-24 Thread Mark Dickinson
Mark Dickinson added the comment: Fix merged in r68907 (2.6), r68908 (3.1) and r68909 (3.0). -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue1672332] cPickle cannot unpickle subnormal floats on some machines

2009-01-24 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks, Antoine! ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue1672332] cPickle cannot unpickle subnormal floats on some machines

2009-01-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: This is not a new failure but an erratic one, and caused by a weakness in pickle's handling of functions. See #3657. -- nosy: +pitrou ___ Python tracker

[issue1672332] cPickle cannot unpickle subnormal floats on some machines

2009-01-24 Thread Mark Dickinson
Mark Dickinson added the comment: Hmm. After checking in this patch, the gentoo x86 trunk buildbot has a new failure in test_pickletools, with the following output: test_pickletools ** File "/home/buildslave/python-trunk/trun

[issue1672332] cPickle cannot unpickle subnormal floats on some machines

2009-01-24 Thread Mark Dickinson
Mark Dickinson added the comment: Fixed in the trunk in r68903. If the buildbots are happy with the new tests, I'll port to 2.6, 3.0 and 3.1. -- versions: -Python 2.7 ___ Python tracker __

[issue1672332] cPickle cannot unpickle subnormal floats on some machines

2009-01-16 Thread Mark Dickinson
Mark Dickinson added the comment: Here's a patch, against the trunk, that simply amends load_float to ignore errno on underflow (while retaining it on overflow). This fixes the problem on my machine. The added tests may be a little severe. There's no *good* reason why dumping and then load

[issue1672332] cPickle cannot unpickle subnormal floats on some machines

2009-01-05 Thread Mark Dickinson
Mark Dickinson added the comment: Change title; this has nothing to do with 64 bit. -- title: cPickle can pickle, but cannot unpickle on 64bit machines -> cPickle cannot unpickle subnormal floats on some machines ___ Python tracker