pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/py-tornado



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Jul 22 12:41:28 UTC 2014

Modified Files:
        pkgsrc/www/py-tornado: Makefile PLIST distinfo

Log Message:
Update to 4.0. Add py-curl dependency for curl_httpclient.

Highlights

    The tornado.web.stream_request_body decorator allows large
    files to be uploaded with limited memory usage.
    Coroutines are now faster and are used extensively throughout
    Tornado itself. More methods now return Futures, including most
    IOStream methods and RequestHandler.flush.
    Many user-overridden methods are now allowed to return a Future
    for flow control.
    HTTP-related code is now shared between the tornado.httpserver,
    tornado.simple_httpclient and tornado.wsgi modules, making
    support for features such as chunked and gzip encoding more
    consistent. HTTPServer now uses new delegate interfaces defined
    in tornado.httputil in addition to its old single-callback
    interface.
    New module tornado.tcpclient creates TCP connections with
    non-blocking DNS, SSL handshaking, and support for IPv6.

Backwards-compatibility notes

    tornado.concurrent.Future is no longer thread-safe; use
    concurrent.futures.Future when thread-safety is needed.
    Tornado now depends on the certifi package instead of bundling
    its own copy of the Mozilla CA list. This will be installed
    automatically when using pip or easy_install.
    This version includes the changes to the secure cookie format
    first introduced in version 3.2.1, and the xsrf token change
    in version 3.2.2. If you are upgrading from an earlier version,
    see those versions' release notes.
    WebSocket connections from other origin sites are now rejected
    by default. To accept cross-origin websocket connections,
    override the new method WebSocketHandler.check_origin.
    WebSocketHandler no longer supports the old draft 76 protocol
    (this mainly affects Safari 5.x browsers). Applications should
    use non-websocket workarounds for these browsers.
    Authors of alternative IOLoop implementations should see the
    changes to IOLoop.add_handler in this release.
    The RequestHandler.async_callback and WebSocketHandler.async_callback
    wrapper functions have been removed; they have been obsolete
    for a long time due to stack contexts (and more recently
    coroutines).
    curl_httpclient now requires a minimum of libcurl version 7.21.1
    and pycurl 7.18.2.
    Support for RequestHandler.get_error_html has been removed;
    override RequestHandler.write_error instead.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/py-tornado/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/py-tornado/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/py-tornado/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index