News for hackers. Stuff that matters.
Re:Handling exceptions in Python like a pro by aidos on Thursday May 20, 2021 @03:18PM (#27225767)
I believe there’s a subtle difference in the meanings. You can raise or raise from. In either case the chaining means you get to see both messages. But one implies the original error is the cause. It’s so subtle that I don’t recall which is which!

There are no comments on this comment yet.