Lie Ryan <lie.1...@gmail.com> writes: > There are lots of reason why bare-except is bad, one being is that it > makes it way too easy to ignore errors that you don't actually want to > silence; and given that bare-excepts would prevent Ctrl+C (Interrupt) > from working. Sorry, but IMHO we shouldn't make syntax sugar for bad > practices.
Right. Another way I've seen this expressed is “It should be easy to do the right thing, and awkward to do the wrong thing”. -- \ “Everyone is entitled to their own opinions, but they are not | `\ entitled to their own facts.” —US Senator Pat Moynihan | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list