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: <[email protected]> |
| 2013-06-26 22:50:03 | kristjan.jonsson | link | issue16487 messages |
| 2013-06-26 22:50:03 | kristjan.jonsson | create | |
|