]> git.ipfire.org Git - thirdparty/tornado.git/log
thirdparty/tornado.git
11 years agoremove useless code of BaseIOStream 1012/head
xuxiang [Mon, 10 Mar 2014 10:22:39 +0000 (18:22 +0800)] 
remove useless code of BaseIOStream

11 years agoMerge pull request #996 from cardoe/exception-fix
bdarnell [Mon, 3 Mar 2014 15:59:18 +0000 (10:59 -0500)] 
Merge pull request #996 from cardoe/exception-fix

use errno attr instead of index into args for errno

11 years agoExclude another timing-sensitive test from the travis build.
Ben Darnell [Sun, 2 Mar 2014 16:06:06 +0000 (11:06 -0500)] 
Exclude another timing-sensitive test from the travis build.

11 years agoMerge pull request #999 from mengzhuo/master
bdarnell [Sun, 2 Mar 2014 16:03:29 +0000 (11:03 -0500)] 
Merge pull request #999 from mengzhuo/master

update Template Loader with 'with' statement

11 years agoupdate Template Loader with 'with' statment 999/head
Meng Zhuo [Sun, 2 Mar 2014 14:20:49 +0000 (22:20 +0800)] 
update Template Loader with 'with' statment

11 years agodefine and use errno_from_exception abstraction 996/head
Doug Goldstein [Fri, 28 Feb 2014 14:48:26 +0000 (08:48 -0600)] 
define and use errno_from_exception abstraction

If an OSError or IOError are instantiated without an errno value, e.g.
e = OSError(). The existing code would give an IndexError: tuple index
out of range. However there have been cases that the errno attribute
wasn't populated so instead of switching to it this introduces a helper
function to ensure we get the errno value through whatever means
possible.

11 years agoFix bit-rotted app engine tests.
Ben Darnell [Sun, 23 Feb 2014 17:49:11 +0000 (12:49 -0500)] 
Fix bit-rotted app engine tests.

sys.argv is no longer empty in dev_appserver.

11 years agoAdd a warning label to WSGIContainer.
Ben Darnell [Sun, 23 Feb 2014 04:25:51 +0000 (23:25 -0500)] 
Add a warning label to WSGIContainer.

11 years agoDisable port-allocation test on mac to avoid annoying firewall prompts.
Ben Darnell [Sat, 22 Feb 2014 01:42:10 +0000 (20:42 -0500)] 
Disable port-allocation test on mac to avoid annoying firewall prompts.

11 years agoMerge pull request #977 from schlamar/fix-port-allocation
bdarnell [Sat, 22 Feb 2014 01:27:30 +0000 (20:27 -0500)] 
Merge pull request #977 from schlamar/fix-port-allocation

Fixed automatic port allocation in bind_sockets.

11 years agoFixed automatic port allocation in bind_sockets. 977/head
schlamar [Thu, 23 Jan 2014 11:23:53 +0000 (12:23 +0100)] 
Fixed automatic port allocation in bind_sockets.

bind_sockets should use the same port on IPv4 and IPv6 if port=None.

11 years agoCatch up on next-release notes.
Ben Darnell [Wed, 19 Feb 2014 04:52:58 +0000 (23:52 -0500)] 
Catch up on next-release notes.

11 years agoDocument the fact that tornado.options configures logging by default.
Ben Darnell [Wed, 19 Feb 2014 04:15:19 +0000 (23:15 -0500)] 
Document the fact that tornado.options configures logging by default.

Add tests and comments for how to disable this configuration.
Make it slightly easier to disable by making the command line
flag case-insensitive and allowing `None` instead of the string "none"
when setting the flag in code.

Closes #952.

11 years agoAdd python 3.4 tests to tox
Ben Darnell [Tue, 18 Feb 2014 05:08:09 +0000 (00:08 -0500)] 
Add python 3.4 tests to tox

11 years agoAdd support for the websocket close status code and reason fields.
Ben Darnell [Mon, 17 Feb 2014 23:46:40 +0000 (18:46 -0500)] 
Add support for the websocket close status code and reason fields.

Closes #890.

11 years agoCompress all text/* content types, not just a whitelist.
Ben Darnell [Mon, 17 Feb 2014 04:59:17 +0000 (23:59 -0500)] 
Compress all text/* content types, not just a whitelist.

Closes #982.

11 years agoAdd a py26-trollius test case and fix a bug with timedelta on 2.6.
Ben Darnell [Mon, 17 Feb 2014 04:41:15 +0000 (23:41 -0500)] 
Add a py26-trollius test case and fix a bug with timedelta on 2.6.

11 years agoAdd a fast path to stack_context when there are no active contexts.
Ben Darnell [Mon, 17 Feb 2014 04:06:18 +0000 (23:06 -0500)] 
Add a fast path to stack_context when there are no active contexts.

This case is increasingly common now that coroutines are decoupled
from stack contexts.

11 years agoRemove _iostream_return_future from write and connect as well.
Ben Darnell [Mon, 17 Feb 2014 03:05:55 +0000 (22:05 -0500)] 
Remove _iostream_return_future from write and connect as well.

11 years agoBring Future support for IOStream read operations into IOStream itself.
Ben Darnell [Mon, 17 Feb 2014 02:39:19 +0000 (21:39 -0500)] 
Bring Future support for IOStream read operations into IOStream itself.

This speeds things up in comparison to the _iostream_return_future
decorator by removing unnecessary abstraction and especially by allowing
Futures to bypass some of the hoops IOStream jumps through to ensure a
clean slate for its callbacks.

11 years agoMicrooptimizations for coroutines
Ben Darnell [Mon, 17 Feb 2014 01:34:02 +0000 (20:34 -0500)] 
Microoptimizations for coroutines
* Lazily initialize data structures for YieldPoints
* Get rid of Runner.exc_info

11 years agoFold TracebackFuture into Future.
Ben Darnell [Mon, 17 Feb 2014 01:29:37 +0000 (20:29 -0500)] 
Fold TracebackFuture into Future.

Since it is no longer possible for TracebackFuture to modify
concurrent.futures.Future instead, there is no need for separate
classes.  Removing the subclass speeds things up a bit by removing
a level of indirection.

Also microoptimized a few methods of Future.

11 years agogen: Defer creation of stack context until a YieldPoint is reached.
Ben Darnell [Sun, 26 Jan 2014 18:55:57 +0000 (13:55 -0500)] 
gen: Defer creation of stack context until a YieldPoint is reached.

The runner alone can catch all necessary exceptions as long as Futures
are used; stack contexts are only needed for YieldPoints (especially
Callback/Wait; Task could be changed to use a local-only stack
context).

This is slightly backwards incompatible for code that assumes the existence
of a stack context without yielding anything.

11 years agoDetect stack context inconsistency in gen.Runner.
Ben Darnell [Mon, 27 Jan 2014 00:11:51 +0000 (19:11 -0500)] 
Detect stack context inconsistency in gen.Runner.

The existing checks in StackContext.__exit__ are run after the damage has
been done and may raise exceptions in the wrong place; gen.Runner
is a more reliable place to detect this problem.

Throwing the exception into the generator provides a better stack trace
for the problem and also simplifies some of the complexity of testing for
this feature.

11 years agogen.Runner now communicates back to the decorator via a Future instead of a callback.
Ben Darnell [Sun, 26 Jan 2014 20:25:10 +0000 (15:25 -0500)] 
gen.Runner now communicates back to the decorator via a Future instead of a callback.

This allows for failures to be reported without relying on stack_context.

11 years agoConsolidate implementations of gen.engine and gen.coroutine.
Ben Darnell [Sun, 26 Jan 2014 20:16:36 +0000 (15:16 -0500)] 
Consolidate implementations of gen.engine and gen.coroutine.

The shared implementation is nearly identical to the old gen.coroutine,
with a small tweak for the callback argument.

11 years agoPivot tornado.gen to use Futures natively.
Ben Darnell [Mon, 20 Jan 2014 22:57:57 +0000 (17:57 -0500)] 
Pivot tornado.gen to use Futures natively.

This improves performance of applications using @coroutine and Futures,
at the expense of some performance degradation for the older YieldPoint
interfaces.

11 years agotornado.concurrent.Future is now always thread-unsafe.
Ben Darnell [Sun, 26 Jan 2014 03:18:08 +0000 (22:18 -0500)] 
tornado.concurrent.Future is now always thread-unsafe.

This improves performance and provides more consistent semantics
(independent of the presence or absence of the concurrent.futures
package).

The parts of Tornado that accept Futures will accept both Tornado's
thread-unsafe Futures and the thread-safe concurrent.futures.Future.

11 years agoAdd a benchmark for coroutine processing.
Ben Darnell [Mon, 20 Jan 2014 22:23:20 +0000 (17:23 -0500)] 
Add a benchmark for coroutine processing.

11 years agoImprove the stack traces given for timeouts with @gen_test.
Ben Darnell [Sat, 25 Jan 2014 23:15:55 +0000 (18:15 -0500)] 
Improve the stack traces given for timeouts with @gen_test.

11 years agoRaise an error if IOLoop.start() is called while it is already running.
Ben Darnell [Sat, 25 Jan 2014 22:16:17 +0000 (17:16 -0500)] 
Raise an error if IOLoop.start() is called while it is already running.

11 years agoAdd support in AsyncTestCase for detecting undecorated generators.
Ben Darnell [Sat, 25 Jan 2014 18:43:27 +0000 (13:43 -0500)] 
Add support in AsyncTestCase for detecting undecorated generators.

Fix a test that was not being run because of this issue.

11 years agoMerge pull request #979 from mike4999/simple_fix
bdarnell [Sat, 25 Jan 2014 01:59:44 +0000 (17:59 -0800)] 
Merge pull request #979 from mike4999/simple_fix

 Fix for RequestHandler.write   to check for NoneType in argument

11 years agoThis is a fix to check the argument to RequestHandler.write() 979/head
Michael Atambo [Fri, 24 Jan 2014 11:04:00 +0000 (14:04 +0300)] 
This is a fix to check  the argument to RequestHandler.write()
is one of the accepted types: dict, bytes or unicode and raise a TypeError otherwise

11 years agoReturn a Future from IOStream methods.
Ben Darnell [Mon, 20 Jan 2014 03:59:37 +0000 (22:59 -0500)] 
Return a Future from IOStream methods.

This makes it easier to use IOStreams directly from coroutines.

Closes #953.

11 years agoMerge pull request #976 from daftshady/master
bdarnell [Mon, 20 Jan 2014 16:58:09 +0000 (08:58 -0800)] 
Merge pull request #976 from daftshady/master

removed unnecessary else statements

11 years agoPin sphinx version to 1.2 in tests.
Ben Darnell [Mon, 20 Jan 2014 16:57:16 +0000 (11:57 -0500)] 
Pin sphinx version to 1.2 in tests.

Sphinx 1.2.1 has a bug that breaks our build:
https://bitbucket.org/birkenfeld/sphinx/pull-request/212/fix-an-exception-introduced-by/diff

11 years agoremoved unnecessary else statements 976/head
daftshady [Mon, 20 Jan 2014 13:33:38 +0000 (22:33 +0900)] 
removed unnecessary else statements

11 years agoRemove some unused imports (found by pyflakes)
Ben Darnell [Mon, 20 Jan 2014 00:01:07 +0000 (19:01 -0500)] 
Remove some unused imports (found by pyflakes)

11 years agoAdd tornado.test.__main__ so the tests can be run with "-m tornado.test".
Ben Darnell [Sun, 19 Jan 2014 23:58:06 +0000 (18:58 -0500)] 
Add tornado.test.__main__ so the tests can be run with "-m tornado.test".

(This doesn't work on python 2.6)

11 years agoRemove some vestigial references to 2to3.
Ben Darnell [Sun, 19 Jan 2014 23:55:53 +0000 (18:55 -0500)] 
Remove some vestigial references to 2to3.

11 years agoFix a typo that snuck into the autoreload docs.
Ben Darnell [Sat, 18 Jan 2014 22:55:09 +0000 (17:55 -0500)] 
Fix a typo that snuck into the autoreload docs.

11 years agoMake tornado.netutil.add_accept_handler pass a fileobj to the IOLoop.
Ben Darnell [Sat, 18 Jan 2014 21:42:06 +0000 (16:42 -0500)] 
Make tornado.netutil.add_accept_handler pass a fileobj to the IOLoop.

Officially allow mixing of fds and file objects so that callers of
add_accept_handler don't need to know about this change.

As a side effect, fixes a problem with autoreload on windows.

Closes #737.

11 years agoPass the correct file object to IOLoop handler functions.
Ben Darnell [Sat, 18 Jan 2014 21:04:49 +0000 (16:04 -0500)] 
Pass the correct file object to IOLoop handler functions.

11 years agoDocument file descriptor change and start new release notes.
Ben Darnell [Sat, 18 Jan 2014 20:41:03 +0000 (15:41 -0500)] 
Document file descriptor change and start new release notes.

11 years agoAllow and encourage the use of file objects instead of integer fds in IOLoop.
Ben Darnell [Sat, 18 Jan 2014 18:09:18 +0000 (13:09 -0500)] 
Allow and encourage the use of file objects instead of integer fds in IOLoop.

This fixes a problem in tests in which a closing IOLoop would os.close()
all of its file descriptors while socket objects for those fds still
existed.  When those socket objects were garbage collected, they would
close the fd a second time (by which time it may have been reassigned
to a new socket).

Due to subtleties of garbage collection this has only been observed
with the asyncio event loop in tests of curl_httpclient.

11 years agoAdd pycares to the -full tox configs and remove custom resolver tests.
Ben Darnell [Sat, 18 Jan 2014 01:57:57 +0000 (20:57 -0500)] 
Add pycares to the -full tox configs and remove custom resolver tests.

The resolvers are tested in netutil_test when their dependencies are
available, and re-running the entire test suite with a different resolver
is unlikely to expose any new problems.  (the resolver tests are still
present in travis.yml for now, though)

11 years agoRequire the extension to be built in tox -full runs.
Ben Darnell [Fri, 17 Jan 2014 04:33:00 +0000 (23:33 -0500)] 
Require the extension to be built in tox -full runs.

11 years agoMerge branch 'branch3.2'
Ben Darnell [Fri, 17 Jan 2014 04:12:59 +0000 (23:12 -0500)] 
Merge branch 'branch3.2'

11 years agoDon't require the extension to be present when building docs.
Ben Darnell [Fri, 17 Jan 2014 04:12:42 +0000 (23:12 -0500)] 
Don't require the extension to be present when building docs.

11 years agoReinstate the 'cd maint' in .travis.yml.
Ben Darnell [Fri, 17 Jan 2014 04:00:26 +0000 (23:00 -0500)] 
Reinstate the 'cd maint' in .travis.yml.

This turned out to be breaking the speedups module.

11 years agoAdd better debugging for ImportErrors resulting from TORNADO_EXTENSION=1
Ben Darnell [Fri, 17 Jan 2014 03:49:31 +0000 (22:49 -0500)] 
Add better debugging for ImportErrors resulting from TORNADO_EXTENSION=1

11 years agoAdd a new TORNADO_EXTENSION environment variable for testing purposes.
Ben Darnell [Fri, 17 Jan 2014 03:32:32 +0000 (22:32 -0500)] 
Add a new TORNADO_EXTENSION environment variable for testing purposes.

This variable can be set to 0 to suppress or 1 to require the use of the
extension (instead of the default to use it when it is available but silently
fall back).  Require the extension to be present on travis-ci.

11 years agoMerge pull request #973 from cgohlke/patch-1
bdarnell [Thu, 16 Jan 2014 02:10:51 +0000 (18:10 -0800)] 
Merge pull request #973 from cgohlke/patch-1

Fix msvc compile error and improve 64 bit compatibility

11 years agoFix msvc compile error and improve 64 bit compatibility 973/head
cgohlke [Wed, 15 Jan 2014 05:47:35 +0000 (21:47 -0800)] 
Fix msvc compile error and improve 64 bit compatibility

11 years agoRefactor the unwieldy tox.ini file.
Ben Darnell [Wed, 15 Jan 2014 04:16:26 +0000 (23:16 -0500)] 
Refactor the unwieldy tox.ini file.

Fill in some gaps in the coverage (mostly on the python 3 side, and
using more consistent dependencies throughout) and move the 3.x tests
that don't care about a specific 3.x version to 3.3.

This is still less thorough than the travis.yml, which runs everything for
every python version.

11 years agoBump version number to 3.3.dev1
Ben Darnell [Wed, 15 Jan 2014 02:42:24 +0000 (21:42 -0500)] 
Bump version number to 3.3.dev1

11 years agoUpdate README.rst to match docs/index.rst.
Ben Darnell [Tue, 14 Jan 2014 13:51:32 +0000 (08:51 -0500)] 
Update README.rst to match docs/index.rst.

11 years agoSet version number to 3.2. v3.2.0
Ben Darnell [Tue, 14 Jan 2014 13:41:27 +0000 (08:41 -0500)] 
Set version number to 3.2.

11 years agoFinalize 3.2 release notes
Ben Darnell [Tue, 14 Jan 2014 13:40:48 +0000 (08:40 -0500)] 
Finalize 3.2 release notes

11 years agoFix shell quoting in travis config.
Ben Darnell [Sat, 11 Jan 2014 04:31:29 +0000 (23:31 -0500)] 
Fix shell quoting in travis config.

11 years agoPin pycurl on travis to <7.19.3, removing it from py3.x.
Ben Darnell [Sat, 11 Jan 2014 04:27:33 +0000 (23:27 -0500)] 
Pin pycurl on travis to <7.19.3, removing it from py3.x.

SSL issues prevent pycurl 7.19.3 from being installed on travis.

11 years agoNow that pycurl 7.19.3 with py3 support is out, add it to tox/travis.
Ben Darnell [Sat, 11 Jan 2014 04:19:25 +0000 (23:19 -0500)] 
Now that pycurl 7.19.3 with py3 support is out, add it to tox/travis.

11 years agoAdd a link to the Stack Overflow 'tornado' tag from the docs.
Ben Darnell [Fri, 10 Jan 2014 01:15:41 +0000 (20:15 -0500)] 
Add a link to the Stack Overflow 'tornado' tag from the docs.

11 years agoReplace redundant dict.get() with [].
Ben Darnell [Fri, 10 Jan 2014 01:12:34 +0000 (20:12 -0500)] 
Replace redundant dict.get() with [].

11 years agoSet version number to 3.2b2 v3.2.0b2
Ben Darnell [Wed, 8 Jan 2014 03:01:38 +0000 (22:01 -0500)] 
Set version number to 3.2b2

11 years agoUpdate release notes for 3.2.0b2
Ben Darnell [Wed, 8 Jan 2014 03:00:53 +0000 (22:00 -0500)] 
Update release notes for 3.2.0b2

11 years agoAdd trollius (py2 backport of asyncio) to tox config.
Ben Darnell [Tue, 7 Jan 2014 06:14:37 +0000 (01:14 -0500)] 
Add trollius (py2 backport of asyncio) to tox config.

This passes the twisted integration tests but currently has some issues
with pycurl.

11 years agoRename "normal" to "end_color" in log format strings.
Ben Darnell [Tue, 7 Jan 2014 03:39:29 +0000 (22:39 -0500)] 
Rename "normal" to "end_color" in log format strings.

When not colorizing, use empty strings instead of two copies of "normal".

Update docs.

11 years agoImproved extensibility of LogFormatter
Andrea Ratto [Wed, 25 Dec 2013 01:02:31 +0000 (02:02 +0100)] 
Improved extensibility of LogFormatter

* refactored code separating coloring logic
* allow full line customization of the format
* possibly faster operation

11 years agoMove _setup_logging to BaseIOLoop and use it in asyncio and twisted implementations.
Ben Darnell [Mon, 6 Jan 2014 23:51:07 +0000 (18:51 -0500)] 
Move _setup_logging to BaseIOLoop and use it in asyncio and twisted implementations.

11 years agoRemove inaccurate IOLoop logging test cases.
Ben Darnell [Mon, 6 Jan 2014 23:49:33 +0000 (18:49 -0500)] 
Remove inaccurate IOLoop logging test cases.

11 years agoMerge commit 'c2a25a'
Ben Darnell [Mon, 6 Jan 2014 23:19:57 +0000 (18:19 -0500)] 
Merge commit 'c2a25a'

* commit 'c2a25a':
  Correct example variable, use consistant quoting

Closes #972

11 years agoMerge pull request #971 from gmr/logging-patch
bdarnell [Mon, 6 Jan 2014 23:08:18 +0000 (15:08 -0800)] 
Merge pull request #971 from gmr/logging-patch

Don't call logging.basicConfig if logging is already configured (#775). Replaces #887

11 years agoCorrect example variable, use consistant quoting
Gavin M. Roy [Mon, 6 Jan 2014 21:55:35 +0000 (16:55 -0500)] 
Correct example variable, use consistant quoting

11 years agoDon't call logging.basicConfig if logging is already configured (#775). 971/head
Gavin M. Roy [Mon, 6 Jan 2014 21:47:54 +0000 (16:47 -0500)] 
Don't call logging.basicConfig if logging is already configured (#775).
Will not call logging.basicConfig if there is a root logger,
tornado logger or tornado.application logger.

Updated patch to reflect comments about tests and method privacy.

11 years agoAdd a warning to the StaticFileHandler docs against overriding .get().
Ben Darnell [Sat, 4 Jan 2014 16:33:50 +0000 (11:33 -0500)] 
Add a warning to the StaticFileHandler docs against overriding .get().

11 years agoRemove redundant uses of @asynchronous with @gen.coroutine.
Ben Darnell [Fri, 3 Jan 2014 01:51:59 +0000 (20:51 -0500)] 
Remove redundant uses of @asynchronous with @gen.coroutine.

11 years agoDoc updates.
Ben Darnell [Tue, 31 Dec 2013 22:50:12 +0000 (17:50 -0500)] 
Doc updates.

* Version-added tags
* Add some missing methods
* Ignore asyncio module for coverage reports
* Work around a sphinx 1.2 regression

11 years agoUpdate future imports for recently added files.
Ben Darnell [Tue, 31 Dec 2013 18:47:28 +0000 (13:47 -0500)] 
Update future imports for recently added files.

(This is most meaningful for tornado.platform.asyncio, which needs
absolute imports for the python 2 backport of asyncio).

11 years agoAdd usage comement to run_fixers.py.
Ben Darnell [Tue, 31 Dec 2013 17:28:44 +0000 (12:28 -0500)] 
Add usage comement to run_fixers.py.

11 years agoMerge pull request #969 from ronnix/patch-1
bdarnell [Mon, 30 Dec 2013 22:18:58 +0000 (14:18 -0800)] 
Merge pull request #969 from ronnix/patch-1

Fix asyncio code example

11 years agoFix asyncio code example 969/head
Ronan Amicel [Mon, 30 Dec 2013 21:35:33 +0000 (22:35 +0100)] 
Fix asyncio code example

11 years agoSet version number to 3.2b1. v3.2.0b1
Ben Darnell [Mon, 30 Dec 2013 19:18:28 +0000 (14:18 -0500)] 
Set version number to 3.2b1.

11 years agoAdd python 3.4 tag to setup.py
Ben Darnell [Mon, 30 Dec 2013 19:17:57 +0000 (14:17 -0500)] 
Add python 3.4 tag to setup.py

11 years agoReorganize and expand next-release notes.
Ben Darnell [Mon, 30 Dec 2013 18:24:53 +0000 (13:24 -0500)] 
Reorganize and expand next-release notes.

11 years agoFix doc build on travis after removal of 'cd maint'
Ben Darnell [Mon, 30 Dec 2013 17:19:50 +0000 (12:19 -0500)] 
Fix doc build on travis after removal of 'cd maint'

11 years agoRemove 'cd maint' from travis script.
Ben Darnell [Mon, 30 Dec 2013 17:10:55 +0000 (12:10 -0500)] 
Remove 'cd maint' from travis script.

This was needed for 2to3, which we no longer use.  The changed
directory meant that coveralls wasn't seeing our .coveragerc.

11 years agoCorrectly skip coverage collection on 2.6.
Ben Darnell [Mon, 30 Dec 2013 16:58:31 +0000 (11:58 -0500)] 
Correctly skip coverage collection on 2.6.

11 years agoDisable coverage collection on python 2.6.
Ben Darnell [Mon, 30 Dec 2013 16:52:49 +0000 (11:52 -0500)] 
Disable coverage collection on python 2.6.

11 years agoAdd coveralls to travis config.
Ben Darnell [Mon, 30 Dec 2013 16:37:58 +0000 (11:37 -0500)] 
Add coveralls to travis config.

11 years agoDisable --pre flag in tox installs to fix environment recreation.
Ben Darnell [Mon, 30 Dec 2013 16:32:38 +0000 (11:32 -0500)] 
Disable --pre flag in tox installs to fix environment recreation.

Remove an old hack for monotime package.

11 years agoautopep8 whitespace fixes.
Ben Darnell [Mon, 30 Dec 2013 04:56:37 +0000 (23:56 -0500)] 
autopep8 whitespace fixes.

11 years agoUpdate run_autopep8.sh flags.
Ben Darnell [Mon, 30 Dec 2013 04:43:23 +0000 (23:43 -0500)] 
Update run_autopep8.sh flags.

11 years agoUpgrade maint/requirements.txt versions.
Ben Darnell [Mon, 30 Dec 2013 04:33:47 +0000 (23:33 -0500)] 
Upgrade maint/requirements.txt versions.

11 years agoDisallow ipv6 in curl-based tests.
Ben Darnell [Mon, 30 Dec 2013 01:41:17 +0000 (20:41 -0500)] 
Disallow ipv6 in curl-based tests.

The test servers only listen on ipv4, and it appears that libcurl 7.19.34
has regressed in its ability to handle the case when localhost resolves
to both v4 and v6 variants but only one works.

IPv6 was already disabled by default in simple_httpclient tests.

11 years agoUse a more reliable method to generate resolver errors.
Ben Darnell [Mon, 30 Dec 2013 00:45:34 +0000 (19:45 -0500)] 
Use a more reliable method to generate resolver errors.

On some platforms even getaddrinfo is fooled by the fake NXDOMAIN results.

11 years agoFixes for soon-to-be-released py3-compatible version of pycurl.
Ben Darnell [Sun, 29 Dec 2013 19:57:29 +0000 (14:57 -0500)] 
Fixes for soon-to-be-released py3-compatible version of pycurl.

11 years agoMark another timing-sensitive test as skipOnTravis.
Ben Darnell [Sun, 29 Dec 2013 01:11:58 +0000 (20:11 -0500)] 
Mark another timing-sensitive test as skipOnTravis.

11 years agoDisable the "bad_host" tests on CaresResolver
Ben Darnell [Sun, 29 Dec 2013 01:11:20 +0000 (20:11 -0500)] 
Disable the "bad_host" tests on CaresResolver

This is an unfortunate hack, but c-ares doesn't handle fake NXDOMAIN
responses in the same way as other resolvers.