[Python-Dev] PEP 343 - Abstract Block Redux

Greg Ewing greg.ewing at canterbury.ac.nz
Mon May 16 09:34:22 CEST 2005


Ron Adam wrote:

> He should also be able to put try excepts before the yield, and after 
> the yield, or in the block. (But not surrounding the yield, I think.)

I was given to understand that yield is currently
allowed in try-except, just not try-finally. So
this would require a non-backwards-compatible
change.

Greg



More information about the Python-Dev mailing list