Mixing async/await and asyncio

"[email protected]" <[email protected]>
Newsgroups gmane.comp.python.twisted
Message-ID <[email protected]>
I want to learn how to use twisted together with asyncio. I create 
several files to describe my problem 
https://gist.github.com/whalebot-helmsman/c400eb66c0bd35e406de3f8f704adf13:

- I can use pure asyncio for simple case (asyncio_ex.py)

- I can use pure twisted for simple case (twisted_ex.py)

- I can await in twisted on twsited defer (twisted_await.py)

I have a problem in case I try to await in twisted for asyncio 
coroutine(twisted_await_asyncio.py). Program never finishes and I got 
only started messages

2018-09-19 12:48:59,633 [WARNING] PID:8238 
/home/nikita/tmp/twisted_await_asyncio.py:12 started
2018-09-19 12:48:59,633 [WARNING] PID:8238 
/home/nikita/tmp/twisted_await_asyncio.py:12 started

_______________________________________________
Twisted-Python mailing list
[email protected]
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.