bpo-30266: support "= None" pattern in AbstractContextManager#1448
Conversation
|
@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. |
Sorry, something went wrong.
berkerpeksag
left a comment
There was a problem hiding this comment.
Could you please add a note to Misc/NEWS?
Sorry, something went wrong.
|
Done, thanks for the review. |
Sorry, something went wrong.
|
It looks like a fourth merge is required... |
Sorry, something went wrong.
|
Pinging @berkerpeksag -- is this now to your satisfaction? Could we get it in 3.6.3? (I.e. before Monday June 12.) |
Sorry, something went wrong.
|
This seems simple enough, I'm merging it. |
Sorry, something went wrong.
…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)
No description provided.