[Q] Are Exceptions used that much in practice?

Greg Ewing greg at cosc.canterbury.ac.nz
Thu Dec 14 21:01:34 EST 2000


Jonathan Giddy wrote:
> 
> Note that now that the standard exceptions are classes, IOError instances
> have an errno attribute, which is even nicer than using tuple values.

Yeah, except that the error numbers it gives you
seem to be platform-dependent.

-- 
Greg Ewing, Computer Science Dept, University of Canterbury,	  
Christchurch, New Zealand
To get my email address, please visit my web page:	  
http://www.cosc.canterbury.ac.nz/~greg



More information about the Python-list mailing list