Python error codes and messages location

Mark Lawrence breamoreboy at yahoo.co.uk
Mon May 27 07:37:12 EDT 2013


On 27/05/2013 07:11, Cameron Simpson wrote:
>
> BTW, I recommend importing "errno" and using symbolic names. It makes things much more readable, and accomodates the situation where the symbols map to different numbers on different platforms. And have a catch-all. For example:
>
> Cheers,
>

This should make life easier for us 
http://docs.python.org/3/whatsnew/3.3.html#pep-3151-reworking-the-os-and-io-exception-hierarchy

-- 
If you're using GoogleCrap™ please read this 
http://wiki.python.org/moin/GoogleGroupsPython.

Mark Lawrence




More information about the Python-list mailing list