Ronald Oussoren ronaldousso...@mac.com added the comment:
http://www.opengroup.org/onlinepubs/9699919799/functions/printf.html
claims fprintf should return a negative value when there is an output
error (the same claims is in the manpage of fprintf on OSX 10.6).
Neither document refers to the
Changes by Skip Montanaro s...@pobox.com:
--
nosy: -skip.montanaro
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1653416
___
___
Python-bugs-list
Daniel Diniz aja...@gmail.com added the comment:
Can anyone confirm this for Mac?
--
components: +Macintosh
nosy: +ajaksu2
stage: - test needed
versions: -Python 2.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1653416
Ronald Oussoren ronaldousso...@mac.com added the comment:
This issue is still present on OSX:
Python 2.6.1+ (release26-maint:70603, Mar 26 2009, 08:38:03)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type help, copyright, credits or license for more information.
f = open(/dev/null)
print f,
Changes by Christian Heimes:
--
type: - behavior
versions: +Python 2.6
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1653416
_
___
Python-bugs-list mailing
Christian Heimes added the comment:
On Linux both 2.5 and 2.6 are raising an exception:
f = open(/etc/passwd)
print f, Hello
Traceback (most recent call last):
File stdin, line 1, in module
IOError: [Errno 9] Bad file descriptor
--
nosy: +tiran