[issue24262] logging.FileHandler.close() is not thread-safe

2015-05-21 Thread Gleb Dubovik
Gleb Dubovik added the comment: We used a very old version of python shipped with 12.04 LTS. The bug was fixed in 2.7.3 in 2ab3a97d544c by Vinay. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue24262] logging.FileHandler.close() is not thread-safe

2015-05-21 Thread Gleb Dubovik
New submission from Gleb Dubovik: We're using FileHandler in combination with pytest plugin. Every time new test starts, new FileHandler is created and attached to the root logger, at the end of the test FileHandler is removed. This allows us to create per-test log files. There are