Message89653
The logging module has a bug that tries to call `flush' on a closed
file handle (sys.std[out|err] to be specific). This bug was introduced
by ConsoleHandler as defined in http://code.activestate.com/
recipes/576819/
The fix is simple: change definition of StreamHandler.flush in logging/
__init__.py to:
def flush(self):
if self.stream and hasattr(self.stream, 'flush') and not
self.stream.closed:
logging.StreamHandler.flush() |
|
Date |
User |
Action |
Args |
2009-06-24 01:42:48 | srid | set | recipients:
+ srid |
2009-06-24 01:42:48 | srid | set | messageid: <1245807768.39.0.536701423847.issue6333@psf.upfronthosting.co.za> |
2009-06-24 01:42:46 | srid | link | issue6333 messages |
2009-06-24 01:42:45 | srid | create | |
|