[ python-Bugs-1760556 ] logging.FileHandler may throw exception in flush()
SourceForge.net
noreply at sourceforge.net
Wed Jul 25 21:35:19 CEST 2007
Bugs item #1760556, was opened at 2007-07-25 14:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1760556&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: J Livingston (jlivingston)
Assigned to: Nobody/Anonymous (nobody)
Summary: logging.FileHandler may throw exception in flush()
Initial Comment:
Python 2.4.2
Windows XP SP2
logging.FileHandler may throw exception when calling flush(). This happens rarely and is due to the file handler already having been closed (probably by an external process). Simply checking within the close() method for an open file handler prior to calling flush() would fix this.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1760556&group_id=5470
More information about the Python-bugs-list
mailing list