sending thread exceptions (was Re: RELEASED Python 2.3.1)
Peter Hansen
peter at engcorp.com
Wed Sep 24 17:32:07 EDT 2003
Tim Hochberg wrote:
>
> Peter Hansen wrote:
> > 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.
>
> It's here:
>
> http://starship.python.net/crew/theller/ctypes/
Sorry, Tim, I meant the PyThreadState_SetAsyncEnc function, not
ctypes itself. :-) See my other posting, where I report I found it...
-Peter
More information about the Python-list
mailing list