[issue43582] SSLContext.sni_callback docs inaccurately describe available handshake info

2022-03-13 Thread Paulo Costa
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

[issue26270] Support for read()/write()/select() on asyncio

2016-03-19 Thread Paulo Costa
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

[issue26270] Support for read()/write()/select() on asyncio

2016-02-02 Thread Paulo Costa
Changes by Paulo Costa : -- versions: +Python 3.6 ___ Python tracker <http://bugs.python.org/issue26270> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26270] Support for read()/write()/select() on asyncio

2016-02-02 Thread Paulo Costa
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