Commit Graph

10 Commits

Author SHA1 Message Date
Ben Darnell 9ce47af00c Update autopep8 blacklist 2013-05-27 17:15:24 -04:00
Ben Darnell 80bee0c240 Add IOLoop.run_sync convenience method. 2013-03-02 18:58:02 -05:00
Ben Darnell 4bfbbad331 Fix resolver test script. 2013-03-02 14:45:43 -05:00
Ben Darnell d735bd818a Add a resolver test script for external queries that cannot be unittested.
Note an issue with CaresResolver (it cannot resolve www.dropbox.com when
family==AF_UNSPEC)
2013-02-24 12:56:09 -05:00
Ben Darnell 65df55da40 Convert print to a function and add future imports.
Automated with 2to3 and custom fixer.
2to3 -f print tornado > print.diff
2to3 -f print -d tornado > print_doctest.diff
maint/scripts/run_fixers.py -f future_import tornado > future.diff
cd tornado
git apply ../{print,print_doctest,future}.diff
2013-01-13 19:35:04 -05:00
Ben Darnell 8b40fafec7 Add tornado.util.u and a fixer script to start using it. 2013-01-13 18:40:18 -05:00
Ben Darnell 0cb3924a9e Don't let autopep8 rewrite all the lines longer than 80 chars. 2012-08-27 17:31:47 -04:00
Ben Darnell 2d665a41b0 Check in autopep8 script 2012-02-09 01:08:04 -08:00
Ben Darnell 58a7ff10a8 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.
2012-02-09 00:17:58 -08:00
Ben Darnell 27f9c3a775 Add a script to rewrite __future__ imports 2012-02-08 23:16:56 -08:00