]> git.ipfire.org Git - thirdparty/tornado.git/log
thirdparty/tornado.git
10 years agoswap platform.system() for sys.platform; #1263 1264/head
Nick Bargnesi [Fri, 5 Dec 2014 06:37:45 +0000 (01:37 -0500)] 
swap platform.system() for sys.platform; #1263

10 years agoMerge pull request #1260 from lilydjwg/no-handler-redirect
Ben Darnell [Sun, 30 Nov 2014 17:34:56 +0000 (12:34 -0500)] 
Merge pull request #1260 from lilydjwg/no-handler-redirect

use the same protocol when redirecting to default host

10 years agouse the same protocol when redirecting to default host 1260/head
依云 [Tue, 25 Nov 2014 13:45:45 +0000 (21:45 +0800)] 
use the same protocol when redirecting to default host

10 years agoAlso fix flow control for the select IOLoop.
Ben Darnell [Sun, 16 Nov 2014 00:15:12 +0000 (19:15 -0500)] 
Also fix flow control for the select IOLoop.

10 years agoFix IOStream flow control under kqueue.
Ben Darnell [Sun, 16 Nov 2014 00:08:21 +0000 (19:08 -0500)] 
Fix IOStream flow control under kqueue.

An early attempt to detect closed connections in kqueue led
us to always read from the socket when data was available,
defeating any higher-level flow control.

Add a test to verify this behavior.

10 years agoFix typo in docs.
Ben Darnell [Tue, 11 Nov 2014 04:13:40 +0000 (23:13 -0500)] 
Fix typo in docs.

Closes #1247.

10 years agoMerge pull request #1246 from heewa/cleanup_subprocess_in_tests
Ben Darnell [Sun, 9 Nov 2014 15:59:30 +0000 (10:59 -0500)] 
Merge pull request #1246 from heewa/cleanup_subprocess_in_tests

Cleanup Subprocess when tearing down AsyncTestCase

10 years agoCleanup Subprocess when tearing down AsyncTestCase 1246/head
Heewa Barfchin [Sat, 8 Nov 2014 19:40:51 +0000 (14:40 -0500)] 
Cleanup Subprocess when tearing down AsyncTestCase

Since an ioloop is created and destroyed between a test's `setUp` and
`tearDown`, and Subprocess holds on to an ioloop until `uninitialize`,
this allows the next test case to use Subprocess correctly.

10 years agoAdd *args, **kw to WebSocketHandler.open.
Ben Darnell [Sat, 8 Nov 2014 18:01:01 +0000 (13:01 -0500)] 
Add *args, **kw to WebSocketHandler.open.

This matches the default implementations of get/post/put/etc.

Closes #1242

10 years agoMerge pull request #1241 from heewa/find_option_definer
Ben Darnell [Wed, 5 Nov 2014 14:36:28 +0000 (09:36 -0500)] 
Merge pull request #1241 from heewa/find_option_definer

Find real option definer.

10 years agoFind real option definer. 1241/head
Heewa Barfchin [Mon, 3 Nov 2014 00:38:36 +0000 (19:38 -0500)] 
Find real option definer.

When an option is defined through the module level "define" fn, not
directly through the class method, we should look one frame up to
find the real caller.

10 years agoFix compatibility with just-released unittest2 0.6.
Ben Darnell [Tue, 28 Oct 2014 13:16:28 +0000 (09:16 -0400)] 
Fix compatibility with just-released unittest2 0.6.

This release added some PendingDeprecationWarnings that were
not there previously (and were DeprecationWarnings instead
in newer pythons)

10 years agoRemove example of the legacy HTTPServer callback interface.
Ben Darnell [Mon, 27 Oct 2014 02:15:31 +0000 (22:15 -0400)] 
Remove example of the legacy HTTPServer callback interface.

Even before the HTTPServerConnectionDelegate interface replaced it,
direct use of this callback interface should have been rare.

This untested example was incorrect when first written and
once fixed only worked on python 2.

10 years agoMerge pull request #1231 from daftshady/master
Ben Darnell [Mon, 27 Oct 2014 00:52:16 +0000 (20:52 -0400)] 
Merge pull request #1231 from daftshady/master

fixed error message in iostream

10 years agofixed error message in iostream 1231/head
daftshady [Sun, 26 Oct 2014 12:06:59 +0000 (21:06 +0900)] 
fixed error message in iostream

10 years agoChange connection-refused test from localhost to 127.0.0.1.
Ben Darnell [Sat, 18 Oct 2014 16:08:03 +0000 (12:08 -0400)] 
Change connection-refused test from localhost to 127.0.0.1.

This might be contributing to occasional timeouts on travis-ci
(on the theory that some other test may be listening on the
same port on ::1).

Also explicitly stop the test if connect_callback is called.

10 years agoMerge pull request #1222 from glaslos/patch-1
Ben Darnell [Tue, 14 Oct 2014 02:13:31 +0000 (22:13 -0400)] 
Merge pull request #1222 from glaslos/patch-1

Fixed example in doc string

10 years agoFixed example in doc string 1222/head
Lukas Rist [Mon, 13 Oct 2014 12:06:02 +0000 (14:06 +0200)] 
Fixed example in doc string

We have to pass a HTTPHeaders object to write_headers()

10 years agoAdd another ignore_bytes_warning call to log_test.
Ben Darnell [Sun, 12 Oct 2014 02:59:15 +0000 (22:59 -0400)] 
Add another ignore_bytes_warning call to log_test.

This fixes a failure apparently introduced by changes to warning
logic in python 3.4.2.

10 years agoHandle closed connections in WebSocketHandler.
Ben Darnell [Sun, 12 Oct 2014 02:13:15 +0000 (22:13 -0400)] 
Handle closed connections in WebSocketHandler.

Closes #1174.

10 years agoCatch StreamClosedError in StaticFileHandler.
Ben Darnell [Sun, 12 Oct 2014 02:05:31 +0000 (22:05 -0400)] 
Catch StreamClosedError in StaticFileHandler.

Closes #1208.

10 years agoDocument that the blog demo is py2-only.
Ben Darnell [Sun, 12 Oct 2014 00:07:54 +0000 (20:07 -0400)] 
Document that the blog demo is py2-only.

10 years agoDisable pycares tests on travis due to ipv6 issues.
Ben Darnell [Sat, 11 Oct 2014 16:01:24 +0000 (12:01 -0400)] 
Disable pycares tests on travis due to ipv6 issues.

10 years agoFix byte strings as header values in curl_httpclient and python3.
Ben Darnell [Sat, 11 Oct 2014 15:25:36 +0000 (11:25 -0400)] 
Fix byte strings as header values in curl_httpclient and python3.

Add the -bb flag to all py3 tests, which uncovered this bug.

10 years agoStreamline tox configuration using new features in tox 1.8.
Ben Darnell [Sat, 11 Oct 2014 14:39:39 +0000 (10:39 -0400)] 
Streamline tox configuration using new features in tox 1.8.

10 years agoUpdate dependency versions in maint/requirements.txt
Ben Darnell [Sun, 5 Oct 2014 19:52:58 +0000 (15:52 -0400)] 
Update dependency versions in maint/requirements.txt

10 years agoMerge pull request #1217 from noxiouz/http_server_doc__fix
Ben Darnell [Fri, 10 Oct 2014 14:40:03 +0000 (10:40 -0400)] 
Merge pull request #1217 from noxiouz/http_server_doc__fix

Fix an example in docstring of HTTPServer

10 years agoFix an example in docstring of HTTPServer 1217/head
Anton Tiurin [Fri, 10 Oct 2014 10:10:08 +0000 (14:10 +0400)] 
Fix an example in docstring of HTTPServer

10 years agoAdd a test for removing an IOLoop handler from another handler.
Ben Darnell [Sun, 5 Oct 2014 19:43:05 +0000 (15:43 -0400)] 
Add a test for removing an IOLoop handler from another handler.

Related to #1214.

10 years agoClarify error messages about http request bodies.
Ben Darnell [Sun, 5 Oct 2014 19:17:27 +0000 (15:17 -0400)] 
Clarify error messages about http request bodies.

Change AssertionError to ValueError and s/empty/None.

Closes #1213.

10 years agoDocument the ability to pass lists of kv pairs to url-concat.
Ben Darnell [Sun, 5 Oct 2014 19:01:11 +0000 (15:01 -0400)] 
Document the ability to pass lists of kv pairs to url-concat.

Closes #1216.

10 years agoMerge pull request #1215 from mayhewj/master
Ben Darnell [Sat, 4 Oct 2014 16:29:12 +0000 (12:29 -0400)] 
Merge pull request #1215 from mayhewj/master

Fix typo

10 years agoFix typo 1215/head
Justin Mayhew [Sat, 4 Oct 2014 02:39:00 +0000 (23:39 -0300)] 
Fix typo

10 years agoMerge pull request #1207 from leekchan/locale_test
Ben Darnell [Fri, 26 Sep 2014 01:27:49 +0000 (21:27 -0400)] 
Merge pull request #1207 from leekchan/locale_test

Add some unit tests for tornado.locale

10 years agoMerge pull request #1206 from leekchan/test_web_redirect
Ben Darnell [Fri, 26 Sep 2014 01:25:46 +0000 (21:25 -0400)] 
Merge pull request #1206 from leekchan/test_web_redirect

Add a unit test for tornado.web.RedirectHandler

10 years agoAdd a unit test for locale.format_day 1207/head
Lee Kyoung chan [Wed, 24 Sep 2014 12:37:37 +0000 (21:37 +0900)] 
Add a unit test for locale.format_day

10 years agoAdd a unit test for locale.list
Lee Kyoung chan [Tue, 23 Sep 2014 11:44:49 +0000 (20:44 +0900)] 
Add a unit test for locale.list

10 years agoAdd a unit test for locale.friendly_number
Lee Kyoung chan [Tue, 23 Sep 2014 10:35:13 +0000 (19:35 +0900)] 
Add a unit test for locale.friendly_number

10 years agoImprove test_format_date
Lee Kyoung chan [Tue, 23 Sep 2014 10:13:22 +0000 (19:13 +0900)] 
Improve test_format_date

10 years agoAdd a unit test for tornado.web.RedirectHandler 1206/head
Lee Kyoung chan [Tue, 23 Sep 2014 08:46:24 +0000 (17:46 +0900)] 
Add a unit test for tornado.web.RedirectHandler

10 years agocurl_httpclient: run streaming and header callbacks on the IOLoop.
Ben Darnell [Sun, 21 Sep 2014 16:25:11 +0000 (12:25 -0400)] 
curl_httpclient: run streaming and header callbacks on the IOLoop.

This ensures a more consistent execution environment and allows
a streaming or header callback to invoke other CurlAsyncHTTPClient
methods.

This change also fills in HTTPResponse.headers even when a header_callback
is used, similar to simple_httpclient's behavior.

Closes #1188.

10 years agoMove static functions in curl_httpclient to methods of CurlAsyncHTTPClient.
Ben Darnell [Sun, 21 Sep 2014 16:18:16 +0000 (12:18 -0400)] 
Move static functions in curl_httpclient to methods of CurlAsyncHTTPClient.

No functional changes in this commit, just code movement.

10 years agoDocument Tornado's incompatibility with asyncio.ProactorEventLoop.
Ben Darnell [Sun, 21 Sep 2014 16:06:00 +0000 (12:06 -0400)] 
Document Tornado's incompatibility with asyncio.ProactorEventLoop.

Closes #1201.

10 years agoMerge pull request #1197 from Parkayun/master
Ben Darnell [Thu, 18 Sep 2014 02:04:29 +0000 (22:04 -0400)] 
Merge pull request #1197 from Parkayun/master

Remove unused module in tornado.platform.asyncio

10 years agoMerge pull request #1194 from leekchan/test_if_modified_since
Ben Darnell [Tue, 16 Sep 2014 12:37:55 +0000 (08:37 -0400)] 
Merge pull request #1194 from leekchan/test_if_modified_since

Add a test for if_modified_since parameter of httpclient.HTTPRequest

10 years agoAdd a test for if_modified_since parameter of httpclient.HTTPRequest 1194/head
Lee Kyoung chan [Tue, 16 Sep 2014 07:48:34 +0000 (16:48 +0900)] 
Add a test for if_modified_since parameter of httpclient.HTTPRequest

10 years agoRemove unused module in tornado.platform.asyncio 1197/head
Parkayun [Tue, 16 Sep 2014 06:43:06 +0000 (15:43 +0900)] 
Remove unused module in tornado.platform.asyncio

10 years agoMerge remote-tracking branch 'leekchan/set_cookie_expires_days'
Ben Darnell [Tue, 16 Sep 2014 02:26:48 +0000 (22:26 -0400)] 
Merge remote-tracking branch 'leekchan/set_cookie_expires_days'

Conflicts:
tornado/test/web_test.py

10 years agoFixed test_set_cookie_expires_days 1187/head
Lee Kyoung chan [Tue, 16 Sep 2014 02:08:07 +0000 (11:08 +0900)] 
Fixed test_set_cookie_expires_days

10 years agoMerge pull request #1189 from Parkayun/master
Ben Darnell [Mon, 15 Sep 2014 23:38:20 +0000 (19:38 -0400)] 
Merge pull request #1189 from Parkayun/master

Add few tests and remove unused module.

10 years agoremove unused module in test 1189/head
Parkayun [Mon, 15 Sep 2014 10:10:37 +0000 (19:10 +0900)] 
remove unused module in test

10 years agoAdd test for httputil.parse_requset_start_line
Parkayun [Mon, 15 Sep 2014 09:54:48 +0000 (18:54 +0900)] 
Add test for httputil.parse_requset_start_line

10 years agoadd test for util.timedelta_to_seconds
Parkayun [Mon, 15 Sep 2014 06:55:35 +0000 (15:55 +0900)] 
add test for util.timedelta_to_seconds

10 years agoUpdate example for HTTPClient exception handling.
Ben Darnell [Mon, 15 Sep 2014 03:55:59 +0000 (23:55 -0400)] 
Update example for HTTPClient exception handling.

Eliminate the implication that HTTPError is the only
error that can be raised.  See #1168.

10 years agoHandle multiple exceptions in AsyncTestCase.
Ben Darnell [Mon, 15 Sep 2014 03:02:32 +0000 (23:02 -0400)] 
Handle multiple exceptions in AsyncTestCase.

Previously we would silently swallow all but the last; now we
raise the first and log all the rest.

Closes #1177.

10 years agoMerge pull request #1175 from virtuald/coroutine-warning
Ben Darnell [Mon, 15 Sep 2014 03:11:24 +0000 (23:11 -0400)] 
Merge pull request #1175 from virtuald/coroutine-warning

Add documentation warning about exceptions in coroutines

10 years agoMerge commit 'f40d39b'
Ben Darnell [Mon, 15 Sep 2014 02:39:03 +0000 (22:39 -0400)] 
Merge commit 'f40d39b'

10 years agoCapture stack context in gen.engine's wrapper function.
Ben Darnell [Mon, 15 Sep 2014 02:38:14 +0000 (22:38 -0400)] 
Capture stack context in gen.engine's wrapper function.

This was an error that went unnoticed in earlier versions
because Futures passed through exceptions in their callbacks.

10 years agoMerge branch 'branch4.0'
Ben Darnell [Mon, 15 Sep 2014 02:02:27 +0000 (22:02 -0400)] 
Merge branch 'branch4.0'

Conflicts:
docs/releases.rst
setup.py
tornado/__init__.py

10 years agoMerge pull request #1185 from leekchan/master
Ben Darnell [Sun, 14 Sep 2014 13:40:26 +0000 (09:40 -0400)] 
Merge pull request #1185 from leekchan/master

Added unit tests for tornado.web.removeslash and tornado.web.addslash

10 years agoAdded a unit test for setting a cookie with expires_days 1186/head
Lee Kyoung chan [Sun, 14 Sep 2014 13:22:24 +0000 (22:22 +0900)] 
Added a unit test for setting a cookie with expires_days

10 years agoFixed some typos 1185/head
Lee Kyoung chan [Sun, 14 Sep 2014 09:47:10 +0000 (18:47 +0900)] 
Fixed some typos

10 years agoAdded unit tests for tornado.web.removeslash and tornado.web.addslash
Lee Kyoung chan [Sun, 14 Sep 2014 04:01:49 +0000 (13:01 +0900)] 
Added unit tests for tornado.web.removeslash and tornado.web.addslash

10 years agoMerge pull request #1179 from leekchan/master
Ben Darnell [Sat, 13 Sep 2014 21:44:55 +0000 (17:44 -0400)] 
Merge pull request #1179 from leekchan/master

Added a unit test for setting a cookie with max_age

10 years agoMerge pull request #1182 from Parkayun/master
Ben Darnell [Fri, 12 Sep 2014 13:20:54 +0000 (09:20 -0400)] 
Merge pull request #1182 from Parkayun/master

Add test for tornado.escape.recursive_unicode

10 years agoAdd callback error handling to Future 1183/head
Neilen Marais [Fri, 12 Sep 2014 11:38:48 +0000 (13:38 +0200)] 
Add callback error handling to Future

Catches and logs to the application log exceptions raised by each callback. This
more or less mirrors what concurrent.futures.Future does.

10 years agoAdd test for tornado.escape.recursive_unicode 1182/head
Parkayun [Fri, 12 Sep 2014 07:24:02 +0000 (16:24 +0900)] 
Add test for tornado.escape.recursive_unicode

10 years agoAdded a unit test for setting a cookie with max_age 1179/head
Lee Kyoung chan [Thu, 11 Sep 2014 13:16:44 +0000 (22:16 +0900)] 
Added a unit test for setting a cookie with max_age

10 years agoMerge pull request #1178 from leekchan/master
Ben Darnell [Thu, 11 Sep 2014 12:51:32 +0000 (08:51 -0400)] 
Merge pull request #1178 from leekchan/master

Fixed some typos

10 years agoAdded a unit test for tornado.escape.squeeze 1178/head
Lee Kyoung chan [Thu, 11 Sep 2014 11:49:05 +0000 (20:49 +0900)] 
Added a unit test for tornado.escape.squeeze

10 years agoFixed some typos
Lee Kyoung chan [Thu, 11 Sep 2014 05:37:43 +0000 (14:37 +0900)] 
Fixed some typos

10 years agoSet version number to 4.0.2 v4.0.2
Ben Darnell [Thu, 11 Sep 2014 03:47:51 +0000 (23:47 -0400)] 
Set version number to 4.0.2

10 years agoAdd documentation warning about exceptions in coroutines 1175/head
Dustin Spicuzza [Fri, 5 Sep 2014 15:57:15 +0000 (11:57 -0400)] 
Add documentation warning about exceptions in coroutines

10 years agoAdd release notes for 4.0.2.
Ben Darnell [Mon, 1 Sep 2014 15:12:27 +0000 (11:12 -0400)] 
Add release notes for 4.0.2.

10 years agoFix an erroneous return of None in IOStream.connect.
Ben Darnell [Mon, 1 Sep 2014 03:33:28 +0000 (23:33 -0400)] 
Fix an erroneous return of None in IOStream.connect.

This causes AttributeErrors in TCPClient, although I can only
reproduce this case reliably on freebsd.

Closes #1168.

10 years agoLimit the number of connections we will accept per call to accept_handler.
Ben Darnell [Sun, 31 Aug 2014 02:52:54 +0000 (22:52 -0400)] 
Limit the number of connections we will accept per call to accept_handler.

This ensures that other callbacks scheduled on the IOLoop have a chance
to run.  This shows up as increased memory usage in benchmark scenarios
(since 4.0 allowed simple http transactions to be processed synchronously).

10 years agoFix a subtle reference cycle that can lead to increased memory consumption.
Ben Darnell [Sat, 30 Aug 2014 19:27:31 +0000 (15:27 -0400)] 
Fix a subtle reference cycle that can lead to increased memory consumption.

Closes #1165.

10 years agoAdd missing argument max_buffer_size to TCPClient.connect in SimpleAsyncHTTPClient
Eddie Mishelevich [Tue, 26 Aug 2014 14:04:06 +0000 (17:04 +0300)] 
Add missing argument max_buffer_size to TCPClient.connect in SimpleAsyncHTTPClient

10 years agoFix an erroneous return of None in IOStream.connect.
Ben Darnell [Mon, 1 Sep 2014 03:33:28 +0000 (23:33 -0400)] 
Fix an erroneous return of None in IOStream.connect.

This causes AttributeErrors in TCPClient, although I can only
reproduce this case reliably on freebsd.

Closes #1168.

10 years agoModernize freebsd vagrant config.
Ben Darnell [Mon, 1 Sep 2014 03:32:41 +0000 (23:32 -0400)] 
Modernize freebsd vagrant config.

10 years agoLimit the number of connections we will accept per call to accept_handler.
Ben Darnell [Sun, 31 Aug 2014 02:52:54 +0000 (22:52 -0400)] 
Limit the number of connections we will accept per call to accept_handler.

This ensures that other callbacks scheduled on the IOLoop have a chance
to run.  This shows up as increased memory usage in benchmark scenarios
(since 4.0 allowed simple http transactions to be processed synchronously).

10 years agoFix a subtle reference cycle that can lead to increased memory consumption.
Ben Darnell [Sat, 30 Aug 2014 19:27:31 +0000 (15:27 -0400)] 
Fix a subtle reference cycle that can lead to increased memory consumption.

Closes #1165.

10 years agoReinstate the bytes_type alias in case anyone is depending on it.
Ben Darnell [Wed, 27 Aug 2014 02:42:14 +0000 (22:42 -0400)] 
Reinstate the bytes_type alias in case anyone is depending on it.

10 years agoMerge pull request #1166 from quatrix/master
Ben Darnell [Wed, 27 Aug 2014 02:39:50 +0000 (22:39 -0400)] 
Merge pull request #1166 from quatrix/master

Add missing argument max_buffer_size to TCPClient.connect in SimpleAsyncHTTPClient

10 years agoAdd missing argument max_buffer_size to TCPClient.connect in SimpleAsyncHTTPClient 1166/head
Eddie Mishelevich [Tue, 26 Aug 2014 14:04:06 +0000 (17:04 +0300)] 
Add missing argument max_buffer_size to TCPClient.connect in SimpleAsyncHTTPClient

10 years agoMerge pull request #1162 from methane/remove-bytes-type
Ben Darnell [Tue, 26 Aug 2014 02:56:38 +0000 (22:56 -0400)] 
Merge pull request #1162 from methane/remove-bytes-type

Replace tornado.util.bytes_type to bytes

10 years agoReplace tornado.util.bytes_type to bytes 1162/head
INADA Naoki [Mon, 25 Aug 2014 05:56:49 +0000 (14:56 +0900)] 
Replace tornado.util.bytes_type to bytes

10 years agoFix a regression in gzip output for StaticFileHandler.
Ben Darnell [Sat, 23 Aug 2014 22:12:19 +0000 (18:12 -0400)] 
Fix a regression in gzip output for StaticFileHandler.

Streaming static responses confused the gzip output transform since
it could no longer set the correct outgoing content-length.  Now
it will fall back to chunked encoding in this case.

Closes #1156.

10 years agoFixed support for test generators
Niko Wilbert [Fri, 22 Aug 2014 08:48:42 +0000 (10:48 +0200)] 
Fixed support for test generators

This fixes the problem that AsyncTestCase no longer seemed to work with test generators (as supported by Nose, http://nose.readthedocs.org/en/latest/writing_tests.html#test-generators).

10 years agoFix a regression in which a timeout could fire after being cancelled.
Ben Darnell [Wed, 20 Aug 2014 03:01:28 +0000 (23:01 -0400)] 
Fix a regression in which a timeout could fire after being cancelled.

Closes #1148.

10 years agoSet version number in branch4.0 to 4.0.2.dev1
Ben Darnell [Sun, 24 Aug 2014 16:00:49 +0000 (12:00 -0400)] 
Set version number in branch4.0 to 4.0.2.dev1

10 years agoRemove the default facebook api key from the demo.
Ben Darnell [Sun, 24 Aug 2014 15:50:47 +0000 (11:50 -0400)] 
Remove the default facebook api key from the demo.

This app has apparently been deactivated by facebook.

Closes #1132.

10 years agos/SIGCHILD/SIGCHLD/ in docs.
Ben Darnell [Sun, 24 Aug 2014 15:45:41 +0000 (11:45 -0400)] 
s/SIGCHILD/SIGCHLD/ in docs.

10 years agoFix a regression in gzip output for StaticFileHandler.
Ben Darnell [Sat, 23 Aug 2014 22:12:19 +0000 (18:12 -0400)] 
Fix a regression in gzip output for StaticFileHandler.

Streaming static responses confused the gzip output transform since
it could no longer set the correct outgoing content-length.  Now
it will fall back to chunked encoding in this case.

Closes #1156.

10 years agoMerge pull request #1153 from nwilbert/patch-1
Ben Darnell [Sat, 23 Aug 2014 00:48:15 +0000 (20:48 -0400)] 
Merge pull request #1153 from nwilbert/patch-1

Fixed support for test generators

10 years agoFixed support for test generators 1153/head
Niko Wilbert [Fri, 22 Aug 2014 08:48:42 +0000 (10:48 +0200)] 
Fixed support for test generators

This fixes the problem that AsyncTestCase no longer seemed to work with test generators (as supported by Nose, http://nose.readthedocs.org/en/latest/writing_tests.html#test-generators).

10 years agoFix a regression in which a timeout could fire after being cancelled.
Ben Darnell [Wed, 20 Aug 2014 03:01:28 +0000 (23:01 -0400)] 
Fix a regression in which a timeout could fire after being cancelled.

Closes #1148.

10 years agoAdd property setter for RequestHandler.locale
Ben Darnell [Tue, 12 Aug 2014 13:50:02 +0000 (09:50 -0400)] 
Add property setter for RequestHandler.locale

10 years agoRemove entries from next.rst that made it in to v4.0.1.
Ben Darnell [Tue, 12 Aug 2014 13:17:49 +0000 (09:17 -0400)] 
Remove entries from next.rst that made it in to v4.0.1.

10 years agoMerge branch 'branch4.0'
Ben Darnell [Tue, 12 Aug 2014 13:17:01 +0000 (09:17 -0400)] 
Merge branch 'branch4.0'

Conflicts:
docs/releases.rst
setup.py
tornado/__init__.py