WITH PATCH hhg@hallgrimur-linux:~/release25-maint-picklefix/Stackless/unittests$ ../../python -E -tt runAll.py ................F................... ====================================================================== FAIL: testXrange (test_pickle.TestConcretePickledTasklets) ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_pickle.py", line 197, in testXrange self.run_pickled(xrangetest, 20, 13) File "./test_pickle.py", line 164, in run_pickled self.assertEquals(new_rval, old_rval) AssertionError: 9159019261958553619 != 19 ---------------------------------------------------------------------- Ran 36 tests in 1.225s FAILED (failures=1) .................................... ---------------------------------------------------------------------- Ran 36 tests in 1.263s OK hhg@hallgrimur-linux:~/release25-maint-picklefix/Stackless/unittests$ WITHOUT PATCH hhg@hallgrimur-linux:~/release25-maint/Stackless/unittests$ ../../python -E -tt runAll.py ........E.......F.....E............. ====================================================================== ERROR: testGeneratorScheduling (test_pickle.TestConcretePickledTasklets) ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_pickle.py", line 228, in testGeneratorScheduling self.run_pickled(genschedoutertest, 20, 13) File "./test_pickle.py", line 156, in run_pickled ip.run() File "./test_pickle.py", line 17, in accumulate rval = (ident, func(*args)) File "./test_pickle.py", line 103, in genschedoutertest for x in genschedinnertest(n, when): RuntimeError: cannot execute invalid frame with 'gen_iternext_callback': frame had a C state that can't be restored. ====================================================================== ERROR: Same as 1, but with a pickled unrun tasklet. ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_miscell.py", line 62, in test_aliveness2 self.lifecycle(t_new) File "./test_miscell.py", line 31, in lifecycle res = stackless.run(10) RuntimeError: cannot execute invalid frame with 'run_cframe': frame had a C state that can't be restored. ====================================================================== FAIL: testXrange (test_pickle.TestConcretePickledTasklets) ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_pickle.py", line 197, in testXrange self.run_pickled(xrangetest, 20, 13) File "./test_pickle.py", line 164, in run_pickled self.assertEquals(new_rval, old_rval) AssertionError: 9159019261958553619 != 19 ---------------------------------------------------------------------- Ran 36 tests in 1.243s FAILED (failures=1, errors=2) ......................EF............ ====================================================================== ERROR: Same as 1, but with a pickled unrun tasklet. ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_miscell.py", line 62, in test_aliveness2 self.lifecycle(t_new) File "./test_miscell.py", line 31, in lifecycle res = stackless.run(10) RuntimeError: cannot execute invalid frame with 'run_cframe': frame had a C state that can't be restored. ====================================================================== FAIL: Same as 1, but with a pickled run(slightly) tasklet. ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_miscell.py", line 107, in test_aliveness3 self.assertEquals(t.recursion_depth, 0) AssertionError: -1 != 0 ---------------------------------------------------------------------- Ran 36 tests in 1.283s FAILED (failures=1, errors=1) hhg@hallgrimur-linux:~/release25-maint/Stackless/unittests$