--- - branch: MAIN date: Sun Feb 8 16:31:48 UTC 2015 files: - new: '1.10' old: '1.9' path: pkgsrc/www/py-tornado/Makefile pathrev: pkgsrc/www/py-tornado/Makefile@1.10 type: modified - new: '1.5' old: '1.4' path: pkgsrc/www/py-tornado/PLIST pathrev: pkgsrc/www/py-tornado/PLIST@1.5 type: modified - new: '1.9' old: '1.8' path: pkgsrc/www/py-tornado/distinfo pathrev: pkgsrc/www/py-tornado/distinfo@1.9 type: modified id: 20150208T163148Z.021fc41f7c2ae4f39183b648480c4fca30d2547c log: "Update to 4.1:\n\nHighlights\n\n If a Future contains an exception but that exception is never\n examined or re-raised (e.g. by yielding the Future), a stack\n trace will be logged when the Future is garbage-collected.\n New class tornado.gen.WaitIterator provides a way to iterate\n over Futures in the order they resolve.\n The tornado.websocket module now supports compression via the\n ç©¡ermessage-deflate� extension. Override\n WebSocketHandler.get_compression_options to enable on the server\n side, and use the compression_options keyword argument to\n websocket_connect on the client side.\n When the appropriate packages are installed, it is possible to\n yield asyncio.Future or Twisted Defered objects in Tornado\n coroutines.\n\nBackwards-compatibility notes\n\n HTTPServer now calls start_request with the correct arguments.\n This change is backwards-incompatible, afffecting any application\n which implemented HTTPServerConnectionDelegate by following\n the example of Application instead of the documented method\n \ signatures.\n\ntornado.concurrent\n\n If a Future contains an exception but that exception is never\n examined or re-raised (e.g. by yielding the Future), a stack\n trace will be logged when the Future is garbage-collected.\n Future now catches and logs exceptions in its callbacks.\n\ntornado.curl_httpclient\n\n \ tornado.curl_httpclient now supports request bodies for PATCH\n and custom methods.\n tornado.curl_httpclient now supports resubmitting bodies after\n \ following redirects for methods other than POST.\n curl_httpclient now runs the streaming and header callbacks on\n the IOLoop.\n tornado.curl_httpclient now uses its own logger for debug output\n so it can be filtered more easily.\n\ntornado.gen\n\n \ New class tornado.gen.WaitIterator provides a way to iterate\n over Futures in the order they resolve.\n When the singledispatch library is available (standard on Python\n 3.4, available via pip install singledispatch on older versions),\n \ the convert_yielded function can be used to make other kinds\n of objects yieldable in coroutines.\n New function tornado.gen.sleep is a coroutine-friendly analogue\n to time.sleep.\n gen.engine now correctly captures the stack context for its\n callbacks.\n\ntornado.httpclient\n\n tornado.httpclient.HTTPRequest accepts a new argument\n raise_error=False to suppress the default behavior of raising\n an error for non-200 response codes.\n\ntornado.httpserver\n\n \ HTTPServer now calls start_request with the correct arguments.\n This change is backwards-incompatible, afffecting any application\n which implemented HTTPServerConnectionDelegate by following\n the example of Application instead of the documented method\n \ signatures.\n HTTPServer now tolerates extra newlines which are sometimes\n \ inserted between requests on keep-alive connections.\n HTTPServer can now use keep-alive connections after a request\n with a chunked body.\n HTTPServer now always reports HTTP/1.1 instead of echoing the\n request version.\n\ntornado.httputil\n\n \ New function tornado.httputil.split_host_and_port for parsing\n the netloc portion of URLs.\n The context argument to HTTPServerRequest is now optional, and\n if a context is supplied the remote_ip attribute is also\n optional.\n \ HTTPServerRequest.body is now always a byte string (previously\n the default empty body would be a unicode string on python 3).\n Header parsing now works correctly when newline-like unicode\n characters are present.\n Header parsing again supports both CRLF and bare LF line\n separators.\n Malformed multipart/form-data bodies will always be logged\n quietly instead of raising an unhandled exception; previously\n the behavior was inconsistent depending on the exact error.\n\ntornado.ioloop\n\n \ The kqueue and select IOLoop implementations now report\n writeability correctly, fixing flow control in IOStream.\n When a new IOLoop is created, it automatically becomes ç¨\x8Durrent�\n for the thread if there is not already a current instance.\n New method PeriodicCallback.is_running can be used to see\n whether the PeriodicCallback has been started.\n\ntornado.iostream\n\n \ IOStream.start_tls now uses the server_hostname parameter for\n certificate validation.\n SSLIOStream will no longer consume 100% CPU after certain error\n \ conditions.\n SSLIOStream no longer logs EBADF errors during the handshake\n \ as they can result from nmap scans in certain modes.\n\ntornado.options\n\n \ parse_config_file now always decodes the config file as utf8\n on Python 3.\n tornado.options.define more accurately finds the module defining\n the option.\n\ntornado.platform.asyncio\n\n It is now possible to yield asyncio.Future objects in coroutines\n when the singledispatch library is available and\n \ tornado.platform.asyncio has been imported.\n New methods tornado.platform.asyncio.to_tornado_future and\n to_asyncio_future convert between the two libraries� Future\n classes.\n\ntornado.platform.twisted\n\n \ It is now possible to yield Deferred objects in coroutines when\n the singledispatch library is available and tornado.platform.twisted\n has been imported.\n\ntornado.tcpclient\n\n \ TCPClient will no longer raise an exception due to an ill-timed\n timeout.\n\ntornado.tcpserver\n\n \ TCPServer no longer ignores its read_chunk_size argument.\n\ntornado.testing\n\n \ AsyncTestCase has better support for multiple exceptions.\n Previously it would silently swallow all but the last; now it\n raises the first and logs all the rest.\n AsyncTestCase now cleans up Subprocess state on tearDown when\n \ necessary.\n\ntornado.web\n\n The asynchronous decorator now understands concurrent.futures.Future\n in addition to tornado.concurrent.Future.\n StaticFileHandler no longer logs a stack trace if the connection\n is closed while sending the file.\n RequestHandler.send_error now supports a reason keyword argument,\n \ similar to tornado.web.HTTPError.\n RequestHandler.locale now has a property setter.\n Application.add_handlers hostname matching now works correctly\n \ with IPv6 literals.\n Redirects for the Application default_host setting now match\n the request protocol instead of redirecting HTTPS to HTTP.\n Malformed _xsrf cookies are now ignored instead of causing\n uncaught exceptions.\n Application.start_request now has the same signature as\n HTTPServerConnectionDelegate.start_request.\n\ntornado.websocket\n\n \ The tornado.websocket module now supports compression via the\n ç©¡ermessage-deflate� extension. Override\n WebSocketHandler.get_compression_options to enable on the server\n side, and use the compression_options keyword argument to\n websocket_connect on the client side.\n WebSocketHandler no longer logs stack traces when the connection\n is closed.\n WebSocketHandler.open now accepts *args, **kw for consistency\n with RequestHandler.get and related methods.\n The Sec-WebSocket-Version header now includes all supported\n versions.\n websocket_connect now has a on_message_callback keyword argument\n for callback-style use without read_message().\n" module: pkgsrc subject: 'CVS commit: pkgsrc/www/py-tornado' unixtime: '1423413108' user: wiz