]> git.ipfire.org Git - thirdparty/tornado.git/log
thirdparty/tornado.git
3 years agoAdd note about `parse_*` function in options.py 3082/head
Python-37 [Wed, 1 Dec 2021 02:38:45 +0000 (10:38 +0800)] 
Add note about `parse_*` function in options.py

3 years agoAdd note about `parse_command_line` function
Python-37 [Mon, 29 Nov 2021 09:56:02 +0000 (17:56 +0800)] 
Add note about `parse_command_line` function

3 years agoMerge pull request #3074 from tornadoweb/dependabot/pip/docs/babel-2.9.1
Ben Darnell [Wed, 3 Nov 2021 01:12:50 +0000 (21:12 -0400)] 
Merge pull request #3074 from tornadoweb/dependabot/pip/docs/babel-2.9.1

build(deps): bump babel from 2.8.0 to 2.9.1 in /docs

3 years agobuild(deps): bump babel from 2.8.0 to 2.9.1 in /docs 3074/head
dependabot[bot] [Thu, 21 Oct 2021 18:50:02 +0000 (18:50 +0000)] 
build(deps): bump babel from 2.8.0 to 2.9.1 in /docs

Bumps [babel](https://github.com/python-babel/babel) from 2.8.0 to 2.9.1.
- [Release notes](https://github.com/python-babel/babel/releases)
- [Changelog](https://github.com/python-babel/babel/blob/master/CHANGES)
- [Commits](https://github.com/python-babel/babel/compare/v2.8.0...v2.9.1)

---
updated-dependencies:
- dependency-name: babel
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoMerge pull request #3053 from bfis/patch-2
Ben Darnell [Thu, 26 Aug 2021 18:53:13 +0000 (14:53 -0400)] 
Merge pull request #3053 from bfis/patch-2

Avoid 2GB write limitation on SSLIOStream

3 years agoiostream: Fix copy/pasted comment 3053/head
Ben Darnell [Thu, 26 Aug 2021 18:51:25 +0000 (14:51 -0400)] 
iostream: Fix copy/pasted comment

Co-authored-by: Pierce Lopez <pierce.lopez@gmail.com>
3 years agoMerge pull request #3052 from hugovk/replace-deprecated-unittest-aliases
Ben Darnell [Thu, 26 Aug 2021 18:47:27 +0000 (14:47 -0400)] 
Merge pull request #3052 from hugovk/replace-deprecated-unittest-aliases

Replace deprecated unittest aliases

3 years agoMerge pull request #3048 from mivade/httpfile-type-hints
Ben Darnell [Thu, 26 Aug 2021 18:32:15 +0000 (14:32 -0400)] 
Merge pull request #3048 from mivade/httpfile-type-hints

Type hint HTTPFile attributes

3 years agoAvoid 2GB write limitation on SSLIOStream
bfis [Tue, 24 Aug 2021 10:43:19 +0000 (12:43 +0200)] 
Avoid 2GB write limitation on SSLIOStream

3 years agoReplace deprecated unittest aliases 3052/head
Hugo van Kemenade [Thu, 19 Aug 2021 10:21:09 +0000 (13:21 +0300)] 
Replace deprecated unittest aliases

4 years agoType hint HTTPFile attributes 3048/head
Michael V. DePalatis [Tue, 3 Aug 2021 15:04:00 +0000 (09:04 -0600)] 
Type hint HTTPFile attributes

4 years agoMerge pull request #3041 from samm0ss/sam/feat/encoding-gzip-case-insensitive
Ben Darnell [Fri, 9 Jul 2021 18:05:14 +0000 (14:05 -0400)] 
Merge pull request #3041 from samm0ss/sam/feat/encoding-gzip-case-insensitive

Fix case-sensitivity for Content-Encoding: gzip. as per rfc7231 the C…

4 years agoFix case-sensitivity for Content-Encoding: gzip. as per rfc7231 the Content-Encoding... 3041/head
SamvanLeipsig [Thu, 1 Jul 2021 11:20:24 +0000 (13:20 +0200)] 
Fix case-sensitivity for Content-Encoding: gzip. as per rfc7231 the Content-Encoding values are case-insensitive https://datatracker.ietf.org/doc/html/rfc7231#section-3.1.2.1

4 years agoPeriodicCallback: support async/coroutine callback (#2924)
Pierce Lopez [Sun, 30 May 2021 15:33:14 +0000 (11:33 -0400)] 
PeriodicCallback: support async/coroutine callback (#2924)

ISSUE: https://github.com/tornadoweb/tornado/issues/2828

* ioloop: call_later() and call_at() take any Callable coroutine or plain, returning any type

Co-authored-by: agnewee <agnewee@gmail.com>
4 years agoMerge pull request #3010 from alexmv/is_valid_ip
Ben Darnell [Sat, 15 May 2021 19:24:25 +0000 (15:24 -0400)] 
Merge pull request #3010 from alexmv/is_valid_ip

is_valid_ip: Do not raise exceptions on too-long input.

4 years agois_valid_ip: Do not raise exceptions on too-long input. 3010/head
Alex Vandiver [Wed, 7 Apr 2021 20:11:15 +0000 (13:11 -0700)] 
is_valid_ip: Do not raise exceptions on too-long input.

is_valid_ip calls `socket.getaddrinfo` with `socket.AI_NUMERICHOST` on
the potential "ip"; even though IP addresses are not hostnames and do
not use the `idna` encoding, `socket.getaddrinfo` will raise
UnicodeError if the potential "ip" is longer than 63 characters long,
the RFC-mandated max hostname length.

Catch these UnicodeErrors and return false for too-long IPs, rather
than raising an exception.

4 years agoMerge pull request #3025 from mivade/periodic-callback-timedelta
Ben Darnell [Sun, 9 May 2021 16:27:35 +0000 (12:27 -0400)] 
Merge pull request #3025 from mivade/periodic-callback-timedelta

Accept timedelta objects in PeriodicCallback

4 years agoUpdate docstring 3025/head
Michael V. DePalatis [Wed, 5 May 2021 15:55:24 +0000 (09:55 -0600)] 
Update docstring

4 years agoOptionally accept a timedelta in PeriodicCallback
Michael V. DePalatis [Wed, 5 May 2021 15:53:49 +0000 (09:53 -0600)] 
Optionally accept a timedelta in PeriodicCallback

4 years agoMerge pull request #3015 from tornadoweb/dependabot/pip/maint/py-1.10.0
Ben Darnell [Wed, 21 Apr 2021 19:58:33 +0000 (15:58 -0400)] 
Merge pull request #3015 from tornadoweb/dependabot/pip/maint/py-1.10.0

build(deps): bump py from 1.9.0 to 1.10.0 in /maint

4 years agobuild(deps): bump py from 1.9.0 to 1.10.0 in /maint 3015/head
dependabot[bot] [Tue, 20 Apr 2021 17:16:45 +0000 (17:16 +0000)] 
build(deps): bump py from 1.9.0 to 1.10.0 in /maint

Bumps [py](https://github.com/pytest-dev/py) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/pytest-dev/py/releases)
- [Changelog](https://github.com/pytest-dev/py/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/py/compare/1.9.0...1.10.0)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoMerge pull request #3006 from tornadoweb/dependabot/pip/docs/pygments-2.7.4
Ben Darnell [Sat, 3 Apr 2021 16:36:51 +0000 (12:36 -0400)] 
Merge pull request #3006 from tornadoweb/dependabot/pip/docs/pygments-2.7.4

build(deps): bump pygments from 2.7.2 to 2.7.4 in /docs

4 years agobuild(deps): bump pygments from 2.7.2 to 2.7.4 in /docs 3006/head
dependabot[bot] [Tue, 30 Mar 2021 02:01:42 +0000 (02:01 +0000)] 
build(deps): bump pygments from 2.7.2 to 2.7.4 in /docs

Bumps [pygments](https://github.com/pygments/pygments) from 2.7.2 to 2.7.4.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](https://github.com/pygments/pygments/compare/2.7.2...2.7.4)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoMerge pull request #3000 from GeekDuanLian/patch-1
Ben Darnell [Sat, 20 Mar 2021 15:46:43 +0000 (11:46 -0400)] 
Merge pull request #3000 from GeekDuanLian/patch-1

Allowed set max_body_size to 0

4 years agoMerge pull request #3003 from tornadoweb/dependabot/pip/docs/jinja2-2.11.3
Ben Darnell [Sat, 20 Mar 2021 15:45:45 +0000 (11:45 -0400)] 
Merge pull request #3003 from tornadoweb/dependabot/pip/docs/jinja2-2.11.3

build(deps): bump jinja2 from 2.11.2 to 2.11.3 in /docs

4 years agoMerge pull request #2996 from madsbk/typed_memoryviews
Ben Darnell [Sat, 20 Mar 2021 15:38:37 +0000 (11:38 -0400)] 
Merge pull request #2996 from madsbk/typed_memoryviews

BaseIOStream.write(): support typed memoryviews

4 years agobuild(deps): bump jinja2 from 2.11.2 to 2.11.3 in /docs 3003/head
dependabot[bot] [Sat, 20 Mar 2021 05:20:28 +0000 (05:20 +0000)] 
build(deps): bump jinja2 from 2.11.2 to 2.11.3 in /docs

Bumps [jinja2](https://github.com/pallets/jinja) from 2.11.2 to 2.11.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/master/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/2.11.2...2.11.3)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoIs this okay 3000/head
Sakuya [Tue, 16 Mar 2021 05:31:49 +0000 (13:31 +0800)] 
Is this okay

4 years agoBut this is not beautiful
Sakuya [Tue, 16 Mar 2021 05:22:18 +0000 (13:22 +0800)] 
But this is not beautiful

4 years agowhat
Sakuya [Mon, 15 Mar 2021 21:06:24 +0000 (05:06 +0800)] 
what

4 years agofix E127
Sakuya [Mon, 15 Mar 2021 20:44:19 +0000 (04:44 +0800)] 
fix E127

4 years agofix line too long
Sakuya [Mon, 15 Mar 2021 20:28:53 +0000 (04:28 +0800)] 
fix line too long

4 years agoAllowed set max_body_size to 0
Sakuya [Mon, 15 Mar 2021 20:11:18 +0000 (04:11 +0800)] 
Allowed set max_body_size to 0

4 years agoBaseIOStream.write(): support typed memoryview 2996/head
Mads R. B. Kristensen [Tue, 2 Mar 2021 09:52:29 +0000 (10:52 +0100)] 
BaseIOStream.write(): support typed memoryview

Making sure that ``len(data) == data.nbytes`` by casting
memoryviews to bytes.

4 years agoMerge pull request #2948 from eltoder/feature/websocket-handler-stream-cleanup
Ben Darnell [Thu, 4 Feb 2021 02:40:24 +0000 (21:40 -0500)] 
Merge pull request #2948 from eltoder/feature/websocket-handler-stream-cleanup

Remove WebSocketHandler.stream.

4 years agoMerge pull request #2974 from youguanxinqing/issue-2969
Ben Darnell [Thu, 4 Feb 2021 02:35:15 +0000 (21:35 -0500)] 
Merge pull request #2974 from youguanxinqing/issue-2969

testing: Add 'address' keyword to control bound address #2969

4 years agoMerge pull request #2983 from kriskros341/changes
Ben Darnell [Thu, 4 Feb 2021 02:17:25 +0000 (21:17 -0500)] 
Merge pull request #2983 from kriskros341/changes

Dict support for WebSocketClientConnection.write_message method

Fixes #2982

4 years agoMerge pull request #2970 from bfis/patch-1
Ben Darnell [Thu, 28 Jan 2021 14:54:56 +0000 (09:54 -0500)] 
Merge pull request #2970 from bfis/patch-1

Avoid 2GB read limitation on SSLIOStream

4 years agoUppercase A in Any 2983/head
kriskros341 [Wed, 27 Jan 2021 15:37:05 +0000 (16:37 +0100)] 
Uppercase A in Any

4 years agowrite_message method of WebSocketClientConnection now accepts dict as input
kriskros341 [Wed, 27 Jan 2021 13:36:35 +0000 (14:36 +0100)] 
write_message method of WebSocketClientConnection now accepts dict as input

4 years agowrite_message method of WebSocketClientConnection now accepts dict as input
kriskros341 [Wed, 27 Jan 2021 13:24:17 +0000 (14:24 +0100)] 
write_message method of WebSocketClientConnection now accepts dict as input

4 years agoMerge pull request #2978 from youguanxinqing/issue-2977
Ben Darnell [Wed, 13 Jan 2021 12:52:20 +0000 (07:52 -0500)] 
Merge pull request #2978 from youguanxinqing/issue-2977

should use python3 unicode in 'blog' demo #2977

4 years agoleave previous versionchanged 2974/head
youguanxinqing [Tue, 12 Jan 2021 10:53:54 +0000 (18:53 +0800)] 
leave previous versionchanged

4 years agoleave previous versionchanged
youguanxinqing [Tue, 12 Jan 2021 10:52:33 +0000 (18:52 +0800)] 
leave previous versionchanged

4 years agoshould use python3 unicode in 'blog' demo #2977 2978/head
youguanxinqing [Tue, 12 Jan 2021 10:35:38 +0000 (18:35 +0800)] 
should use python3 unicode in 'blog' demo #2977

4 years agochange comment
youguanxinqing [Tue, 12 Jan 2021 01:51:27 +0000 (09:51 +0800)] 
change comment

4 years agoAdd comment explaining workaround 2970/head
bfis [Mon, 11 Jan 2021 16:49:33 +0000 (17:49 +0100)] 
Add comment explaining workaround

4 years agoformat code according to result of flake8 check
youguanxinqing [Mon, 11 Jan 2021 15:01:04 +0000 (23:01 +0800)] 
format code according to result of flake8 check

4 years agoAdd 'address' keyword control binded address #2969
youguanxinqing [Mon, 11 Jan 2021 14:35:20 +0000 (22:35 +0800)] 
Add 'address' keyword control binded address #2969

4 years agoRemove WebSocketHandler.stream. 2948/head
Eugene Toder [Tue, 3 Nov 2020 03:04:00 +0000 (22:04 -0500)] 
Remove WebSocketHandler.stream.

It was no longer used and always set to None.

4 years agoMerge pull request #2965 from timgates42/bugfix_typo_authenticate
Ben Darnell [Sat, 9 Jan 2021 21:13:26 +0000 (16:13 -0500)] 
Merge pull request #2965 from timgates42/bugfix_typo_authenticate

docs: fix simple typo, authentiate -> authenticate

4 years agoMerge pull request #2972 from bdarnell/wsgi-docstring
Ben Darnell [Sat, 9 Jan 2021 21:12:16 +0000 (16:12 -0500)] 
Merge pull request #2972 from bdarnell/wsgi-docstring

wsgi: Update docstring example for python 3

4 years agoMerge pull request #2963 from sk1p/issue-2034
Ben Darnell [Sat, 9 Jan 2021 21:10:14 +0000 (16:10 -0500)] 
Merge pull request #2963 from sk1p/issue-2034

WaitIterator: don't re-use _running_future

4 years agowsgi: Update docstring example for python 3 2972/head
Ben Darnell [Sat, 9 Jan 2021 20:52:34 +0000 (15:52 -0500)] 
wsgi: Update docstring example for python 3

Fixes #2960

4 years agoMerge pull request #2971 from bdarnell/only-initialize-existing-locales
Ben Darnell [Sat, 9 Jan 2021 20:06:33 +0000 (15:06 -0500)] 
Merge pull request #2971 from bdarnell/only-initialize-existing-locales

locale: Only try to load locales that exist

4 years agolocale: Format with black 2971/head
Ben Darnell [Sat, 9 Jan 2021 16:34:58 +0000 (11:34 -0500)] 
locale: Format with black

4 years agoRemove trailing whitespace
bfis [Wed, 6 Jan 2021 13:16:19 +0000 (14:16 +0100)] 
Remove trailing whitespace

4 years agoAvoid 2GB read limitation on SSLIOStream
bfis [Wed, 6 Jan 2021 12:22:04 +0000 (13:22 +0100)] 
Avoid 2GB read limitation on SSLIOStream

4 years agodocs: fix simple typo, authentiate -> authenticate 2965/head
Tim Gates [Mon, 21 Dec 2020 20:49:51 +0000 (07:49 +1100)] 
docs: fix simple typo, authentiate -> authenticate

There is a small typo in tornado/netutil.py.

Should read `authenticate` rather than `authentiate`.

4 years agoFix return type of _return_result 2963/head
Alexander Clausen [Sat, 12 Dec 2020 18:34:23 +0000 (19:34 +0100)] 
Fix return type of _return_result

4 years agoWaitIterator: don't re-use _running_future
Alexander Clausen [Sat, 12 Dec 2020 05:58:06 +0000 (06:58 +0100)] 
WaitIterator: don't re-use _running_future

When used with asyncio.Future, WaitIterator may skip indices in some
cases. This is caused by multiple _return_result calls after another,
without having the chain_future call finish in between. This is fixed
here by not hanging on to the _running_future anymore, which forces
subsequent _return_result calls to add to _finished, instead of causing
the previous result to be silently dropped.

Fixes #2034

4 years agoIssue #2954: prevent logging error messages for not existing translation files 2956/head
Florian Best [Thu, 19 Nov 2020 09:45:28 +0000 (10:45 +0100)] 
Issue #2954: prevent logging error messages for not existing translation files

Every not existing translation file for the existing locales logged an error message:
Cannot load translation for 'ps': [Errno 2] No such file or directory: '/usr/share/locale/ps/LC_MESSAGES/foo.mo'

4 years agoMerge pull request #2932 from novanauliazami/auth
Ben Darnell [Tue, 3 Nov 2020 02:28:30 +0000 (21:28 -0500)] 
Merge pull request #2932 from novanauliazami/auth

Update how to register application with Google

4 years agoMerge pull request #2936 from eltoder/patch-1
Ben Darnell [Tue, 3 Nov 2020 02:26:16 +0000 (21:26 -0500)] 
Merge pull request #2936 from eltoder/patch-1

Fix await vs yield in the example

4 years agoMerge pull request #2946 from bdarnell/deps
Ben Darnell [Tue, 3 Nov 2020 02:09:55 +0000 (21:09 -0500)] 
Merge pull request #2946 from bdarnell/deps

Multiple dependency-related updates

4 years agoplatform: Deprecate twisted and cares resolvers 2946/head
Ben Darnell [Mon, 2 Nov 2020 02:27:27 +0000 (21:27 -0500)] 
platform: Deprecate twisted and cares resolvers

These were most interesting when the default resolver blocked
the main thread. Now that the default is to use a thread pool,
there is little if any demand for alternative resolvers just to
avoid threads.

4 years agodocs: Stop using autodoc for t.p.twisted
Ben Darnell [Mon, 2 Nov 2020 02:09:08 +0000 (21:09 -0500)] 
docs: Stop using autodoc for t.p.twisted

This way we don't have to install twisted into the docs build
environment. Add some more detail while I'm here.

4 years agodocs: Pin specific versions of requirements
Ben Darnell [Sun, 1 Nov 2020 21:15:30 +0000 (16:15 -0500)] 
docs: Pin specific versions of requirements

4 years agodocs: Upgrade to latest version of sphinx
Ben Darnell [Sun, 1 Nov 2020 21:08:30 +0000 (16:08 -0500)] 
docs: Upgrade to latest version of sphinx

This version attempts to resolve types found in type annotations,
but in many cases it can't find them so silence a bunch of warnings.
(Looks like deferred annotation processing will make this better but
we won't be able to use that until we drop Python 3.6)

4 years agoUpdate mypy to latest version
Ben Darnell [Sun, 1 Nov 2020 13:23:07 +0000 (08:23 -0500)] 
Update mypy to latest version

4 years ago*: Update black to newest version
Ben Darnell [Sat, 31 Oct 2020 16:23:35 +0000 (12:23 -0400)] 
*: Update black to newest version

4 years agomaint: Prune requirements lists
Ben Darnell [Sat, 31 Oct 2020 16:15:23 +0000 (12:15 -0400)] 
maint: Prune requirements lists

Remove dependencies that are rarely used outside of tox. The main
motivation is to give dependabot less to worry about when an indirect
dependency has a security vulnerability.

4 years agoiostream: Add platform assertion for mypy
Ben Darnell [Sat, 31 Oct 2020 16:14:42 +0000 (12:14 -0400)] 
iostream: Add platform assertion for mypy

Without this mypy would fail when run on windows.

4 years agoMerge pull request #2945 from bdarnell/start6.2
Ben Darnell [Sat, 31 Oct 2020 12:58:34 +0000 (08:58 -0400)] 
Merge pull request #2945 from bdarnell/start6.2

Bump main branch to 6.2.dev1; drop py35

4 years agoDrop support for python 3.5 2945/head
Ben Darnell [Fri, 30 Oct 2020 17:57:36 +0000 (13:57 -0400)] 
Drop support for python 3.5

4 years agoRemove appveyor configs
Ben Darnell [Fri, 30 Oct 2020 17:58:14 +0000 (13:58 -0400)] 
Remove appveyor configs

4 years agoBump main branch to 6.2.dev1
Ben Darnell [Fri, 30 Oct 2020 17:55:20 +0000 (13:55 -0400)] 
Bump main branch to 6.2.dev1

4 years agoMerge pull request #2944 from bdarnell/bump6.1 v6.1.0
Ben Darnell [Fri, 30 Oct 2020 17:44:37 +0000 (13:44 -0400)] 
Merge pull request #2944 from bdarnell/bump6.1

Set version to 6.1 final

4 years agoci: Work around outdated windows root certificates 2944/head
Ben Darnell [Fri, 30 Oct 2020 13:05:06 +0000 (09:05 -0400)] 
ci: Work around outdated windows root certificates

4 years agoSet version to 6.1 final
Ben Darnell [Fri, 30 Oct 2020 11:53:09 +0000 (07:53 -0400)] 
Set version to 6.1 final

4 years agoMerge pull request #2940 from bdarnell/bump6.1b2 v6.1.0b2
Ben Darnell [Sun, 25 Oct 2020 00:49:14 +0000 (20:49 -0400)] 
Merge pull request #2940 from bdarnell/bump6.1b2

Bump version to 6.1b2

4 years agoBump version to 6.1b2 2940/head
Ben Darnell [Sat, 24 Oct 2020 19:51:30 +0000 (15:51 -0400)] 
Bump version to 6.1b2

4 years agoMerge pull request #2931 from bdarnell/py39
Ben Darnell [Sat, 24 Oct 2020 19:44:20 +0000 (15:44 -0400)] 
Merge pull request #2931 from bdarnell/py39

ci,setup: Add python 3.9 to tox, cibuildwheel and setup.py

4 years agoci,setup: Add python 3.9 to tox, cibuildwheel and setup.py 2931/head
Ben Darnell [Wed, 30 Sep 2020 14:52:21 +0000 (10:52 -0400)] 
ci,setup: Add python 3.9 to tox, cibuildwheel and setup.py

4 years agoMerge pull request #2934 from bdarnell/manual-thread
Ben Darnell [Sat, 24 Oct 2020 18:29:23 +0000 (14:29 -0400)] 
Merge pull request #2934 from bdarnell/manual-thread

asyncio: Manage our own thread instead of an executor

4 years agoasyncio: Manage our own thread instead of an executor 2934/head
Ben Darnell [Mon, 12 Oct 2020 00:54:01 +0000 (20:54 -0400)] 
asyncio: Manage our own thread instead of an executor

Python 3.9 changed the behavior of ThreadPoolExecutor at interpreter
shutdown (after the already-tricky import-order issues around
atexit hooks). Avoid these issues by managing the thread by hand.

4 years agotest: Add a timeout to SyncHTTPClient test
Ben Darnell [Mon, 5 Oct 2020 13:39:41 +0000 (09:39 -0400)] 
test: Add a timeout to SyncHTTPClient test

4 years agoMerge pull request #2938 from bdarnell/contextvars
Ben Darnell [Tue, 20 Oct 2020 01:25:40 +0000 (21:25 -0400)] 
Merge pull request #2938 from bdarnell/contextvars

gen: Expliclty track contextvars, fixing contextvars.reset

4 years agogen: Expliclty track contextvars, fixing contextvars.reset 2938/head
Ben Darnell [Fri, 16 Oct 2020 19:29:20 +0000 (15:29 -0400)] 
gen: Expliclty track contextvars, fixing contextvars.reset

The asyncio event loop provides enough contextvars support out of the
box for basic contextvars functionality to work in tornado coroutines,
but not `contextvars.reset`. Prior to this change, each yield created
a new "level" of context, when an entire coroutine should be on the
same level. This is necessary for the reset method to work.

Fixes #2731

4 years agoFix await vs yield in the example 2936/head
Eugene Toder [Tue, 13 Oct 2020 23:48:19 +0000 (19:48 -0400)] 
Fix await vs yield in the example

4 years agoUpdate how to register application with Google 2932/head
= [Sun, 4 Oct 2020 08:33:09 +0000 (15:33 +0700)] 
Update how to register application with Google

4 years agoMerge pull request #2930 from bdarnell/deprecate35
Ben Darnell [Wed, 30 Sep 2020 14:46:59 +0000 (10:46 -0400)] 
Merge pull request #2930 from bdarnell/deprecate35

Add deprecation notice for Python 3.5

4 years agoAdd deprecation notice for Python 3.5 2930/head
Ben Darnell [Wed, 30 Sep 2020 14:25:17 +0000 (10:25 -0400)] 
Add deprecation notice for Python 3.5

4 years agoci: Switch from testpypi to real pypi v6.1.0b1
Ben Darnell [Wed, 30 Sep 2020 11:15:10 +0000 (07:15 -0400)] 
ci: Switch from testpypi to real pypi

4 years agoMerge pull request #2928 from bdarnell/relnotes61
Ben Darnell [Wed, 30 Sep 2020 03:11:48 +0000 (23:11 -0400)] 
Merge pull request #2928 from bdarnell/relnotes61

Add release notes for 6.1, bump version to 6.1b1

4 years agoAdd release notes for 6.1, bump version to 6.1b1 2928/head
Ben Darnell [Wed, 30 Sep 2020 02:23:56 +0000 (22:23 -0400)] 
Add release notes for 6.1, bump version to 6.1b1

4 years agoMerge pull request #2923 from bdarnell/ci-refactor
Ben Darnell [Tue, 29 Sep 2020 03:05:59 +0000 (23:05 -0400)] 
Merge pull request #2923 from bdarnell/ci-refactor

test: Refactor CI configuration

4 years agotest: Refactor CI configuration 2923/head
Ben Darnell [Sat, 26 Sep 2020 19:32:56 +0000 (15:32 -0400)] 
test: Refactor CI configuration

- Add osx and windows builds on travis
- Stop running -full test suites on every python version on arm64
- Use cibuildwheel to build for all python versions in one job per
  platform
- Bring a single test configuration and linters up to a first "quick"
  stage before starting the whole matrix
- Push the resulting wheels (and sdist) to pypi on tag builds

4 years agoMerge pull request #2921 from ploxiln/gzip_inf_loop
Ben Darnell [Sun, 27 Sep 2020 01:39:46 +0000 (21:39 -0400)] 
Merge pull request #2921 from ploxiln/gzip_inf_loop

simple_httpclient: fix infinite loop hang with invalid gzip data

4 years agohttp: fix infinite loop hang with invalid gzip data 2921/head
Jeff Hunter [Tue, 9 Jun 2020 20:18:29 +0000 (13:18 -0700)] 
http: fix infinite loop hang with invalid gzip data