[Python-Dev] What's the status of PEP 505: None-aware operators?

Ethan Furman ethan at stoneleaf.us
Tue Nov 28 15:57:02 EST 2017


On 11/28/2017 12:31 PM, Raymond Hettinger wrote:

>      timeout ?? local_timeout ?? global_timeout
>      'foo' in (None ?? ['foo', 'bar'])
>      requested_quantity ?? default_quantity * price
>      name?.strip()[4:].upper()
>      user?.first_name.upper()

Cryptic, indeed.

-1 from me.

--
~Ethan~



More information about the Python-Dev mailing list