Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!panix!roy From: Roy Smith Newsgroups: comp.lang.python Subject: Re: try/except/finally Date: Sat, 07 Jun 2014 21:32:00 -0400 Organization: PANIX Public Access Internet and UNIX, NYC Lines: 15 Message-ID: References: <0a89c96d-de62-42ad-be48-6107ce10d215@googlegroups.com> <539396F3.5090508@stoneleaf.us> NNTP-Posting-Host: localhost X-Trace: reader1.panix.com 1402191121 6263 127.0.0.1 (8 Jun 2014 01:32:01 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Sun, 8 Jun 2014 01:32:01 +0000 (UTC) User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Xref: csiph.com comp.lang.python:72948 In article , Mark Lawrence wrote: > On 08/06/2014 01:12, Roy Smith wrote: > > In article , > > Chris Angelico wrote: > > > >> A return statement inside a finally block is code smell. > > > > Not to my nose. It seems like a perfectly reasonable thing to do. > > > > I agree, the code smell is the return in the except block. That's not setting my nose on end either.