[issue24884] Add method reopenFile() in WatchedFileHandler class

2015-10-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6d61b057c375 by Vinay Sajip in branch 'default': Closes #24884: refactored WatchedFileHandler file reopening into a separate method, based on a suggestion and patch by Marian Horban. https://hg.python.org/cpython/rev/6d61b057c375 -- nosy: +

[issue24884] Add method reopenFile() in WatchedFileHandler class

2015-08-18 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue24884] Add method reopenFile() in WatchedFileHandler class

2015-08-18 Thread Marian Horban
New submission from Marian Horban: Method WatchedFileHandler::emit() makes 2 things: 1. reopens log file, 2. emits record. Sometimes user wants to reopen file immediately after some action without emitting. Code that reopens file must be moved to separate method to avoid copy-pasting code in pr