Message104426
> I'm quite surprised it wasn't already covered by the test suite :S
Probably an oversight. Do you want to add some tests?
> Should a flush on a closed stream fail (at the moment sometimes it
> does, sometimes doesn't) ?
It probably should, yes.
> Why is sometimes ValueError used when I'd rather expect an IOError ?
Because it's not an IO error at all. No I/O occurs. You are just using
the file wrongly (or the wrong file), hence the ValueError. |
|
Date |
User |
Action |
Args |
2010-04-28 11:22:21 | pitrou | set | recipients:
+ pitrou, amaury.forgeotdarc, vstinner, ajaksu2, pakal |
2010-04-28 11:22:18 | pitrou | link | issue7865 messages |
2010-04-28 11:22:18 | pitrou | create | |
|