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

[3.6] bpo-32303 - Consistency fixes for namespace loaders (GH-5481)#5504

Merged
warsaw merged 1 commit into
3.6python/cpython:3.6from
backport-bbbcf86-3.6python/cpython:backport-bbbcf86-3.6Copy head branch name to clipboard
Feb 3, 2018
Merged

[3.6] bpo-32303 - Consistency fixes for namespace loaders (GH-5481)#5504
warsaw merged 1 commit into
3.6python/cpython:3.6from
backport-bbbcf86-3.6python/cpython:backport-bbbcf86-3.6Copy head branch name to clipboard

Conversation

@warsaw

@warsaw warsaw commented Feb 3, 2018

Copy link
Copy Markdown
Member
  • 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 barry@python.org

https://bugs.python.org/issue32303

* 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 <barry@python.org>
@bedevere-bot

Copy link
Copy Markdown

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

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.

3 participants

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