Nick Coghlan <ncogh...@gmail.com> added the comment:

It's a matter of historical timing: PEP 343 was written before 
try/except/finally was allowed, when try/finally and try/except were still 
distinct statements.

However, PEP 341 was *also* accepted and implemented for Python 2.5, allowing 
for the modern try/except/finally form: 
https://docs.python.org/dev/whatsnew/2.5.html#pep-341-unified-try-except-finally

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39037>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to