Hacker News new | past | comments | ask | show | jobs | submit login

Change that `except Exception:` to just a bare `except:` to catch KeyboardInterrupts as well and prevent Ctrl+C from killing any of them while it expands.



or "except BaseException"




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

Search: