Message116612
At least for the original test case, the Python 3 equivalent does fail on OS X:
$ python3.1
Python 3.1.2 (r312:79360M, Mar 24 2010, 01:33:18)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> f = open('/dev/null')
>>> print('Hello',file=f)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
IOError: not writable
>>>
Perhaps this can be closed as "wont fix" for Python 2 and, if necessary, open a separate issue for checking fprintf and fwrite return values? |
|
Date |
User |
Action |
Args |
2010-09-16 21:14:53 | ned.deily | set | recipients:
+ ned.deily, loewis, georg.brandl, ronaldoussoren, lebigot, christian.heimes, ajaksu2, BreamoreBoy |
2010-09-16 21:14:53 | ned.deily | set | messageid: <1284671693.3.0.146583186186.issue1653416@psf.upfronthosting.co.za> |
2010-09-16 21:14:51 | ned.deily | link | issue1653416 messages |
2010-09-16 21:14:51 | ned.deily | create | |
|