]> git.ipfire.org Git - thirdparty/tornado.git/commit
Fix error handling with the combination of @asynchronous and @gen.coroutine.
authorBen Darnell <ben@bendarnell.com>
Sun, 24 Mar 2013 01:25:14 +0000 (21:25 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 24 Mar 2013 01:25:14 +0000 (21:25 -0400)
commite00e4c61fe2523224887fa0530fe780213c4296d
treeee6e5e7d7e93820383a074920f0c7fe26033400c
parent8ddc760f18e490c81d64e6f71cabcf7bb758f071
Fix error handling with the combination of @asynchronous and @gen.coroutine.

Also make self.finish() optional for coroutines since we can finish
if the future resolves successfully.
tornado/test/gen_test.py
tornado/web.py