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 AC4D4429E29 for ; Thu, 16 Jun 2011 06:58:44 -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 A5PJvx1zdVwY for ; Thu, 16 Jun 2011 06:58:44 -0700 (PDT) Received: from homiemail-a76.g.dreamhost.com (caiajhbdccac.dreamhost.com [208.97.132.202]) by olra.theworths.org (Postfix) with ESMTP id 2FA1C431FB6 for ; Thu, 16 Jun 2011 06:58:44 -0700 (PDT) Received: from homiemail-a76.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a76.g.dreamhost.com (Postfix) with ESMTP id 964EA458083 for ; Thu, 16 Jun 2011 06:58:43 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=SSpaeth.de; h=from:to:subject :in-reply-to:references:date:message-id:mime-version: content-type; q=dns; s=sspaeth.de; b=Q1oCjJrgO5qpVgRLw+oJ7AzCjqx dUaqcogJYTYux6KFixgTTwEeIDppMubAIK6+esUkg9sXUxpusfhFlNl71OPkOu9j 1553rvHMP+WhH8LGZpH0cibIzbwG+Ch4+YhtwL8PXUn5YVg81VTQta2s2yc/JlwN mjFNQeOSsWihXqoQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=SSpaeth.de; h=from:to :subject:in-reply-to:references:date:message-id:mime-version: content-type; s=sspaeth.de; bh=6EZSlHzVIvj8QYt7o0vZwX6boEU=; b=T rpC4QJWk+XxJWP8e6FonzSEixM9hEXGLlVxRG9jiROob8ViF3zpEFzcK52d7Jwtg qFdh2ctLjb/SUS2gDh4nKImBRl3I/jMtjrhmj0G/bhtUZ0AhmlbsR3eu0lA3J66X rgJYssxnwK7NvSo7k+GNAhJyftQRfSS/fvZRuH7eVI= Received: from spaetzbook.sspaeth.de (unknown [62.48.121.245]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fax@sspaeth.de) by homiemail-a76.g.dreamhost.com (Postfix) with ESMTPSA id 35135458081 for ; Thu, 16 Jun 2011 06:58:42 -0700 (PDT) Received: by spaetzbook.sspaeth.de (sSMTP sendmail emulation); Thu, 16 Jun 2011 15:58:39 +0200 From: Sebastian Spaeth To: Notmuch developer list Subject: Re: Python updates In-Reply-To: <87k4cmavoc.fsf@SSpaeth.de> References: <87k4cmavoc.fsf@SSpaeth.de> User-Agent: Notmuch/0.5-233-gb404931 (http://notmuchmail.org) Emacs/23.2.1 (x86_64-pc-linux-gnu) Date: Thu, 16 Jun 2011 15:58:39 +0200 Message-ID: <8739j9yj1s.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: Thu, 16 Jun 2011 13:58:44 -0000 --=-=-= On Thu, 16 Jun 2011 12:59:47 +0200, Sebastian Spaeth wrote: > I just wanted to keep everyone updated on the python API changes that > are in the master branch. With one exception everything is backwards > compatible. Feel free to stuff this into the .6 release notes :). P.S. Once I get started.... I was teased on IRC, so I also implemented: Message().maildir_flags_to_tags and tags_to_maildir_flags, which are now by default invoked on Database().add_message and on any operation that modifies notmuch tags. See the updated API docs at: http://packages.python.org/notmuch/#notmuch.Message.tags_to_maildir_flags and the docs for freeze() as to how to use those efficiently. Sebastian --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk36DA8ACgkQVYX1jMgnoGJV4wCeN7HABYB3D0AT15Ph11nD46kI JuwAnil4g6HTffwga9t/dLAXQ9ZvtIXI =lJfB -----END PGP SIGNATURE----- --=-=-=--