Vajrasky Kok added the comment:

Attached the patch to raise error when using sock dgram in wrap_socket.

I am still unsure whether I should put the validation in C code (private 
function _wrap_socket) or not.

----------
keywords: +patch
nosy: +vajrasky
Added file: 
http://bugs.python.org/file32489/raises_error_on_wrap_socket_with_sock_dgram.patch

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

Reply via email to