Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Add blocking progress mode to Python async #116
Add blocking progress mode to Python async #116
Changes from 31 commits
6dae328
155ab58
1c1ab87
e5f4a40
7952ef1
edd3192
e3f9cc3
b5f95f0
60e49d1
91ab7bf
26480a5
6da6c5b
80d7e14
2b7c4cf
77b3659
1e3c55e
755bc97
e22b227
c6f9654
d4a8795
71d3697
c800ca4
18e3cf0
2ffac66
c5c2ceb
279cb4c
c624898
5769f31
4f7a7f2
23bb0bb
01cbe8a
50d3f47
dbb6386
8e4bc38
a806e45
9e2d017
94d05e9
caf67f9
74913fa
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: should we set
self.asyncio_task = None
after running until complete?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, so the idea is that you don't have control over who is closing the event loop, so you instead hook into
close
and this task cancels itself during event loop closing/teardown?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a good idea, done in 279cb4c .
Exactly, there doesn't seem to be another way, since we have no control of whether the user will close the loop before resetting UCXX.