Author loewis
Recipients Arfrever, amaury.forgeotdarc, denilsonsa, giampaolo.rodola, loewis, neologix, pitrou, rosslagerwall, zbysz
Date 2012-01-05.20:54:59
SpamBayes Score 8.0692e-06
Marked as misclassified No
Message-id <1325796900.41.0.764307621112.issue13609@psf.upfronthosting.co.za>
In-reply-to
Content
I haven't read much of this issue, but I strongly dislike the use of named tuples. Either we want people to use named fields, then we should use a regular class (possibly with slots), or we want to define the result as two values, then there should be a plain tuple result.

named tuples should only be used as a compatibility mechanism, when the first design used tuples, and it was later found that additional values need to be returned which would change the number of values (or the original design was considered bad because it returned too many positional values to properly keep track).
History
Date User Action Args
2012-01-05 20:55:00loewissetrecipients: + loewis, amaury.forgeotdarc, pitrou, giampaolo.rodola, Arfrever, zbysz, denilsonsa, neologix, rosslagerwall
2012-01-05 20:55:00loewissetmessageid: <1325796900.41.0.764307621112.issue13609@psf.upfronthosting.co.za>
2012-01-05 20:54:59loewislinkissue13609 messages
2012-01-05 20:54:59loewiscreate