Re: Logging hangs thread after detaching a StreamHandler's terminal

2006-02-14 Thread Vinay Sajip
[EMAIL PROTECTED] wrote: > Hi all, > > After many hours, I think I've found a bug in the logging module! > > If you add a (stdout) StreamHandler to a logger, then detach the > terminal for that stdout, subsequent calls to log() will hang the > calling thread. > > To reproduce this, write the follo

Logging hangs thread after detaching a StreamHandler's terminal

2006-02-13 Thread python-list . overbored
Hi all, After many hours, I think I've found a bug in the logging module! If you add a (stdout) StreamHandler to a logger, then detach the terminal for that stdout, subsequent calls to log() will hang the calling thread. To reproduce this, write the following scripts (this was a small test case

Re: Logging hangs thread after detaching a StreamHandler's terminal

2006-02-13 Thread python-list . overbored
Apologies, I seem to have sent this to the wrong list. (Though now that it's out here...any answers would be most welcome. :) On 2/14/06, I wrote: > Hi all, > > After many hours, I think I've found a bug in the logging module! > > If you add a (stdout) StreamHandler to a logger, then detach the >