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 jimjjewett
Recipients
Date 2004-02-20.20:14:54
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
logging.Handler().close() does not call flush().  Some 
derived handlers override this and call flush themselves; 
some do not.  I'm not certain which streams are buffered 
under the hood, but I think it would be fine to call flush in 
all cases.  In particular, I think BufferingHandler should 
always flush, and FileHandler probably should too.

Note that just adding it to Handler().close() would not 
work with the current CVS version, as the derived class 
may call the parent close (to clean up _handlers) after 
closing (and making unflushable) the stream.
History
Date User Action Args
2007-08-23 14:20:08adminlinkissue901330 messages
2007-08-23 14:20:08admincreate