Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #40352

Re: Dealing with exceptions

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 <ian.g.kelly@gmail.com>
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 <CAMw+j7KcqULO_2AAnT5=4uL6PHbB=g6UWVWN50PtEyeoAXqNmQ@mail.gmail.com>
References <707df78f-9a67-4ce1-8dd3-095c75a7f7da@googlegroups.com> <CAMw+j7KcqULO_2AAnT5=4uL6PHbB=g6UWVWN50PtEyeoAXqNmQ@mail.gmail.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date Sat, 2 Mar 2013 11:00:27 -0700
Subject Re: Dealing with exceptions
To Python <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 <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2788.1362247277.2939.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Sat, Mar 2, 2013 at 10:52 AM, Kwpolska <kwpolska@gmail.com> 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.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Dealing with exceptions bvdp <bob@mellowood.ca> - 2013-03-02 09:40 -0800
  Re: Dealing with exceptions Kwpolska <kwpolska@gmail.com> - 2013-03-02 18:52 +0100
    Re: Dealing with exceptions bvdp <bob@mellowood.ca> - 2013-03-02 11:35 -0800
      Re: Dealing with exceptions Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-03 01:41 +0000
    Re: Dealing with exceptions bvdp <bob@mellowood.ca> - 2013-03-02 11:35 -0800
    Re: Dealing with exceptions Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-03 00:41 +0000
      Re: Dealing with exceptions Chris Angelico <rosuav@gmail.com> - 2013-03-03 12:04 +1100
    Re: Dealing with exceptions Nobody <nobody@nowhere.com> - 2013-03-03 23:01 +0000
  Re: Dealing with exceptions Ian Kelly <ian.g.kelly@gmail.com> - 2013-03-02 10:58 -0700
  Re: Dealing with exceptions Ian Kelly <ian.g.kelly@gmail.com> - 2013-03-02 11:00 -0700
  Re: Dealing with exceptions Chris Angelico <rosuav@gmail.com> - 2013-03-03 05:21 +1100
    Re: Dealing with exceptions bvdp <bob@mellowood.ca> - 2013-03-02 11:39 -0800
    Re: Dealing with exceptions bvdp <bob@mellowood.ca> - 2013-03-02 11:39 -0800
  Re: Dealing with exceptions Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-03-02 19:18 +0000
  Re: Dealing with exceptions Devin Jeanpierre <jeanpierreda@gmail.com> - 2013-03-02 14:27 -0500
  Re: Dealing with exceptions Rick Johnson <rantingrickjohnson@gmail.com> - 2013-03-02 11:43 -0800
  Re: Dealing with exceptions Terry Reedy <tjreedy@udel.edu> - 2013-03-02 16:23 -0500
  Re: Dealing with exceptions Chris Angelico <rosuav@gmail.com> - 2013-03-03 09:16 +1100
  Re: Dealing with exceptions Terry Reedy <tjreedy@udel.edu> - 2013-03-02 18:08 -0500
  Re: Dealing with exceptions Chris Angelico <rosuav@gmail.com> - 2013-03-03 10:17 +1100

csiph-web