]> git.ipfire.org Git - thirdparty/tornado.git/commit
Fix Tornado on Google App Engine.
authorBen Darnell <ben@bendarnell.com>
Sat, 17 May 2014 14:56:35 +0000 (10:56 -0400)
committerBen Darnell <ben@bendarnell.com>
Sat, 17 May 2014 14:56:35 +0000 (10:56 -0400)
commit4b6fc9cb9fe5d9b8018b1a32645b74c86f5576e1
treebce0ece04394d1894b55f0da15a13338bcf984eb
parent5a542d88abf05431f9ee0455aebd2357cadfb847
Fix Tornado on Google App Engine.

Imports of tornado.ioloop have crept into more places, so the old
app engine policy of never importing these modules doesn't work.
Instead, we add guards around imports of unavailable modules
(fcntl, ssl, multiprocessing) so that everything is at least importable.

Closes #1059.
maint/test/appengine/common/cgi_runtests.py
tornado/iostream.py
tornado/netutil.py
tornado/platform/auto.py
tornado/process.py
tornado/simple_httpclient.py
tornado/tcpserver.py
tornado/test/import_test.py