Nathaniel J. Smith
Nathaniel J. Smith
These should take a queue, rather than returning a queue, to support the case where you want to register multiple filters and multiplex them onto the same queue. (This is...
See gh-266 This is surprisingly interesting and tricky.
Race conditions suck, but they're a common kind of bug in concurrent programs. We should help people test for them if we can. Some interesting research out of MSR: *...
@glyph gave a [great talk at PyCon this year](https://www.youtube.com/watch?v=0By5yfhkiRs) that involved using a virtual (= in memory, in python) networking layer to build a virtual server to test a real...
Right now our test layout is a mess. Tests are included in the package so that users can run `pytest --pyargs trio` to make sure it works on their system,...
Suppose task 1 does: ```python try: raise RuntimeError("whoops") except Exception as task1_exc: my_cscope.cancel() ``` Meanwhile, task 2 is sitting in: ```python with my_cscope: await trio.sleep_forever() ``` Internally, `my_cscope.cancel()` marks the...
docs: https://sphinx-hoverxref.readthedocs.io/en/latest/index.html example: ![image](https://user-images.githubusercontent.com/609896/82013018-18fb3600-962e-11ea-81f9-e98eab9bf32d.png)
Stability is great for users! It lets them focus on solving their problem without worrying about their platform shifting under their feet. But stability is also bad for users! It...
https://bugs.python.org/issue27906 suggests that it's important to be able to accept multiple connections in a single event loop tick. It's trivial to implement, too -- just ```python def accept_nowait(self): try: return...
Specifically, should there be a way to issue arbitrary `setsockopt` calls in `open_tcp_stream` and `open_tcp_listeners`, before the socket is bound by calling `connect` or `bind`? For example, you might want...