[Python-ideas] A namedtuple literal.

Chris Angelico rosuav at gmail.com
Thu Apr 3 05:12:18 CEST 2014


On Thu, Apr 3, 2014 at 1:58 PM, Eric Snow <ericsnowcurrently at gmail.com> wrote:
> I figured I'd throw it out there for April 1st.  I guess without more
> context the idea is less obviously bad.  Maybe I should have just
> picked a stinkier idea. <wink>

It's pretty hard to come up with an idea so bad that it's obviously a
joke. When I was knocking together the except-expression syntaxes, one
of the four most-recommended notations actually started as a joke
("expr except Exception pass default"), and ended up actually being
reasonably plausible.

ChrisA


More information about the Python-ideas mailing list