[issue25593] _sock_connect_cb can be called twice resulting in InvalidStateError

Alexander Mohr report at bugs.python.org
Wed Nov 11 12:26:01 EST 2015


Alexander Mohr added the comment:

Actually, I just realized I had fixed it locally by changing the callback to the following:
429     def _sock_connect_cb(self, fut, sock, address):
430         if fut.cancelled() or fut.done():
431             return
 
so a fix is still needed, and I also verified this happens with python3.4 as well.

----------
status: closed -> open
versions: +Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25593>
_______________________________________


More information about the Python-bugs-list mailing list