Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Tornado 2.2 Gets Expanded Support, Improved Compatibility

DZone's Guide to

Tornado 2.2 Gets Expanded Support, Improved Compatibility

· Web Dev Zone
Free Resource

Learn how to build modern digital experience apps with Crafter CMS. Download this eBook now. Brought to you in partnership with Crafter Software

For those unfamiliar with the "open source version of the scalable, non-blocking web server and tools that power FriendFeed," Tornado is different from typical Python frameworks in that it is non-blocking, allowing it to process thousands of standing connections simultaneously, and making it ideal for real-time web services.  While Tornado 2.0 provided some improvements, it also created some issues with backwards compatability:

Tornado 2.0 introduces several potentially backwards-incompatible changes, including in particular automatic escaping of template output.

-- Tornadoweb.org

So it should be no surprise that the big news for this release is the improved compatability between Twisted and Tornado. Other improvements of note are:

  • Updated and expanded WebSocket support
  • Template errors now generate better stack traces
  • Better exception handling in tornado.gen
  • tornado.simple_httpclient disables SSLv2

Tornado requires Python 2.5, 2.6, 2.7, or 3.2, and is designed to run on most Unix-like platforms, though Linux and BSD (including Mac OS X) are preferred.

For a full list of features for Tornado 2.2, visit tornadoweb.org, or to download Tornado, check out the GitHub page.

Crafter is a modern CMS platform for building modern websites and content-rich digital experiences. Download this eBook now. Brought to you in partnership with Crafter Software.

Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}