Message191922
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. |
|
Date |
User |
Action |
Args |
2013-06-26 22:50:03 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson, jcea, pitrou, giampaolo.rodola, christian.heimes, asvetlov, brandon-rhodes |
2013-06-26 22:50:03 | kristjan.jonsson | set | messageid: <1372287003.18.0.733033466619.issue16487@psf.upfronthosting.co.za> |
2013-06-26 22:50:03 | kristjan.jonsson | link | issue16487 messages |
2013-06-26 22:50:03 | kristjan.jonsson | create | |
|