I am getting the Exception has occurred: GeneratorExit message only when debugging (in VSCode).
anyIsTitle = any(word.istitle() for word in ['notitle', 'Title'])
The problem is with any(). It runs fine when not using it, say with a normal for loop. I am also loading some heavy stuff into memory while on this line.
Can someone explain why this could be happening?