src/eric7/DebugClients/Python/ModuleLoader.py

branch
server
changeset 10704
27d21e5163b8
parent 10683
779cda568acb
child 11090
f5f5f5803935
equal deleted inserted replaced
10680:306373ccf8fd 10704:27d21e5163b8
98 self.__dbgClient.patchQThread(module) 98 self.__dbgClient.patchQThread(module)
99 patchQProcess(module, self.__dbgClient) 99 patchQProcess(module, self.__dbgClient)
100 100
101 return module 101 return module
102 102
103 def find_spec(self, fullname, path, target=None): # noqa: U100 103 def find_spec(self, fullname, _path, target=None): # noqa: U100
104 """ 104 """
105 Public method returning the module spec. 105 Public method returning the module spec.
106 106
107 @param fullname name of the module to be loaded 107 @param fullname name of the module to be loaded
108 @type str 108 @type str
109 @param path path to resolve the module name 109 @param _path path to resolve the module name (unused)
110 @type str 110 @type str
111 @param target module object to use for a more educated guess 111 @param target module object to use for a more educated guess
112 about what spec to return 112 about what spec to return (unused)
113 @type module 113 @type module
114 @return module spec object pointing to the module loader 114 @return module spec object pointing to the module loader
115 @rtype ModuleSpec 115 @rtype ModuleSpec
116 """ 116 """
117 if fullname in sys.modules or self.__dbgClient.debugging is False: 117 if fullname in sys.modules or self.__dbgClient.debugging is False:

eric ide

mercurial