[issue5700] io.FileIO calls flush() after file closed

Antoine Pitrou report at bugs.python.org
Sun Apr 12 19:52:36 CEST 2009


Antoine Pitrou <pitrou at free.fr> added the comment:

> No, doing this is trivial. But shouldn't it be up to the implementor of 
> MyClass to decide whether MyMixin or io.FileIO methods are evaluated first?

Is there a concrete use case, though?

By the way, what if _pyio.FileIO inherited from io.FileIO instead of
delegating all methods?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5700>
_______________________________________


More information about the Python-bugs-list mailing list