Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp896907ybb; Fri, 20 Mar 2020 09:51:05 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsYQZTpF+Sz7EZtf03xWf65g5lVAm2NrU5810lgiTi6qJPYEvDqOK7BTtdasfrFQ8j+zn0P X-Received: by 2002:a05:6830:19ec:: with SMTP id t12mr7204551ott.24.1584723065271; Fri, 20 Mar 2020 09:51:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584723065; cv=none; d=google.com; s=arc-20160816; b=Cl1KwRsBpR5u7NJKcrvCpI+hQwAfwId3gNg6IwZE087Xffy+euo4CQT9tSQ36UQNAe 7LvwE0SZhiMbOmpZtaKpA3efyy9/TDeBk876AkB5Amx4pbMSyH/efy3dw2JkhfAzGU9U Rs38h++1ZcB3SGRHwp57LMsbeexFgeqSfzxqFe7MUK1n15dFYBtY/Z68m2HLXIvGVD5M TQ2ewYwkTkTU6JK4uVpD7Vru9CSZdGih71bQsbsUO7nqSfYfOcDio61bGWqbtjSpXJrH Sd/O1iGOnMrjBTRv3dXqT2ZxarqvoCaTLRg22a6Wv6elruOyfswnCMGb1qudZAiXWDvy /pTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:date:to:cc:from :subject:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=/ipVe6H1zjRQ3n1A4zatA7ipvQEaxuKms3PaZ37HPp8=; b=lolLX/UDgOJojlYzeKVZjaLSbZW9ykacEgCt9pZg3k5CmmOkEstEyRP5NWhZREISeE 9wTQb28N1hv+79gR/2C9YnOWwIMqPUpRkviezUzzW9EK0UgtqGdyDLA5FIrM04S/uzYu fMWKOjI6sEIBFLbDm3HwBa2MPIJk7w0BeKT6402sztfUTWTKbv/pwD2uoLCdFmKcv40D fv/6qwg4wcF8LO/ArWTMURZW17/mlW9GNBYseompLgAVe7Zg1nQY1Imtvdq5rM8uYZKq ODMSzMlApqPJzEKi1wkfS8PSzY6YB9phT0ifhJRZy2akq4jwiImkaM+JATyEj55tdR24 q4ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=lYWiXd3S; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 66si3163172otx.151.2020.03.20.09.50.51; Fri, 20 Mar 2020 09:51:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=lYWiXd3S; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727547AbgCTQtB (ORCPT + 99 others); Fri, 20 Mar 2020 12:49:01 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:40610 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727217AbgCTQtA (ORCPT ); Fri, 20 Mar 2020 12:49:00 -0400 Received: by mail-pg1-f193.google.com with SMTP id t24so3359961pgj.7 for ; Fri, 20 Mar 2020 09:49:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:content-transfer-encoding:in-reply-to:references :subject:from:cc:to:date:message-id:user-agent; bh=/ipVe6H1zjRQ3n1A4zatA7ipvQEaxuKms3PaZ37HPp8=; b=lYWiXd3SGfFgR6UtHP0c0V3MSwHAtevmmbtdgPV6Xjqb/AkI3TBBJcY6KNGenPpmqi rYpgmp5fNaKFZgNVU29XVa1jSAB8citYic+Q9GI9pL0vMfyGXrhtRcLv0t9/u+uhJDwK gkxHI851nyFNZodXq1EB62sKpK2GhvlcrQiG0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding :in-reply-to:references:subject:from:cc:to:date:message-id :user-agent; bh=/ipVe6H1zjRQ3n1A4zatA7ipvQEaxuKms3PaZ37HPp8=; b=LUHN0lE921j9V1tag/lRCxblkC562wl9sQ33JHcUmMNkzzRAC+lv91WywK7mheL0BI yztbXC6QVKq/D8QoNdmZlXJowh6/CXsRbNHRgUeuKm3WlQrT9LMyt81P/lC0Ct1AXjwb 2mlQS+X9QH0vQiNQ1Zg37S3fl0nyBQ7BhIwbTvMFrAXrxxy4iDhFdOiC4mw4xJnjSR9Q Z51CfyIkHF4s2qVVH40AZU/YTWSFEQkc5J0ZQm8KJWvP0fxexi+eKat4QmyBSZU0EzJS ZiovxGil9r+znNOp5ysgYpJM71UVESNsirsKpCMTO+KLa1oOXAh3orLN5FXYvOsrWHJf kExA== X-Gm-Message-State: ANhLgQ2Iaig3hRd53mciIS4EynnNyLX9BQInac+2qjb7jLWkT3qF7mPb SGEpzpTZYjolhjHzRgxyT1dttWnoVHM= X-Received: by 2002:aa7:8d82:: with SMTP id i2mr11021445pfr.179.1584722939511; Fri, 20 Mar 2020 09:48:59 -0700 (PDT) Received: from chromium.org ([2620:15c:202:1:fa53:7765:582b:82b9]) by smtp.gmail.com with ESMTPSA id v29sm6039051pgc.72.2020.03.20.09.48.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Mar 2020 09:48:59 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20200320163820.3634106-1-vincent@bernat.ch> References: <20200320163820.3634106-1-vincent@bernat.ch> Subject: Re: [PATCH] scripts/gdb: replace "is 0" by "== 0" From: Stephen Boyd Cc: Vincent Bernat To: Jan Kiszka , Kieran Bingham , Vincent Bernat , linux-kernel@vger.kernel.org Date: Fri, 20 Mar 2020 09:48:58 -0700 Message-ID: <158472293810.63184.3695647310984420546@swboyd.mtv.corp.google.com> User-Agent: alot/0.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Vincent Bernat (2020-03-20 09:38:20) > While for small numbers, using "node is 0" works with CPython, it is > more portable to use "node =3D=3D 0". Moreover, with Python 3, this > triggers a syntax warning: >=20 > SyntaxWarning: "is" with a literal. Did you mean "=3D=3D"? >=20 > Signed-off-by: Vincent Bernat > --- Reviewed-by: Stephen Boyd