raise or not to raise [Newbie]

Gabriel Genellina gagsl-py at yahoo.com.ar
Mon Feb 5 18:46:55 EST 2007


En Sat, 03 Feb 2007 18:07:12 -0300, Jacol <jgrzebyta at NO.gazeta.pl.SPAM>  
escribió:

> 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.

Notice the posting date... 8 years ago, that was the only way. Now, things  
are different (thanks Guido and all the folks making Python better each  
day!)

-- 
Gabriel Genellina




More information about the Python-list mailing list