]> git.ipfire.org Git - thirdparty/tornado.git/commit
Fold TracebackFuture into Future.
authorBen Darnell <ben@bendarnell.com>
Mon, 17 Feb 2014 01:29:37 +0000 (20:29 -0500)
committerBen Darnell <ben@bendarnell.com>
Mon, 17 Feb 2014 01:29:37 +0000 (20:29 -0500)
commit8e07f3d86524b5f0fb5c3f4057085f3dd9c83b95
tree7761bb32febee7dc0a91dc7b596e24b15ccd6ce4
parent184d796b67bc151e03fd01696b819519ddb09b82
Fold TracebackFuture into Future.

Since it is no longer possible for TracebackFuture to modify
concurrent.futures.Future instead, there is no need for separate
classes.  Removing the subclass speeds things up a bit by removing
a level of indirection.

Also microoptimized a few methods of Future.
tornado/concurrent.py