Path: csiph.com!usenet.pasdenom.info!aioe.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.058 X-Spam-Evidence: '*H*': 0.89; '*S*': 0.01; 'python': 0.11; 'ah!': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'oserror': 0.16; 'subject:flow': 0.16; 'do,': 0.16; 'wrote:': 0.18; 'mon,': 0.24; 'header:In-Reply-To:1': 0.27; 'forgot': 0.30; 'message-id:@mail.gmail.com': 0.30; 'catching': 0.31; "we're": 0.32; 'received:google.com': 0.35; '2.6': 0.36; 'hi,': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'believe': 0.68; 'victor': 0.84; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=KezyAni4IhKfb4su67BQhNqAtIz5adWjTVGSmppUk1I=; b=X7huNaVzzVxViacIoZ/mKT2aDTtqfzqja4lKduTaGdL0bpcaKfBi5ZTwyrss0Hn9+H rdebMQYGisUib1JvK9vOPpi4rpjWDTG+dzSn9We/lpR/TpgcM5TDiYkQR8ecNwLMBrzE F9QcLxFb8ixw3YAkB+XUYXto5eFuqqjnSC0wgrHTtv19WHa8ci52Gq/ZehqU+pT39X0z BejaqGehxiw+ylLi+s0scLSdwrTfO2Q79znZvw06SPQSgbJ4T39BkXnwO7IG1y91q7OV zkNfLIi4oVJiy7iy+B6RCbndisVZHItcWAA9krxRo6E+k7W0QBVuUluq+5SFAidp6aFy 8SUg== MIME-Version: 1.0 X-Received: by 10.68.6.170 with SMTP id c10mr14710449pba.101.1382943709369; Mon, 28 Oct 2013 00:01:49 -0700 (PDT) In-Reply-To: References: Date: Mon, 28 Oct 2013 18:01:49 +1100 Subject: Re: Try-except for flow control in reading Sqlite From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 9 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1382943712 news.xs4all.nl 15986 [2001:888:2000:d::a6]:51676 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:57794 On Mon, Oct 28, 2013 at 5:57 PM, Victor Hooi wrote: > Hi, > > We're on Python 2.6 (RHEL based system...) - I don't believe this exposes FileNotFoundError =(. Ah! I forgot about 2.x, sorry for the nose. Yep, catching OSError would be the thing to do, then! ChrisA