3 ms·
I had over million euro of machinery stop because a rarely reached branch had one line with one less space due to missing linter run. Apparently Python 3 still
by p_l 4y ago
I had over million euro of machinery stop because a rarely reached branch had one line with one less space due to missing linter run. Apparently Python 3 still doesn't fully parse and validate code on load, or somehow it made a valid if nonsense AST out of that.
- andai 4y agoI know it's offtopic, but this is really a case of using spaces where tabs are the correct choice ;)
- michaelteter 4y agoPerhaps, but should _that_ choice (or more likely, misconfiguration of a system) be so dangerous?
- p_l 4y agoUnfortunately, Python (and YAML, though it wasn't YAML this time) specifies spaces as the syntactically critical element.
- mypalmike 4y agoSure, Python has a variation of the same problem.