Skip to content

AbstractEventLoop.run_in_executor() returns Future not just Awaitable #6187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 22, 2021

Conversation

altendky
Copy link
Contributor

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@hauntsaninja hauntsaninja merged commit 12dd8d9 into python:master Oct 22, 2021
altendky added a commit to Chia-Network/chia-blockchain that referenced this pull request Oct 22, 2021
mariano54 pushed a commit to Chia-Network/chia-blockchain that referenced this pull request Oct 26, 2021
* add WalletWeightProofHandler._executor_shutdown_tempfile

This is a minimally intrusive change to trigger the long-running
wallet weight proof handler's executors to terminate when requested.

* add more cancellation for wallet weight proof handler

* remove a few addressed TODO comments

* simplify validate weight proof task cancellation

* hints for .run_in_executor() returning asyncio.Future

python/typeshed#6187
Quexington pushed a commit to Chia-Network/chia-blockchain that referenced this pull request Nov 4, 2021
* add WalletWeightProofHandler._executor_shutdown_tempfile

This is a minimally intrusive change to trigger the long-running
wallet weight proof handler's executors to terminate when requested.

* add more cancellation for wallet weight proof handler

* remove a few addressed TODO comments

* simplify validate weight proof task cancellation

* hints for .run_in_executor() returning asyncio.Future

python/typeshed#6187
Quexington pushed a commit to Chia-Network/chia-blockchain that referenced this pull request Nov 8, 2021
* add WalletWeightProofHandler._executor_shutdown_tempfile

This is a minimally intrusive change to trigger the long-running
wallet weight proof handler's executors to terminate when requested.

* add more cancellation for wallet weight proof handler

* remove a few addressed TODO comments

* simplify validate weight proof task cancellation

* hints for .run_in_executor() returning asyncio.Future

python/typeshed#6187
Quexington pushed a commit to Chia-Network/chia-blockchain that referenced this pull request Nov 8, 2021
* add WalletWeightProofHandler._executor_shutdown_tempfile

This is a minimally intrusive change to trigger the long-running
wallet weight proof handler's executors to terminate when requested.

* add more cancellation for wallet weight proof handler

* remove a few addressed TODO comments

* simplify validate weight proof task cancellation

* hints for .run_in_executor() returning asyncio.Future

python/typeshed#6187
Quexington pushed a commit to Chia-Network/chia-blockchain that referenced this pull request Nov 16, 2021
* add WalletWeightProofHandler._executor_shutdown_tempfile

This is a minimally intrusive change to trigger the long-running
wallet weight proof handler's executors to terminate when requested.

* add more cancellation for wallet weight proof handler

* remove a few addressed TODO comments

* simplify validate weight proof task cancellation

* hints for .run_in_executor() returning asyncio.Future

python/typeshed#6187
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants