* Tornado now requires Python 2.7 or 3.3+; versions 2.6 and 3.2 are no
longer supported. Pypy3 is still supported even though its latest
release is mainly based on Python 3.2.
* The `monotonic <https://pypi.python.org/pypi/monotonic>`_ package is
now supported as an alternative to `Monotime
<https://pypi.python.org/pypi/Monotime>`_ for monotonic clock support
on Python 2.
- add singledispatch and backports_abc dependencies
as stated in docs/releases/v4.3.0.rst
* Tornado has several new dependencies: (...)
``singledispatch`` on all Python versions prior to 3.4 (This was an
optional dependency in prior versions of Tornado, and is now
mandatory), and ``backports_abc>=0.4`` on all versions prior to
3.5
Since this python module works with python version >= 2.7.9 (otherwise it would be called python3-tornado, afaiu)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=49
- add singledispatch and backports_abc dependencies
as stated in docs/releases/v4.3.0.rst
* Tornado has several new dependencies: (...)
``singledispatch`` on all Python versions prior to 3.4 (This was an
optional dependency in prior versions of Tornado, and is now
mandatory), and ``backports_abc>=0.4`` on all versions prior to
3.5
Since this python module works with python version >= 2.7.9 (otherwise it would be called python3-tornado, afaiu)
OBS-URL: https://build.opensuse.org/request/show/350523
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=48
- Update to 4.1:
* If a `.Future` contains an exception but that exception is never
examined or re-raised (e.g. by yielding the `.Future`), a stack
trace will be logged when the `.Future` is garbage-collected.
* New class `tornado.gen.WaitIterator` provides a way to iterate
over ``Futures`` in the order they resolve.
* The `tornado.websocket` module now supports compression via the
"permessage-deflate" extension. Override
`.WebSocketHandler.get_compression_options` to enable on the server
side, and use the ``compression_options`` keyword argument to
`.websocket_connect` on the client side.
* When the appropriate packages are installed, it is possible to yield
`asyncio.Future` or Twisted ``Defered`` objects in Tornado coroutines.
OBS-URL: https://build.opensuse.org/request/show/298600
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=39
- The interface of tornado.auth.FacebookGraphMixin is now
consistent with its documentation and the rest of the module.
The get_authenticated_user and facebook_request methods return
a Future and the callback argument is optional.
- The tornado.testing.gen_test decorator will no longer be
recognized as a (broken) test by nose.
- Work around a bug in Ubuntu 13.04 betas involving an
incomplete backport of the ssl.match_hostname function.
- tornado.websocket.websocket_connect now fails cleanly when it
attempts to connect to a non-websocket url.
- tornado.testing.LogTrapTestCase once again works with byte
strings on Python 2.
- The request attribute of tornado.httpclient.HTTPResponse is
now always an HTTPRequest, never a _RequestProxy.
- Exceptions raised by the tornado.gen module now have better
messages when tuples are used as callback keys.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=26
- Fixed a memory leak in tornado.stack_context that was especially
likely with long-running @gen.engine functions.
- tornado.auth.TwitterMixin now works on Python 3.
- Fixed a bug in which IOStream.read_until_close with a streaming
callback would sometimes pass the last chunk of data to the
final callback instead of the streaming callback.
- Update to 2.4.1:
- Fixed a memory leak in tornado.stack_context that was especially
likely with long-running @gen.engine functions.
- tornado.auth.TwitterMixin now works on Python 3.
- Fixed a bug in which IOStream.read_until_close with a streaming
callback would sometimes pass the last chunk of data to the
final callback instead of the streaming callback.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=24
- tornado.web.RequestHandler.set_header now properly sanitizes
input values to protect against header injection, response
splitting, etc. (it has always attempted to do this, but the
check was incorrect). Note that redirects, the most likely
source of such bugs, are protected by a separate check in
RequestHandler.redirect.
- Colored logging configuration in tornado.options is compatible
with Python 3.2.3 (and 3.3).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=15
Bug fixes:
- Fixed handling of closed connections with the epoll
(i.e. Linux) IOLoop. Previously, closed connections could be
shut down too early, which most often manifested as “Stream
is closed” exceptions in SimpleAsyncHTTPClient.
- Fixed a case in which chunked responses could be closed
prematurely, leading to truncated output.
- IOStream.connect now reports errors more consistently via
logging and the close callback (this affects e.g. connections
to localhost on FreeBSD).
- IOStream.read_bytes again accepts both int and long arguments.
- PeriodicCallback no longer runs repeatedly when IOLoop
iterations complete faster than the resolution of time.time()
(mainly a problem on Windows).
Backwards-compatibility note
- Listening for IOLoop.ERROR alone is no longer sufficient for
detecting closed connections on an otherwise unused socket.
IOLoop.ERROR must always be used in combination with READ or
WRITE.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=11