Charles Hixson wrote:
On 06/25/2012 12:48 AM, Steven D'Aprano wrote:
"Catch any exception" is almost certainly the wrong thing to do, almost
always.
This time it was the right thing

No, it wasn't. If you hadn't caught it, Python would have printed it out for you, along with the full trace-back, giving you most if not all the information you needed to track down the bug.

~Ethan~
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to