Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That code is never executed because it fails to parse. I think you can catch SyntaxError if you import a file with broken syntax.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: