New submission from Ronny Pfannschmidt <ronny.pfannschm...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue13444>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to