Kristján Valur Jónsson added the comment:

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.

----------
Added file: http://bugs.python.org/file30707/ssl.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16487>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to