[docs] [issue20762] SSLSocket.read() not documented

Antoine Pitrou report at bugs.python.org
Mon Feb 24 18:35:25 CET 2014


Antoine Pitrou added the comment:

Hmm, yeah, this is actually intended. The read() and write() methods on SSLSocket are not intended to be a public API: you should call send() or recv() instead.

Ideally we would deprecate the read() and write() methods and rename the internal helpers to _read() and _write(). Christian, what do you think?

----------
nosy: +christian.heimes, pitrou
versions: +Python 3.5 -Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20762>
_______________________________________


More information about the docs mailing list