Ben Darnell

Results 362 comments of Ben Darnell

Which Tornado and Python versions? (Tornado 6 silences the "errno 0" log messages) Are you still using that monitoring package that does a lot of monkey-patching? (which one was it...

Hi Nick! The fact that you're seeing "errno 0" in Tornado 6 means that it's getting raised in a different spot than I've seen before (it's not caught by https://github.com/tornadoweb/tornado/commit/e63980fb6b41ac5f8fda278331229fbcffd7f46d)....

This is something that the `tornado.routing` module is intended to help with. We don't have any worked examples of this (and there may still be some missing pieces), but in...

I've wanted xheader configuration to be more flexible for a while (#763), especially since we support multiple names for the forwarded-IP header which makes it easily spoofed (unless you configure...

Switching to `async with` doesn't solve the problem on its own; you need to use the asynchronous capabilities in a to-be-determined protocol to communicate with the coroutine runner (instead of...

The asyncio PEP defines two separate things: support for [interoperability](https://www.python.org/dev/peps/pep-3156/#interoperability) between asynchronous frameworks (mainly defined in terms of the event loop interface and Futures), and a _specific_ [asynchronous framework](https://www.python.org/dev/peps/pep-3156/#transports-and-protocols) (using...

Yes, that `async_timeout` package requires that it can find an asyncio.Task in a thread-specific global (I think it's the same as what was briefly in the standard library). It works...

Coming back to this after a while, and one thing's not clear: why does CancelledError notify and join, while GeneratorExit notifies without joining? Shouldn't we be able to join after...

Having spent some time on this, I'm seeing that it's difficult to clean up the thread cleanly without also producing warnings about un-awaited tasks or tasks destroyed while they are...