naive misuse? (of PyThreadState_SetAsyncExc)

Simon Forman rogue_pedro at yahoo.com
Tue Aug 29 03:03:40 EDT 2006


johan2sson at gmail.com wrote:
> johan2sson at gmail.com wrote:
> > The documentation for PyThreadState_SetAsyncExc says "To prevent naive
> > misuse, you must write your own C extension to call this". Anyone care
> > to list a few examples of such naive misuse?
>
> No? I'll take that then as proof that it's impossible to misuse the
> function.
>
> Thanks,
> Johan

I *was* going to say that if you didn't already know the answer to that
question then your use would almost certainly be naive.  But I thought
that'd be more nasty than funny, so I bit my tongue.

~Simon




More information about the Python-list mailing list