bpo-41718: runpy now imports pkgutil in functions (GH-24996)
Reduce the number of modules imported by "python3 -m module". The runpy module no longer imports at startup (in the module body), but only in functions using it: _get_code_from_file() and run_path().
V
Victor Stinner committed
bd9154a495434464283f74b660160f89930cd791
Parent: d72e8d4
Committed by GitHub <noreply@github.com>
on 3/23/2021, 6:22:57 PM