On 2019-08-01, Daniel Okey-Okoro wrote:
> But in many cases, when people write `if not val` they're checking if the
> val is `None`
>
> i.e. `if val is None`, `if val == None`
If they want to know if val is None, then they should be typing 'val
is None'. IMO, it's not an improvement to let them
On Thu, Aug 01, 2019 at 01:25:21PM -0700, Daniel Okey-Okoro wrote:
> Good point Calvin,
>
> But in many cases, when people write `if not val` they're checking if the
> val is `None`
>
> i.e. `if val is None`, `if val == None`
>
> (so in
-- Forwarded message -
From: Daniel Okey-Okoro
Date: Thu, Aug 1, 2019 at 1:24 PM
Subject: Re: PEP: add a `no` keyword as an alias for `not`
To: Calvin Spealman
Good point Calvin,
But in many cases, when people write `i