Antoine Pitrou added the comment:

I'm sorry to chime in a bit late, but I think this isn't the correct solution. 
Right now partial writes are not possible on a SSL socket, but this commit 
makes them possible. See http://bugs.python.org/issue8240 and 
http://bugs.python.org/issue12197 for some background.

I think the right solution here would be to raise OverflowError, not truncate 
the output.

----------
status: closed -> open

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

Reply via email to