spack/lib
Massimiliano Culpo 219eb09e59
Put a module object in sys.modules before executing module code (#23269)
The loading protocol mandates that the the module we are going
to import needs to be already in sys.modules before its code is
executed, so to prevent unbounded recursions and multiple loading.

Loading a module from file exits early if the module is already
in sys.modules
2021-05-06 11:53:40 +02:00
..
spack Put a module object in sys.modules before executing module code (#23269) 2021-05-06 11:53:40 +02:00