What’s new in the next version of Tornado¶
- The new async/await keywords in Python 3.5 are supported. TODO: say more.
- New method
OAuth2Mixin.oauth2_requestcan be used to make authenticated requests with an access token.
- Fixed an issue with the autoreload command-line wrapper in which imports would be incorrectly interpreted as relative.
- Coroutine-style usage of
IOStreamnow converts most errors into
StreamClosedError, which has the effect of reducing log noise from exceptions that are outside the application’s control (especially SSL errors).
StreamClosedErrornow has a
real_errorattribute which indicates why the stream was closed. It is the same as the
IOStreambut may be more easily accessible than the