Jacol wrote:
> I understand that author generated exception and than extracted the name of
> function from the exeption. But is any sens in using exeptions service if
> we have smthing simpler: just print for example? In my opinion no, it
> doesn't make sens.

You are correct. The author of that code was using exceptions to get at
particular information that, at the time, was only available through a 
traceback.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco

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

Reply via email to