[Python-ideas] [Python-Dev] What's the status of PEP 505: None-aware operators?
rosuav at gmail.com
Thu Nov 30 14:45:33 EST 2017
On Fri, Dec 1, 2017 at 5:45 AM, Tres Seaver <tseaver at palladion.com> wrote:
>> I would *not* add any spelling for an explicit bare-except equivalent.
>> You would have to write:
>> val = name.strip()[4:].upper() except Exception as -1
> Wouldn't that really need to be this instead, for a true 'except:' equivalence:
> val = name.strip()[4:].upper() except BaseException as -1
Read the rejected PEP 463 for all the details and arguments. All this
has been gone into.
More information about the Python-ideas