[Stackless] Patch for pickle problem on 64bit platforms

Hallgrimur H. Gunnarsson hhg at hhg.to
Wed Oct 17 03:22:35 CEST 2007

Hi all,

The following patch fixes the pickle problem on 64bit platforms:


This problem was causing all pickle-related unit test to fail with
a message like:

"cannot execute invalid frame [..]: frame had a C
state that can't be restored."

(or see http://hhg.to/pickle-fix.txt for example output).

The problem was caused by a PyArg_ParseTuple int/long size
misalignment in cframe_setstate (core/cframeobject.c).

-- Hallgrimur

More information about the Stackless mailing list