This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients amaury.forgeotdarc, benjamin.peterson, krisys, ncoghlan, rhettinger
Date 2011-11-09.21:25:06
SpamBayes Score 9.6747644e-05
Marked as misclassified No
Message-id <CADiSq7f+UWTugK3+eW1u1AYQCRNhaxjMW6GA=ouZyRyDz4hbzg@mail.gmail.com>
In-reply-to <1320865421.93.0.201299524101.issue13375@psf.upfronthosting.co.za>
Content
Like any named tuple, the benefits lie in the better repr, and the fact
that if you only want some fields you don't have to unpack the whole tuple.
It's also easier to write variant APIs that add additional fields
accessible only by name.
History
Date User Action Args
2011-11-09 21:25:07ncoghlansetrecipients: + ncoghlan, rhettinger, amaury.forgeotdarc, benjamin.peterson, krisys
2011-11-09 21:25:07ncoghlanlinkissue13375 messages
2011-11-09 21:25:06ncoghlancreate