Something I don't like about these kinds of proposals is that
the except clause is far removed from the code that it covers,
hurting readability. By the time you get to the end of a big
for-loop or with-statement and see an "except", it's easy to
forget that it isn't attached to an ordinary try-statement.

I would be happier if there were some way to get the except
clause at the top instead of the bottom, but it's hard to
think of a nice way to do that.

--
Greg
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/E24GNVZXY3MH4FNIYTVBWEAOOTKERMUX/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to