[Stackless] Stackless 2.5 branch updated for Python 2.5.1c1
Hieu Hoang
hieu.d.hoang at gmail.com
Sat Apr 14 16:49:50 CEST 2007
Hi Richard, thanks for the update :)
On *nix there's a "make test" target for Python, it runs the test suit
twice. Both trunk and 25-maint revision 54826 pass the test:
284 tests OK.
37 tests skipped:
test_aepack test_al test_applesingle test_bsddb185 test_bsddb3
test_cd test_cl test_codecmaps_cn test_codecmaps_hk
test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw test_curses
test_dl test_gl test_imageop test_imgfile test_linuxaudiodev
test_macfs test_macostools test_nis test_normalization
test_ossaudiodev test_pep277 test_plistlib test_rgbimg
test_scriptpackages test_socket_ssl test_socketserver
test_startfile test_sunaudiodev test_timeout test_urllib2net
test_urllibnet test_winreg test_winsound test_zipfile64
Those skips are all expected on linux2.
About stackless part, stupid me didn't test 25-maint before svn
update, so I don't know which fails due to the merge, sorry. How
should I go back to an older rev?
All compile are done with:
make distclean && ./configure --enable-ipv6
on linux 2.6.20-generic on amd64, libc6 2.5-0ubuntu14
The stackless tests:
stackless2.5/Stackless/unittests
$> ../../python runAll.py
..........E...........E......F....
======================================================================
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.
======================================================================
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.
======================================================================
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 34 tests in 2.520s
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 34 tests in 2.266s
FAILED (failures=1, errors=1)
and trunk:
stackless/Stackless/unittests
$> .././../python runAll.py
..........E...........E......F....
======================================================================
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.
======================================================================
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.
======================================================================
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: -352562260327006189 != 19
----------------------------------------------------------------------
Ran 34 tests in 2.310s
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 34 tests in 2.196s
FAILED (failures=1, errors=1)
Bye,
Hieu
_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://www.stackless.com/mailman/listinfo/stackless
More information about the Stackless
mailing list