]> git.ipfire.org Git - thirdparty/tornado.git/commit
Turn on __future__ division too.
authorBen Darnell <ben@bendarnell.com>
Thu, 9 Feb 2012 08:17:58 +0000 (00:17 -0800)
committerBen Darnell <ben@bendarnell.com>
Thu, 9 Feb 2012 08:17:58 +0000 (00:17 -0800)
commit58a7ff10a80b08f1b95d5eb410d91501e97f1d39
tree7e0bf18de8bacb3fa3dd0f1df886429e3bef2565
parent837da79ef936563d8f043b02cb7b53b67b4b4697
Turn on __future__ division too.

All existing uses of division were already using a float for at least
one operand (except the tests that just do 1/0 as a quick way to throw
an exception).

We have now turned on all the __future__ options available in python2.5.
50 files changed:
maint/scripts/custom_fixers/fix_future_imports.py
tornado/__init__.py
tornado/auth.py
tornado/autoreload.py
tornado/curl_httpclient.py
tornado/database.py
tornado/escape.py
tornado/gen.py
tornado/httpclient.py
tornado/httpserver.py
tornado/httputil.py
tornado/ioloop.py
tornado/iostream.py
tornado/locale.py
tornado/netutil.py
tornado/options.py
tornado/platform/auto.py
tornado/platform/interface.py
tornado/platform/posix.py
tornado/platform/twisted.py
tornado/platform/windows.py
tornado/process.py
tornado/simple_httpclient.py
tornado/stack_context.py
tornado/template.py
tornado/test/auth_test.py
tornado/test/curl_httpclient_test.py
tornado/test/escape_test.py
tornado/test/gen_test.py
tornado/test/httpclient_test.py
tornado/test/httpserver_test.py
tornado/test/httputil_test.py
tornado/test/import_test.py
tornado/test/ioloop_test.py
tornado/test/iostream_test.py
tornado/test/process_test.py
tornado/test/run_pyversion_tests.py
tornado/test/runtests.py
tornado/test/simple_httpclient_test.py
tornado/test/stack_context_test.py
tornado/test/template_test.py
tornado/test/testing_test.py
tornado/test/twisted_test.py
tornado/test/web_test.py
tornado/test/wsgi_test.py
tornado/testing.py
tornado/util.py
tornado/web.py
tornado/websocket.py
tornado/wsgi.py