Author skrah
Recipients benjamin.peterson, loewis, nneonneo, pitrou, pmpp, skrah
Date 2010-02-05.14:35:22
SpamBayes Score 3.90799e-14
Marked as misclassified No
Message-id <1265380524.31.0.0529188676477.issue5677@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2010-02-05 14:35:24skrahsetrecipients: + skrah, loewis, pitrou, nneonneo, benjamin.peterson, pmpp
2010-02-05 14:35:24skrahsetmessageid: <1265380524.31.0.0529188676477.issue5677@psf.upfronthosting.co.za>
2010-02-05 14:35:22skrahlinkissue5677 messages
2010-02-05 14:35:22skrahcreate