[Python-ideas] A namedtuple literal.

Eric Snow ericsnowcurrently at gmail.com
Thu Apr 3 04:58:22 CEST 2014
On Wed, Apr 2, 2014 at 3:27 PM, Steven D'Aprano <steve at pearwood.info> wrote:
> These would be reasonable points to consider if the idea of literal
> namedtuple syntax was a serious idea to consider, but I don't think it
> is. Please look again at Eric's original post, and take note of the last
> thing he says, and remember that there is a tradition in Anglo-American
> culture of making "April Fools" jokes and other non-serious suggestions.

Yep.  I was digging through list archives and stumbled upon this idea
several times (both for namedtuple and for OrderedDict).  It's not a
terrible idea, but definitely overkill, IMHO.  In the one case where
Guido gave his opinion, he gave a -100. :)

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>

-eric


More information about the Python-ideas mailing list