Message191922
| 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. |
|