importlib.resources.files() doesn't work correctly when importlib library is compiled · Issue #123085 · python/cpython · GitHub

github.com

GitHub CopilotWrite better code with AI | MCP RegistryIntegrate external tools | ActionsAutomate any workflow | CodespacesInstant dev environments | IssuesPlan and track work | Code ReviewManage code changes | Code QualityEnforce quality at merge | Why GitHub | Marketplace | View all features | Enterprises | Small and medium teams | Startups | View all use cases | View all industries | View all solutions | AI | Software Development | DevOps | Security | View all topics | Customer stories | Events & webinars | Ebooks & reports | Business insights | Trust center | Partners | View all resources

Tin mới

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

python/importlib_resources#314

stdlibStandard Library Python modules in the Lib/ directory

type-bugAn unexpected behavior, bug, or error

cpython/Lib/importlib/resources/_common.py

gh-123085: Fix issue in inferred caller when resources package has no source #123102

[3.12] gh-123085: Fix issue in inferred caller when resources package has no source (GH-123102) #124021

[3.13] gh-123085: Fix issue in inferred caller when resource package has no source (GH-123102) #124024

gh-123085: _compile_importlib: Avoid copying sources before compilation #124131

[3.12] gh-123085: _compile_importlib: Avoid copying sources before compilation (GH-124131) #128581

[3.12] gh-123085: Remove double 'import os' added by PR #124021 #128600

[3.13] gh-123085: _compile_importlib: Avoid copying sources before compilation (GH-124131) #137914