PEP 463 proposes a new exception handling syntax `x = lst[2] except IndexError: "No value"` http://t.co/MIng02QXx3 Not a need that I've felt
miniblog.
Related Posts
I hear people say that Go is often hard to search online (hence sometimes "Golang"), but the vast majority of language names are common words. Names with punctuation (C++, C#) are hard too.
Is this a big problem in practice? "Perl" isn't a dictionary word, but it's an exception.
Are there any FOSS licensees that explicitly allow people to train AI models on the source code?
This seems like a useful addition, and there's already precedent with the "classpath exception" for the GPL.
Python is discussing an elegant approach to tracebacks, where the subexpression that caused the exception is highlighted:
