Safihre <safi...@sabnzbd.org> added the comment:

Implementing for write is not needed as OpenSSL's SSL_write_ex that is used by 
write() already writes the whole buffer at once. Only reading OpenSSL does in 
the 16k segments.

The new option was introduced to prevent the compatibility problems for code 
that would not expect the EOF being read in a sinhle read(), as Josh explained 
in his initial PR. This way the faster (but breaking) behavior can be enabled 
explicitly. 

The info is also in the PR, in case there is time to review in the future.

----------

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

Reply via email to