[Python-Dev] Merging PEP 310 and PEP 340-redux?

Paul Moore p.f.moore at gmail.com
Thu May 12 11:01:07 CEST 2005


On 5/11/05, Guido van Rossum <gvanrossum at gmail.com> wrote:
> I realize that the pushback was against looping, but whereas in the
> PEP 340 proposal general exception handling comes out naturally, it
> feels as an ugly wart in the modified PEP 310 proposal.
> 
> Plus I think the use cases are much weaker (even PEP 340 doesn't have
> many use cases for exception handling -- the only one is the
> auto-retry example).

Accepted, but I still feel that the templates should explicitly
include the try...finally, rather than simply having the yield mark
the split. The examples seem more readable that way. Explicit is
better than implicit, and all that...

Paul.


More information about the Python-Dev mailing list