Tue, 14 Dec 2021 19:44:25 +0100
Removed a left over from Python2 times.
eric7/DebugClients/Python/ModuleLoader.py | file | annotate | diff | comparison | revisions |
--- a/eric7/DebugClients/Python/ModuleLoader.py Tue Dec 14 19:43:53 2021 +0100 +++ b/eric7/DebugClients/Python/ModuleLoader.py Tue Dec 14 19:44:25 2021 +0100 @@ -36,7 +36,7 @@ del sys.modules[moduleName] self.__modulesToPatch = ( - 'thread', '_thread', 'threading', + '_thread', 'threading', 'greenlet', 'subprocess', 'multiprocessing', @@ -62,7 +62,7 @@ ## Add hook for _thread.start_new_thread if ( - fullname in ('thread', '_thread') and + fullname == '_thread' and not hasattr(module, 'eric7_patched') ): module.eric7_patched = True