[Python-Dev] Syntax for "except"

Edward C. Jones edcjones at erols.com
Tue Feb 10 11:07:29 EST 2004


Why was Python syntax designed so
    except (TypeError, ValueError):
is OK but
    except [TypeError, ValueError]:
is forbidden. Should this be changed? Is immutability needed here? Where 
in Python is immutability really needed or really improves efficiency?




More information about the Python-Dev mailing list