Join Nostr
2024-12-10 03:09:00 UTC

Trey Hunner 🐍 on Nostr: Have you used "raise ... from None" in #Python? If so, what was your use case for ...

Have you used "raise ... from None" in #Python?

If so, what was your use case for "from None"?

What was the original exception that you were suppressing from the traceback and do you feel that suppression was helpful for users of your code (or were you just having fun with a new thing you learned)?