3 ms·
That code is never executed because it fails to parse. I think you can catch SyntaxError if you import a file with broken syntax.
by mxey 14y ago
That code is never executed because it fails to parse. I think you can catch SyntaxError if you import a file with broken syntax.