]> git.ipfire.org Git - thirdparty/tornado.git/commit
Return a Future from IOStream methods.
authorBen Darnell <ben@bendarnell.com>
Mon, 20 Jan 2014 03:59:37 +0000 (22:59 -0500)
committerBen Darnell <ben@bendarnell.com>
Mon, 20 Jan 2014 21:27:56 +0000 (16:27 -0500)
commit66a647d2438341e33353e87c42c49f57df931d9f
tree5dbd2a5322a7c1ee1bf0620cfbfded6053db0ce1
parentc51970d7a476e4ee82913e6d9d604162698ac6c7
Return a Future from IOStream methods.

This makes it easier to use IOStreams directly from coroutines.

Closes #953.
tornado/iostream.py
tornado/test/iostream_test.py
tornado/test/util_test.py
tornado/util.py