[New-bugs-announce] [issue13444] closed stdout causes error on stderr when the interpreter unconditionally flushes on shutdown
Ronny Pfannschmidt
report at bugs.python.org
Mon Nov 21 16:18:20 CET 2011
New submission from Ronny Pfannschmidt <ronny.pfannschmidt at gmail.com>:
not sure if this is to be considered a bug,
but python3.2 tries to flush sys.stdout on shutdown, even if its closed
$ python3.2 -c 'import sys;sys.stdout.close()'
Exception ValueError: 'I/O operation on closed file.' in <_io.TextIOWrapper name='<stdout>' mode='w' encoding='ANSI_X3.4-1968'> ignored
its related to how Issue #5319 was fixed
----------
components: Interpreter Core
messages: 148055
nosy: Ronny.Pfannschmidt, georg.brandl, mkc, pitrou, terry.reedy
priority: normal
severity: normal
status: open
title: closed stdout causes error on stderr when the interpreter unconditionally flushes on shutdown
versions: Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13444>
_______________________________________
More information about the New-bugs-announce
mailing list