From: Philip Jenvey <pjenvey@un...> - 2008-04-06 00:58:54
I've just fixed a number of pickle bugs on jython-trunk: including a
particularly evil one that was causing test_xpickle to fail, due to
pickling of longs using the wrong endian order.
It's now fixed as of r4306.
Unfortunately this means anyone that's previously used cPickle
protocol 2 on jython-trunk to pickle longs has had them pickled
incorrectly. As of r4306, they will be unpickled assuming the correct
This means cPickle will unpickle the *WRONG* value for your pickled
longs: iPods suddenly on sale for -$256L instead of $255L!
Luckily this only affects cPickle protocol 2 (not normal pickle) on
trunk. The 2.2 releases do not include support for protocol 2 and do
not have this problem.
From: Frank Wierzbicki <fwierzbicki@gm...> - 2008-04-07 17:51:05
On Sat, Apr 5, 2008 at 8:58 PM, Philip Jenvey <pjenvey@...> wrote:
> I've just fixed a number of pickle bugs on jython-trunk: including a
> particularly evil one that was causing test_xpickle to fail, due to
> pickling of longs using the wrong endian order.
Ouch! That must have been painful to track :)