This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients benjamin.peterson, docs@python, eric.araujo, ezio.melotti, georg.brandl, hynek, ncoghlan, nikratio, pitrou, r.david.murray, rhettinger, stutzbach
Date 2014-06-17.14:07:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1403014034.86.0.103235757476.issue21763@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-06-17 14:07:14r.david.murraysetrecipients: + r.david.murray, georg.brandl, rhettinger, ncoghlan, pitrou, benjamin.peterson, stutzbach, ezio.melotti, eric.araujo, nikratio, docs@python, hynek
2014-06-17 14:07:14r.david.murraysetmessageid: <1403014034.86.0.103235757476.issue21763@psf.upfronthosting.co.za>
2014-06-17 14:07:14r.david.murraylinkissue21763 messages
2014-06-17 14:07:14r.david.murraycreate