Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!usenet-fr.net!nerim.net!novso.com!news2.euro.net!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.036 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'python': 0.09; 'ioerror': 0.09; 'oserror': 0.09; 'received:mail-vc0-f174.google.com': 0.09; 'sat,': 0.15; '3.3,': 0.16; 'oserror.': 0.16; 'wrote:': 0.17; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'message- id:@mail.gmail.com': 0.27; 'received:209.85.220.174': 0.29; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'subject:with': 0.36; 'should': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'worth': 0.63; 'here': 0.65; '2013': 0.84; 'to:name:python': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=8ZoSkB3t0eERVRGQdNs8EjthfndJMEsvJK7neLn5jVA=; b=nuUfJBaKJ/uryXoMx/ourj51xTvi15ACaMXzG+DMaX08MOuelcqGJ93f8c33m0N8JV AyonveURZ/hLyTeZf6ilBaAOszWn/To5GhyCKg2NuQXYaH6I286eOh48cebIaFXKYKYc 63Y+KUYML+i9R+/RtdjX25z1hze0E6KF++gIsv3h6WJ3OjXq73QQo3jjI9Hdxg47sVJF pH+iHB5wDESQpeB44IpoIvFPUIFuwXILva866Mjg7CBHVeDWgFcGmvWcClE6AnCkxvHI QtRKklXfGHmAHNDzYxoxqgGqC2ySr0LA4q48SmDu20WSHy9CaOj5UwkdSYTlNLYtZISm XmrQ== X-Received: by 10.52.76.103 with SMTP id j7mr4934730vdw.90.1362247268020; Sat, 02 Mar 2013 10:01:08 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <707df78f-9a67-4ce1-8dd3-095c75a7f7da@googlegroups.com> From: Ian Kelly Date: Sat, 2 Mar 2013 11:00:27 -0700 Subject: Re: Dealing with exceptions To: Python 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: 5 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1362247277 news.xs4all.nl 6852 [2001:888:2000:d::a6]:53361 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:40352 On Sat, Mar 2, 2013 at 10:52 AM, Kwpolska wrote: > IOError and OSError should cover all copy problems, I think. And it may be worth pointing out here that as of Python 3.3, IOError is just a synonym for OSError.