[Python-Dev] Pre-PEP: Unifying try-except and try-finally

Guido van Rossum gvanrossum at gmail.com
Wed May 11 23:30:27 CEST 2005


[Steven Bethard]
> I have a feeling that it might actually be easier to continue to
> document try/except and try/finally separately and then just give the
> semantics of try/except/finally in terms of the other semantics.  Take
> a look at the Java Language Specification[1] (pages 399-401) if you
> want to see how nastly documenting try/except/finally can get.  And
> they don't even have an else clause! ;-)

Fine with me.

Can I go ahead and approve this now before someone proposes to add a
new keyword?

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list