This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay.sajip
Recipients vinay.sajip, vishvananda
Date 2014-06-14.09:16:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
There *is* a race condition with WatchedFileHandler - see #14632 - but there is not much that can be done about it (see the various comments in that issue). BTW, I wasn't able to reproduce the threading problem from your script: there were no errors and the file 'foo' contained three lines with 'foo', as expected.

Your suggested fix doesn't seem right, either - the problem is that a failed _open() leaves a closed stream in, and the correct fix is to set this to None in case the _open fails. But thanks for the suggestion.
Date User Action Args
2014-06-14 09:16:14vinay.sajipsetrecipients: + vinay.sajip, vishvananda
2014-06-14 09:16:14vinay.sajipsetmessageid: <>
2014-06-14 09:16:14vinay.sajiplinkissue21742 messages
2014-06-14 09:16:13vinay.sajipcreate