Hello,
> But the io.IOBase.close() method document says: """Once the file is
> closed, any operation on the file (e.g. reading or writing) will raise
> an IOError .""" which unlike the
> class doc is not conditional about the behavior...
>
> Experimentation (see below) show that I get a ValueErr
Reading python io.IOBase class documentation, I'm kind of confused at the
expected behavior of operation on a closed file object.
The io.IOBase class doc says:
"""Note that calling any method (even inquiries) on a closed stream is
undefined. Implementations may raise
IOErrorin this case."""
But t