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 steven.daprano
Recipients Isaac Morland, steven.daprano
Date 2017-04-08.06:35:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1491633329.27.0.152698688388.issue30020@psf.upfronthosting.co.za>
In-reply-to
Content
Before writing a patch that may be rejected, can you explain in detail what change you propose? Example(s) will be good.

For example:

py> from operator import attrgetter
py> f = attrgetter('keys')
py> f({})
<built-in method keys of dict object at 0xb7c47ecc>

I don't see a tuple here, so what (if anything) are you planning to change?


How about the example from help(attrgetter)?

 |  After h = attrgetter('name.first', 'name.last'), the call h(r) returns
 |  (r.name.first, r.name.last).
History
Date User Action Args
2017-04-08 06:35:29steven.dapranosetrecipients: + steven.daprano, Isaac Morland
2017-04-08 06:35:29steven.dapranosetmessageid: <1491633329.27.0.152698688388.issue30020@psf.upfronthosting.co.za>
2017-04-08 06:35:29steven.dapranolinkissue30020 messages
2017-04-08 06:35:29steven.dapranocreate