Yury Selivanov <[email protected]> added the comment:

> But I would prefer to avoid a syscall just to clear flags :-/

Yes, that's what I want to do.

We control what constants the socket module exports. Let's just clear them if 
we export them -- that's a good working solution (and also the most backwards 
compatible, as opposed to calling sock.getsockopt)

----------

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue32331>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to