Maximilian Blochberger added the comment:

Yes. There should be at least an explanation of this behaviour in the 
documentation of the wrap_socket() function.

I would additionally raise an exception if wrap_socket() is called and a socket 
is passed that is already wrapped. But I'm not sure if that is considered as an 
acceptable choice, as I am unfamiliar with Python development.

----------

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

Reply via email to