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 nikratio
Recipients benjamin.peterson, docs@python, eric.araujo, ezio.melotti, georg.brandl, hynek, ncoghlan, nikratio, pitrou, stutzbach
Date 2014-06-14.22:16:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1402784210.73.0.906295011088.issue21763@psf.upfronthosting.co.za>
In-reply-to
Content
It is currently not perfectly clear what Python (and the standard library) assumes about file-like objects (see e.g. http://article.gmane.org/gmane.comp.python.devel/148199).

The attached doc patch tries to improve the current situation by  stating explicitly that the description of IOBase et al specifies a *mandatory* interface for anything that claims to be file-like.
History
Date User Action Args
2014-06-14 22:16:50nikratiosetrecipients: + nikratio, georg.brandl, ncoghlan, pitrou, benjamin.peterson, stutzbach, ezio.melotti, eric.araujo, docs@python, hynek
2014-06-14 22:16:50nikratiosetmessageid: <1402784210.73.0.906295011088.issue21763@psf.upfronthosting.co.za>
2014-06-14 22:16:50nikratiolinkissue21763 messages
2014-06-14 22:16:50nikratiocreate