<br><div class="gmail_quote">On Wed, Jul 18, 2012 at 3:32 AM, <span dir="ltr"><<a href="mailto:exarkun@twistedmatrix.com" target="_blank">exarkun@twistedmatrix.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
<br>
</div>I don't think anything in the thread suggested that this approach will<br>
circumvent a time.sleep(10) call.</blockquote><div>I'm not sure where you're getting this circumvention issue from.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In any case, it won't. Why is there<br>
a time.sleep(10) call there at all? Does it do anything except cause a<br>
problem?<br></blockquote><div>The sleep is not a problem. The sleep allows me to see whether the debugging info I want is output immediately, or whether I need to wait for the program to terminate to see it.</div><div><br>
</div><div>I put in the sleep simply because I have another program with an infinite loop, and I'd like to do something similar to it to get debugging info periodically (no sleep, but lots of other stuff going on), without having to wait for a program termination that is unlikely to come anytime soon.</div>
<div><br></div><div>I'm starting to think I need to temporarily make the infinite loop finite.</div><div><br></div></div>