[Python-Dev] PEP 409 update [was: PEP 409 (original) (raw)
Yury Selivanov yselivanov.ml at gmail.com
Fri Feb 3 18:52:02 CET 2012
- Previous message: [Python-Dev] Dev In a Box: Pumped for a better UX (with video)
- Next message: [Python-Dev] PEP 409 update [was: PEP 409 - final?]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I got it, and I think it's fine to use explicit cause reset, using Ellipsis, or even some NoException special object if we decide to introduce one.
I'm against allowing 'from ...' syntax.
On 2012-02-03, at 12:29 PM, Ethan Furman wrote:
Yury Selivanov wrote:
While the example is valid, I doubt that it is in any sense "common" case. No it is a corner case. Another way to spell it is: try: try: raise IndexError() except: raise CustomError() from None except CustomError as e: # nevermind, let's see the whole thing after all e.cause = Ellipsis raise e Ethan
- Previous message: [Python-Dev] Dev In a Box: Pumped for a better UX (with video)
- Next message: [Python-Dev] PEP 409 update [was: PEP 409 - final?]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]