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 Rich.Rauenzahn
Recipients Rich.Rauenzahn, lukasz.langa, xiang.zhang
Date 2016-06-20.17:36:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1466444219.85.0.662051338424.issue27351@psf.upfronthosting.co.za>
In-reply-to
Content
Thank you, lukasz.  That's the answer I anticipated -- I can appreciate the backwards compatibility aspect very much.

Regarding the docs, the docs say:

"Attempt to read and parse a list of filenames, returning a list of filenames which were successfully parsed."  

I don't know if the convention in the docs is that list always means *list*, but it could be changed to be iterable since that is the implementation.  

That fileobjects are also iterables could be pointed out here, but I think anyone making this mistake isn't going to make the mistake from misreading the docs, it's from skipping the docs and assuming read() is consistent with write().
History
Date User Action Args
2016-06-20 17:36:59Rich.Rauenzahnsetrecipients: + Rich.Rauenzahn, lukasz.langa, xiang.zhang
2016-06-20 17:36:59Rich.Rauenzahnsetmessageid: <1466444219.85.0.662051338424.issue27351@psf.upfronthosting.co.za>
2016-06-20 17:36:59Rich.Rauenzahnlinkissue27351 messages
2016-06-20 17:36:59Rich.Rauenzahncreate