> 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 a hook.