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 kristjan.jonsson
Recipients asvetlov, brandon-rhodes, christian.heimes, giampaolo.rodola, jcea, kristjan.jonsson, pitrou
Date 2013-06-26.22:50:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1372287003.18.0.733033466619.issue16487@psf.upfronthosting.co.za>
In-reply-to
Content
Here is an updated patch.
We now support file-like objects.
New helper functions try to turn file arguments into either Py_buffer objects containing the read data, or PyBytesObject argument with the file system encoding of the path.
A file-like object is recognized by the successful execution of a read() method call.
docs and tests updated.
History
Date User Action Args
2013-06-26 22:50:03kristjan.jonssonsetrecipients: + kristjan.jonsson, jcea, pitrou, giampaolo.rodola, christian.heimes, asvetlov, brandon-rhodes
2013-06-26 22:50:03kristjan.jonssonsetmessageid: <1372287003.18.0.733033466619.issue16487@psf.upfronthosting.co.za>
2013-06-26 22:50:03kristjan.jonssonlinkissue16487 messages
2013-06-26 22:50:03kristjan.jonssoncreate