exception problem
Ethan Furman
ethan at stoneleaf.us
Thu Jun 28 08:52:57 EDT 2012
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~
More information about the Python-list
mailing list