Paulo Costa added the comment:
Hello!
Has this been addressed?
I'm also working on implementing acme-tls/1 protocol and having exactly the
same difficulties
--
nosy: +paulo-raca
___
Python tracker
<https://bugs.python.org/is
Paulo Costa added the comment:
Thanks for the replies.
What I'm actually trying to do is to access from a character file from
/dev/input/event*.
Streams are pretty much what I want to use but (as far as I can tell) asyncio's
streams only support network and unix sockets. File
Changes by Paulo Costa :
--
versions: +Python 3.6
___
Python tracker
<http://bugs.python.org/issue26270>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Paulo Costa:
I want to read from file descriptors from async coroutines.
I currently use `loop.add_reader(fd, callback)` and `loop.remove_reader(fd)`
It works, but IMO using callbacks feels completely alien in the middle of a
coroutine.
I suggest adding new APIs to handle