--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py Thu Jul 14 13:38:55 2022 +0200 +++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py Thu Jul 14 15:40:26 2022 +0200 @@ -226,8 +226,8 @@ # Submit tasks (initially two time number of processes initialTasks = 2 * NumberOfProcesses - for _ in range(initialTasks): - taskQueue.put(argumentsList.pop(0)) + for task in argumentsList[:initialTasks]: + taskQueue.put(task) # Start worker processes workers = [ @@ -260,7 +260,7 @@ break if i < endIndex: - taskQueue.put(argumentsList.pop(0)) + taskQueue.put(argumentsList[i + initialTasks]) # Tell child processes to stop for _ in range(NumberOfProcesses):