cpython/Lib/importlib
Mark Shannon adcd220556
bpo-40222: "Zero cost" exception handling (GH-25729)
"Zero cost" exception handling.

* Uses a lookup table to determine how to handle exceptions.
* Removes SETUP_FINALLY and POP_TOP block instructions, eliminating (most of) the runtime overhead of try statements.
* Reduces the size of the frame object by about 60%.
2021-05-07 15:19:19 +01:00
..
metadata bpo-43926: Cleaner metadata with PEP 566 JSON support. (GH-25565) 2021-05-02 17:03:40 -04:00
__init__.py bpo-42135: Deprecate implementations of find_module() and find_loader() (GH-25169) 2021-04-06 08:56:57 -07:00
_abc.py bpo-42136: Deprecate module_repr() as found in importlib (GH-25022) 2021-03-26 11:55:07 -07:00
_adapters.py bpo-42129: Add support for resources in namespaces (GH-24670) 2021-03-04 13:43:00 -05:00
_bootstrap.py bpo-42135: Deprecate implementations of find_module() and find_loader() (GH-25169) 2021-04-06 08:56:57 -07:00
_bootstrap_external.py bpo-40222: "Zero cost" exception handling (GH-25729) 2021-05-07 15:19:19 +01:00
_common.py bpo-42129: Add support for resources in namespaces (GH-24670) 2021-03-04 13:43:00 -05:00
abc.py bpo-42135: Deprecate implementations of find_module() and find_loader() (GH-25169) 2021-04-06 08:56:57 -07:00
machinery.py bpo-42403: Fix pyflakes warnings in importlib (GH-23396) 2020-11-19 11:20:57 +01:00
readers.py bpo-42129: Add support for resources in namespaces (GH-24670) 2021-03-04 13:43:00 -05:00
resources.py bpo-42129: Add support for resources in namespaces (GH-24670) 2021-03-04 13:43:00 -05:00
util.py bpo-43720: Update import-related stdlib deprecation messages to say they will be removed in Python 3.12 (GH-25167) 2021-04-03 15:31:15 -07:00