New submission from Karthikeyan Singaravelan <tir.kar...@gmail.com>:

I think this is useful since it also sets conn.timeout so that both 
conn.sock.gettimeout() and conn.timeout return same value with this helper and 
don't cause confusion like using conn.socket.settimeout() that updates socket 
but not conn.timeout.

----------
nosy: +xtreak

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

Reply via email to