On testing: Tornado's test suite is fairly comprehensive and can be
run with "python -m tornado.test.runtests". I also use tox to
automate running the tests with different python versions and
configurations, although it can take some setup work to get everything
installed.
A while back I also got interested in jython and got tornado more or
less working on it. I was interested mainly because I wanted to
experiment with the performance of threads on a GIL-free version of
python, so I abandoned it when I saw how much slower jython was than
cpython in a single thread. I've dusted off my changes and pushed the
generic parts to master
(
https://github.com/facebook/tornado/commit/d79458151c6992a1b8258f056e574dade2cc62ac)
and the jython-specific parts to my fork
(
https://github.com/bdarnell/tornado/commit/25ed11327ca948c7c31b586679bf219a5df92cb7).
For the curious, I've also tried ironpython and it looks like it would
be much harder to get tornado to work there because it mixes up
aspects of str/bytes/unicode semantics (for example,
u"".encode("utf8") returns unicode, not bytes).
-Ben