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

Brian Quinlan report at bugs.python.org
Sun Apr 12 22:01:27 CEST 2009


Brian Quinlan <brian at sweetapp.com> added the comment:

Oops, I didn't finish my thought:

>> 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?

I don't have a good one in mind - though writing the unit test
implementation required that the mixin class methods be called last.

----------

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


More information about the Python-bugs-list mailing list