8 Sep
1999
8 Sep
'99
9:55 a.m.
Evan Simpson wrote:
Martijn Faassen wrote:
Does it do any kind of cut-off after too many bytecodes are executed already? I wasn't able to find a reference to this in the docs so I assume not. It'd be very neat if it did that, though. :)
It sure would be. Sadly, while I've been told that this might be possible in a generic fashion, the only way I *know* how to do it is to insert a lot of test code near jumps. Implementing that is way down my list.
Do take a look at Will Wares' microthreads. It's a hack, but it's transparent. It lets you import a module that contains a modified Python interpreter that can do this. Regards, Martijn