Callbacks failing in Python (was Re: Use of Py_BEGIN_ALLOW_THREADS?)

Donn Cave donn at u.washington.edu
Fri May 18 13:38:29 EDT 2001


Quoth aahz at panix.com (Aahz Maruch):
| In article <3B043227.8879EC24 at rfa.org>, Bill Eldridge  <bill at rfa.org> wrote:
...
|>   But then
|> it just doesn't work from Python, threads or no threads, though I can
|> easily do a "Hello World" called from a Python main.  As soon as I
|> throw in a callback (callling C functions, not Python), it fails.
|
| Okay, the threads were a red herring.  I'm therefore changing the
| Subject in the hopes that someone who actually knows about extensions
| and Python will pay attention -- it's not something I know anything
| about.

I bet lots of folks do know enough to solve this problem, but only
with some details.  How about a look at that "Hello World" program?
Given some code that other people can build and test, if the answer
is only "works for me", at least that's something.

	Donn Cave, donn at u.washington.edu



More information about the Python-list mailing list