Skip to content
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

Implement CancelScope.cancelled_caught #257

Closed
agronholm opened this issue Apr 10, 2021 · 3 comments
Closed

Implement CancelScope.cancelled_caught #257

agronholm opened this issue Apr 10, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@agronholm
Copy link
Owner

The CancelScope implementation on AnyIO mirrors that of trio 1:1, except for this particular property.

Relevant trio documentation here.

@agronholm agronholm added the enhancement New feature or request label Apr 10, 2021
@agronholm agronholm added this to the 3.1 milestone Apr 10, 2021
johnzeringue added a commit to johnzeringue/anyio that referenced this issue Apr 23, 2021
Added `CancelScope.cancelled_caught` to match the Trio API. Relevant
Trio documentation
[here](https://trio.readthedocs.io/en/stable/reference-core.html#trio.CancelScope.cancelled_caught).

Closes agronholm#257
johnzeringue added a commit to johnzeringue/anyio that referenced this issue Apr 30, 2021
Added `CancelScope.cancelled_caught` to match the Trio API. Relevant
Trio documentation
[here](https://trio.readthedocs.io/en/stable/reference-core.html#trio.CancelScope.cancelled_caught).

Closes agronholm#257
johnzeringue added a commit to johnzeringue/anyio that referenced this issue Apr 30, 2021
Added `CancelScope.cancelled_caught` to match the Trio API. Relevant
Trio documentation
[here](https://trio.readthedocs.io/en/stable/reference-core.html#trio.CancelScope.cancelled_caught).

Closes agronholm#257
johnzeringue added a commit to johnzeringue/anyio that referenced this issue Apr 30, 2021
Added `CancelScope.cancelled_caught` to match the Trio API. Relevant
Trio documentation
[here](https://trio.readthedocs.io/en/stable/reference-core.html#trio.CancelScope.cancelled_caught).

Closes agronholm#257
johnzeringue added a commit to johnzeringue/anyio that referenced this issue May 7, 2021
Added `CancelScope.cancelled_caught` to match the Trio API. Relevant
Trio documentation
[here](https://trio.readthedocs.io/en/stable/reference-core.html#trio.CancelScope.cancelled_caught).

Closes agronholm#257
johnzeringue added a commit to johnzeringue/anyio that referenced this issue May 8, 2021
Added `CancelScope.cancelled_caught` to match the Trio API. Relevant
Trio documentation
[here](https://trio.readthedocs.io/en/stable/reference-core.html#trio.CancelScope.cancelled_caught).

Closes agronholm#257
johnzeringue added a commit to johnzeringue/anyio that referenced this issue May 10, 2021
Added `CancelScope.cancelled_caught` to match the Trio API. Relevant
Trio documentation
[here](https://trio.readthedocs.io/en/stable/reference-core.html#trio.CancelScope.cancelled_caught).

Closes agronholm#257
johnzeringue added a commit to johnzeringue/anyio that referenced this issue May 10, 2021
Added `CancelScope.cancelled_caught` to match the Trio API. Relevant
Trio documentation
[here](https://trio.readthedocs.io/en/stable/reference-core.html#trio.CancelScope.cancelled_caught).

Closes agronholm#257
johnzeringue added a commit to johnzeringue/anyio that referenced this issue May 12, 2021
Added `CancelScope.cancelled_caught` to match the Trio API. Relevant
Trio documentation
[here](https://trio.readthedocs.io/en/stable/reference-core.html#trio.CancelScope.cancelled_caught).

Closes agronholm#257
johnzeringue added a commit to johnzeringue/anyio that referenced this issue May 12, 2021
Added `CancelScope.cancelled_caught` to match the Trio API. Relevant
Trio documentation
[here](https://trio.readthedocs.io/en/stable/reference-core.html#trio.CancelScope.cancelled_caught).

Refactored `TaskGroup.__aexit__` to match Trio's structured concurrency
model.

Closes agronholm#257
johnzeringue added a commit to johnzeringue/anyio that referenced this issue May 12, 2021
Added `CancelScope.cancelled_caught` to match the Trio API. Relevant
Trio documentation
[here](https://trio.readthedocs.io/en/stable/reference-core.html#trio.CancelScope.cancelled_caught).

Refactored `TaskGroup.__aexit__` to match Trio's structured concurrency
model.

Closes agronholm#257
johnzeringue added a commit to johnzeringue/anyio that referenced this issue May 12, 2021
Added `CancelScope.cancelled_caught` to match the Trio API. Relevant
Trio documentation
[here](https://trio.readthedocs.io/en/stable/reference-core.html#trio.CancelScope.cancelled_caught).

Refactored `TaskGroup.__aexit__` to match Trio's structured concurrency
model.

Closes agronholm#257
johnzeringue added a commit to johnzeringue/anyio that referenced this issue May 12, 2021
Added `CancelScope.cancelled_caught` to match the Trio API. Relevant
Trio documentation
[here](https://trio.readthedocs.io/en/stable/reference-core.html#trio.CancelScope.cancelled_caught).

Refactored `TaskGroup.__aexit__` to match Trio's structured concurrency
model.

Closes agronholm#257
johnzeringue added a commit to johnzeringue/anyio that referenced this issue May 12, 2021
Added `CancelScope.cancelled_caught` to match the Trio API. Relevant
Trio documentation
[here](https://trio.readthedocs.io/en/stable/reference-core.html#trio.CancelScope.cancelled_caught).

Refactored `TaskGroup.__aexit__` to match Trio's structured concurrency
model.

Closes agronholm#257
johnzeringue added a commit to johnzeringue/anyio that referenced this issue May 12, 2021
Added `CancelScope.cancelled_caught` to match the Trio API. Relevant
Trio documentation
[here](https://trio.readthedocs.io/en/stable/reference-core.html#trio.CancelScope.cancelled_caught).

Refactored `TaskGroup.__aexit__` to match Trio's structured concurrency
model.

Closes agronholm#257
johnzeringue added a commit to johnzeringue/anyio that referenced this issue May 12, 2021
Added `CancelScope.cancelled_caught` to match the Trio API. Relevant
Trio documentation
[here](https://trio.readthedocs.io/en/stable/reference-core.html#trio.CancelScope.cancelled_caught).

Refactored `TaskGroup.__aexit__` to match Trio's structured concurrency
model.

Closes agronholm#257
@agronholm
Copy link
Owner Author

@johnzeringue do you intend to work on this any further?

@johnzeringue
Copy link

@johnzeringue do you intend to work on this any further?

I probably don't have the time to continue working on it. I was unable to find a way to make this work.

@agronholm agronholm removed this from the 3.x milestone Oct 2, 2022
@agronholm
Copy link
Owner Author

Closing in favor of #591, as it introduces a more useful property, deadline_reached.

@agronholm agronholm closed this as not planned Won't fix, can't repro, duplicate, stale Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants