History for Lib/importlib - python/cpython · GitHub

github.com

Tin mới

gh-123011: Fix warn_explicit() with the globals of the __main__ module (GH-155318)

gh-123011: Fix warn_explicit() with the globals of the __main__ module (GH-155318)

gh-154675: reorganize some imports in importlib (#154657)

gh-154675: reorganize some imports in importlib (#154657)

gh-153236: Propagate lazy submodule import errors (#153237)

gh-153236: Propagate lazy submodule import errors (#153237)

gh-150886: Remove unused importlib._bootstrap._object_name (#150884)

gh-150886: Remove unused importlib._bootstrap._object_name (#150884)

GH-83065: Fix import deadlock by implementing hierarchical module locking (GH-137196)

GH-83065: Fix import deadlock by implementing hierarchical module locking (GH-137196)

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

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

gh-127012: `Traversable.read_text` now allows/solicits an `errors` parameter. (#148401)

gh-127012: `Traversable.read_text` now allows/solicits an `errors` parameter. (#148401)

gh-143387: Raise an exception instead of returning None when metadata file is missing. (#146234)

gh-143387: Raise an exception instead of returning None when metadata file is missing. (#146234)

gh-146228: Better fork support in cached FastPath (#146231)

gh-146228: Better fork support in cached FastPath (#146231)

gh-145506: Fixes CVE-2026-2297 by ensuring SourcelessFileLoader uses io.open_code (GH-145507)

gh-145506: Fixes CVE-2026-2297 by ensuring SourcelessFileLoader uses io.open_code (GH-145507)

gh-110937: Document full public importlib.metadata.Distribution API (#143480)

gh-110937: Document full public importlib.metadata.Distribution API (#143480)

gh-139899: Introduce MetaPathFinder.discover and PathEntryFinder.discover (#139900)

gh-139899: Introduce MetaPathFinder.discover and PathEntryFinder.discover (#139900)

gh-142349: Implement PEP 810 - Explicit lazy imports (#142351)

gh-142349: Implement PEP 810 - Explicit lazy imports (#142351)

gh-143650: Fix importlib race condition on import failure (GH-143651)

gh-143650: Fix importlib race condition on import failure (GH-143651)

gh-143658: Use `str.lower` and `replace` to further improve performance of `importlib.metadata.Prepared.normalized` (#144083)

gh-143658: Use `str.lower` and `replace` to further improve performance of `importlib.metadata.Prepared.normalized` (#144083)

gh-143658: importlib.metadata: Use `str.translate` to improve performance of `importlib.metadata.Prepared.normalized` (#143660)

gh-143658: importlib.metadata: Use `str.translate` to improve performance of `importlib.metadata.Prepared.normalized` (#143660)

GH-139686: Revert "gh-139686: Make reloading a lazy module no-op (GH-139857)" (#143584)

GH-139686: Revert "gh-139686: Make reloading a lazy module no-op (GH-139857)" (#143584)

gh-141081: Revert "Add a `.gitignore` file to `__pycache__` folders (#141162)" (#142758)

gh-141081: Revert "Add a `.gitignore` file to `__pycache__` folders (#141162)" (#142758)

gh-141081: Add a `.gitignore` file to `__pycache__` folders (#141162)

gh-141081: Add a `.gitignore` file to `__pycache__` folders (#141162)

gh-139686: Make reloading a lazy module no-op (GH-139857)

gh-139686: Make reloading a lazy module no-op (GH-139857)

GH-65961: Stop setting `__cached__` on modules (GH-142165)

GH-65961: Stop setting `__cached__` on modules (GH-142165)

GH-142203: Remove the `debug_override` parameter from `packaging.util.cache_from_source()` (GH-142204)

GH-142203: Remove the `debug_override` parameter from `packaging.util.cache_from_source()` (GH-142204)

GH-97850: Remove all uses and definitions of `load_module()` from importlib (#142205)

GH-97850: Remove all uses and definitions of `load_module()` from importlib (#142205)

gh-141930: Use the regular IO stack to write .pyc files for a better error message on failure (GH-141931)

gh-141930: Use the regular IO stack to write .pyc files for a better error message on failure (GH-141931)

GH-90344: replace single-call `io.IncrementalNewlineDecoder` usage with non-incremental newline decoders (GH-30276)

gh-135801: Add the module parameter to compile() etc (GH-139652)

GH-119668: expose importlib.machinery.NamespacePath (#119669)

gh-140633: AppleFrameworkLoader: Ignore AttributeError when setting __file__ (GH-140635)

gh-140141: Properly break exception chain in `importlib.metadata.Distribution.from_name` (#140142)

gh-138044: Remove deprecated parameter alias for `importlib.resources.files` (#138059)

gh-138310: Adds sys.audit event for import_module (#138311)

gh-93334: Fix homonym edge case in PathFinder.find_spec() (GH-98100)

Reapply "gh-132947: Apply changes from importlib_metadata 8.7 (#137885)" (#137924) (#137930)

Revert "gh-132947: Apply changes from importlib_metadata 8.7 (#137885)" (#137924)

gh-132947: Apply changes from importlib_metadata 8.7 (#137885)