[issue5319] I/O error during one-liner fails to return OS error status
Mike Coleman
report at bugs.python.org
Thu Feb 19 18:38:01 CET 2009
New submission from Mike Coleman <mkc at users.sourceforge.net>:
$ python2.5 -c 'print((1, 2, 3))' > /dev/full || echo error status
close failed: [Errno 28] No space left on device
$
The above sequence should also output 'error status' before the next
prompt. That is, python should not be returning EXIT_SUCCESS in this
situation.
----------
messages: 82482
nosy: mkc
severity: normal
status: open
title: I/O error during one-liner fails to return OS error status
type: behavior
versions: Python 2.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5319>
_______________________________________
More information about the Python-bugs-list
mailing list