News for hackers. Stuff that matters.
Re:Async I/O for Python 3 by twism on Monday March 18, 2013 @04:35PM (#5396945)
Tornado has a well documented (and least complicated regarding gevent & twisted are concerned IMHO) but not well known/used "inline callback" with yields to simplify async code.

http://www.tornadoweb.org/en/branch2.3/gen.html

From there, I made a wrapper to wrap potentially blocking logic in threads so I could have code that isn't async/non-blocking behave like it was.

https://gist.github.com/anonymous/5190528

There are no comments on this comment yet.