Re: Interpreter hook during evaluation

2007-10-26 Thread Diez B. Roggisch
[EMAIL PROTECTED] schrieb: > Hello, > > I would like access to a hook inside Python that would allow me to > register a C++ function to be called periodically during the > evaluation of a Python script. > > Does any such thing exist today in Python? I poked around but didn't > find anything. > >

Re: Interpreter hook during evaluation

2007-10-26 Thread ThunderBug
> I would like access to a hook inside Python that would allow me to > register a C++ function to be called periodically during the > evaluation of a Python script. > > ... so calling it > every Python instruction would not be that bad in terms of > performance. > I too could make good use of such

Interpreter hook during evaluation

2007-10-26 Thread WilliamKF
Hello, I would like access to a hook inside Python that would allow me to register a C++ function to be called periodically during the evaluation of a Python script. Does any such thing exist today in Python? I poked around but didn't find anything. I want to do this for interrupt handling. I'd