[issue6333] logging: ValueError: I/O operation on closed file

Vinay Sajip report at bugs.python.org
Thu Jul 9 12:10:59 CEST 2009


Vinay Sajip <vinay_sajip at yahoo.co.uk> added the comment:

> Shouldn't the logging module be reliable in such cases?

It tries to be, but it's neither omnipotent nor omniscient. It doesn't 
expect streams which it's using to be closed out from under it.

See my comments about your ConsoleHandler recipe(s) on issue6345. Sorry 
if it seems I'm trying to rain on your parade - I'm just calling it as 
I see it.

----------
resolution:  -> invalid
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6333>
_______________________________________


More information about the Python-bugs-list mailing list