]> git.ipfire.org Git - thirdparty/tornado.git/commit
Use a StackContext to allow exceptions thrown from asynchronous functions
authorBen Darnell <ben@bendarnell.com>
Mon, 2 Jan 2012 03:20:05 +0000 (19:20 -0800)
committerBen Darnell <ben@bendarnell.com>
Mon, 2 Jan 2012 03:20:05 +0000 (19:20 -0800)
commitac9902cbe3dfe12c4cad66cbdd1a3b5720a3db90
tree343b354fb26deb8a65a0c4c748a579f12c7cd000
parent008e605ec6431e696158ed65adb89eb85a65aa7f
Use a StackContext to allow exceptions thrown from asynchronous functions
called by a generator to be caught normally.

Closes #405.
Closes #411.
tornado/gen.py
tornado/test/gen_test.py