[Python-ideas] A subclassing API for named tuples?

Antoine Pitrou solipsis at pitrou.net
Tue Feb 19 10:24:06 CET 2013


Le Mon, 18 Feb 2013 21:48:48 -0800,
Raymond Hettinger
<raymond.hettinger at gmail.com> a écrit :
> 
> On Feb 18, 2013, at 1:56 AM, Nick Coghlan
> <ncoghlan at gmail.com> wrote:
> 
> > My real issue is with interminable enum discussions, this thread was
> > merely a side effect of enum-induced frustration :)
> 
> I understand.  It never ends :-)

The problem with enum is that since it doesn't unlock any particularly
interesting feature, it must at least cater to all existing use cases
to be desirable for stdlib inclusion. Hence the long discussions.

Regards

Antoine.





More information about the Python-ideas mailing list