]> git.ipfire.org Git - thirdparty/tornado.git/commit
fix python2.7 / python3 incompatibilities
authorPierce Lopez <pierce.lopez@gmail.com>
Mon, 1 Jan 2018 20:01:22 +0000 (15:01 -0500)
committerPierce Lopez <pierce.lopez@gmail.com>
Tue, 2 Jan 2018 20:28:11 +0000 (15:28 -0500)
commitd72dc5433d5b5e6deb0695713479113abcb7861d
treece21c98a662a0a30aa82ab86ea24b423c0248e7f
parent7e2fef9fb12097b49b066a4041ef0f216a25251b
fix python2.7 / python3 incompatibilities

convert remaining uses of python2 print statement to print function
add "xrange = range" for python3 where needed
add "ResourceWarning = None" for python2 where needed
a bit of long/unicode type aliasing

such issues only remained in tests/demos
demos/benchmark/chunk_benchmark.py
demos/s3server/s3server.py
maint/test/appengine/common/cgi_runtests.py
maint/test/appengine/common/runtests.py
maint/vm/windows/bootstrap.py
tornado/test/runtests.py
tornado/test/twisted_test.py