]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.8] bpo-42531: Teach importlib.resources.path to handle packages without __file__...
authorWilliam Schwartz <wkschwartz@gmail.com>
Sat, 16 Jan 2021 17:22:21 +0000 (11:22 -0600)
committerGitHub <noreply@github.com>
Sat, 16 Jan 2021 17:22:21 +0000 (09:22 -0800)
commitf08c66467d56c71f75c6659ede9177449fe9d2e6
tree54a275d9fb9e807c0ea5762c9f987727e118bb97
parent187f76def8a5bd0af7ab512575cad30cfe624b05
[3.8] bpo-42531: Teach importlib.resources.path to handle packages without __file__ (GH-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
Lib/importlib/resources.py
Lib/test/test_importlib/test_path.py
Misc/NEWS.d/next/Library/2020-12-02-16-28-04.bpo-42531.2sLlFW.rst [new file with mode: 0644]