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

That's not entirely true, because `breakpoint` is a more general hook, `pdb.set_trace` is just its default behaviour.

This is, if anything, better. Because that way you can e.g. replace stray `breakpoint()` calls by warnings rather than break production :D



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

Search: