Skip to content

[3.7] [3.8] bpo-42531: Teach importlib.resources.path to handle packages without __file__ (GH-23611)#24229

Closed
miss-islington wants to merge 1 commit into
python:3.7from
miss-islington:backport-f08c664-3.7
Closed

[3.7] [3.8] bpo-42531: Teach importlib.resources.path to handle packages without __file__ (GH-23611)#24229
miss-islington wants to merge 1 commit into
python:3.7from
miss-islington:backport-f08c664-3.7

Conversation

@miss-islington

@miss-islington miss-islington commented Jan 16, 2021

Copy link
Copy Markdown
Contributor

Fixes [bpo-42531]() for Python 3.8.

The issue also applies to 3.7. If this PR looks like it'll be accepted, I can cherry-pick it to the 3.7 branch and submit a follow-up PR.

Automerge-Triggered-By: GH:jaraco
(cherry picked from commit f08c664)

Co-authored-by: William Schwartz wkschwartz@gmail.com

https://bugs.python.org/issue42531

Automerge-Triggered-By: GH:jaraco

…thout __file__ (pythonGH-23611)

Fixes [bpo-42531]() for Python 3.8.

The issue also applies to 3.7. If this PR looks like it'll be accepted, I can cherry-pick it to the 3.7 branch and submit a follow-up PR.

Automerge-Triggered-By: GH:jaraco
(cherry picked from commit f08c664)

Co-authored-by: William Schwartz <wkschwartz@gmail.com>
@miss-islington

Copy link
Copy Markdown
Contributor Author

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

@miss-islington

Copy link
Copy Markdown
Contributor Author

Sorry, I can't merge this PR. Reason: You're not authorized to push to this branch. Visit https://docs.github.com/articles/about-protected-branches/ for more information..

@jaraco

jaraco commented Jan 16, 2021

Copy link
Copy Markdown
Member

I see 3.7 is in security fix only, so if you need to support Python 3.7 and need the fix, please use the importlib_resources backport.

@jaraco jaraco closed this Jan 16, 2021
@miss-islington
miss-islington deleted the backport-f08c664-3.7 branch January 16, 2021 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting merge type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants