Path: csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:error': 0.03; 'subject:Python': 0.06; 'guys!': 0.09; 'pep': 0.09; 'subject:messages': 0.09; 'ahead!': 0.16; 'called.': 0.16; 'graceful': 0.16; 'exception': 0.16; 'code,': 0.22; 'to:name :python-list@python.org': 0.22; 'certainly': 0.24; 'errors.': 0.24; 'received:65.55.116': 0.24; 'handling': 0.26; 'header:In- Reply-To:1': 0.27; "i'm": 0.30; 'common': 0.35; 'prepare': 0.35; 'but': 0.35; 'really': 0.36; 'thanks': 0.36; 'responsible': 0.36; 'possible': 0.36; 'step': 0.37; 'handle': 0.38; 'to:addr:python- list': 0.38; 'planning': 0.38; 'to:addr:python.org': 0.39; 'most': 0.60; 'shutdown': 0.84; 'subject:location': 0.84 X-TMN: [FTxDUGH8wVWEr/yzkVUzEgvjAZqc8Qww] X-Originating-Email: [carlosnepomuceno@outlook.com] From: Carlos Nepomuceno To: "python-list@python.org" Subject: RE: Python error codes and messages location Date: Mon, 27 May 2013 19:54:59 +0300 Importance: Normal In-Reply-To: References: , <20130527061154.GA3301@cskk.homeip.net>, , , <51a35b92$0$30002$c3e8da3$5496439d@news.astraweb.com>, Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 27 May 2013 16:55:00.0381 (UTC) FILETIME=[ECF02CD0:01CE5AFA] X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1369673709 news.xs4all.nl 15978 [2001:888:2000:d::a6]:52718 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:46208 Thanks so much guys!=0A= =0A= I'm not planning to prepare for every possible situation=2C but I certainly= am responsible to handle most common errors. So it's really important to k= now what a function/method returns when called.=0A= =0A= Exception handling may take lots of code=2C but I'm used to it. It's much b= etter to have a graceful shutdown than a data/time loss. =3B)=0A= =0A= 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? =