[issue12020] Attribute error with flush on stdout,stderr

R. David Murray report at bugs.python.org
Fri May 6 20:14:22 CEST 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

Hmm.  That error message is more than a bit misleading.  What you need to do is add a flush method to your FlushFile class.  Something changed between 3.1 and 3.2 that causes that message to be generated instead of suppressed.  Not sure what it was.  The surprising thing is that you only see it once...flush added to your class is called four times.

There is at least a bug in the message here.

----------
nosy: +r.david.murray

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


More information about the Python-bugs-list mailing list