Yury Selivanov <yseliva...@gmail.com> added the comment:

The fix is correct and the bug is now obvious: data_received() occur pretty 
much any time after connection_made() call; if call_soon() is used in 
connection_made(), data_received() may find the protocol in an incorrect state.

Kudos Victor for debugging this.

----------

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

Reply via email to