that way merges should change only the minimum
Signed-off-by: W-Mark Kubacki <firstname.lastname@example.org>
Package is at version 0.2 but strings were still at 0.1.
…om/group/python-tornado/browse_thread/thread/276059a076593266. Thanks everyone for the patch and discussion.
(friendfeed's epoll module throws OSError, while the one in the standard library throws IOError)
…nnection has been closed by the client. This has always been supported via self.request.connection.stream.set_close_callback, but putting it in RequestHandler directly is more discoverable and less fragile.
The main reason for this is to be able to detect when a connection has been closed on the other side. (http://github.com/facebook/tornado/issues/#issue/37) This has been supported with epoll but not select, and it turned out to be easier to add kqueue support than to figure out how to detect and handle this case with select. This change has not been tested in a production environment, but I have tested it on my mac (10.6) and everything appears to work, and IOStream.set_close_callback now works as expected.
This should get rid of all the "exception after headers written" spam in our logs.
call to IOLoop.start return immediately, so that one call each to start and stop will result in the loop not running rather than running infinitely, even if the call to stop happens first.
…am actors can render or otherwise use the exception object thrown. This is a backwards-incompatible change for anyone who has overridden get_error_html().
… name. This minimizes repetition of url patterns for links and redirects. Internally, handler mappings are now maintained as a list of URLSpec objects instead of tuples. The Application constructor and add_handlers method will accept either URLSpecs or (pattern, handler, [kwargs]) tuples. Inspired by similar functionality in django, and based on http://github.com/apgwoz/tornado/commit/0b57fbcf992647b6674ad9e433bffffac900f83a by apgwoz.