R. David Murray added the comment: Nikolaus: while I agree that Raymond's comments were a bit strongly worded, it doesn't read to me as if the thread you link to is on point for this issue. The thread was focused on a *specific* question, that of calling close twice. The question of what the docs mean by "a file like object" is a different question. Specifically, you will note that "duck typing" never came up in that thread (as far as I remember).
As Raymond indicated, a glossary entry would be appropriate, and would reference the ABCs. This entry already exists; although it is labeled "file object", it mentions that they are also called "file like objects". It would be appropriate to link mentions of the phrase "file like object" in the docs to this glossary term, if they aren't already. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21763> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com