Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #46191

Re: Python error codes and messages location

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Python error codes and messages location
Date 2013-05-27 12:37 +0100
References <BLU176-W2F86295ACD2E1CD29375BD7960@phx.gbl> <20130527061154.GA3301@cskk.homeip.net>
Newsgroups comp.lang.python
Message-ID <mailman.2246.1369654636.3114.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Python error codes and messages location Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-05-27 12:37 +0100

csiph-web