annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/lib/python3.8/importlib/machinery.py @ 68:5028fdace37b

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 16:23:26 -0400
parents
children
rev   line source
jpayne@68 1 """The machinery of importlib: finders, loaders, hooks, etc."""
jpayne@68 2
jpayne@68 3 import _imp
jpayne@68 4
jpayne@68 5 from ._bootstrap import ModuleSpec
jpayne@68 6 from ._bootstrap import BuiltinImporter
jpayne@68 7 from ._bootstrap import FrozenImporter
jpayne@68 8 from ._bootstrap_external import (SOURCE_SUFFIXES, DEBUG_BYTECODE_SUFFIXES,
jpayne@68 9 OPTIMIZED_BYTECODE_SUFFIXES, BYTECODE_SUFFIXES,
jpayne@68 10 EXTENSION_SUFFIXES)
jpayne@68 11 from ._bootstrap_external import WindowsRegistryFinder
jpayne@68 12 from ._bootstrap_external import PathFinder
jpayne@68 13 from ._bootstrap_external import FileFinder
jpayne@68 14 from ._bootstrap_external import SourceFileLoader
jpayne@68 15 from ._bootstrap_external import SourcelessFileLoader
jpayne@68 16 from ._bootstrap_external import ExtensionFileLoader
jpayne@68 17
jpayne@68 18
jpayne@68 19 def all_suffixes():
jpayne@68 20 """Returns a list of all recognized module suffixes for this process"""
jpayne@68 21 return SOURCE_SUFFIXES + BYTECODE_SUFFIXES + EXTENSION_SUFFIXES