Message98874
Ok, I'll fix that. Perhaps I should also remove the comment in err_mode(). I wonder if the ValueError in fileio.c is intentional:
>>> import io
>>> f = io.open("testfile", "w")
>>> f.write("xxx")
3
>>> f.read()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
IOError: not readable
>>>
>>> f = io.FileIO("testfile", "w")
>>> f.write("xxx")
3
>>> f.read()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: File not open for reading |
|
Date |
User |
Action |
Args |
2010-02-05 14:35:24 | skrah | set | recipients:
+ skrah, loewis, pitrou, nneonneo, benjamin.peterson, pmpp |
2010-02-05 14:35:24 | skrah | set | messageid: <1265380524.31.0.0529188676477.issue5677@psf.upfronthosting.co.za> |
2010-02-05 14:35:22 | skrah | link | issue5677 messages |
2010-02-05 14:35:22 | skrah | create | |
|