Are nested try/except blocks in Python a code smell?

@birnim You could refactor them into methods, but nesting a couple of try/except shouldn't hurt anyone.

@birnim no, there's duck typing you simply can't do without exception handling.

Sign in to participate in the conversation

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.