Closed
Description
I think both actions should be easily available to the user.
Currently this is done in __del__()
which might not be that obvious (and flushing cannot be done on its own).
__del__()
and __exit__()
could then just simply call close()
.
I don't know if __del__()
is a bad thing because I don't understand all this circular-reference-business described there: http://docs.python.org/3.3/reference/datamodel.html#object.__del__
Metadata
Metadata
Assignees
Labels
No labels