Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:error': 0.03; 'back.': 0.09; 'python': 0.11; 'posted': 0.15; '>in': 0.16; '>the': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'fyi,': 0.16; 'message- id:@cskk.homeip.net': 0.16; 'received:211.29': 0.16; 'received:211.29.132': 0.16; 'received:cskk.homeip.net': 0.16; 'received:homeip.net': 0.16; 'received:optusnet.com.au': 0.16; 'received:syd.optusnet.com.au': 0.16; 'roy': 0.16; 'simpson': 0.16; 'stderr': 0.16; 'subject:exception': 0.16; 'demonstrate': 0.16; 'wrote:': 0.18; 'example': 0.22; 'bruce': 0.22; 'header :User-Agent:1': 0.23; 'error': 0.23; 'earlier': 0.24; 'helpful': 0.24; 'cheers,': 0.24; 'question': 0.24; 'post': 0.26; 'subject:/': 0.26; 'header:In-Reply-To:1': 0.27; 'wondering': 0.29; 'leave': 0.29; "i'm": 0.30; 'asked': 0.31; 'code': 0.31; 'posting': 0.31; 'minimal': 0.33; 'could': 0.34; 'problem': 0.35; 'late': 0.35; 'test': 0.35; 'but': 0.35; 'version': 0.36; 'really': 0.36; 'reality': 0.36; 'received:com.au': 0.36; "didn't": 0.36; 'charset:us-ascii': 0.36; 'received:211': 0.38; 'to:addr:python-list': 0.38; 'heard': 0.39; 'to:addr:python.org': 0.39; "you're": 0.61; 'content-disposition:inline': 0.62; 'smith': 0.68; 'article': 0.77; 'demonstrates': 0.84; 'refuses': 0.84; 'subject:try': 0.84 Date: Tue, 5 Aug 2014 09:04:03 +1000 From: Cameron Simpson To: python-list@python.org Subject: Re: try/exception - error block MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) References: X-Optus-CM-Score: 0 X-Optus-CM-Analysis: v=2.1 cv=B4eAjodM c=1 sm=1 tr=0 a=YuQlxtEQCowy2cfE5kc7TA==:117 a=YuQlxtEQCowy2cfE5kc7TA==:17 a=ZtCCktOnAAAA:8 a=PO7r1zJSAAAA:8 a=LcaDllckn3IA:10 a=-vHK-a-RVyIA:10 a=YCI1ti-sfuwA:10 a=kj9zAlcOel0A:10 a=vrnE16BAAAAA:8 a=VUfPOBp7AAAA:8 a=8AHkEIZyAAAA:8 a=pGLkceISAAAA:8 a=vTr9H3xdAAAA:8 a=HWi6-LhV_ZrP5Jk7dl0A:9 a=CjuIK1q_8ugA:10 a=5hK03km2n30A:10 a=VhVvL8HfBcoA:10 a=MSl-tDqOz04A:10 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: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1407195307 news.xs4all.nl 2924 [2001:888:2000:d::a6]:53129 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:75715 On 03Aug2014 10:39, Roy Smith wrote: >In article , > bruce wrote: >> I'm posting the test code I'm using. Pointers/comments would be >> helpful/useful. > >It would be really helpful if you could post a minimal code example >which demonstrates the problem you're having. Leave out everything >(including the commented-out code) which isn't necessary to demonstrate >the behavior. Just FYI, Bruce posted an earlier version of this question to users@lists.fedoraproject.org in late July, wondering why he didn't get a good error message in the abrt logs. I asked then where the stderr of his python subprocess went, but never heard back. Cheers, Cameron Simpson Reality is that which refuses to go away when I stop believing in it. - Phillip K. Dick