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


Groups > comp.lang.python > #46194 > unrolled thread

Re: Python error codes and messages location

Started byFábio Santos <fabiosantosart@gmail.com>
First post2013-05-27 13:46 +0100
Last post2013-05-27 13:52 -0400
Articles 6 — 5 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Python error codes and messages location Fábio Santos <fabiosantosart@gmail.com> - 2013-05-27 13:46 +0100
    Re: Python error codes and messages location Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-27 13:11 +0000
      Re: Python error codes and messages location Fábio Santos <fabiosantosart@gmail.com> - 2013-05-27 14:26 +0100
      RE: Python error codes and messages location Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-27 19:54 +0300
      Re: Python error codes and messages location Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-05-27 18:14 +0100
      Re: Python error codes and messages location Terry Jan Reedy <tjreedy@udel.edu> - 2013-05-27 13:52 -0400

#46194 — Re: Python error codes and messages location

FromFábio Santos <fabiosantosart@gmail.com>
Date2013-05-27 13:46 +0100
SubjectRe: Python error codes and messages location
Message-ID<mailman.2248.1369658818.3114.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

On 27 May 2013 12:41, "Mark Lawrence" <breamoreboy@yahoo.co.uk> wrote:
> 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

Speaking of PEPs and exceptions. When do we get localized exceptions?

[toc] | [next] | [standalone]


#46195

FromSteven D'Aprano <steve+comp.lang.python@pearwood.info>
Date2013-05-27 13:11 +0000
Message-ID<51a35b92$0$30002$c3e8da3$5496439d@news.astraweb.com>
In reply to#46194
On Mon, 27 May 2013 13:46:50 +0100, Fábio Santos wrote:

> Speaking of PEPs and exceptions. When do we get localized exceptions? 


We're waiting for you to volunteer. When can you start?


-- 
Steven

[toc] | [prev] | [next] | [standalone]


#46197

FromFábio Santos <fabiosantosart@gmail.com>
Date2013-05-27 14:26 +0100
Message-ID<mailman.2250.1369661164.3114.python-list@python.org>
In reply to#46195
On Mon, May 27, 2013 at 2:11 PM, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> wrote:
> On Mon, 27 May 2013 13:46:50 +0100, Fábio Santos wrote:
>
>> Speaking of PEPs and exceptions. When do we get localized exceptions?
>
>
> We're waiting for you to volunteer. When can you start?

I'd love to work on that but my C is too shabby to say the least.

--
Fábio Santos

[toc] | [prev] | [next] | [standalone]


#46208

FromCarlos Nepomuceno <carlosnepomuceno@outlook.com>
Date2013-05-27 19:54 +0300
Message-ID<mailman.2255.1369673709.3114.python-list@python.org>
In reply to#46195
Thanks so much guys!

I'm not planning to prepare for every possible situation, but I certainly am responsible to handle most common errors. So it's really important to know what a function/method returns when called.

Exception handling may take lots of code, but I'm used to it. It's much better to have a graceful shutdown than a data/time loss. ;)

I think PEP 3151 is a step ahead! That's almost exactly what I was looking for. Why did it take so long to have that implemented? 		 	   		  

[toc] | [prev] | [next] | [standalone]


#46210

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2013-05-27 18:14 +0100
Message-ID<mailman.2257.1369674856.3114.python-list@python.org>
In reply to#46195
On 27/05/2013 17:54, Carlos Nepomuceno wrote:
>
> I think PEP 3151 is a step ahead! That's almost exactly what I was looking for. Why did it take so long to have that implemented? 		 	   		
>

Lack of volunteers.

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

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#46214

FromTerry Jan Reedy <tjreedy@udel.edu>
Date2013-05-27 13:52 -0400
Message-ID<mailman.2259.1369677166.3114.python-list@python.org>
In reply to#46195
On 5/27/2013 12:54 PM, Carlos Nepomuceno wrote:

> I think PEP 3151 is a step ahead! That's almost exactly what I was looking for. Why did it take so long to have that implemented? 		 	   		

Since this PEP involved changing existing features, rather than adding 
something mew, it probably took moe time and discussion to get consensus 
on details of the change.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web