Skip to content

gh-121190: Emit a better error message from importlib.resources.files() when module spec is None"#148460

Merged
jaraco merged 2 commits intopython:mainfrom
jaraco:gh-121190/main-spec-none-better-message
Apr 12, 2026
Merged

gh-121190: Emit a better error message from importlib.resources.files() when module spec is None"#148460
jaraco merged 2 commits intopython:mainfrom
jaraco:gh-121190/main-spec-none-better-message

Conversation

@jaraco
Copy link
Copy Markdown
Member

@jaraco jaraco commented Apr 12, 2026

jaraco added 2 commits April 12, 2026 12:30
…files()` when module spec is None (__main__)

Also merges incidental changes from importlib_resources 7.1.
@jaraco jaraco requested review from FFY00 and warsaw as code owners April 12, 2026 16:32
@jaraco jaraco changed the title gh:121190: Emit a better error message from importlib.resources.files() when module spec is None" gh-121190: Emit a better error message from importlib.resources.files() when module spec is None" Apr 12, 2026
@jaraco jaraco merged commit 480edc1 into python:main Apr 12, 2026
53 checks passed
@jaraco jaraco deleted the gh-121190/main-spec-none-better-message branch April 12, 2026 22:15
prakashsellathurai added a commit to prakashsellathurai/cpython that referenced this pull request Apr 13, 2026
…resources.files()` when module spec is `None`" (python#148460)"

This reverts commit 480edc1.
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.

1 participant