Tornado 3.0.1的新功能¶
2013年4月8日¶
的接口
tornado.auth.FacebookGraphMixin
现在与它的文档和模块的其余部分保持一致。这个get_authenticated_user
和facebook_request
方法返回Future
以及callback
参数是可选的。这个
tornado.testing.gen_test
装饰器将不再被识别为(损坏的)测试nose
.在Ubuntu13.04 betas中解决一个bug,涉及到
ssl.match_hostname
功能。tornado.websocket.websocket_connect
现在,当它尝试连接到非WebSocket URL时,会彻底失败。tornado.testing.LogTrapTestCase
再次使用python 2上的字节字符串。这个
request
属性tornado.httpclient.HTTPResponse
is now always anHTTPRequest
, never a ``_ 请求代理”。由提出的异常
tornado.gen
当元组用作回调键时,模块现在有更好的消息。