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 CE331431FD0 for ; Fri, 30 Sep 2011 05:00:41 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.09 X-Spam-Level: X-Spam-Status: No, score=-0.09 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, T_MIME_NO_TEXT=0.01] 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 BWPW5NFeecSN for ; Fri, 30 Sep 2011 05:00:41 -0700 (PDT) Received: from homiemail-a75.g.dreamhost.com (caiajhbdcaib.dreamhost.com [208.97.132.81]) by olra.theworths.org (Postfix) with ESMTP id 4F466431FB6 for ; Fri, 30 Sep 2011 05:00:41 -0700 (PDT) Received: from homiemail-a75.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a75.g.dreamhost.com (Postfix) with ESMTP id 9DB615EC07C; Fri, 30 Sep 2011 05:00:40 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=SSpaeth.de; h=from:to:cc:subject :in-reply-to:references:date:message-id:mime-version: content-type; q=dns; s=sspaeth.de; b=OmBlWgJbWMXmyqm0WSd52afbFxd +P5IyP/RTQSgFFY+nBGbsaQ2UnXUeXWVUDLPyryr6seJ3fJiFubatzKzwTej+sS1 V3VljD4sScPVeyYr+e838rtGlnEIDj2JPjatr/tcMpREFkMdwD8yf2uuQJZfllCm gmhkxuK/FACbxO7Q= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=SSpaeth.de; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version: content-type; s=sspaeth.de; bh=iFdy3Ujv6fDsBRBtM/tMqji/SRM=; b=R h03TzxxWULtx1CNzzCRsMMDB5uUiwHni8i7pwexlIhKYGvSHG4+lkrcGloE4r/Z5 jLW7vocXk+nG0BX+ti1v6J4QGRytYUOVgs06ggveyo+VT8Ug6p99RpGkJq0wBDET wdRYzegDxy/lVl/j5wqzntVLIJcxQWcsKZHJon2OOk= Received: from spaetzbook.sspaeth.de (unknown [84.55.203.213]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fax@sspaeth.de) by homiemail-a75.g.dreamhost.com (Postfix) with ESMTPSA id C0CD45EC079; Fri, 30 Sep 2011 05:00:38 -0700 (PDT) Received: by spaetzbook.sspaeth.de (sSMTP sendmail emulation); Fri, 30 Sep 2011 14:00:36 +0200 From: Sebastian Spaeth To: Justus Winter <4winter@informatik.uni-hamburg.de>, notmuch@notmuchmail.org Subject: Re: [PATCH 7/9] python: provide more exception classes In-Reply-To: <1316999137-28257-7-git-send-email-4winter@informatik.uni-hamburg.de> References: <1316999137-28257-1-git-send-email-4winter@informatik.uni-hamburg.de> <1316999137-28257-7-git-send-email-4winter@informatik.uni-hamburg.de> User-Agent: Notmuch/0.7-19-gee4579a (http://notmuchmail.org) Emacs/23.2.1 (x86_64-pc-linux-gnu) Date: Fri, 30 Sep 2011 14:00:36 +0200 Message-ID: <87bou244uz.fsf@SSpaeth.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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:00:41 -0000 --=-=-= 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? Sebastian --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk6Fr2QACgkQVYX1jMgnoGLyYQCfeA58aBtC5rZKN9IogVCDXXZq 7LoAnRRnfUHJE1/KPyIMpqJnsLeeyRSo =Zgk/ -----END PGP SIGNATURE----- --=-=-=--