Skip to content

bpo-38415: Remove redundant AsyncContextDecorator.__call__ override from _AsyncG… - #30233

Merged
serhiy-storchaka merged 5 commits into
python:mainfrom
graingert:patch-3
Feb 26, 2022
Merged

serhiy-storchaka merged 5 commits into
python:mainfrom
graingert:patch-3

Conversation

@graingert

@graingert graingert commented Dec 23, 2021 •

Copy link
Copy Markdown
Contributor

…eneratorContextManager

#16667 was opened however was allowed to go stale while #20516 was created and then merged first.

This PR currently shows that the tests added in #16667 pass without the associated code change - but it might be cleaner to just do a plain revert and rely on the tests added in #20516

https://bugs.python.org/issue38415

@graingert graingert changed the title remove redundant AsyncContextDecorator.__call__ override from _AsyncG… Dec 23, 2021
@graingert
graingert marked this pull request as ready for review December 23, 2021 00:58
@graingert
graingert requested a review from 1st1 as a code owner December 23, 2021 00:58
@serhiy-storchaka serhiy-storchaka changed the title bpo-38415 remove redundant AsyncContextDecorator.__call__ override from _AsyncG… Dec 26, 2021
Comment thread Lib/contextlib.py Resolved

@serhiy-storchaka serhiy-storchaka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM.

Comment thread Lib/contextlib.py Resolved
Since the change does not affect the user-visible behavior, a NEWS entry is not needed.
@serhiy-storchaka
serhiy-storchaka merged commit b57dbe5 into python:main Feb 26, 2022
@graingert
graingert deleted the patch-3 branch February 26, 2022 12:05
asvetlov pushed a commit that referenced this pull request Feb 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

5 participants