Earlier quoted context omitted.
I've been writing Python for over 20 years, and I don't think this has happened to me one single time. I'm not some kind of super programmer; I make as many mistakes as anybody else and spend too long debugging stupid mistakes occasionally. I've mixed spaces and tabs before on a handful of occasions, and it's always told me straight away what the problem is. Here is an example of mixed spaces and tabs for indentation…
Here's an example of an incomprehensible error related to mixing whitespace, where its not obvious its a mixed whitespace issue: https://repl.it/repls/MotionlessLustrousScan
IndentationError: unindent does not match any outer indentation level
The very first thing I would look at is the indentation if I got an error like that. You hardly need to "spend an hour trying to debug a nonsensical error" when you see an error like that.