Tornado 3.0.1 新特性¶
Apr 8, 2013¶
- The interface of tornado.auth.FacebookGraphMixin is now consistentwith its documentation and the rest of the module. Theget_authenticated_user and facebook_request methods return aFuture and the callback argument is optional.
- The tornado.testing.gen_test decorator will no longer be recognizedas a (broken) test by nose.
- Work around a bug in Ubuntu 13.04 betas involving an incomplete backportof the ssl.match_hostname function.
- tornado.websocket.websocket_connect now fails cleanly when it attemptsto connect to a non-websocket url.
- tornado.testing.LogTrapTestCase once again works with byte stringson Python 2.
- The request attribute of tornado.httpclient.HTTPResponse isnow always an HTTPRequest, never a _RequestProxy.
- Exceptions raised by the tornado.gen module now have better messageswhen tuples are used as callback keys.
原文:
https://tornado-zh-cn.readthedocs.io/zh_CN/latest/releases/v3.0.1.html