🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
### Navigation - [index](# "General Index") - [modules](# "Python Module Index") | - [next](# "What鈥檚 new in Tornado 3.0") | - [previous](# "What鈥檚 new in Tornado 3.0.2") | - [Tornado 4.4.dev1 documentation](#) » - [Release notes](#) » # What's new in Tornado 3.0.1 ### Apr 8, 2013 - The interface of [`tornado.auth.FacebookGraphMixin`](# "tornado.auth.FacebookGraphMixin") is now consistentwith 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`](# "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`](https://docs.python.org/3.4/library/ssl.html#ssl.match_hostname "(in Python v3.4)") [https://docs.python.org/3.4/library/ssl.html#ssl.match_hostname] function. - [`tornado.websocket.websocket_connect`](# "tornado.websocket.websocket_connect") now fails cleanly when it attemptsto connect to a non-websocket url. - [`tornado.testing.LogTrapTestCase`](# "tornado.testing.LogTrapTestCase") once again works with byte stringson Python 2. - The `request` attribute of [`tornado.httpclient.HTTPResponse`](# "tornado.httpclient.HTTPResponse") isnow always an [`HTTPRequest`](# "tornado.httpclient.HTTPRequest"), never a `_RequestProxy`. - Exceptions raised by the [`tornado.gen`](# "tornado.gen") module now have better messageswhen tuples are used as callback keys. © Copyright 2009-2016, The Tornado Authors. Created using [Sphinx](http://sphinx-doc.org/) 1.3.5.