From: Ben Darnell Date: Sat, 29 Sep 2012 20:16:23 +0000 (-0700) Subject: Release note updates X-Git-Tag: v3.0.0~267 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98177912dc0f1ff5e658f53f63b5ef99e8456e40;p=thirdparty%2Ftornado.git Release note updates --- diff --git a/website/sphinx/releases/next.rst b/website/sphinx/releases/next.rst index c3110ea64..254664eec 100644 --- a/website/sphinx/releases/next.rst +++ b/website/sphinx/releases/next.rst @@ -41,3 +41,15 @@ In progress `BaseIOStream`. * New class `tornado.process.Subprocess` wraps `subprocess.Popen` with `PipeIOStream` access to the child's file descriptors. +* `IOLoop` now uses `signal.set_wakeup_fd` where available (Python 2.6+ + on Unix) to avoid a race condition that could result in Python signal + handlers being delayed. +* `WebSocketHandler` has new methods `ping` and `on_pong` to send pings + to the browser (not supported on the ``draft76`` protocol) +* The ``Date`` HTTP header is now set by default on all responses. +* Several methods related to HTTP status codes now take a ``reason`` keyword + argument to specify an alternate "reason" string (i.e. the "Not Found" in + "HTTP/1.1 404 Not Found"). It is now possible to set status codes other + than those defined in the spec, as long as a reason string is given. +* New method `IOLoop.add_callback_from_signal` is safe to use in a signal + handler (the regular `add_callback` method may deadlock).