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 r.david.murray
Recipients Isaac Morland, josh.r, r.david.murray, steven.daprano
Date 2017-04-08.20:13:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1491682387.47.0.730316397831.issue30020@psf.upfronthosting.co.za>
In-reply-to
Content
This is a clever idea, but I vote -1 for this proposal.  I think it makes attrgetter more complex for little purpose.  The fact that only some attribute names work and the others get mangled makes the API very ugly and not, IMO, desirable.

Finally, if you want this, you can pretty easily write a function that wraps attrgetter to do it.  I don't think it has enough utility to justify being in the stdlib.
History
Date User Action Args
2017-04-08 20:13:07r.david.murraysetrecipients: + r.david.murray, steven.daprano, josh.r, Isaac Morland
2017-04-08 20:13:07r.david.murraysetmessageid: <1491682387.47.0.730316397831.issue30020@psf.upfronthosting.co.za>
2017-04-08 20:13:07r.david.murraylinkissue30020 messages
2017-04-08 20:13:07r.david.murraycreate