Re: [IronPython] Callback per statement

2007-04-17 Thread Martin Maly
ailto:[EMAIL PROTECTED] On Behalf Of Markus Hajek Sent: Monday, April 16, 2007 11:55 PM To: 'Discussion of IronPython' Subject: Re: [IronPython] Callback per statement One more question: I want to use this callback to abort python execution in certain cases. I'm currently thinking the

Re: [IronPython] Callback per statement

2007-04-16 Thread Markus Hajek
ag von Markus Hajek Gesendet: Dienstag, 17. April 2007 08:38 An: 'Discussion of IronPython' Betreff: Re: [IronPython] Callback per statement Thanks a million, I'll start experimenting with that right away. Looks just exactly like what I need, thanks again. Cheers, Markus

Re: [IronPython] Callback per statement

2007-04-16 Thread Markus Hajek
16. April 2007 20:13 An: Discussion of IronPython Betreff: Re: [IronPython] Callback per statement It is not possible to do this without change to code generation at this point. Essentially you could do something like this: public class MyCallbackClass { public void M

Re: [IronPython] Callback per statement

2007-04-16 Thread Martin Maly
] On Behalf Of Markus Hajek Sent: Monday, April 16, 2007 3:37 AM To: 'Discussion of IronPython' Subject: [IronPython] Callback per statement Hi, is there a way to execute a callback whenever a Python statement is about to be executed (or just has executed)? With Python statements, I m

[IronPython] Callback per statement

2007-04-16 Thread Markus Hajek
Hi, is there a way to execute a callback whenever a Python statement is about to be executed (or just has executed)? With Python statements, I mean method calls, operators, assignments. And if there's no such way, how would I have to go about changing code generation to facilitate that? Many tha