Skip to content

Fix issue in inferred caller when resourcse package has no source.#314

Merged
jaraco merged 7 commits intomainfrom
gh-123085/inferred-compiled
Aug 17, 2024
Merged

Fix issue in inferred caller when resourcse package has no source.#314
jaraco merged 7 commits intomainfrom
gh-123085/inferred-compiled

Conversation

@jaraco
Copy link
Copy Markdown
Member

@jaraco jaraco commented Aug 17, 2024

Closes python/cpython#123085

  • gh-121735: Fix inferring caller when resolving importlib.resources.files()
  • Adapt changes for new fixtures.
  • Extract a function for computing 'this filename' once.
  • Just do a simple textual substitution to avoid under matching when the file is compiled.

Loading
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.

importlib.resources.files() doesn't work correctly when importlib library is compiled

2 participants