interpreter limits
Irmen de Jong
irmen at -nospam-remove-this-xs4all.nl
Tue Apr 13 13:30:40 EDT 2004
Joseph T. Bore wrote:
> I dont know a heck of a lot about the implementation of the
> interpreter/vm but would it be possible to implement exec or eval with
> an optional argument, that argument would be a maximum number of byte
> codes the interpreter would execute before throwing an exception.
Interesting. I know it's not of any help but 'back then',
most MUD engines did exactly this (at least, LP and MudOS did).
When a user-written module ran too long, it was aborted, to
avoid hanging the mud :)
--Irmen
More information about the Python-list
mailing list