[Stackless] Patch for pickle problem on 64bit platforms
Kristján Valur Jónsson
kristjan at ccpgames.com
Fri Oct 19 13:56:54 CEST 2007
btw, the same problem exists in test_cframe().
See my previous email about the possible correctness of this all.
From: stackless-bounces at stackless.com [mailto:stackless-bounces at stackless.com] On Behalf Of Hallgrimur H. Gunnarsson
Sent: Wednesday, October 17, 2007 01:23
To: stackless at stackless.com
Subject: [Stackless] Patch for pickle problem on 64bit platforms
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).
Stackless mailing list
Stackless at stackless.com
More information about the Stackless