]> git.ipfire.org Git - thirdparty/tornado.git/log
thirdparty/tornado.git
7 years agowebsocket: Allow open to be a coroutine 2385/head
Ben Darnell [Sat, 12 May 2018 19:13:15 +0000 (15:13 -0400)] 
websocket: Allow open to be a coroutine

Fixes #2358

7 years agowebsocket: Improve subprotocol support
Ben Darnell [Sat, 12 May 2018 18:43:58 +0000 (14:43 -0400)] 
websocket: Improve subprotocol support

- Add client-side subprotocol option
- Add selected_subprotocol attribute to client and server objects
- Call select_subprotocol exactly once instead of only on non-empty
- Fix bug in previous select_subprotocol change when multiple
  subprotocols are offered
- Add tests

Updates #2281

7 years agoMerge pull request #2378 from bdarnell/docs-510
Ben Darnell [Sun, 6 May 2018 15:28:09 +0000 (11:28 -0400)] 
Merge pull request #2378 from bdarnell/docs-510

docs: Start release notes for 5.1

7 years agoconcurrent: Fully deprecate return_future 2378/head
Ben Darnell [Sun, 6 May 2018 02:43:08 +0000 (22:43 -0400)] 
concurrent: Fully deprecate return_future

It relies on ExceptionStackContext, so it should go away completely
instead of just losing its callback argument.

7 years agodocs: Update examples to modern interfaces
Ben Darnell [Sun, 6 May 2018 01:50:05 +0000 (21:50 -0400)] 
docs: Update examples to modern interfaces

Get rid of most uses of callbacks and convert most coroutines to
native form. The sphinx doctests now require python 3.

7 years agodocs: Start release notes for 5.1
Ben Darnell [Sat, 5 May 2018 18:56:47 +0000 (14:56 -0400)] 
docs: Start release notes for 5.1

7 years agoMerge pull request #2377 from bdarnell/wsgi-deprecation
Ben Darnell [Sat, 5 May 2018 18:54:12 +0000 (14:54 -0400)] 
Merge pull request #2377 from bdarnell/wsgi-deprecation

wsgi: Deprecate WSGIAdapter and WSGIApplication

7 years agowsgi: Document workaround for asyncio on multithreaded WSGI containers 2377/head
Ben Darnell [Sat, 5 May 2018 18:26:52 +0000 (14:26 -0400)] 
wsgi: Document workaround for asyncio on multithreaded WSGI containers

Fixes #2371

7 years agowsgi: Deprecate WSGIAdapter and WSGIApplication
Ben Darnell [Sat, 5 May 2018 18:10:33 +0000 (14:10 -0400)] 
wsgi: Deprecate WSGIAdapter and WSGIApplication

It's already kind of broken on Python 3 for multithreaded WSGI
containers, and it's going to be more difficult to maintain as we move
to native coroutines.

Updates #2371

7 years agoMerge pull request #2375 from bdarnell/web-deprecation
Ben Darnell [Fri, 4 May 2018 23:38:37 +0000 (19:38 -0400)] 
Merge pull request #2375 from bdarnell/web-deprecation

Deprecate web.asynchronous, stack_context, and more

7 years agoMerge pull request #2374 from a-pertsev/master
Ben Darnell [Fri, 4 May 2018 03:16:06 +0000 (23:16 -0400)] 
Merge pull request #2374 from a-pertsev/master

Use `log_exception` method in WebSocketProtocol instead of custom logging

7 years agoUse `log_exception` method in WebSocketProtocol instead of 2374/head
Alexei Pertsev [Thu, 3 May 2018 15:33:30 +0000 (18:33 +0300)] 
Use `log_exception` method in WebSocketProtocol instead of
custom logging. It is usefull if we need to add some custom
handlers for all unexpected exceptions for example.

7 years agotwisted: Deprecate TornadoReactor 2375/head
Ben Darnell [Fri, 27 Apr 2018 17:16:48 +0000 (13:16 -0400)] 
twisted: Deprecate TornadoReactor

This is unnecessary when the asyncio event loop can be used instead.

7 years agotesting: Deprecate stop/wait
Ben Darnell [Fri, 27 Apr 2018 16:45:26 +0000 (12:45 -0400)] 
testing: Deprecate stop/wait

Don't mark them for deletion in 6.0. They're used extensively in the
test suite and it's fairly harmless to keep them around.

7 years agostack_context: Deprecate ExceptionStackContext
Ben Darnell [Fri, 27 Apr 2018 16:08:23 +0000 (12:08 -0400)] 
stack_context: Deprecate ExceptionStackContext

Take extra care with the deprecation warnings since a few modules need
to continue using ExceptionStackContext for backwards compatibility
even though it is not needed in most cases and should not generate
warnings unless it is relied upon.

7 years agosimple_httpclient: Initial refactoring into coroutines
Ben Darnell [Fri, 27 Apr 2018 15:52:51 +0000 (11:52 -0400)] 
simple_httpclient: Initial refactoring into coroutines

Eliminates the use of ExceptionStackContext.

7 years agosimple_httpclient: Move _on_connect next to its caller
Ben Darnell [Fri, 27 Apr 2018 15:26:48 +0000 (11:26 -0400)] 
simple_httpclient: Move _on_connect next to its caller

Pure cut-and-paste, will make the next diff more readable

7 years agostack_context: Deprecate StackContext class
Ben Darnell [Fri, 27 Apr 2018 14:52:41 +0000 (10:52 -0400)] 
stack_context: Deprecate StackContext class

7 years agoweb: Deprecate callback argument to RequestHandler.flush
Ben Darnell [Fri, 27 Apr 2018 14:44:48 +0000 (10:44 -0400)] 
web: Deprecate callback argument to RequestHandler.flush

Also deprecates callback arguments in httputil and http1connection

7 years agoweb: Deprecate asynchronous decorator
Ben Darnell [Fri, 27 Apr 2018 14:36:51 +0000 (10:36 -0400)] 
web: Deprecate asynchronous decorator

7 years agoweb: Add RequestHandler.detach
Ben Darnell [Fri, 27 Apr 2018 14:14:18 +0000 (10:14 -0400)] 
web: Add RequestHandler.detach

This method eliminates the need to use the asynchronous decorator on
handlers that may call detach.

7 years agoMerge pull request #2361 from bdarnell/ioloop-deprecation
Ben Darnell [Mon, 23 Apr 2018 23:53:42 +0000 (19:53 -0400)] 
Merge pull request #2361 from bdarnell/ioloop-deprecation

iostream: Deprecate callback-based interfaces

7 years agoiostream: Deprecate callback argument to wait_for_handshake 2361/head
Ben Darnell [Sun, 22 Apr 2018 04:14:54 +0000 (00:14 -0400)] 
iostream: Deprecate callback argument to wait_for_handshake

7 years agoiostream: Deprecate callback argument to connect()
Ben Darnell [Sun, 22 Apr 2018 04:09:26 +0000 (00:09 -0400)] 
iostream: Deprecate callback argument to connect()

7 years agoiostream: Document the non-deprecation of set_close_callback
Ben Darnell [Sun, 22 Apr 2018 03:44:50 +0000 (23:44 -0400)] 
iostream: Document the non-deprecation of set_close_callback

7 years agoiostream: Deprecated callback argument to write()
Ben Darnell [Sun, 22 Apr 2018 03:39:00 +0000 (23:39 -0400)] 
iostream: Deprecated callback argument to write()

7 years agowebsocket: Refactor implementation to use coroutines
Ben Darnell [Sun, 22 Apr 2018 03:31:49 +0000 (23:31 -0400)] 
websocket: Refactor implementation to use coroutines

This avoids the deprecated IOStream interfaces and simplifies things a
bit.

7 years agoiostream: Deprecate streaming_callback arguments
Ben Darnell [Sun, 22 Apr 2018 01:58:32 +0000 (21:58 -0400)] 
iostream: Deprecate streaming_callback arguments

Currently, mixing futures and streaming_callback does not guarantee
ordering (so the returned future could become ready before the last
streaming_callback fires). Specifically, this happens with
test_streaming_read_until_close_after_close if that test is modified
to not use the callback argument. This would cause problems when we
remove the callback argument if we left streaming_callback in place.

These problems are solvable, but probably not worth it since
partial=True is an alternative (and used internally instead of
streaming_callback).

7 years agoiostream: Deprecate callback arguments to read methods
Ben Darnell [Sun, 22 Apr 2018 01:00:54 +0000 (21:00 -0400)] 
iostream: Deprecate callback arguments to read methods

This requires a lot of mechanical changes throughout the test suite.
tornado.websocket is currently still using the deprecated interfaces
and suppressing the warning.

7 years agoioloop: Deprecate some asyncio-incompatible methods
Ben Darnell [Sun, 22 Apr 2018 00:59:55 +0000 (20:59 -0400)] 
ioloop: Deprecate some asyncio-incompatible methods

7 years agoMerge pull request #2360 from bdarnell/httpserver-deprecation
Ben Darnell [Sat, 21 Apr 2018 21:47:24 +0000 (17:47 -0400)] 
Merge pull request #2360 from bdarnell/httpserver-deprecation

httputil: Deprecate some server-side HTTP interfaces

7 years agohttputil: Deprecate old interfaces 2360/head
Ben Darnell [Sat, 21 Apr 2018 21:01:32 +0000 (17:01 -0400)] 
httputil: Deprecate old interfaces

This is mainly preparation for HTTP/2: request.write was designed to
mix headers and bodies in a way that is no longer supported.

7 years agohttp1connection: Un-deprecate set_close_callback
Ben Darnell [Sat, 21 Apr 2018 20:46:49 +0000 (16:46 -0400)] 
http1connection: Un-deprecate set_close_callback

This method is not actually redundant with
HTTPMessageDelegate.on_connection_close (maybe there is a useful
refactoring that would make it so, but for now it's still useful)

7 years agoMerge pull request #2359 from bdarnell/multi-content-length-test
Ben Darnell [Sat, 21 Apr 2018 21:00:38 +0000 (17:00 -0400)] 
Merge pull request #2359 from bdarnell/multi-content-length-test

test: Reinstate a test that was mistakenly left disabled

7 years agoappveyor: Upgrade pip with 'python -m pip' 2359/head
Ben Darnell [Sat, 21 Apr 2018 20:34:55 +0000 (16:34 -0400)] 
appveyor: Upgrade pip with 'python -m pip'

This reportedly works around https://github.com/pypa/pip/issues/5240

7 years agotest: Reinstate a test that was mistakenly left disabled
Ben Darnell [Sat, 21 Apr 2018 20:20:30 +0000 (16:20 -0400)] 
test: Reinstate a test that was mistakenly left disabled

This test required some refactoring to construct invalid headers that
we no longer allow handlers to return directly.

7 years agoMerge pull request #2355 from sinwar/doc-patch
Ben Darnell [Fri, 20 Apr 2018 23:35:12 +0000 (19:35 -0400)] 
Merge pull request #2355 from sinwar/doc-patch

docs: Remove repeated lines.

7 years agoMerge pull request #2349 from Rookout/FallbackHandler.on_finish
Ben Darnell [Fri, 20 Apr 2018 23:34:05 +0000 (19:34 -0400)] 
Merge pull request #2349 from Rookout/FallbackHandler.on_finish

Added RequestHandler.on_finish() to FallbackHandler.preapre()

7 years agoMerge pull request #2351 from wildfoundry/flow
Ben Darnell [Fri, 20 Apr 2018 23:31:28 +0000 (19:31 -0400)] 
Merge pull request #2351 from wildfoundry/flow

Add flow control to websocket client

7 years agodocs: Remove repeated lines. 2355/head
sinwar [Fri, 13 Apr 2018 22:56:10 +0000 (04:26 +0530)] 
docs: Remove repeated lines.

It removes repeated lines in
docs for release 5.0.0

7 years agoSupport jitter in PeriodicCallback (#2330)
Min RK [Fri, 13 Apr 2018 15:36:59 +0000 (17:36 +0200)] 
Support jitter in PeriodicCallback (#2330)

reduces likelihood of alignment with many similar timers

7 years agoRemove unused import 2351/head
Will McGugan [Mon, 9 Apr 2018 12:47:37 +0000 (13:47 +0100)] 
Remove unused import

7 years agoread queue of 1 message
Will McGugan [Mon, 9 Apr 2018 10:36:06 +0000 (11:36 +0100)] 
read queue of 1 message

7 years agoMerge pull request #2350 from bdarnell/httpclient-deprecation
Ben Darnell [Sun, 8 Apr 2018 23:24:43 +0000 (19:24 -0400)] 
Merge pull request #2350 from bdarnell/httpclient-deprecation

httpclient: Deprecate fetch callback, narrow `raise_error`

7 years agotest: Fix some rot in lesser-used test configs 2350/head
Ben Darnell [Sun, 8 Apr 2018 17:57:59 +0000 (13:57 -0400)] 
test: Fix some rot in lesser-used test configs

7 years agocaresresolver: Use non-deprecated interfaces
Ben Darnell [Sun, 8 Apr 2018 16:41:15 +0000 (12:41 -0400)] 
caresresolver: Use non-deprecated interfaces

This code is currently not exercised in CI.

7 years agosimple_httpclient: Add HTTPError subclasses to bury 599 response code
Ben Darnell [Sun, 8 Apr 2018 15:55:11 +0000 (11:55 -0400)] 
simple_httpclient: Add HTTPError subclasses to bury 599 response code

7 years agohttpclient: Rename HTTPError to HTTPClientError
Ben Darnell [Sun, 8 Apr 2018 15:45:17 +0000 (11:45 -0400)] 
httpclient: Rename HTTPError to HTTPClientError

This avoids collisions in code that must deal with both
httpclient.HTTPError and web.HTTPError.

7 years agotesting: Add raise_error argument to AsyncHTTPTestCase.fetch
Ben Darnell [Sun, 8 Apr 2018 15:39:14 +0000 (11:39 -0400)] 
testing: Add raise_error argument to AsyncHTTPTestCase.fetch

Give it the same deprecation behavior as AsyncHTTPClient.fetch

7 years agohttpclient: Deprecation warning for narrowed scope of raise_error=False
Ben Darnell [Sun, 8 Apr 2018 03:39:34 +0000 (23:39 -0400)] 
httpclient: Deprecation warning for narrowed scope of raise_error=False

7 years agohttpclient: Deprecate fetch callback
Ben Darnell [Sat, 7 Apr 2018 23:31:39 +0000 (19:31 -0400)] 
httpclient: Deprecate fetch callback

7 years agoAdded RequestHandler.on_finish() to FallbackHandler.preapre() 2349/head
Liran Haimovitch [Sun, 8 Apr 2018 15:15:39 +0000 (18:15 +0300)] 
Added RequestHandler.on_finish() to FallbackHandler.preapre()

7 years agoFix typo on release notes page
Ben Darnell [Sun, 8 Apr 2018 00:45:03 +0000 (20:45 -0400)] 
Fix typo on release notes page

7 years agoRelease notes for 5.0.2
Ben Darnell [Sat, 7 Apr 2018 23:07:35 +0000 (19:07 -0400)] 
Release notes for 5.0.2

7 years agoMerge pull request #2338 from bdarnell/periodic-callback
Ben Darnell [Fri, 6 Apr 2018 17:52:53 +0000 (13:52 -0400)] 
Merge pull request #2338 from bdarnell/periodic-callback

ioloop: Fix PeriodicCallback when system clock moves backwards

7 years agoioloop: Fix PeriodicCallback when system clock moves backwards 2338/head
Ben Darnell [Sat, 31 Mar 2018 22:01:57 +0000 (18:01 -0400)] 
ioloop: Fix PeriodicCallback when system clock moves backwards

If the clock moves backwards a little bit, we could run a
PeriodicCallback twice in a row prior to this change.

Due to implementation differences between the Tornado and asyncio
event loops, this is most common when using the asyncio event loop on
windows (where in some environments differences between time.time()
and time.monotonic() can result in behavior that looks like small
backwards time jumps on every iteration), although it can in principle
occur in any environment.

Fixes #2333

7 years agoioloop: Factor out the math of PeriodicCallback for easier testing
Ben Darnell [Sat, 31 Mar 2018 21:24:07 +0000 (17:24 -0400)] 
ioloop: Factor out the math of PeriodicCallback for easier testing

This permits it to be tested separately from the (now python 2.7-only)
IOLoop configuration.

7 years agoMerge pull request #2326 from bdarnell/httpclient-leak
Ben Darnell [Sun, 25 Mar 2018 16:59:30 +0000 (12:59 -0400)] 
Merge pull request #2326 from bdarnell/httpclient-leak

asyncio: Fix a leak when event loops are created and destroyed

7 years agohttpclient: Document inability to use sync HTTPClient in async app 2326/head
Ben Darnell [Sun, 25 Mar 2018 15:17:58 +0000 (11:17 -0400)] 
httpclient: Document inability to use sync HTTPClient in async app

Eliminate a confusing error message when this occurs.

Fixes #2325

7 years agoasyncio: Fix a leak when event loops are created and destroyed
Ben Darnell [Sun, 25 Mar 2018 15:11:59 +0000 (11:11 -0400)] 
asyncio: Fix a leak when event loops are created and destroyed

The WeakKeyDictionary in IOLoop wasn't doing its job because of
reference cycles. This was easiest to see with the synchronous
HTTPClient.

Fixes #2321

7 years agoMerge pull request #2327 from bdarnell/test-dont-close
Ben Darnell [Sun, 25 Mar 2018 16:34:19 +0000 (12:34 -0400)] 
Merge pull request #2327 from bdarnell/test-dont-close

testing: Don't close the event loop if we didn't create it

7 years agotesting: Don't close the event loop if we didn't create it 2327/head
Ben Darnell [Sun, 25 Mar 2018 15:50:09 +0000 (11:50 -0400)] 
testing: Don't close the event loop if we didn't create it

This improves compatibility with asyncio test frameworks like
pytest-asyncio.

Fixes #2324

7 years agoMerge pull request #2319 from bdarnell/gen-deprecation
Ben Darnell [Fri, 23 Mar 2018 22:24:31 +0000 (18:24 -0400)] 
Merge pull request #2319 from bdarnell/gen-deprecation

gen: Deprecate legacy interfaces

7 years agogen_test: Port some tests to non-deprecated interfaces 2319/head
Ben Darnell [Fri, 23 Mar 2018 22:10:53 +0000 (18:10 -0400)] 
gen_test: Port some tests to non-deprecated interfaces

This temporarily duplicates the tests, but the versions using the
deprecated interfaces will be gone in 6.0

7 years agogen: Doc touchups
Ben Darnell [Mon, 19 Mar 2018 02:55:02 +0000 (22:55 -0400)] 
gen: Doc touchups

7 years agogen: Deprecate Task
Ben Darnell [Mon, 19 Mar 2018 02:36:38 +0000 (22:36 -0400)] 
gen: Deprecate Task

7 years agogen: Deprecate YieldPoint and its subclasses
Ben Darnell [Sun, 18 Mar 2018 23:49:50 +0000 (19:49 -0400)] 
gen: Deprecate YieldPoint and its subclasses

7 years agogen: Deprecate callback argument to coroutines
Ben Darnell [Sun, 18 Mar 2018 23:12:18 +0000 (19:12 -0400)] 
gen: Deprecate callback argument to coroutines

7 years agogen: Deprecate gen.engine
Ben Darnell [Sun, 18 Mar 2018 22:56:29 +0000 (18:56 -0400)] 
gen: Deprecate gen.engine

7 years agoMerge pull request #2318 from bdarnell/concurrent-deprecation
Ben Darnell [Sun, 18 Mar 2018 22:40:26 +0000 (18:40 -0400)] 
Merge pull request #2318 from bdarnell/concurrent-deprecation

concurrent: Add deprecation warning

7 years agoescape: Fix doc formatting 2318/head
Ben Darnell [Sun, 18 Mar 2018 22:22:13 +0000 (18:22 -0400)] 
escape: Fix doc formatting

7 years agoconcurrent: Deprecate callback argument with run_on_executor
Ben Darnell [Sun, 18 Mar 2018 22:14:33 +0000 (18:14 -0400)] 
concurrent: Deprecate callback argument with run_on_executor

7 years agoMerge pull request #2317 from bdarnell/auth-deprecation
Ben Darnell [Sun, 18 Mar 2018 21:45:47 +0000 (17:45 -0400)] 
Merge pull request #2317 from bdarnell/auth-deprecation

auth: Add deprecation warnings for callback-based interfaces

7 years agoauth: Touch up docs 2317/head
Ben Darnell [Sun, 18 Mar 2018 21:21:27 +0000 (17:21 -0400)] 
auth: Touch up docs

7 years agoauth: Accept native coroutines in _oauth_get_user_future
Ben Darnell [Sun, 18 Mar 2018 21:12:28 +0000 (17:12 -0400)] 
auth: Accept native coroutines in _oauth_get_user_future

7 years agoauth: Deprecated _oauth_get_user
Ben Darnell [Sun, 18 Mar 2018 21:07:42 +0000 (17:07 -0400)] 
auth: Deprecated _oauth_get_user

7 years agoconcurrent,auth: Add deprecation warnings to concurrent.return_future
Ben Darnell [Sun, 18 Mar 2018 20:57:49 +0000 (16:57 -0400)] 
concurrent,auth: Add deprecation warnings to concurrent.return_future

7 years agoauth: Add deprecation warnings for anything using auth_return_future
Ben Darnell [Sun, 18 Mar 2018 20:30:04 +0000 (16:30 -0400)] 
auth: Add deprecation warnings for anything using auth_return_future

7 years agoMerge pull request #2316 from bdarnell/work
Ben Darnell [Sun, 18 Mar 2018 20:01:17 +0000 (16:01 -0400)] 
Merge pull request #2316 from bdarnell/work

Maintainer dependency updates

7 years agowebsocket_test: Wrap a long line 2316/head
Ben Darnell [Sun, 18 Mar 2018 17:40:19 +0000 (13:40 -0400)] 
websocket_test: Wrap a long line

flake8 just started complaining about this line for some reason.

7 years agoUpdate warning for missing C compiler on macOS
Ben Darnell [Sun, 18 Mar 2018 17:34:41 +0000 (13:34 -0400)] 
Update warning for missing C compiler on macOS

7 years agoRun new autopep8
Ben Darnell [Sun, 18 Mar 2018 17:31:29 +0000 (13:31 -0400)] 
Run new autopep8

7 years agoBump maint requirements
Ben Darnell [Sun, 18 Mar 2018 17:29:49 +0000 (13:29 -0400)] 
Bump maint requirements

7 years agoMerge remote-tracking branch 'origin/branch5.0'
Ben Darnell [Sun, 18 Mar 2018 16:01:01 +0000 (12:01 -0400)] 
Merge remote-tracking branch 'origin/branch5.0'

7 years agoMerge pull request #2315 from bdarnell/release-501 v5.0.1
Ben Darnell [Sun, 18 Mar 2018 15:39:19 +0000 (11:39 -0400)] 
Merge pull request #2315 from bdarnell/release-501

Set version to 5.0.1

7 years agoSet version to 5.0.1 2315/head
Ben Darnell [Sun, 18 Mar 2018 15:17:16 +0000 (11:17 -0400)] 
Set version to 5.0.1

7 years agoMerge pull request #2310 from pcrespov/patch-1
Ben Darnell [Sat, 17 Mar 2018 18:18:29 +0000 (14:18 -0400)] 
Merge pull request #2310 from pcrespov/patch-1

Update running.rst

7 years agoUpdate running.rst 2310/head
Pedro Crespo [Wed, 14 Mar 2018 01:22:00 +0000 (02:22 +0100)] 
Update running.rst

minor type

7 years agoMerge pull request #2307 from bdarnell/work
Ben Darnell [Mon, 12 Mar 2018 02:00:43 +0000 (22:00 -0400)] 
Merge pull request #2307 from bdarnell/work

concurrent,httputil,websocket: small bug fixes

7 years agohttputil: Clean up error handling in HTTPHeaders.parse 2307/head
Ben Darnell [Sun, 11 Mar 2018 22:34:32 +0000 (18:34 -0400)] 
httputil: Clean up error handling in HTTPHeaders.parse

Fixes #2280

7 years agoconcurrent: run_on_executor returns async futures, not concurrent ones
Ben Darnell [Sun, 11 Mar 2018 22:09:05 +0000 (18:09 -0400)] 
concurrent: run_on_executor returns async futures, not concurrent ones

Fixes #2276

7 years agowebsocket: Make ping() argument optional
Ben Darnell [Sun, 11 Mar 2018 20:13:51 +0000 (16:13 -0400)] 
websocket: Make ping() argument optional

Also accept both bytes and str, and add a client-side ping() method.

Fixes #2295

7 years agoMerge pull request #2306 from bdarnell/cherrypick-jessie-compatibility
Ben Darnell [Sun, 11 Mar 2018 19:05:41 +0000 (15:05 -0400)] 
Merge pull request #2306 from bdarnell/cherrypick-jessie-compatibility

cherrypick-5.0: asyncio: Support Python 3.4.2 for compatibility with Debian jessie

7 years agoasyncio: Support Python 3.4.2 for compatibility with Debian jessie 2306/head
Ben Darnell [Sun, 11 Mar 2018 17:20:26 +0000 (13:20 -0400)] 
asyncio: Support Python 3.4.2 for compatibility with Debian jessie

The ensure_future function was not introduced until 3.4.4, and
some exceptions were changed from AssertionError to RuntimeError in
3.4.3.

Fixes #2301

7 years agoMerge pull request #2305 from bdarnell/jessie-compatibility
Ben Darnell [Sun, 11 Mar 2018 18:45:48 +0000 (14:45 -0400)] 
Merge pull request #2305 from bdarnell/jessie-compatibility

asyncio: Support Python 3.4.2 for compatibility with Debian jessie

7 years agoMerge pull request #2282 from staticglobal/master
Ben Darnell [Sun, 11 Mar 2018 17:38:07 +0000 (13:38 -0400)] 
Merge pull request #2282 from staticglobal/master

Only invoke select_subprotocol() when the client requests it

7 years agoasyncio: Support Python 3.4.2 for compatibility with Debian jessie 2305/head
Ben Darnell [Sun, 11 Mar 2018 17:20:26 +0000 (13:20 -0400)] 
asyncio: Support Python 3.4.2 for compatibility with Debian jessie

The ensure_future function was not introduced until 3.4.4, and
some exceptions were changed from AssertionError to RuntimeError in
3.4.3.

Fixes #2301

7 years agoBump master version to 5.1.dev1
Ben Darnell [Mon, 5 Mar 2018 14:14:25 +0000 (09:14 -0500)] 
Bump master version to 5.1.dev1

7 years agoMerge pull request #2300 from bdarnell/release-5.0 v5.0.0
Ben Darnell [Mon, 5 Mar 2018 13:39:07 +0000 (08:39 -0500)] 
Merge pull request #2300 from bdarnell/release-5.0

Final release notes and version bump for 5.0

7 years agoFinal release notes and version bump for 5.0 2300/head
Ben Darnell [Mon, 5 Mar 2018 01:43:52 +0000 (20:43 -0500)] 
Final release notes and version bump for 5.0