Update lib: Tornado

This commit is contained in:
Ruud
2014-08-30 14:01:12 +02:00
parent 73d37584ad
commit e0dffe20a4
21 changed files with 504 additions and 605 deletions
+3 -3
View File
@@ -60,7 +60,7 @@ class Future(object):
This functionality was previously available in a separate class
``TracebackFuture``, which is now a deprecated alias for this class.
.. versionchanged:: 3.3
.. versionchanged:: 4.0
`tornado.concurrent.Future` is always a thread-unsafe ``Future``
with support for the ``exc_info`` methods. Previously it would
be an alias for the thread-safe `concurrent.futures.Future`
@@ -152,7 +152,7 @@ class Future(object):
def exc_info(self):
"""Returns a tuple in the same format as `sys.exc_info` or None.
.. versionadded:: 3.3
.. versionadded:: 4.0
"""
return self._exc_info
@@ -161,7 +161,7 @@ class Future(object):
Preserves tracebacks on Python 2.
.. versionadded:: 3.3
.. versionadded:: 4.0
"""
self._exc_info = exc_info
self.set_exception(exc_info[1])