Hi,
I was performing some timing tests on a class that inherits from the
built-in list, and got some curious results:
import timeit
class MyList(list):
def __init__(self):
list.__init__(self)
self[:] = [0,0,0]
def __delitem__(self,index):
print 'deleting'
iwl wrote:
> what is the nThreadId-Parameter of PyThreadState_SetAsyncExc?
>
> I try to implement a Terminate-Button in my C-Prog for my
> embedded Python, but its hard to find an example how to
> stop an interpreter running in an thread.
>
> I found no other Python C-App-Func returning such a pa