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 bkline
Recipients
Date 2006-08-17.23:55:21
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=291529

> Why are you creating a dictionary just to take its keys?

Because in order to preserve the original behavior (and to
match the documentation), the list returned must contain
only one member for each unique field name.  The built-in
set() would work just as well, though my benchmarks don't
show much difference in performance.  Something like:

return list(set([i.name for i in self.list]))
History
Date User Action Args
2007-08-23 16:12:05adminlinkissue1541463 messages
2007-08-23 16:12:05admincreate