]> git.ipfire.org Git - thirdparty/tornado.git/log
thirdparty/tornado.git
13 years agoDocumentation: Application(debug=True); autoreload limitations. 536/head
Evan Jones [Thu, 14 Jun 2012 19:34:42 +0000 (15:34 -0400)] 
Documentation: Application(debug=True); autoreload limitations.

Application: Document debug=True and cross-link to the overview.
autoreload: Note that this can lose flags and fail if you touch sys.argv.

13 years agoFix load_gettext_translations on python 3
Ben Darnell [Thu, 14 Jun 2012 08:41:04 +0000 (01:41 -0700)] 
Fix load_gettext_translations on python 3

13 years agoBetter ($LANG-independent) fix for csv translation loading on py3.
Ben Darnell [Thu, 14 Jun 2012 08:03:17 +0000 (01:03 -0700)] 
Better ($LANG-independent) fix for csv translation loading on py3.

13 years agoIgnore ImportWarnings in tests.
Ben Darnell [Thu, 14 Jun 2012 07:28:15 +0000 (00:28 -0700)] 
Ignore ImportWarnings in tests.

I can't reproduce this, but apparently in some situations setuptools
throws warnings about unrelated packages, so just turn them all off.

Closes #524

13 years agoGive test_request_timeout another 10ms slack.
Ben Darnell [Thu, 14 Jun 2012 06:09:15 +0000 (23:09 -0700)] 
Give test_request_timeout another 10ms slack.

This has been failing a lot on my freebsd VM.

13 years agoBetter way to force a getaddrinfo error.
Ben Darnell [Thu, 14 Jun 2012 06:08:06 +0000 (23:08 -0700)] 
Better way to force a getaddrinfo error.

This fixes the tests for users behind misbehaving DNS servers.

Closes #534.

13 years agoRun the tests in optimized mode too to ensure that things still work
Ben Darnell [Wed, 13 Jun 2012 17:55:46 +0000 (10:55 -0700)] 
Run the tests in optimized mode too to ensure that things still work
without assertions.

Fix one assert that should have been a runtime error (there are probably
more, but this is the only one currently covered by the test suite).

13 years agoReplace all assert statements in test code.
Ben Darnell [Wed, 13 Jun 2012 17:42:14 +0000 (10:42 -0700)] 
Replace all assert statements in test code.

Use self.assertFoo where TestCase instances are available, otherwise
raise an exception manually.

13 years agoMerge pull request #532 from splav/master
bdarnell [Wed, 13 Jun 2012 04:57:01 +0000 (21:57 -0700)] 
Merge pull request #532 from splav/master

to_unicode fix in locale.load_translations

13 years agoRename AsyncSSLTestCase to AsyncHTTPTestCase.
Ben Darnell [Fri, 8 Jun 2012 19:04:52 +0000 (12:04 -0700)] 
Rename AsyncSSLTestCase to AsyncHTTPTestCase.

Move get_ssl_version to the httpserver_test subclasses.
Add some quick docs.

13 years agoMerge remote-tracking branch 'alekstorm/ssl_test' into merge
Ben Darnell [Fri, 8 Jun 2012 18:50:06 +0000 (11:50 -0700)] 
Merge remote-tracking branch 'alekstorm/ssl_test' into merge

13 years agoMerge remote-tracking branch 'alekstorm/httpclient_stack_context' into merge
Ben Darnell [Fri, 8 Jun 2012 18:42:05 +0000 (11:42 -0700)] 
Merge remote-tracking branch 'alekstorm/httpclient_stack_context' into merge

13 years agoAdd flush method to GzipDecompressor interface and use it.
Ben Darnell [Fri, 8 Jun 2012 18:11:28 +0000 (11:11 -0700)] 
Add flush method to GzipDecompressor interface and use it.

13 years agopython3k to_unicode fix in locale.load_translations 532/head
sergey aleksandrov [Fri, 8 Jun 2012 05:16:21 +0000 (09:16 +0400)] 
python3k to_unicode fix in locale.load_translations

13 years agoAdd testing.AsyncSSLTestCase 531/head
Alek Storm [Fri, 8 Jun 2012 03:23:04 +0000 (23:23 -0400)] 
Add testing.AsyncSSLTestCase

Allow subclasses of AsyncHTTPTestCase to provide their own http client
and server implementations.

13 years agoFactor out gzip decompressor from SimpleAsyncHTTPClient into util.GzipDecompressor 529/head
Alek Storm [Thu, 7 Jun 2012 20:43:57 +0000 (16:43 -0400)] 
Factor out gzip decompressor from SimpleAsyncHTTPClient into util.GzipDecompressor

13 years agoUse https for all links to github.
Ben Darnell [Mon, 4 Jun 2012 00:37:36 +0000 (17:37 -0700)] 
Use https for all links to github.

Github redirects everything to https anyway, so the links might as well
start out secure.

13 years agoUpdate README to match tornadoweb.org
Ben Darnell [Mon, 4 Jun 2012 00:33:30 +0000 (17:33 -0700)] 
Update README to match tornadoweb.org

13 years agoSet alarms on child processes in process_test.
Ben Darnell [Sun, 3 Jun 2012 20:28:44 +0000 (13:28 -0700)] 
Set alarms on child processes in process_test.

These alarms used to be there, but got dropped in a previous change
because I had assumed the child processes would inherit the parent's
alarm.

13 years agoPost-release version bump
Ben Darnell [Sun, 3 Jun 2012 20:26:32 +0000 (13:26 -0700)] 
Post-release version bump

13 years agoTimeouts in SimpleAsyncHTTPClient now raise HTTPError 527/head
Alek Storm [Sun, 3 Jun 2012 19:14:55 +0000 (15:14 -0400)] 
Timeouts in SimpleAsyncHTTPClient now raise HTTPError

Previously, they ran the callbacks themselves.

13 years agoSet version number to 2.3 v2.3.0
Ben Darnell [Fri, 1 Jun 2012 04:39:21 +0000 (21:39 -0700)] 
Set version number to 2.3

13 years agoFinal 2.3 release notes
Ben Darnell [Fri, 1 Jun 2012 04:39:07 +0000 (21:39 -0700)] 
Final 2.3 release notes

13 years agoMerge pull request #521 from yoinc/master
bdarnell [Thu, 31 May 2012 17:46:42 +0000 (10:46 -0700)] 
Merge pull request #521 from yoinc/master

Restore context for all read methods

13 years agoRestore context for all read methods. 521/head
Eden Li [Thu, 31 May 2012 00:32:29 +0000 (17:32 -0700)] 
Restore context for all read methods.

Prior to 2db0aceb32f5c042f5306e72a4679580b4359f34 this was being done
properly, but the refactor removed stack_context.wrap causing some issues
in our upstream context managers.

13 years agoSet version number to 2.3rc1 488/head
Ben Darnell [Mon, 28 May 2012 05:10:03 +0000 (22:10 -0700)] 
Set version number to 2.3rc1

13 years agoQuick hack to make this test pass on cygwin
Ben Darnell [Mon, 28 May 2012 05:09:47 +0000 (22:09 -0700)] 
Quick hack to make this test pass on cygwin

13 years agoFix zope.interface/py25 dependencies for other tox.ini files
Ben Darnell [Mon, 28 May 2012 04:35:27 +0000 (21:35 -0700)] 
Fix zope.interface/py25 dependencies for other tox.ini files

13 years agoDoc updates
Ben Darnell [Mon, 28 May 2012 03:41:48 +0000 (20:41 -0700)] 
Doc updates

13 years agoRelease note updates
Ben Darnell [Mon, 28 May 2012 03:16:42 +0000 (20:16 -0700)] 
Release note updates

13 years agoRemove unused variables
Ben Darnell [Mon, 28 May 2012 03:11:52 +0000 (20:11 -0700)] 
Remove unused variables

13 years agoAdd future import to this new file for consistency
Ben Darnell [Mon, 28 May 2012 03:08:46 +0000 (20:08 -0700)] 
Add future import to this new file for consistency

13 years agoAnother round of minor whitespace cleanups from autopep8
Ben Darnell [Mon, 28 May 2012 03:07:56 +0000 (20:07 -0700)] 
Another round of minor whitespace cleanups from autopep8

13 years agoRemove use of string exceptions in gen_test.
Ben Darnell [Mon, 28 May 2012 01:37:10 +0000 (18:37 -0700)] 
Remove use of string exceptions in gen_test.

These lines are not reached, but if they were they would fail with
a less clear message than intended.

Closes #520.

13 years agoConnection errors can happen here too.
Ben Darnell [Sun, 27 May 2012 22:09:52 +0000 (15:09 -0700)] 
Connection errors can happen here too.

13 years agoIOStreams now save the exception object that caused them to close.
Ben Darnell [Sun, 27 May 2012 22:04:03 +0000 (15:04 -0700)] 
IOStreams now save the exception object that caused them to close.

Closes #494.

13 years agoDelay check for socket.family (and make it jython-friendly).
Ben Darnell [Sat, 26 May 2012 18:35:42 +0000 (11:35 -0700)] 
Delay check for socket.family (and make it jython-friendly).

Now HTTPConnection.address will always be the socket address,
and the fake "0.0.0.0" IP is only used in contexts that want an IP
(i.e. HTTPRequest.remote_ip) but the connection is a non-IP socket.

13 years agoMerge pull request #514 from ahassany/fix-connectin-check
bdarnell [Sat, 26 May 2012 18:22:52 +0000 (11:22 -0700)] 
Merge pull request #514 from ahassany/fix-connectin-check

Better connection check in RequestHandler

13 years agoExtract constant, add comments
Ben Darnell [Sat, 26 May 2012 18:05:16 +0000 (11:05 -0700)] 
Extract constant, add comments

13 years agoMerge remote-tracking branch 'ei-grad/master'
Ben Darnell [Sat, 26 May 2012 17:56:17 +0000 (10:56 -0700)] 
Merge remote-tracking branch 'ei-grad/master'

13 years agoOverride dict.copy in HTTPHeaders to return the correct type.
Ben Darnell [Sat, 26 May 2012 17:54:34 +0000 (10:54 -0700)] 
Override dict.copy in HTTPHeaders to return the correct type.

Closes #519.

13 years agoSplit large chunks of data in IOStream.write. 516/head
Andrew Grigorev [Thu, 24 May 2012 12:53:51 +0000 (16:53 +0400)] 
Split large chunks of data in IOStream.write.

Closes #515.

13 years agoBetter connection check in RequestHandler 514/head
Ahmed El-Hassany [Thu, 24 May 2012 17:23:34 +0000 (13:23 -0400)] 
Better connection check in RequestHandler

13 years agoIgnore any data after the final multipart boundary.
Ben Darnell [Mon, 21 May 2012 06:03:53 +0000 (23:03 -0700)] 
Ignore any data after the final multipart boundary.

Closes #489.

13 years agoPrevent leak of StackContexts in repeated gen.engine functions.
Ben Darnell [Mon, 21 May 2012 05:08:59 +0000 (22:08 -0700)] 
Prevent leak of StackContexts in repeated gen.engine functions.

Internally, StackContexts now return a deactivation callback,
which can be used to prevent that StackContext from propagating
further.  This is used in gen.engine because the decorator doesn't know
which arguments are callbacks that need to be wrapped outside of its
ExceptionStackContext.  This is deliberately undocumented for now.

Closes #507.

13 years agoRelease note updates
Ben Darnell [Mon, 21 May 2012 00:06:03 +0000 (17:06 -0700)] 
Release note updates

13 years agoFix docstring formatting
Ben Darnell [Sun, 20 May 2012 23:57:36 +0000 (16:57 -0700)] 
Fix docstring formatting

13 years agoMerge remote-tracking branch 'jjwchoy/master'
Ben Darnell [Sun, 20 May 2012 23:54:16 +0000 (16:54 -0700)] 
Merge remote-tracking branch 'jjwchoy/master'

Modified linkify to accept a callable for extra_params.

Closes #506.

13 years ago304 responses no longer include entity headers like Content-Length
Ben Darnell [Sun, 20 May 2012 23:51:02 +0000 (16:51 -0700)] 
304 responses no longer include entity headers like Content-Length

This is required by the RFC as it may confuse caches.

13 years agoAdd status_code to the OutputTransform.transform_first_chunk interface.
Ben Darnell [Sun, 20 May 2012 23:27:28 +0000 (16:27 -0700)] 
Add status_code to the OutputTransform.transform_first_chunk interface.

This is needed for correct support of the 304 status code, which
has no body and should not have either a Content-Length or
Transfer-Encoding.  This is a backwards-incompatible change to an
interface that was never technically private, but not included in the
documentation and as far as I can tell was never used outside
tornado itself.

13 years agoFight bitrot in tornado.platform.twisted.
Ben Darnell [Sat, 19 May 2012 21:22:03 +0000 (14:22 -0700)] 
Fight bitrot in tornado.platform.twisted.

A new release of zope.interface breaks things on python 2.5, and
sets off our (overly-sensitive?) deprecation checking.

13 years agoIgnore .class files (create by jython)
Ben Darnell [Sat, 12 May 2012 05:14:08 +0000 (22:14 -0700)] 
Ignore .class files (create by jython)

13 years agoMove tornado.platform.windows.Waker to new module platform.common.
Ben Darnell [Sat, 12 May 2012 04:48:21 +0000 (21:48 -0700)] 
Move tornado.platform.windows.Waker to new module platform.common.

Cleaned up the few windows-specific bits of code.  The socket-based
Waker is also usable on Jython.

13 years agoReplace all occurrences of 3-argument raise statements with the
Ben Darnell [Fri, 11 May 2012 06:26:34 +0000 (23:26 -0700)] 
Replace all occurrences of 3-argument raise statements with the
version from testing.py, which works better with 2to3.

Closes #508

13 years agoFix path parsing in HTTPServer.
Ben Darnell [Thu, 10 May 2012 04:57:44 +0000 (21:57 -0700)] 
Fix path parsing in HTTPServer.

urlparse.urlsplit expects a full url, but we were using it for a bare path.
This mostly worked but would parse paths beginning with "//" incorrectly.
Fortunately all we really need to do is split the path on "?".

Closes #509.

13 years agoTest strip and add space still works when extra_params is a callable 506/head
Jason Choy [Tue, 8 May 2012 09:24:46 +0000 (10:24 +0100)] 
Test strip and add space still works when extra_params is a callable

13 years agoAdded a test case for extra_params as a callable
Jason Choy [Tue, 8 May 2012 09:15:24 +0000 (10:15 +0100)] 
Added a test case for extra_params as a callable

13 years agoFix handling of non-ascii data in reverse_url.
Ben Darnell [Mon, 7 May 2012 07:18:55 +0000 (00:18 -0700)] 
Fix handling of non-ascii data in reverse_url.

Closes #490.

13 years agoUpdate next release notes
Ben Darnell [Mon, 7 May 2012 05:59:56 +0000 (22:59 -0700)] 
Update next release notes

13 years agoRefactor tornado.options to make it testable.
Ben Darnell [Mon, 7 May 2012 05:46:53 +0000 (22:46 -0700)] 
Refactor tornado.options to make it testable.

Now most code is in methods of the _Options class, and it is possible
to create isolated instances of that class.  The test is pretty
rudimentary, but it's a start.

13 years agoMerge pull request #498 from mckoss/feature/set-option
bdarnell [Mon, 7 May 2012 04:43:25 +0000 (21:43 -0700)] 
Merge pull request #498 from mckoss/feature/set-option

fix bug setting options programatically

13 years agoMerge pull request #484 from vadimg/master
bdarnell [Mon, 7 May 2012 04:36:39 +0000 (21:36 -0700)] 
Merge pull request #484 from vadimg/master

make commandline args override config file args when multiple=True

13 years agoMerge remote-tracking branch 'mckoss/feature/pretty-help' into merge
Ben Darnell [Mon, 7 May 2012 04:10:05 +0000 (21:10 -0700)] 
Merge remote-tracking branch 'mckoss/feature/pretty-help' into merge

13 years agoFix test on python 3
Ben Darnell [Mon, 7 May 2012 01:39:57 +0000 (18:39 -0700)] 
Fix test on python 3

13 years agoMerge remote-tracking branch 'screeley/master'
Ben Darnell [Mon, 7 May 2012 01:30:16 +0000 (18:30 -0700)] 
Merge remote-tracking branch 'screeley/master'

Conflicts:
tornado/simple_httpclient.py

13 years agoFix bug when max_clients kwarg is passed to AsyncHTTPClient.configure.
Ben Darnell [Mon, 7 May 2012 01:10:13 +0000 (18:10 -0700)] 
Fix bug when max_clients kwarg is passed to AsyncHTTPClient.configure.

Closes #493.

13 years agoMake autoreload a little more robust against weird import failures
Ben Darnell [Mon, 7 May 2012 01:09:51 +0000 (18:09 -0700)] 
Make autoreload a little more robust against weird import failures

13 years agoMerge pull request #497 from polymorphm/master
bdarnell [Mon, 7 May 2012 00:41:29 +0000 (17:41 -0700)] 
Merge pull request #497 from polymorphm/master

tornado.ioloop.IOLoop.instance() should be threadsafe

13 years agoDocument and test for type differences between get_cookie and get_secure_cookie.
Ben Darnell [Mon, 7 May 2012 00:29:02 +0000 (17:29 -0700)] 
Document and test for type differences between get_cookie and get_secure_cookie.

Closes #501.

13 years agoExpand path encoding test to cover issues raised by pull request 505
Ben Darnell [Sun, 6 May 2012 23:46:28 +0000 (16:46 -0700)] 
Expand path encoding test to cover issues raised by pull request 505
(unicode in URLSpecs).

13 years agoMerge pull request #503 from jparise/http-patch-method
bdarnell [Sun, 6 May 2012 22:20:46 +0000 (15:20 -0700)] 
Merge pull request #503 from jparise/http-patch-method

Add support for the HTTP PATCH method.

13 years agoFix setting cookies under WSGI, broken by the rename from _new_cookies to _new_cookie...
Casey Muller [Sun, 6 May 2012 18:18:29 +0000 (11:18 -0700)] 
Fix setting cookies under WSGI, broken by the rename from _new_cookies to _new_cookie in https://github.com/facebook/tornado/commit/70ea7a5a6ca956b613168c9d123ee7cc951054bf

13 years agoModified linkify to accept a callable for extra_params. This allows different params...
Jason Choy [Sun, 6 May 2012 12:22:40 +0000 (13:22 +0100)] 
Modified linkify to accept a callable for extra_params. This allows different params based for each link, for example to treat internal and external links differently

13 years agoAdd support for the HTTP PATCH method. 503/head
Jon Parise [Wed, 2 May 2012 20:41:10 +0000 (13:41 -0700)] 
Add support for the HTTP PATCH method.

PATCH is a proposed standard described by RFC 5789:

    http://tools.ietf.org/html/rfc5789

13 years agoUbuntu 12.04 is out, so add a vagrant config for it.
Ben Darnell [Sat, 28 Apr 2012 03:50:01 +0000 (20:50 -0700)] 
Ubuntu 12.04 is out, so add a vagrant config for it.

Replace the 11.04 config, but keep 10.04 to cover the two LTS releases.

13 years agofix bug when no help text given for option - wrap returns empty list 487/head
Mike Koss [Fri, 27 Apr 2012 11:16:28 +0000 (04:16 -0700)] 
fix bug when no help text given for option - wrap returns empty list

13 years agofix bug setting options programatically 498/head
Mike Koss [Thu, 26 Apr 2012 00:34:26 +0000 (17:34 -0700)] 
fix bug setting options programatically

13 years agoRemove python 3 colored logging fix from next release notes since it
Ben Darnell [Tue, 24 Apr 2012 05:41:11 +0000 (22:41 -0700)] 
Remove python 3 colored logging fix from next release notes since it
went out in 2.2.1.

13 years agoMerge branch 'branch2.2'
Ben Darnell [Tue, 24 Apr 2012 05:34:42 +0000 (22:34 -0700)] 
Merge branch 'branch2.2'

Conflicts:
setup.py
tornado/__init__.py
tornado/test/web_test.py
tox.ini
website/sphinx/releases.rst

13 years agoAdd .travis.yml file to branch2.2 just to make everything green.
Ben Darnell [Tue, 24 Apr 2012 05:25:16 +0000 (22:25 -0700)] 
Add .travis.yml file to branch2.2 just to make everything green.

13 years agoCherry-pick cc8e893 into branch2.2
Ben Darnell [Mon, 30 Jan 2012 19:10:17 +0000 (11:10 -0800)] 
Cherry-pick cc8e893 into branch2.2

Original commit message:

Revert "Run the website in python2.7 mode"

Can't use python2.7 mode without migrating to the "high-replication
datastore", and even though we don't have any data "migration" is a
pain.

This reverts commit e960e9bc9d48906ed37b65ad6eb774ab33637170.

13 years agoVersion number bump for 2.2.1 v2.2.1
Ben Darnell [Tue, 24 Apr 2012 05:04:06 +0000 (22:04 -0700)] 
Version number bump for 2.2.1

13 years agoRelease notes for 2.2.1
Ben Darnell [Tue, 24 Apr 2012 05:03:17 +0000 (22:03 -0700)] 
Release notes for 2.2.1

13 years agoFix reponse header sanitization.
Ben Darnell [Tue, 24 Apr 2012 04:55:05 +0000 (21:55 -0700)] 
Fix reponse header sanitization.

13 years agoCherry-pick b151a1ee967 into branch2.2.
Ben Darnell [Tue, 31 Jan 2012 08:34:12 +0000 (00:34 -0800)] 
Cherry-pick b151a1ee967 into branch2.2.

Original commit message:

Add a version check for the curses unicode hack so it won't break when
python 3.2.3 or 3.3 are released.

Closes #450.

13 years agoPin twisted versions in the 2.2 branch to 11.1.0 since that release doesn't
Ben Darnell [Tue, 24 Apr 2012 04:35:15 +0000 (21:35 -0700)] 
Pin twisted versions in the 2.2 branch to 11.1.0 since that release doesn't
pass its tests with newer versions.

13 years agoUpdate vagrant configs for vagrant 1.0
Ben Darnell [Mon, 23 Apr 2012 08:12:09 +0000 (01:12 -0700)] 
Update vagrant configs for vagrant 1.0

13 years agodouble-checked-locking in tornado.ioloop.IOLoop.instance() 497/head
Andrej A Antonov [Fri, 20 Apr 2012 21:34:00 +0000 (01:34 +0400)] 
double-checked-locking in tornado.ioloop.IOLoop.instance()

13 years agoDisable python 2.6 on travis-ci, since I don't have enough visibility
Ben Darnell [Thu, 19 Apr 2012 05:56:14 +0000 (22:56 -0700)] 
Disable python 2.6 on travis-ci, since I don't have enough visibility
to dig into the SSL segfault.

13 years agoIncrease verbosity for tests on travis-ci to track down a segfault on 2.6
Ben Darnell [Thu, 19 Apr 2012 05:42:34 +0000 (22:42 -0700)] 
Increase verbosity for tests on travis-ci to track down a segfault on 2.6

13 years agoThe RequestHandler.flush callback should be run even if there is no data.
Ben Darnell [Thu, 19 Apr 2012 05:22:06 +0000 (22:22 -0700)] 
The RequestHandler.flush callback should be run even if there is no data.

Also IOStream._try_inline_read needs the same fake-callback change
as _handle_read (I can't seem to come up with a good isolated test for this,
but it's tickled by the empty-flush test).

Closes #492.

13 years agoMerge pull request #495 from alekstorm/template_try_else
bdarnell [Thu, 19 Apr 2012 04:31:39 +0000 (21:31 -0700)] 
Merge pull request #495 from alekstorm/template_try_else

Add `else` as possible sub-clause in `try` blocks in templates.

13 years agoOpen template files in binary mode (to be decoded as utf8 later)
Ben Darnell [Thu, 19 Apr 2012 00:45:09 +0000 (17:45 -0700)] 
Open template files in binary mode (to be decoded as utf8 later)

Text mode in python 3 uses an environment-dependent encoding, so
add a test and run it in both C and utf-8 locales.

13 years agoTweak a timing-sensitive test to have fewer false failures.
Ben Darnell [Thu, 19 Apr 2012 01:32:59 +0000 (18:32 -0700)] 
Tweak a timing-sensitive test to have fewer false failures.

13 years agoAdd `else` as possible sub-clause in `try` blocks in templates. 495/head
Alek Storm [Tue, 17 Apr 2012 18:55:05 +0000 (14:55 -0400)] 
Add `else` as possible sub-clause in `try` blocks in templates.

Add test case.

13 years agopretty up --help formatting 461/head
Mike Koss [Mon, 13 Feb 2012 22:17:11 +0000 (14:17 -0800)] 
pretty up --help formatting

13 years agoMake tornado.database importable when MySQLdb is not available.
Ben Darnell [Sun, 1 Apr 2012 21:41:47 +0000 (14:41 -0700)] 
Make tornado.database importable when MySQLdb is not available.

This fixes the docs build on readthedocs.org.

Closes #485.

13 years agofix handling of multiple commandline args 484/head
Vadim Graboys [Tue, 27 Mar 2012 19:17:48 +0000 (15:17 -0400)] 
fix handling of multiple commandline args

make commandline args override config file args when multiple=True
instead of appending to config file args

13 years agoRelease note updates
Ben Darnell [Mon, 26 Mar 2012 00:22:33 +0000 (17:22 -0700)] 
Release note updates

13 years agoIncrease performance of IOStream.read_until and read_until_regex.
Ben Darnell [Mon, 26 Mar 2012 00:12:00 +0000 (17:12 -0700)] 
Increase performance of IOStream.read_until and read_until_regex.

_handle_read and _try_inline_read now only call _read_from_buffer
once, after calling _read_to_buffer as many times as they can.  This
allows the progressive _double_prefix calls in _read_from_buffer to
work as efficiently as possible.

In testing with a 4MB read, performance improved by a factor of 32 (8
seconds to 0.25 seconds)