[Zope-dev] Python Method infinite loop?
Jeff K. Hoffman
jeff.hoffman@goingv.com
Thu, 9 Mar 2000 15:11:51 -0500 (EST)
Hello,
One of my developers just wrote a Python Method containing:
while 1:
print "Foo."
and it happily rendered, tying up that thread indefinitely. Is this
supposed to succeed? I thought Python Methods were "safe"?
I am using Zope from CVS (I updated yesterday.) This is not a problem for
us, really, as my guys don't generally write infinite loops (unless it's
on purpose. :-)) However, I thought I would point it out in case it's a
bug.
--Jeff
---
Jeff K. Hoffman 704.849.0731 x108
Chief Technology Officer mailto:jeff@goingv.com
Going Virtual, L.L.C. http://www.goingv.com/