Tornado 4.0.1 新特性¶
Aug 12, 2014¶
- The build will now fall back to pure-python mode if the C extensionfails to build for any reason (previously it would fall back for someerrors but not others).
- IOLoop.call_at and IOLoop.call_later now always returna timeout handle for use with IOLoop.remove_timeout.
- If any callback of a PeriodicCallback or IOStream returns aFuture, any error raised in that future will now be logged(similar to the behavior of IOLoop.add_callback).
- Fixed an exception in client-side websocket connections when theconnection is closed.
- simple_httpclient once again correctly handles 204 statuscodes with no content-length header.
- Fixed a regression in simple_httpclient that would result intimeouts for certain kinds of errors.
原文:
https://tornado-zh-cn.readthedocs.io/zh_CN/latest/releases/v4.0.1.html