Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-30266: support "= None" pattern in AbstractContextManager#1448

Merged
gvanrossum merged 7 commits into
python:masterpython/cpython:masterfrom
JelleZijlstra:acmnoneJelleZijlstra/cpython:acmnoneCopy head branch name to clipboard
Jun 9, 2017
Merged

bpo-30266: support "= None" pattern in AbstractContextManager#1448
gvanrossum merged 7 commits into
python:masterpython/cpython:masterfrom
JelleZijlstra:acmnoneJelleZijlstra/cpython:acmnoneCopy head branch name to clipboard

Conversation

@JelleZijlstra

Copy link
Copy Markdown
Member

No description provided.

@mention-bot

Copy link
Copy Markdown

@JelleZijlstra, thanks for your PR! By analyzing the history of the files in this pull request, we identified @ncoghlan, @berkerpeksag and @Yhg1s to be potential reviewers.

@berkerpeksag berkerpeksag 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.

Could you please add a note to Misc/NEWS?

@JelleZijlstra

Copy link
Copy Markdown
Member Author

Done, thanks for the review.

@ilevkivskyi

Copy link
Copy Markdown
Member

It looks like a fourth merge is required...

@gvanrossum

Copy link
Copy Markdown
Member

Pinging @berkerpeksag -- is this now to your satisfaction? Could we get it in 3.6.3? (I.e. before Monday June 12.)

@gvanrossum

Copy link
Copy Markdown
Member

This seems simple enough, I'm merging it.

@gvanrossum gvanrossum merged commit 57161aa into python:master Jun 9, 2017
@gvanrossum

Copy link
Copy Markdown
Member

@Mariatta Can you help backporting this to 3.6?

@Mariatta Mariatta self-assigned this Jun 9, 2017
Mariatta pushed a commit to Mariatta/cpython that referenced this pull request Jun 10, 2017
…ythonGH-1448)

contextlib.AbstractContextManager now supports anti-registration
by setting __enter__ = None or __exit__ = None, following the pattern
introduced in bpo-25958..
(cherry picked from commit 57161aa)
Mariatta added a commit that referenced this pull request Jun 10, 2017
… (GH-2054)

contextlib.AbstractContextManager now supports anti-registration
by setting __enter__ = None or __exit__ = None, following the pattern
introduced in bpo-25958..
(cherry picked from commit 57161aa)
@Mariatta Mariatta removed their assignment Jun 10, 2018
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.

7 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.