From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id UCBfDXkenWXasAAAkFu2QA (envelope-from ) for ; Tue, 09 Jan 2024 11:22:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id uMUiCnkenWXOJgEA62LTzQ (envelope-from ) for ; Tue, 09 Jan 2024 11:22:49 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20230601 header.b=jqmnKUM7; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704795768; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=sD+tFJwQ9FoI63Tu3NVz1KlIDXW/rvjMHnNxiY8ime8=; b=WooYCpQkXNRxOdOvF105CoCTZsBy3/igrKhS07P5qQuJyxLdsCLKkmNypVgixSQaFhqYg7 sAYlp0IEk0ZPa7IrO4HvRKSDgSE2QaF8E9w26yg914Zt9e+7gkOASmu5drwdAINyrHhmaf 8lWZVQu7WbOjGsXmOVMdtkmZ/9WG0rNh2OOcKOhAf3WS1vQddcOjnwWhVP93JTfU3C+O+k hFSjsGFcuFkPg3oimz0BMXdsd4EAD09C0wI78Ytkfv9y6iqyuBn8ohtGt/6t2jbqMslTT4 HQMudPsvA5qHXEzqjDcfVbKEVQu+23D8ZG/0reOsYqu5pIo5jbmQdpallWSsfA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20230601 header.b=jqmnKUM7; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704795768; a=rsa-sha256; cv=none; b=XsaT376Jp2+pGCFAXY9z7byxTPf/nHG1bOCm3+y9ctfUTOo0Z4rBnAX9uU2AgQXVSLhDdj zCbp0Dmgpki/Z/cGg8Yp6MhiixfUaEukYPB2cNCWeQ5X8Uhrp/i2lfdttpEMGVVvh89+po vHH3D1mm990fpcuSITIAzdWmE1hmc4FMC3kRkds0iNISXy9NFORKjIwzjQCSIDednFgbO3 jYhr3Nq3VdvKwyeiAANbqQJXoJAF0nSfKLtJqL1BzjXlOD39qaxGS1GSgT4tsZvbSyQ50u OFjuF2BDUs5t1YhxwVIrJhGYsTMs7kyT1KiUnW/mf2fQKWWNZY7/8ARI2ys9tw== Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B90F867FF3 for ; Tue, 9 Jan 2024 11:22:48 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 9264A5F7C3; Tue, 9 Jan 2024 10:22:45 +0000 (UTC) Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by mail.notmuchmail.org (Postfix) with ESMTPS id BED485E50F for ; Tue, 9 Jan 2024 10:22:42 +0000 (UTC) Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-a28e31563ebso285233966b.2 for ; Tue, 09 Jan 2024 02:22:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704795762; x=1705400562; darn=notmuchmail.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=zHUt7JsvPfmxzEDKQZnP5AyoQ+bDVk4M5I0rUVbFQt0=; b=jqmnKUM7WXpz0tXHp/u1LKUw0K8mssdf/Gl1GGw/k4DY87/5QffZ0SFbywXpsAGFPR DUfmhTpS8Mg9vsjlKfko4ujcFNjeogNlYuwxPtnjJ+vT10c5X1YiHONeY4oitNbWIvtE c0EaJsIO9E+jclQoohllfZy8XeUllPixrgui7ied7Cg2bS7+oP/AbrsHXxA/46ME7vy7 5nwaTDWh4Wo/kDhfe+Xkm0fTWu0P7M776Q7NB5GDXemOhQS4pngtYnzSHnSjBxvAxMqJ /XXnz5h7adepD29cSlne7nTdOMLOBZejYd4VO7QoBf/yNw7WE9HsmpICv2GJ4I+pu+bx JrkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704795762; x=1705400562; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zHUt7JsvPfmxzEDKQZnP5AyoQ+bDVk4M5I0rUVbFQt0=; b=RdE1ssyxV7Fl9M6yYhS6YWo7uxnUvTp+QA0HB/DT0CJI8EiGTYXHQV77Y/WiE7eZb/ qSL4RNlIGk0BsTiV0izTot0eVZe4zn0cdWf65FpQZZEEXKk3iEmr2+3LErweTEMiOUGT RmSYF+po1ffmBxZZYYd7au69OLUnoBXCb7H+/MfA4IeTTkTp7/qG7gT/LgLuaniHC29y 8NW+JBx1vGtNKK41y4TfHAhAhRWMEsUrTLcq1RZJtUdO4me/vxU1m8V8fL3E4txRl8zh sHngotg88p1WXHuOT3whaCpFS9b5Qe8SUwywHbOkx3AijnH/HL9LL/olfVPhm01tEOb9 qo7w== X-Gm-Message-State: AOJu0YxghWIvR7jJbz1u5Kky6iV+8YrtZhgFxDd6r2AZQb4TX2KYJFQV M9xMPFgQw+IstLgHY4+t6sY8qIBHdzm60hCr4G0= X-Google-Smtp-Source: AGHT+IFBFjeM8IXD4UIEPNntsVxKqwm+nWZ9o5qijQIBl89fotxiUt5hEl/eQ6E8nfFHfaS4ie39oRLGJ5fQYZco3o4= X-Received: by 2002:a17:906:dac5:b0:a28:c7bc:327c with SMTP id xi5-20020a170906dac500b00a28c7bc327cmr446485ejb.71.1704795761794; Tue, 09 Jan 2024 02:22:41 -0800 (PST) MIME-Version: 1.0 References: <875y034e4a.fsf@tethera.net> In-Reply-To: <875y034e4a.fsf@tethera.net> From: Michael J Gruber Date: Tue, 9 Jan 2024 11:22:29 +0100 Message-ID: Subject: Re: BUG: Python's Message.header fails for empty headers To: David Bremner Message-ID-Hash: PMWQVJDB5XTHURAVHEZDDHXKTNCSY534 X-Message-ID-Hash: PMWQVJDB5XTHURAVHEZDDHXKTNCSY534 X-MailFrom: michaeljgruber@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: =?UTF-8?B?Vm9qdMSbY2ggS8OhbsSb?= , notmuch@notmuchmail.org X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Migadu-Country: DE X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu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