[issue21763] Clarify requirements for file-like objects

Nikolaus Rath report at bugs.python.org
Mon Jun 16 00:39:22 CEST 2014


Nikolaus Rath added the comment:

Maybe I'm missing some important point here, but I think that the documentation ought to tell me how I have to design a file-like object such that it fulfills all expectations of the standard library.

Yes, you can get away with less than that in many situations, but that doesn't mean that the documentation should not tell me about the full set of expectations.

----------

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


More information about the Python-bugs-list mailing list