Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!217.188.199.168.MISMATCH!takemy.news.telefonica.de!telefonica.de!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!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.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.06; 'correct.': 0.07; 'from:addr:ethan': 0.09; 'from:addr:stoneleaf.us': 0.09; 'from:name:ethan furman': 0.09; 'happens.': 0.09; 'lawrence': 0.09; 'message-id:@stoneleaf.us': 0.09; 'mind,': 0.09; 'referenced': 0.09; 'yeah,': 0.09; '~ethan~': 0.09; 'jan': 0.12; 'filename:fname piece:signature': 0.16; 'think?': 0.16; 'worst': 0.16; 'exception': 0.16; 'wrote:': 0.18; 'library': 0.18; 'thu,': 0.19; 'header:User-Agent:1': 0.23; 'skip': 0.24; 'guys': 0.24; 'header:In-Reply-To:1': 0.27; 'fixed': 0.29; 'external': 0.29; 'am,': 0.29; "i'm": 0.30; 'cases': 0.33; 'agree': 0.35; 'but': 0.35; 'there': 0.35; "he's": 0.36; 'library.': 0.36; 'two': 0.37; 'to:addr:python-list': 0.38; 'bad': 0.39; 'to:addr:python.org': 0.39; 'even': 0.60; 'ago.': 0.61; 'matter': 0.61; 'received:173': 0.61; 'subject:The': 0.64; 'more': 0.64; 'caused': 0.69; 'day': 0.76; 'saw': 0.77; '2015': 0.84; 'that!)': 0.84; 'hate': 0.91; 'recover': 0.91 Date: Thu, 29 Jan 2015 09:49:54 -0800 From: Ethan Furman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: The Most Diabolical Python Antipattern References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Vp6dpxAG9jm8DKWwJpRQQoR93o1bQanBV" 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: 53 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1422554318 news.xs4all.nl 2857 [2001:888:2000:d::a6]:49698 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:84832 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Vp6dpxAG9jm8DKWwJpRQQoR93o1bQanBV Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 01/29/2015 09:36 AM, Skip Montanaro wrote: > On Thu, Jan 29, 2015 at 11:17 AM, Mark Lawrence wrote: >> >> ... but what do you guys and gals think? >=20 > I saw that blog referenced elsewhere a day or two ago. I think he's > correct. There are the occasional instance where I need to recover > from an exception no matter what caused it. In cases where I fail to > report the traceback somewhere, I'm often left scratching my head. I agree -- worst practice. > In my mind, this is approximately as bad as an external library > (silently) calling exit(). Yeah, I hate when that happens. I hate it even more when it's my own lib= rary. :/ (yeah, I fixed that!) -- ~Ethan~ --Vp6dpxAG9jm8DKWwJpRQQoR93o1bQanBV Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBAgAGBQJUynLFAAoJENZ7D1rrH75NSu0P/3o9p8ZNA6YPgeD95Bf8XYmp /QO4lfaZlfONTS/EOfq31gok74gqjNq/V1RawyR1xpeyahhhw3Z11vkkyOBSCHmd M7niMlY3VzJvWXZmhmz/pTj36OF3tPlrl5rTFW9V2Dj3vGgziRbFC3kzm2cYmSdf 34hW+ubkSAxGEky+07d3j6Ks2Y1Ps1nGvcUuctNtiArk+5D5ut4Jf4orOXSobm1J 9ZzZRR4KXHh452zxjb+VEFaRORGRX5ORXe8HZ8SEXd0ENJAqYppCCnXYySiQ35Kh JL6Zc9NIT6xb0hso+suYbvNfggyCFVJCUo/qwLy9iQyb4wbIcJYShGhXxOmtWWXT P2O+tZ+f4Gv1GACWESq4Bf/MQ6J0uXjj9KNHR7tk8PMGmbMH+IRmt1S6WxLJgrk3 KxDIiqqAbKyprbXLElIixzWsGj9zuIq8r6r+dJCOsTO1TRzFyf1pbZfSCeYc8PSH 4tz37BAWbwJhbITqf0u1JbVnHThLl6HcB+Y3jIvMhU2dN/lFcYk7RUS6op+6wwHO 77UVzr0pGcBT72LA9lCdn8BsJBe6pTHKchmAAqtF9vCdxYyrrEMm1oHDbUUPkOeM 9RV05tV5gaGfG2RxH/CkiastyhJ5i7dv+7E29doBTFg/n0L3of/BkslvSQye5C6a dsMXyoZRJxVLA8nCAFo+ =h3HJ -----END PGP SIGNATURE----- --Vp6dpxAG9jm8DKWwJpRQQoR93o1bQanBV--