[Python-Dev] PEP 463: Exception-catching expressions
Ethan Furman
ethan at stoneleaf.us
Sat Feb 22 05:08:42 CET 2014
More information about the Python-Dev mailing list
Sat Feb 22 05:08:42 CET 2014
- Previous message: [Python-Dev] PEP 463: Exception-catching expressions
- Next message: [Python-Dev] PEP 463: Exception-catching expressions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 02/21/2014 07:46 PM, Chris Angelico wrote: > > but not this: > > value = expr except Exception: default except Exception: default This should be the way it works. Nothing is gained in readability by turning a try with multiple except statements into an expression. -- ~Ethan~
- Previous message: [Python-Dev] PEP 463: Exception-catching expressions
- Next message: [Python-Dev] PEP 463: Exception-catching expressions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list