Load a module from file, required by the abstract class '_Cache'.
(name, path)
| 700 | |
| 701 | @staticmethod |
| 702 | def dist_load_module(name, path): |
| 703 | """Load a module from file, required by the abstract class '_Cache'.""" |
| 704 | from .misc_util import exec_mod_from_location |
| 705 | try: |
| 706 | return exec_mod_from_location(name, path) |
| 707 | except Exception as e: |
| 708 | _Distutils.dist_log(e, stderr=True) |
| 709 | return None |
| 710 | |
| 711 | @staticmethod |
| 712 | def _dist_str(*args): |
no test coverage detected