lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <158472293810.63184.3695647310984420546@swboyd.mtv.corp.google.com>
Date:   Fri, 20 Mar 2020 09:48:58 -0700
From:   Stephen Boyd <swboyd@...omium.org>
To:     Jan Kiszka <jan.kiszka@...mens.com>,
        Kieran Bingham <kbingham@...nel.org>,
        Vincent Bernat <vincent@...nat.ch>,
        linux-kernel@...r.kernel.org
Cc:     Vincent Bernat <vincent@...nat.ch>
Subject: Re: [PATCH] scripts/gdb: replace "is 0" by "== 0"

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 == 0". Moreover, with Python 3, this
> triggers a syntax warning:
> 
>     SyntaxWarning: "is" with a literal. Did you mean "=="?
> 
> Signed-off-by: Vincent Bernat <vincent@...nat.ch>
> ---

Reviewed-by: Stephen Boyd <swboyd@...omium.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ