[issue13444] closed stdout causes error on stderr when the interpreter unconditionally flushes on shutdown

2014-11-11 Thread Berker Peksag

Changes by Berker Peksag :


--
resolution:  -> fixed
stage: needs patch -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13444] closed stdout causes error on stderr when the interpreter unconditionally flushes on shutdown

2014-11-11 Thread Martin Panter

Martin Panter added the comment:

Shouldn’t this issue be marked closed and fixed?

--
nosy: +vadmium

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13444] closed stdout causes error on stderr when the interpreter unconditionally flushes on shutdown

2014-11-11 Thread Josh Lee

Changes by Josh Lee :


--
nosy: +jleedev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13444] closed stdout causes error on stderr when the interpreter unconditionally flushes on shutdown

2011-11-26 Thread Arfrever Frehtes Taifersar Arahesis

Changes by Arfrever Frehtes Taifersar Arahesis :


--
nosy: +Arfrever

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13444] closed stdout causes error on stderr when the interpreter unconditionally flushes on shutdown

2011-11-26 Thread Roundup Robot

Roundup Robot  added the comment:

New changeset 150e096095e5 by Antoine Pitrou in branch '3.2':
Issue #13444: When stdout has been closed explicitly, we should not attempt to 
flush it at shutdown and print an error.
http://hg.python.org/cpython/rev/150e096095e5

New changeset 37300a1df7d7 by Antoine Pitrou in branch 'default':
Issue #13444: When stdout has been closed explicitly, we should not attempt to 
flush it at shutdown and print an error.
http://hg.python.org/cpython/rev/37300a1df7d7

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13444] closed stdout causes error on stderr when the interpreter unconditionally flushes on shutdown

2011-11-23 Thread Ronny Pfannschmidt

Ronny Pfannschmidt  added the comment:

i think checking for closed is the correct solution

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13444] closed stdout causes error on stderr when the interpreter unconditionally flushes on shutdown

2011-11-22 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

I think closing stdout is a legitimate desire so, yes, I would consider it a 
bug if we print an error in that case.
A patch could either first check the "closed" attribute, or silence the 
ValueError.

--
stage:  -> needs patch
type:  -> behavior
versions: +Python 3.3

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13444] closed stdout causes error on stderr when the interpreter unconditionally flushes on shutdown

2011-11-21 Thread Ronny Pfannschmidt

New submission from Ronny Pfannschmidt :

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='' 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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com