In #220 I fixed some hard switching errors and added a few tests. Unfortunately, I didn't run these tests with a Stackless compiled with SLP_WITH_FRAME_REF_DEBUG defined: the result is an assertion error, caused by an incorrect usage of the frame transfer mechanism. Additionally I was able to fix the reference leaks in test_transfer_errors.py.
Fortunately normal Python code can't trigger these bugs, because the hard switching code usually can't fail.
In #220 I fixed some hard switching errors and added a few tests. Unfortunately, I didn't run these tests with a Stackless compiled with SLP_WITH_FRAME_REF_DEBUG defined: the result is an assertion error, caused by an incorrect usage of the frame transfer mechanism. Additionally I was able to fix the reference leaks in test_transfer_errors.py. Fortunately normal Python code can't trigger these bugs, because the hard switching code usually can't fail.