On Fri, Dec 1, 2017 at 5:45 AM, Tres Seaver firstname.lastname@example.org 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.