[issue4293] Thread Safe Py_AddPendingCall
Mark Dickinson
report at bugs.python.org
Fri Jan 16 21:44:09 CET 2009
Mark Dickinson <dickinsm at gmail.com> added the comment:
Kristján,
The r68461 checkin seems to be causing a number of the buildbots to fail,
typically with output like:
test_capi
test test_capi failed -- Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-ppc/build/Lib/test/test_capi.py", line 57, in
test_pendingcalls_threaded
self.pendingcalls_wait(l, n)
File "/home/pybot/buildarea/trunk.klose-debian-ppc/build/Lib/test/test_capi.py", line 42, in
pendingcalls_wait
"timeout waiting for %i callbacks, got %i"%(n, len(l)))
AssertionError: timeout waiting for 32 callbacks, got 23
Please could you look into this?
Also, I don't understand the code:
for i in xrange(1000):
a = i*i
in pendingcalls_wait(), in test_capi.py. Whatever you're
trying to do here, surely there's a better way?
----------
nosy: +marketdickinson
status: closed -> open
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4293>
_______________________________________
More information about the Python-bugs-list
mailing list