Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id B11E3431FD0 for ; Fri, 30 Sep 2011 05:23:50 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 tests=[UNPARSEABLE_RELAY=0.001] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FP-NioEs9PqS for ; Fri, 30 Sep 2011 05:23:47 -0700 (PDT) Received: from mail.cryptobitch.de (cryptobitch.de [88.198.7.68]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 36789431FB6 for ; Fri, 30 Sep 2011 05:23:47 -0700 (PDT) Received: from mail.jade-hamburg.de (unknown [85.183.11.228]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cryptobitch.de (Postfix) with ESMTPSA id C3258505DA4 for ; Fri, 30 Sep 2011 14:23:45 +0200 (CEST) Received: by mail.jade-hamburg.de (Postfix, from userid 401) id 12D10DF2A0; Fri, 30 Sep 2011 14:23:45 +0200 (CEST) Received: from thinkbox.jade-hamburg.de (unknown [IPv6:fe80::216:d3ff:fe3e:5058%br0]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: teythoon) by mail.jade-hamburg.de (Postfix) with ESMTPSA id D80B2DF28B; Fri, 30 Sep 2011 14:23:43 +0200 (CEST) Received: from teythoon by thinkbox.jade-hamburg.de with local (Exim 4.76) (envelope-from ) id 1R9c7y-0008MI-Li; Fri, 30 Sep 2011 14:23:42 +0200 Content-Type: multipart/mixed; boundary="===============9053997474707207487==" MIME-Version: 1.0 In-Reply-To: <87bou244uz.fsf@SSpaeth.de> References: <1316999137-28257-1-git-send-email-4winter@informatik.uni-hamburg.de> <1316999137-28257-7-git-send-email-4winter@informatik.uni-hamburg.de> <87bou244uz.fsf@SSpaeth.de> Subject: Re: [PATCH 7/9] python: provide more exception classes To: Sebastian Spaeth , notmuch@notmuchmail.org From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Fri, 30 Sep 2011 14:23:42 +0200 Message-Id: X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Sep 2011 12:23:50 -0000 --===============9053997474707207487== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Quoting Sebastian Spaeth (2011-09-30 14:00:36) >On Mon, 26 Sep 2011 03:05:35 +0200, Justus Winter <4winter@informatik.uni-= hamburg.de> wrote: >> To make the exception handling more effective in code using the >> python bindings it is necessary to differentiate between the >> different kind of failures. > >[master b6a0173] python: provide more exception classes > >Hi, I have taken your patch and used it as a template, modifying things >slightly. I also converted database.py to make use of the new >subclasses. Documentation will have to follow, but as users can use the >code, just as they had done before, there is no urgency. > >Justus is that what you had in mind? Yes, very nice. Thanks :) Justus --===============9053997474707207487== Content-Type: application/octet-stream MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=".signature" bG92ZSB1IGFsb3QgQCxACgo= --===============9053997474707207487==--