From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id xVlvLKVWd2F8AwAAgWs5BA (envelope-from ) for ; Tue, 26 Oct 2021 03:15:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aCFUJ6VWd2FpGAAAbx9fmQ (envelope-from ) for ; Tue, 26 Oct 2021 01:15:17 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (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 313D5AE79 for ; Tue, 26 Oct 2021 03:15:17 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 875991F545; Mon, 25 Oct 2021 21:15:14 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 7401E1F541 for ; Mon, 25 Oct 2021 21:15:11 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id 2257A5FC42; Mon, 25 Oct 2021 21:15:11 -0400 (EDT) Received: (nullmailer pid 3147274 invoked by uid 1000); Tue, 26 Oct 2021 01:15:09 -0000 From: David Bremner To: Austin Ray , notmuch@notmuchmail.org Subject: Re: [PATCH] fix(nmweb): replace deprecated method In-Reply-To: <20211026002252.2823593-1-austin@austinray.io> References: <20211026002252.2823593-1-austin@austinray.io> Date: Mon, 25 Oct 2021 22:15:09 -0300 Message-ID: <87lf2gwpr6.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: BUDRU4FPERBN6YSVSS4UNAXRAMQ4ZU5B X-Message-ID-Hash: BUDRU4FPERBN6YSVSS4UNAXRAMQ4ZU5B X-MailFrom: david@tethera.net 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: Austin Ray 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="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635210917; 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; bh=dHCzQeqaSR1/zKG8YQW5uXSgGvnUnQz8/YjKfQQ76vI=; b=tYeQ9usoYmZaJNl1C9VJrfVwMT3inQ1ytchGTtw44VB/rIdQu4tU95vx4zy8Ec7fGSxgkO spxeYBCMsDhVF0lkHvlNlCSxUtS2BRTXlwGNl1x6XDq+1Q8h0VW0dltRhQyXxqVZfWbudY h1WI+/fCH94+0odRaXk313kdh21ifal7zG4HMNpju35RUJtY4J5kwiUwJ6mUz0rd+HhBmx fAg5nXTkzNBXq65rJxJ4PAauMjUA1IR+o5T70i/D2BOnUxGKyWQNJvleGXKuLI9lqSQl42 Dxqh/medDxKrGRejOH3oBv5LQyFIiX3mlV/+xxE0XFg+7ms3fE8P6ePgWRSW5g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635210917; a=rsa-sha256; cv=none; b=Pzgy/4vgDKHTSGIj/8Wi+KG0cmXeM6RsI0BmPMBnarK6kdROc+OH6KWjmYvB2XK2ScT7ug BLVvj2MrcPW+aGbVzm1qbsHggPp6XLzsqFMw23oUPHu+8rwX6+sW7H+Fsam4KmuUUnrzyk veeNoDuZVRtnNPCPW8z624Kz7XjNI8Lw3XVCMrXzXF/hFpvRyP3/Be1qVTu1AF7wlK0N+v ChLLfYT+umAU7K/WRkzRWLA/PZO9zuN8ysQO7Fo88tesP78NO4IhLccY+Rg1xI6Y4Q9t0t 1f+ggMxit8eY+lkBVYFtKSSxAy8sF509RvCmTIG8iW+oPyo6qhlxMGSgmehr9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.16 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 313D5AE79 X-Spam-Score: -2.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: DVXk9DQhnWVj Austin Ray writes: > Python 3.2 deprecated 'cgi.escape()' and Python 3.8 removed it[1][2]. > Its replacement is 'html.escape()'. > > [0] https://docs.python.org/3.7/library/cgi.html#cgi.escape > [1] https://docs.python.org/3/whatsnew/3.8.html#api-and-feature-removals > [2] https://bugs.python.org/issue33843 > > Signed-off-by: Austin Ray Applied to branch nmweb. Thanks very much for the fast fix. David