֦iU2 d Z ddlZddlZddlZddlZddlZddgZ ee Z G d de
Z G d de
Z dd Z
dd
ZefdZ G d d
e ZddZ ddZefdZd ZddZedk( rM eej4 dk r edej8 yej4 d= eej4 d yy)aZ runpy.py - locating and running Python code using the module namespace
Provides support for locating and running Python scripts using the Python
module namespace instead of the native filesystem.
This allows Python code to play nicely with non-filesystem based PEP 302
importers when locating support scripts as well as when importing modules.
N
run_modulerun_pathc " e Zd ZdZd Zd Zd Zy)_TempModulezCTemporarily replace a module in sys.modules with an empty namespacec @ || _ t | | _ g | _ y N)mod_name
ModuleTypemodule
_saved_moduleselfr s /usr/lib64/python3.12/runpy.py__init__z_TempModule.__init__ s
* c | j } | j j t j | | j t j |<