Nathaniel J. Smith
Nathaniel J. Smith
There needs to be some way to get at the information in `getsockname` and `getpeername` from the high-level `Stream` and `Listener` interfaces. It should involve an `await`, at least on...
[This is a speculative discussion. I don't know if we should do anything here. But I was thinking about it so I figured I'd write it down so it doesn't...
On chat today, @SaschaSchlemmer / @SDesch was [asking](https://gitter.im/python-trio/general?at=60fc6f811a1db149e9dccc54) about the exception traceback you get when using context managers inside async generators without `aclosing`. I was a bit confused, because I...
I was ok with `run_sync_in_worker_thread` having a slightly-awkward name because threads are going to make your life awkward so, you know, it's fair warning. But when you're stuck using threads...
Right now, our file I/O API is just a re-export of [the one built into Python](https://docs.python.org/3/library/io.html), with threads wrapped around all the I/O operations. Python's file I/O API is very...
Extracting this idea from #147, because that's a monster thread and this seems worth discussing separately. Idea: a "service nursery" is one where the background tasks are "services" that don't...
Just read this interesting article about the file descriptor limit on Linux: http://0pointer.net/blog/file-descriptor-limits.html The short version is: - Unix's enforce a limit on how many file descriptors a process can...
Type hints are one of those things that's perpetually on my "it would be nice to learn about these someday" list, so I haven't done anything with them in trio...
Right now `repr(exc)` just gives `Cancelled()` which is not so helpful when trying to debug. Maybe something like ``? (Even nicer if we could provide line numbers, but I think...
It's the nature of I/O libraries like Trio that their test suites are prone to weird intermittent failures. But they're often hard to track down, and usually the way you...