[Python-ideas] Retrying EAFP without DRY

Mike Meyer mwm at mired.org
Wed Jan 25 02:19:43 CET 2012

On Wed, 25 Jan 2012 11:13:18 +1000
Nick Coghlan <ncoghlan at gmail.com> wrote:
> Exception handling and repeating a section of code are *not* the same
> thing - it doesn't make sense to bundle the two into a single
> mega-construct.

Exception handling and retrying the code that caused the exception are
part of the same concept. There is value in being able to express that
concept directly with a single construct.


More information about the Python-ideas mailing list