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 Isaac Morland
Recipients Isaac Morland
Date 2017-07-31.01:19:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1501463947.14.0.101425417299.issue31086@psf.upfronthosting.co.za>
In-reply-to
Content
This is meant to replace my proposal in #30020 to change attrgetter to use namedtuple.  By creating a new function implemented in Python, I avoid making changes to the existing attrgetter, which means that both the need of implementing a C version and the risk of changing the performance or other characteristics of the existing function are eliminated.

My suggestion is to put this in the collections module next to namedtuple.  This eliminates the circular import problem and is a natural fit as it is an application of namedtuple.
History
Date User Action Args
2017-07-31 01:19:07Isaac Morlandsetrecipients: + Isaac Morland
2017-07-31 01:19:07Isaac Morlandsetmessageid: <1501463947.14.0.101425417299.issue31086@psf.upfronthosting.co.za>
2017-07-31 01:19:07Isaac Morlandlinkissue31086 messages
2017-07-31 01:19:06Isaac Morlandcreate