[syntax-error] Detail the reason why pylint can't analyse the file after a syntax error (#9589)



Closes #9588
2 files changed