[issue39483] Proposial add loop parametr to run in asyncio

Андрей Казанцев report at bugs.python.org
Wed Jan 29 08:38:46 EST 2020


Андрей Казанцев <heckad at yandex.ru> added the comment:

I create the client object in `bot` file. If I import it then it creates loop when will import and then when I run it I will get errors attaching to a different loop. Another way to use `import` statement in main. This is blocking code. What to choose?

----------

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


More information about the Python-bugs-list mailing list