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 markgrandi
Recipients lars.gustaebel, markgrandi, r.david.murray
Date 2014-08-19.19:02:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1408474933.5.0.827091279708.issue22208@psf.upfronthosting.co.za>
In-reply-to
Content
I was just thinking that if os.stat fails, then you try getting the size by just calling len() on it, as stuff like io.BytesIO and io.StringIO will respond to that.

But if we are not changing the behavior of the API, at the very least there needs to be documentation changes / an example of adding a file that does not have a file descriptor. I can do that if needed.
History
Date User Action Args
2014-08-19 19:02:13markgrandisetrecipients: + markgrandi, lars.gustaebel, r.david.murray
2014-08-19 19:02:13markgrandisetmessageid: <1408474933.5.0.827091279708.issue22208@psf.upfronthosting.co.za>
2014-08-19 19:02:13markgrandilinkissue22208 messages
2014-08-19 19:02:13markgrandicreate