Hi Paul, Is it correct that nametuple construction is much slower than for normal ones or is this true only in older python versions?
On Mon, Jul 4, 2011 at 1:47 AM, paulpmillr <paulpmi...@gmail.com> wrote: > Hello. > > I've added an implementation for named tuples query set, see > https://code.djangoproject.com/ticket/15648 > > - Named tuples could be iterated over with order saving (like lists / > tuples). > - Properties there could be accessed with dot notation - post.topic > (almost like dicts). > - They could be converted both to dicts and lists > - Easy debugging (pros over queryset.deferred()) > - I've provided a fallback implementation of named tuple for python > 2.5 users > - Tests are there too. > > Named tuples eliminate neediness in values & values_list because they > have all their features. > > What do you think about it? -- Best regards, Yuri V. Baburov, Skype: yuri.baburov, MSN: bu...@live.com -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.