[Python-Dev] Possible py3k io wierdness (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Sun Apr 5 12:29:17 CEST 2009


Brian Quinlan <brian sweetapp.com> writes:

I don't see why this is helpful. Could you explain why RawIOBase.close() calling self.flush() is useful?

I could not explain it for sure since I didn't write the Python version. I suppose it's so that people who only override flush() automatically get the flush-on-close behaviour.

cheers

Antoine.



More information about the Python-Dev mailing list