[Zope-dev] Announce: PythonMethod 0.0.1

Martijn Faassen m.faassen@vet.uu.nl
Wed, 08 Sep 1999 11:57:22 +0200


Evan Simpson wrote:
> 
> Andreas Kostyrka wrote:
> 
> > Now, just insert a local variable, increment it on each loop iteration.
> > Set an unreasonable high limit like 500000 iterations.
> 
> That's what I meant by inserting test code near jumps, actually :)  This is such a
> low priority for me because of the number of deliberate denial of service attacks I
> know of which this would not solve.  I may still implement it as a safety net for
> mistakes, rather than attacks.

I don't think this is the right track though; it's hellishly
complicated, you leave holes open, etc. While modifying the Python
interpreter source is evil too, at least it's clean once you're past
that. Apparently it can be done in an extension module too.. (as
Microthreads does)

Regards,

Martijn