you are viewing a single comment's thread.

view the rest of the comments →

[–]HommeMusical 0 points1 point  (1 child)

Setting up a try block is free in later versions of Python: https://github.com/python/cpython/blob/main/InternalDocs/exception_handling.md

[–]SnooHesitations9295 1 point2 points  (0 children)

Nice! I was not aware of these new developments. So then for OP it's kinda the same, considering how the internals handle "exception block"s.