Hacker News new | ask | show | jobs
by wyldfire 2918 days ago
Data classes seem pretty neat. I haven't used attrs yet. And I rarely extend namedtuples, but it's nice to have a mechanism to do that built in.

breakpoint() is certainly more memorable than the current incantation.

1 comments

Yes! I’ve never been able to convince anyone to use pdb.settrace. I think they see the pdb and assume there’s a whole new thing they’d have to learn.

If I tell them you just call breakpoint() they might be willing to try it out.