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: |