micropython/micropython — pull request #551 by stinos (2014-05-03 07:31:08+00:00)
Title: CPython compatibility: raise an error for operations on a closed file de...

...scriptor

In CPython any operations on a file that has been closed already reaises
a ValueError with message "I/O operation on closed file"