sending thread exceptions (was Re: RELEASED Python 2.3.1)

Peter Hansen peter at engcorp.com
Wed Sep 24 17:06:33 EDT 2003


Chris Liechti wrote:
> 
> Peter Hansen <peter at engcorp.com> wrote re:
> > PyThreadState_SetAsyncEnc

> > Presumably somebody will come up with a little extension module or
> > other technique for calling this which will let anyone use it at will,
> > so I'm unclear on why it should be made inaccessible from Python.
> 
> why bother with c, just use ctypes to call the function ;-)

How would one do that?  It would make for an easy way to experiment
with it, in the 0.001% of cases where a non-newbie one might want to 
do such a thing.  ;-)

Is this function available in a DLL somewhere?  I can't find even 
a single reference to that name anywhere in the Python23 directory
tree on Win32 after a fresh install.

-Peter




More information about the Python-list mailing list