[issue31960] Protection against using a Future with another loop only works with await

Antoine Pitrou report at bugs.python.org
Tue Nov 7 04:44:57 EST 2017


Antoine Pitrou <pitrou at free.fr> added the comment:

Guido, Yury, what is your take on this?  Do you think it would be fine for Future._schedule_callbacks() to check the event loop is the current one, or do you think it would impact performance too much (or perhaps it is simply not desirable)?

----------
nosy: +gvanrossum

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31960>
_______________________________________


More information about the Python-bugs-list mailing list