]> git.ipfire.org Git - thirdparty/tornado.git/log
thirdparty/tornado.git
2 years agoweb: Support renaming the XSRF cookie 3244/head
Ben Darnell [Thu, 30 Mar 2023 20:03:28 +0000 (20:03 +0000)] 
web: Support renaming the XSRF cookie

This makes it possible to use the __Host- cookie prefix for increased
security

2 years agoMerge pull request #3238 from bdarnell/demo-links
Ben Darnell [Tue, 21 Feb 2023 21:41:48 +0000 (16:41 -0500)] 
Merge pull request #3238 from bdarnell/demo-links

docs: Point to stable branch for all demo links

2 years agodocs: Point to stable branch for all demo links 3238/head
Ben Darnell [Tue, 21 Feb 2023 21:34:38 +0000 (21:34 +0000)] 
docs: Point to stable branch for all demo links

Add a README to the demos directory with a brief description of each,
and a warning about the usage of not-yet-released features.

Fixes #3236

2 years agoMerge pull request #3232 from bdarnell/undeprecate-event-loop-setting
Ben Darnell [Fri, 17 Feb 2023 03:29:27 +0000 (22:29 -0500)] 
Merge pull request #3232 from bdarnell/undeprecate-event-loop-setting

testing: No longer silence deprecation warnings

2 years agotesting: Limit silence of deprecation warnings 3232/head
Ben Darnell [Thu, 16 Feb 2023 22:20:34 +0000 (22:20 +0000)] 
testing: Limit silence of deprecation warnings

Only do it on the specific versions that had the problematic warnings.

Also deprecate get_new_ioloop.

2 years agoMerge pull request #3223 from takluyver/undeprecate-event-loop-setting
Ben Darnell [Thu, 16 Feb 2023 22:32:29 +0000 (17:32 -0500)] 
Merge pull request #3223 from takluyver/undeprecate-event-loop-setting

Revert some deprecations, following asyncio changes

2 years agoMerge pull request #3231 from bdarnell/wsgi-executor
Ben Darnell [Thu, 16 Feb 2023 20:43:25 +0000 (15:43 -0500)] 
Merge pull request #3231 from bdarnell/wsgi-executor

wsgi: Support ThreadPoolExecutor

2 years agowsgi: Set multithread flag correctly 3231/head
Ben Darnell [Wed, 15 Feb 2023 21:23:32 +0000 (21:23 +0000)] 
wsgi: Set multithread flag correctly

Required making WSGIContainer.environ() an instance method.
This is technically a backwards-incompatible change to a documented
method but it was never really meant to be documented and seems
unlikely to be used.

2 years agowsgi: Update docs
Ben Darnell [Wed, 15 Feb 2023 21:19:42 +0000 (21:19 +0000)] 
wsgi: Update docs

2 years agowsgi: Iterate the response in executor too
Ben Darnell [Thu, 9 Feb 2023 22:35:46 +0000 (22:35 +0000)] 
wsgi: Iterate the response in executor too

2 years agowsgi: Add barrier-based test for executor support
Ben Darnell [Thu, 9 Feb 2023 21:55:49 +0000 (21:55 +0000)] 
wsgi: Add barrier-based test for executor support

2 years agowsgi: Fix formatting
Ben Darnell [Thu, 9 Feb 2023 21:02:44 +0000 (21:02 +0000)] 
wsgi: Fix formatting

2 years agoAdd test case for ThreadPoolExecutor usage
Grant Jenks [Thu, 22 Dec 2022 18:17:20 +0000 (10:17 -0800)] 
Add test case for ThreadPoolExecutor usage

2 years agoAdd support for customizing executor
Grant Jenks [Thu, 22 Dec 2022 18:16:59 +0000 (10:16 -0800)] 
Add support for customizing executor

2 years agoLinter fixes 3223/head
Thomas Kluyver [Thu, 16 Feb 2023 13:22:59 +0000 (13:22 +0000)] 
Linter fixes

2 years agoDon't try to restore the previous event loop in AsyncTestCase
Thomas Kluyver [Thu, 16 Feb 2023 13:16:36 +0000 (13:16 +0000)] 
Don't try to restore the previous event loop in AsyncTestCase

2 years agoDefault make_current -> True, remove check for existing event loop
Thomas Kluyver [Thu, 16 Feb 2023 12:59:02 +0000 (12:59 +0000)] 
Default make_current -> True, remove check for existing event loop

2 years agoDeprecate IOLoop(make_current=True)
Thomas Kluyver [Wed, 15 Feb 2023 14:36:19 +0000 (14:36 +0000)] 
Deprecate IOLoop(make_current=True)

2 years agoRe-deprecate make_current() & clear_current() methods
Thomas Kluyver [Wed, 15 Feb 2023 14:15:15 +0000 (14:15 +0000)] 
Re-deprecate make_current() & clear_current() methods

2 years agoRe-suppress asyncio deprecation warnings in AsyncTestCase
Thomas Kluyver [Fri, 10 Feb 2023 17:12:14 +0000 (17:12 +0000)] 
Re-suppress asyncio deprecation warnings in AsyncTestCase

2 years agoLinter fixes
Thomas Kluyver [Fri, 10 Feb 2023 17:11:54 +0000 (17:11 +0000)] 
Linter fixes

2 years agoRemove cleanup workaround to fix some ResourceWarnings
Thomas Kluyver [Fri, 10 Feb 2023 15:24:35 +0000 (15:24 +0000)] 
Remove cleanup workaround to fix some ResourceWarnings

2 years agoFix tests: IOLoop.current() now behaves the same way on any thread
Thomas Kluyver [Fri, 10 Feb 2023 14:39:37 +0000 (14:39 +0000)] 
Fix tests: IOLoop.current() now behaves the same way on any thread

2 years agoRe-simpify AsyncTestCase setUp & tearDown
Thomas Kluyver [Fri, 10 Feb 2023 14:21:11 +0000 (14:21 +0000)] 
Re-simpify AsyncTestCase setUp & tearDown

2 years agoIOLoop.current(): create new asyncio loop if not already present
Thomas Kluyver [Tue, 31 Jan 2023 11:09:14 +0000 (11:09 +0000)] 
IOLoop.current(): create new asyncio loop if not already present

2 years agoDeprecation of bind/start is no longer forced by Python changes
Thomas Kluyver [Sun, 29 Jan 2023 13:13:12 +0000 (13:13 +0000)] 
Deprecation of bind/start is no longer forced by Python changes

2 years agoUndeprecate AsyncTestCase and AsyncHTTPTestCase classes
Thomas Kluyver [Sun, 29 Jan 2023 13:12:42 +0000 (13:12 +0000)] 
Undeprecate AsyncTestCase and AsyncHTTPTestCase classes

2 years agoUndeprecate ioloop make_current and clear_current methods
Thomas Kluyver [Sun, 29 Jan 2023 13:11:52 +0000 (13:11 +0000)] 
Undeprecate ioloop make_current and clear_current methods

2 years agoMerge pull request #3230 from bdarnell/ci-py312
Ben Darnell [Wed, 8 Feb 2023 21:42:11 +0000 (16:42 -0500)] 
Merge pull request #3230 from bdarnell/ci-py312

ci: Re-enable Python 3.12 alphas

2 years agoci: Add Python 3.10.8 and 3.11.0 to the build matrix 3230/head
Ben Darnell [Wed, 8 Feb 2023 21:28:02 +0000 (21:28 +0000)] 
ci: Add Python 3.10.8 and 3.11.0 to the build matrix

Early releases in these two branches had different deprecation warnings
so we want to test them too.

2 years agoci: Re-enable Python 3.12 alphas
Ben Darnell [Wed, 8 Feb 2023 17:47:27 +0000 (17:47 +0000)] 
ci: Re-enable Python 3.12 alphas

As of 3.12a5 the deprecation warnings should be in their final
state.

Also update setup-python action to silence a warning.

2 years agoasyncio: Remove obsolete code
Ben Darnell [Wed, 8 Feb 2023 20:12:47 +0000 (20:12 +0000)] 
asyncio: Remove obsolete code

AsyncioLoop.start() used to save, set, and restore the thread-local
event loop. This avoided some edge cases in early versions of asyncio;
this appears to no longer be necessary since Python 3.7 introduced
the get_running_loop() method.

Removing this logic improves compatibility with Python 3.12, where
it is difficult if not impossible to do the same thing without
generating DeprecationWarnings.

2 years agoMerge pull request #3224 from bdarnell/cookie-updates
Ben Darnell [Mon, 30 Jan 2023 19:17:20 +0000 (14:17 -0500)] 
Merge pull request #3224 from bdarnell/cookie-updates

web: Cookie updates

2 years agoweb: Accept all kwargs in clear_cookie 3224/head
Ben Darnell [Sat, 28 Jan 2023 19:48:47 +0000 (19:48 +0000)] 
web: Accept all kwargs in clear_cookie

In some cases it is now required to pass matching values for
samesite and secure as when the cookie was set.

clear_all_cookies is now deprecated because the name of a cookie
is no longer reliably sufficient to clear it.

Fixes #2911

2 years agoweb: List all set_cookie arguments instead of kwargs
Ben Darnell [Sat, 28 Jan 2023 19:10:16 +0000 (19:10 +0000)] 
web: List all set_cookie arguments instead of kwargs

Multiple arguments needed special cases anyway, so it's better to
just be explicit about what's supported.

set_signed_cookie still uses kwarg forwarding since we don't need
to worry about the special cases at this level and using
explicit arguments would involve duplicating defaults in multiple
places.

2 years agoweb: Rename "secure_cookie" methods to "signed_cookie"
Ben Darnell [Mon, 23 Jan 2023 18:51:53 +0000 (18:51 +0000)] 
web: Rename "secure_cookie" methods to "signed_cookie"

This more precisely states the kind of security that is provided, and
avoids confusion with the use of the word "secure" as a standard
cookie attribute and prefix.

2 years agoMerge pull request #3220 from bdarnell/update-deps
Ben Darnell [Fri, 20 Jan 2023 20:44:26 +0000 (15:44 -0500)] 
Merge pull request #3220 from bdarnell/update-deps

Update all deps

2 years agoUpdate tox to v4 3220/head
Ben Darnell [Fri, 20 Jan 2023 20:19:47 +0000 (20:19 +0000)] 
Update tox to v4

Adapt to backwards-incompatible renaming.

2 years agoUpdate most deps
Ben Darnell [Fri, 20 Jan 2023 20:05:50 +0000 (20:05 +0000)] 
Update most deps

Sphinx is pinned to <6 because of a conflict with sphinx_rtd_theme
Tox is pinned to <4 because we're affected by some backwards-incompatible
renamings in the config file.

2 years agoMerge pull request #3219 from bdarnell/consolidate-requirements
Ben Darnell [Fri, 20 Jan 2023 20:02:19 +0000 (15:02 -0500)] 
Merge pull request #3219 from bdarnell/consolidate-requirements

Consolidate maint and docs requirements files

2 years agoConsolidate maint and docs requirements files 3219/head
Ben Darnell [Fri, 20 Jan 2023 19:51:28 +0000 (19:51 +0000)] 
Consolidate maint and docs requirements files

This division was just complicating things unnecessarily.
Also adopt pip-tools instead of doing it all by hand.
No pinned versions have been changed in this commit.

2 years agoMerge pull request #3218 from bdarnell/readthedocs-config
Ben Darnell [Fri, 20 Jan 2023 19:26:57 +0000 (14:26 -0500)] 
Merge pull request #3218 from bdarnell/readthedocs-config

docs: Add config file for readthedocs

2 years agodocs: Add config file for readthedocs 3218/head
Ben Darnell [Fri, 20 Jan 2023 19:20:34 +0000 (19:20 +0000)] 
docs: Add config file for readthedocs

This moves away from web-based settings and permits per-release
changes.

2 years agoMerge pull request #3214 from tornadoweb/bdarnell-patch-1
Ben Darnell [Thu, 5 Jan 2023 16:53:07 +0000 (11:53 -0500)] 
Merge pull request #3214 from tornadoweb/bdarnell-patch-1

Create security policy document

2 years agoMerge pull request #3204 from tornadoweb/dependabot/pip/docs/certifi-2022.12.7
Ben Darnell [Thu, 5 Jan 2023 16:40:43 +0000 (11:40 -0500)] 
Merge pull request #3204 from tornadoweb/dependabot/pip/docs/certifi-2022.12.7

build(deps): bump certifi from 2022.5.18.1 to 2022.12.7 in /docs

2 years agoCreate security policy document 3214/head
Ben Darnell [Thu, 5 Jan 2023 16:40:24 +0000 (11:40 -0500)] 
Create security policy document

Fixes #3099

2 years agobuild(deps): bump certifi from 2022.5.18.1 to 2022.12.7 in /docs 3204/head
dependabot[bot] [Thu, 5 Jan 2023 16:27:36 +0000 (16:27 +0000)] 
build(deps): bump certifi from 2022.5.18.1 to 2022.12.7 in /docs

Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.5.18.1 to 2022.12.7.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](https://github.com/certifi/python-certifi/compare/2022.05.18.1...2022.12.07)

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

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoMerge pull request #3213 from uniontech-lilinjie/master
Ben Darnell [Tue, 3 Jan 2023 16:04:08 +0000 (11:04 -0500)] 
Merge pull request #3213 from uniontech-lilinjie/master

fix typo

2 years agofix typo 3213/head
lilinjie [Tue, 3 Jan 2023 07:13:57 +0000 (15:13 +0800)] 
fix typo

Signed-off-by: lilinjie <lilinjie@uniontech.com>
2 years agoMerge pull request #3212 from meramsey/patch-1
Ben Darnell [Tue, 27 Dec 2022 20:44:17 +0000 (15:44 -0500)] 
Merge pull request #3212 from meramsey/patch-1

Update v6.2.0.rst

2 years agoUpdate v6.2.0.rst 3212/head
Michael Ramsey [Sat, 24 Dec 2022 18:44:28 +0000 (13:44 -0500)] 
Update v6.2.0.rst

fix typo

2 years agoMerge pull request #3208 from bdarnell/pin-tox
Ben Darnell [Sat, 17 Dec 2022 03:15:41 +0000 (22:15 -0500)] 
Merge pull request #3208 from bdarnell/pin-tox

ci: Various dependency-related updates

2 years agoci: Skip python 3.12 for now 3208/head
Ben Darnell [Fri, 16 Dec 2022 20:52:15 +0000 (15:52 -0500)] 
ci: Skip python 3.12 for now

The breaking changes begun by the deprecation warnings in 3.10 have
arrived, but according to https://github.com/python/cpython/issues/93453
the scope has changed somewhat (for the better, I think). Don't test
on 3.12 until we've adapted to the new plan.

2 years agotest: Catch error from get_event_loop in tearDown
Ben Darnell [Fri, 16 Dec 2022 20:07:30 +0000 (15:07 -0500)] 
test: Catch error from get_event_loop in tearDown

2 years agotest: More lenient check for localhost resolver test
Ben Darnell [Fri, 16 Dec 2022 19:56:39 +0000 (14:56 -0500)] 
test: More lenient check for localhost resolver test

A recent update to pycares appears to have made it return only
an ipv6 address for localhost.

2 years agoci: Install pinned version of tox
Ben Darnell [Fri, 16 Dec 2022 19:26:01 +0000 (14:26 -0500)] 
ci: Install pinned version of tox

2 years agoMerge pull request #3202 from bdarnell/lint-update
Ben Darnell [Mon, 28 Nov 2022 03:08:53 +0000 (22:08 -0500)] 
Merge pull request #3202 from bdarnell/lint-update

deps: Update linters

2 years agodeps: Update linters 3202/head
Ben Darnell [Mon, 28 Nov 2022 02:58:27 +0000 (21:58 -0500)] 
deps: Update linters

2 years agoMerge pull request #3201 from bdarnell/lazy-import
Ben Darnell [Mon, 28 Nov 2022 02:20:05 +0000 (21:20 -0500)] 
Merge pull request #3201 from bdarnell/lazy-import

all: Support lazy imports of submodules

2 years agoall: Support lazy imports of submodules 3201/head
Ben Darnell [Sun, 27 Nov 2022 20:06:08 +0000 (15:06 -0500)] 
all: Support lazy imports of submodules

A getattr hook in the top-level "tornado" package now imports submodules
automatically, eliminating the need to explicitly reference multiple submodules
in imports

2 years agoMerge pull request #3200 from bdarnell/expectlog
Ben Darnell [Sun, 27 Nov 2022 04:02:55 +0000 (23:02 -0500)] 
Merge pull request #3200 from bdarnell/expectlog

testing: Deprecate environment-dependent behavior in ExpectLog

2 years agotest: Skip undecorated coroutine test in py312 3200/head
Ben Darnell [Sun, 27 Nov 2022 03:29:59 +0000 (22:29 -0500)] 
test: Skip undecorated coroutine test in py312

The standard library now has its own check for this, rendering ours redundant
(and breaking our test)

2 years agotesting: Deprecate environment-dependent behavior in ExpectLog
Ben Darnell [Sun, 27 Nov 2022 02:50:04 +0000 (21:50 -0500)] 
testing: Deprecate environment-dependent behavior in ExpectLog

ExpectLog is sensitive to the difference between tornado.testing.main
(which sets the logging level to info) and most other test runners,
which do not. In the future ExpectLog will match WARNING and above
by default; matching lower levels without using the ``level`` argument
is deprecated.

Fix one test in httpserver_test.py that is affected by this.

2 years agoMerge pull request #3197 from bdarnell/pyversion-update
Ben Darnell [Sun, 20 Nov 2022 19:11:20 +0000 (14:11 -0500)] 
Merge pull request #3197 from bdarnell/pyversion-update

setup: Drop support for python 3.7

2 years agosetup: Drop support for python 3.7 3197/head
Ben Darnell [Sat, 19 Nov 2022 22:20:33 +0000 (17:20 -0500)] 
setup: Drop support for python 3.7

The main reason to drop this version before it reaches its EOL is so
that we can begin to use unittest.IsolatedAsyncioTestCase to replace
deprecated portions of the tornado.testing module.

A secondary reason is that Python 3.8 introduced support for the
samesite cookie attribute, which allows us to deprecate the
xsrf_token mechanism.

2 years agoMerge pull request #3196 from bdarnell/pyversion-update
Ben Darnell [Sat, 19 Nov 2022 22:17:36 +0000 (17:17 -0500)] 
Merge pull request #3196 from bdarnell/pyversion-update

setup: Add Python 3.11 final and 3.12 alpha to CI

2 years agosetup: Add Python 3.11 final and 3.12 alpha to CI 3196/head
Ben Darnell [Sat, 19 Nov 2022 20:59:31 +0000 (15:59 -0500)] 
setup: Add Python 3.11 final and 3.12 alpha to CI

Adapts to the deprecation of multi-argument generator.throw().

2 years agoMerge pull request #3193 from jakestambaugh/master
Ben Darnell [Sat, 15 Oct 2022 15:40:46 +0000 (11:40 -0400)] 
Merge pull request #3193 from jakestambaugh/master

Add support for parsing lists of str in config files if multiple=True

2 years agoAdd support for parsing lists of str in config files 3193/head
Jake Stambaugh [Fri, 7 Oct 2022 22:03:25 +0000 (18:03 -0400)] 
Add support for parsing lists of str in config files

2 years agoMerge pull request #3192 from jepperaskdk/master
Ben Darnell [Tue, 4 Oct 2022 01:57:24 +0000 (21:57 -0400)] 
Merge pull request #3192 from jepperaskdk/master

Changed websocket message buffer from bytes to bytearray

2 years agoChanged websocket message buffer from bytes to bytearray for performance increase 3192/head
Jeppe Rask [Mon, 3 Oct 2022 19:43:21 +0000 (21:43 +0200)] 
Changed websocket message buffer from bytes to bytearray for performance increase

2 years agoMerge pull request #3180 from tornadoweb/fix-lint
Ben Darnell [Fri, 26 Aug 2022 19:23:09 +0000 (15:23 -0400)] 
Merge pull request #3180 from tornadoweb/fix-lint

auth: Fix lint error (long line)

2 years agoauth: Fix trailing comma and lint errors 3180/head
Ben Darnell [Fri, 26 Aug 2022 19:06:18 +0000 (15:06 -0400)] 
auth: Fix trailing comma and lint errors

This slipped in with #3137 because that PR was submitted at a time when
the CI config was broken and I didn't notice the incomplete run.

2 years agoFix contextvars.Context propagation to first yield with native coroutines (#3176)
Timofey Kukushkin [Fri, 26 Aug 2022 19:05:22 +0000 (22:05 +0300)] 
Fix contextvars.Context propagation to first yield with native coroutines (#3176)

* Fix contextvars.Context propagation to first yield with native coroutines

2 years agoMerge pull request #3172 from takluyver/websocket-resolver
Ben Darnell [Fri, 26 Aug 2022 18:46:36 +0000 (14:46 -0400)] 
Merge pull request #3172 from takluyver/websocket-resolver

Allow custom resolver in WebSocketClientConnection

2 years agoMerge pull request #3169 from anilbey/typing
Ben Darnell [Fri, 26 Aug 2022 18:11:20 +0000 (14:11 -0400)] 
Merge pull request #3169 from anilbey/typing

add type-var ignore for the recently introduced mypy error

2 years agoMerge pull request #3137 from frankdu/master
Ben Darnell [Fri, 26 Aug 2022 18:09:49 +0000 (14:09 -0400)] 
Merge pull request #3137 from frankdu/master

Google OAuth2: change oauth config provision from hardcoded to develo…

2 years agoMerge pull request #3179 from tornadoweb/iostream-cleanup
Ben Darnell [Fri, 26 Aug 2022 17:45:14 +0000 (13:45 -0400)] 
Merge pull request #3179 from tornadoweb/iostream-cleanup

iostream: Remove _read_buffer_pos attribute

2 years agoiostream: Remove _read_buffer_pos attribute 3179/head
Ben Darnell [Fri, 26 Aug 2022 17:19:43 +0000 (13:19 -0400)] 
iostream: Remove _read_buffer_pos attribute

Since PR #3087, this attribute is always zero (except for temporary
usage in _consume) and can be removed.

2 years agoMerge pull request #3087 from laggardkernel/feature/cleanup-bytearray-shrink
Ben Darnell [Fri, 26 Aug 2022 17:08:13 +0000 (13:08 -0400)] 
Merge pull request #3087 from laggardkernel/feature/cleanup-bytearray-shrink

Cleanup bytearray shrink code designed for Python 2

2 years agoMerge pull request #3178 from reganto/patch-1
Ben Darnell [Fri, 26 Aug 2022 14:58:35 +0000 (10:58 -0400)] 
Merge pull request #3178 from reganto/patch-1

Fix URL plural

2 years agoFix URL plural 3178/head
Morteza Naghizadeh [Wed, 24 Aug 2022 14:33:30 +0000 (19:03 +0430)] 
Fix URL plural

2 years agoMerge pull request #3177 from spagh-eddie/patch-3
Ben Darnell [Mon, 22 Aug 2022 20:25:30 +0000 (16:25 -0400)] 
Merge pull request #3177 from spagh-eddie/patch-3

Fix typo in release notes

2 years agoFix typo in release notes 3177/head
Eddie Darling [Mon, 22 Aug 2022 17:19:28 +0000 (10:19 -0700)] 
Fix typo in release notes

3 years agoAllow custom resolver in WebSocketClientConnection 3172/head
Thomas Kluyver [Mon, 1 Aug 2022 10:51:34 +0000 (11:51 +0100)] 
Allow custom resolver in WebSocketClientConnection

3 years agoadd type-var ignore for the recent mypy error 3169/head
Anil Tuncel [Sun, 17 Jul 2022 17:36:56 +0000 (18:36 +0100)] 
add type-var ignore for the recent mypy error

3 years agoBump version number on main branch to 6.3.dev1
Ben Darnell [Mon, 4 Jul 2022 02:22:03 +0000 (22:22 -0400)] 
Bump version number on main branch to 6.3.dev1

3 years agoMerge pull request #3167 from bdarnell/6.2-final branch6.2 v6.2.0
Ben Darnell [Sun, 3 Jul 2022 22:10:16 +0000 (18:10 -0400)] 
Merge pull request #3167 from bdarnell/6.2-final

Set version number to 6.2.0

3 years agoSet version number to 6.2.0 3167/head
Ben Darnell [Sun, 3 Jul 2022 22:03:24 +0000 (18:03 -0400)] 
Set version number to 6.2.0

Closes #3165

3 years agoMerge pull request #3163 from graingert/avoid-threading-identity
Ben Darnell [Thu, 23 Jun 2022 00:26:37 +0000 (20:26 -0400)] 
Merge pull request #3163 from graingert/avoid-threading-identity

use get_running_loop to choose between call_soon and call_soon_thread…

3 years agoMerge branch 'master' into avoid-threading-identity 3163/head
Ben Darnell [Tue, 21 Jun 2022 12:47:30 +0000 (08:47 -0400)] 
Merge branch 'master' into avoid-threading-identity

3 years agoMerge pull request #3164 from graingert/patch-1
Ben Darnell [Tue, 21 Jun 2022 12:12:59 +0000 (08:12 -0400)] 
Merge pull request #3164 from graingert/patch-1

make existing_loop check atomic

3 years agomake existing_loop check atomic 3164/head
Thomas Grainger [Tue, 21 Jun 2022 07:41:38 +0000 (08:41 +0100)] 
make existing_loop check atomic

3 years agouse get_running_loop to choose between call_soon and call_soon_threadsafe
Thomas Grainger [Mon, 20 Jun 2022 09:42:19 +0000 (10:42 +0100)] 
use get_running_loop to choose between call_soon and call_soon_threadsafe

3 years agoMerge pull request #3162 from bdarnell/6.2b2 v6.2.0b2
Ben Darnell [Fri, 17 Jun 2022 20:40:41 +0000 (16:40 -0400)] 
Merge pull request #3162 from bdarnell/6.2b2

Set version to 6.2b2

3 years agoSet version to 6.2b2 3162/head
Ben Darnell [Fri, 17 Jun 2022 20:30:35 +0000 (16:30 -0400)] 
Set version to 6.2b2

3 years agoMerge pull request #3161 from tornadoweb/build-workflow-abi3
Ben Darnell [Fri, 17 Jun 2022 20:27:31 +0000 (16:27 -0400)] 
Merge pull request #3161 from tornadoweb/build-workflow-abi3

setup: Build wheels with the stable ABI (abi3)

3 years agosetup: Build wheels with the stable ABI (abi3) 3161/head
Ben Darnell [Fri, 17 Jun 2022 18:11:21 +0000 (14:11 -0400)] 
setup: Build wheels with the stable ABI (abi3)

This will produce cross-version wheels so we won't have to do
releases just to make new wheels when new versions of Python
are available.

Also modernize the build process a bit to require setuptools and use
the native "optional" flag for extensions.

3 years agoMerge pull request #3160 from bdarnell/ioloop-docs
Ben Darnell [Fri, 17 Jun 2022 18:28:57 +0000 (14:28 -0400)] 
Merge pull request #3160 from bdarnell/ioloop-docs

ioloop: Update docs for IOLoop constructor

3 years agoioloop: Update docs for IOLoop constructor 3160/head
Ben Darnell [Fri, 17 Jun 2022 17:58:10 +0000 (13:58 -0400)] 
ioloop: Update docs for IOLoop constructor

The constructor is not completely deprecated; the make_current=False
mode is still usable.

Fixes #3156