annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/lib/python3.8/importlib/machinery.py @ 69:33d812a61356

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