Omer Katz
30aa673fba
Added pypy3 to the build matrix.
2014-09-15 12:52:24 +03:00
Ben Darnell
24c2f57704
Update example for HTTPClient exception handling.
...
Eliminate the implication that HTTPError is the only
error that can be raised. See #1168 .
2014-09-14 23:55:59 -04:00
Ben Darnell
09bc9827e7
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 .
2014-09-14 23:53:12 -04:00
Ben Darnell
037e05ad0e
Merge pull request #1175 from virtuald/coroutine-warning
...
Add documentation warning about exceptions in coroutines
2014-09-14 23:11:24 -04:00
Ben Darnell
f10e4a0c0d
Merge commit 'f40d39b'
2014-09-14 22:39:03 -04:00
Ben Darnell
f40d39bea9
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.
2014-09-14 22:38:14 -04:00
Ben Darnell
ca2cf40cb4
Merge branch 'branch4.0'
...
Conflicts:
docs/releases.rst
setup.py
tornado/__init__.py
2014-09-14 22:02:27 -04:00
Ben Darnell
6729952c86
Merge pull request #1185 from leekchan/master
...
Added unit tests for tornado.web.removeslash and tornado.web.addslash
2014-09-14 09:40:26 -04:00
Lee Kyoung chan
ada55ccb55
Fixed some typos
2014-09-14 18:47:10 +09:00
Lee Kyoung chan
6df2748ac8
Added unit tests for tornado.web.removeslash and tornado.web.addslash
2014-09-14 13:01:49 +09:00
Ben Darnell
5adb981a7b
Merge pull request #1179 from leekchan/master
...
Added a unit test for setting a cookie with max_age
2014-09-13 17:44:55 -04:00
Ben Darnell
b47633371e
Merge pull request #1182 from Parkayun/master
...
Add test for tornado.escape.recursive_unicode
2014-09-12 09:20:54 -04:00
Neilen Marais
1302996836
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.
2014-09-12 13:38:48 +02:00
Parkayun
ce868a0e21
Add test for tornado.escape.recursive_unicode
2014-09-12 16:24:02 +09:00
Lee Kyoung chan
3624947887
Added a unit test for setting a cookie with max_age
2014-09-11 22:16:44 +09:00
Ben Darnell
8238c08b99
Merge pull request #1178 from leekchan/master
...
Fixed some typos
2014-09-11 08:51:32 -04:00
Lee Kyoung chan
cf724c3789
Added a unit test for tornado.escape.squeeze
2014-09-11 20:49:05 +09:00
Lee Kyoung chan
61e87cd8fc
Fixed some typos
2014-09-11 14:37:43 +09:00
Ben Darnell
b18b12b532
Set version number to 4.0.2
2014-09-10 23:47:51 -04:00
Dustin Spicuzza
cf9a1e9501
Add documentation warning about exceptions in coroutines
2014-09-05 11:57:15 -04:00
Ben Darnell
5d0d8cbaac
Add release notes for 4.0.2.
2014-09-01 11:12:27 -04:00
Ben Darnell
39fd0eee63
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 .
2014-09-01 10:45:13 -04:00
Ben Darnell
f16aa39c97
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).
2014-09-01 10:45:07 -04:00
Ben Darnell
c1a123a8cd
Fix a subtle reference cycle that can lead to increased memory consumption.
...
Closes #1165 .
2014-09-01 10:45:01 -04:00
Eddie Mishelevich
fc9a3acdb4
Add missing argument max_buffer_size to TCPClient.connect in SimpleAsyncHTTPClient
2014-09-01 10:44:45 -04:00
Ben Darnell
15c82cbe20
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 .
2014-08-31 23:33:28 -04:00
Ben Darnell
429e499158
Modernize freebsd vagrant config.
2014-08-31 23:33:15 -04:00
Ben Darnell
ce7261d450
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).
2014-08-30 22:52:54 -04:00
Ben Darnell
0357565a5e
Fix a subtle reference cycle that can lead to increased memory consumption.
...
Closes #1165 .
2014-08-30 15:27:31 -04:00
Ben Darnell
1397084051
Reinstate the bytes_type alias in case anyone is depending on it.
2014-08-26 22:42:41 -04:00
Ben Darnell
cca1f743ac
Merge pull request #1166 from quatrix/master
...
Add missing argument max_buffer_size to TCPClient.connect in SimpleAsyncHTTPClient
2014-08-26 22:39:50 -04:00
Eddie Mishelevich
fd30089192
Add missing argument max_buffer_size to TCPClient.connect in SimpleAsyncHTTPClient
2014-08-26 17:04:06 +03:00
Ben Darnell
ef77e79828
Merge pull request #1162 from methane/remove-bytes-type
...
Replace tornado.util.bytes_type to bytes
2014-08-25 22:56:38 -04:00
INADA Naoki
c6596d55a4
Replace tornado.util.bytes_type to bytes
2014-08-25 14:56:49 +09:00
Ben Darnell
d9689739fe
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 .
2014-08-24 12:02:01 -04:00
Niko Wilbert
ed7bd3a2bd
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 ).
2014-08-24 12:01:54 -04:00
Ben Darnell
7bf3b143e0
Fix a regression in which a timeout could fire after being cancelled.
...
Closes #1148 .
2014-08-24 12:01:46 -04:00
Ben Darnell
fe43646e5d
Set version number in branch4.0 to 4.0.2.dev1
2014-08-24 12:00:49 -04:00
Ben Darnell
7d3f710e81
Remove the default facebook api key from the demo.
...
This app has apparently been deactivated by facebook.
Closes #1132 .
2014-08-24 11:50:47 -04:00
Ben Darnell
1e1d61abbd
s/SIGCHILD/SIGCHLD/ in docs.
2014-08-24 11:45:41 -04:00
Ben Darnell
e88847320f
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 .
2014-08-23 18:13:17 -04:00
Ben Darnell
55932a7414
Merge pull request #1153 from nwilbert/patch-1
...
Fixed support for test generators
2014-08-22 20:48:15 -04:00
Niko Wilbert
9bbf1c98e8
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 ).
2014-08-22 10:48:42 +02:00
Ben Darnell
63033590b2
Fix a regression in which a timeout could fire after being cancelled.
...
Closes #1148 .
2014-08-19 23:01:28 -04:00
Ben Darnell
bb00b7edc8
Add property setter for RequestHandler.locale
2014-08-12 10:03:36 -04:00
Ben Darnell
fc8264aecc
Remove entries from next.rst that made it in to v4.0.1.
2014-08-12 09:17:49 -04:00
Ben Darnell
b1fc1f4838
Merge branch 'branch4.0'
...
Conflicts:
docs/releases.rst
setup.py
tornado/__init__.py
2014-08-12 09:17:01 -04:00
Ben Darnell
54bfbee586
Set version number to 4.0.1.
2014-08-12 09:11:20 -04:00
Ben Darnell
afea02e18d
Specify a non-zero port when testing localhost resolution.
...
Some getaddrinfo implementations (including OS X 10.6) fail
if we try to resolve port 0 without AI_PASSIVE.
Closes #1136 .
2014-08-12 08:55:03 -04:00
Ben Darnell
6c6d16a9c6
Add release notes for 4.0.1 and update version number.
2014-08-10 15:21:49 -04:00