Skip to content

bpo-19468: delete unnecessary instance check in importlib.reload()#19424

Merged
miss-islington merged 3 commits into
python:masterfrom
furkanonder:bpo-19468
Jun 5, 2020
Merged

bpo-19468: delete unnecessary instance check in importlib.reload()#19424
miss-islington merged 3 commits into
python:masterfrom
furkanonder:bpo-19468

Conversation

@furkanonder

@furkanonder furkanonder commented Apr 7, 2020

Copy link
Copy Markdown
Contributor

@furkanonder furkanonder changed the title bpo:19468 delete unnecessary modul control statement bpo-19468: delete unnecessary modul control statement Apr 7, 2020

@eamanu eamanu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@eamanu

eamanu commented Apr 8, 2020

Copy link
Copy Markdown
Contributor

IMO news could be skipped.

@ericsnowcurrently ericsnowcurrently 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

I expect there could possibly be some deep corner cases (via _bootstrap._find_spec() and _bootstrap._exec() that would change behavior here, but find it highly unlikely that, if such cases even exist, anyone relies on them. 😄

@furkanonder

Copy link
Copy Markdown
Contributor Author

@brettcannon

@brettcannon brettcannon changed the title bpo-19468: delete unnecessary modul control statement bpo-19468: delete unnecessary instance check in importlib.reload() May 28, 2020
@brettcannon

Copy link
Copy Markdown
Member

LGTM, although I think a news entry is still appropriate.

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

Needs a news entry as it changes the semantics of the function.

@bedevere-bot

Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@furkanonder furkanonder requested a review from brettcannon May 30, 2020 23:19
@brettcannon

Copy link
Copy Markdown
Member

@furkanonder please read the instructions from the bot on how to signal you're ready for another review.

@furkanonder

Copy link
Copy Markdown
Contributor Author

@furkanonder please read the instructions from the bot on how to signal you're ready for another review.

Sorry, I missed it. I have made the requested changes; please review again :)

@bedevere-bot

Copy link
Copy Markdown

Thanks for making the requested changes!

@brettcannon, @ericsnowcurrently: please review the changes made to this pull request.

Comment thread Misc/NEWS.d/next/Core and Builtins/2020-05-30-23-18-35.bpo-19468.S-TA7p.rst Outdated
@miss-islington

Copy link
Copy Markdown
Contributor

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

@miss-islington miss-islington merged commit fef1fae into python:master Jun 5, 2020
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