Skip to content

Conversation

warsaw
Copy link
Member

@warsaw warsaw commented Feb 2, 2018

A manual backport is safer than #5498 because of the changes to importlib.h and importlib_external.h.

* Make sure ``__spec__.loader`` matches ``__loader__`` for namespace packages.
* Make sure ``__spec__.origin` matches ``__file__`` for namespace packages.

https://bugs.python.org/issue32303
https://bugs.python.org/issue32305
(cherry picked from commit bbbcf86)

Co-authored-by: Barry Warsaw <[email protected]>
@bedevere-bot
Copy link

@warsaw: Please replace # with GH- in the commit message next time. Thanks!

@warsaw warsaw deleted the miss-islington-backport-bbbcf86-3.7 branch February 3, 2018 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants