Re: [Tutor] Differences in running a multithreaded script under IDLE and otherwise

2005-08-25 Thread Hans Dushanthakumar
nt. Cheers Hans -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kent Johnson Sent: Thursday, 25 August 2005 11:23 p.m. Cc: tutor@python.org Subject: Re: [Tutor] Differences in running a multithreaded script under IDLE and otherwise Hans Dushanthaku

Re: [Tutor] Differences in running a multithreaded script under IDLE and otherwise

2005-08-25 Thread Kent Johnson
Hans Dushanthakumar wrote: > Hi, >While running the foll script by double-clicking it (under WinXP), it > runs as expected. However, when I run it via IDLE, it hangs after a few > secs (no runtime errors - just hangs). Why does this happen? It works for me in IDLE with Python 2.4.1 on Win2k. W

[Tutor] Differences in running a multithreaded script under IDLE and otherwise

2005-08-24 Thread Hans Dushanthakumar
Hi, While running the foll script by double-clicking it (under WinXP), it runs as expected. However, when I run it via IDLE, it hangs after a few secs (no runtime errors - just hangs). Why does this happen? Cheers Hans import threading class incr_num(threading.Thread): num = '' d