Other than just modifying the source (in methodbinding.cs?) and doing it 
myself, is there an easy way to globally hook methods so that I can do 
something immediately before and after a method invocation from Python?  For 
example, I'd like to acquire/release a lock or check if some subsystem is 
started up, and I'd be a lot cleaner to do it in one place instead of at the 
top/bottom of every single public function that I expose to Python.

Thanks,

Brad...

_________________________________________________
Python.NET mailing list - PythonDotNet@python.org
http://mail.python.org/mailman/listinfo/pythondotnet

Reply via email to