Re: new except syntax in interim release 656
Paul Prescod <[email protected]>
| Newsgroups | gmane.comp.lang.prothon.user |
|---|---|
| Message-ID | <[email protected]> |
Mark Hahn wrote: >... > I must admit that "as" is already in the language. I was just trying to > make minimum change to Python. I guess you could argue that keeping the > label last is less change. I guess the least change would just be > replacing the comma with "as": > > except (ExceptionObject1, ExceptionObject2) as label: > > This would not only be less change but it wouldn't be introducing the > weird new expression logic of combining "or" with "as" :-) > > Comments? Looks excellent to me! Paul Prescod