[issue1598083] Top-level exception handler writes to stdout unsafely

2008-01-19 Thread Lorenzo Stoakes
Lorenzo Stoakes added the comment: Ok, thankyou for your feedback, I will take another look at it. _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1598083> _ __

[issue1598083] Top-level exception handler writes to stdout unsafely

2008-01-19 Thread Lorenzo Stoakes
Lorenzo Stoakes added the comment: Surely it's not a good idea to attempt to generate an exception within an exception handler, couldn't this lead to an infinite loop scenario? The checks prior to fputs() handle any errors by calling err_closed() and returning -1. I suggest we do th