Skip to content

[3.7] bpo-33110: Catch errors raised when running add_done_callback on already completed futures (GH-13141)#13508

Merged
miss-islington merged 1 commit intopython:3.7from
miss-islington:backport-2a3a2ec-3.7
May 22, 2019
Merged

[3.7] bpo-33110: Catch errors raised when running add_done_callback on already completed futures (GH-13141)#13508
miss-islington merged 1 commit intopython:3.7from
miss-islington:backport-2a3a2ec-3.7

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented May 22, 2019

Wrap the callback call within the add_done_callback function within concurrent.futures, in order to behave in an identical manner to callbacks added to a running future are triggered once it has completed.
(cherry picked from commit 2a3a2ec)

Co-authored-by: Sam Martin ABitMoreDepth@users.noreply.github.com

https://bugs.python.org/issue33110

…ady completed futures (pythonGH-13141)

Wrap the callback call within the `add_done_callback` function within concurrent.futures, in order to behave in an identical manner to callbacks added to a running future are triggered once it has completed.
(cherry picked from commit 2a3a2ec)

Co-authored-by: Sam Martin <ABitMoreDepth@users.noreply.github.com>
Copy link
Copy Markdown
Member

@pitrou pitrou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@miss-islington
Copy link
Copy Markdown
Contributor Author

@ABitMoreDepth and @pitrou: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit b73c21c into python:3.7 May 22, 2019
@miss-islington miss-islington deleted the backport-2a3a2ec-3.7 branch May 22, 2019 22:02
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.

4 participants