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 serhiy.storchaka
Recipients Isaac Morland, christian.heimes, josh.r, r.david.murray, serhiy.storchaka, steven.daprano
Date 2017-04-08.21:07:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1491685633.48.0.778375941628.issue30020@psf.upfronthosting.co.za>
In-reply-to
Content
I vote -1 too.

1. As was said, this doesn't work with all attribute names.
2. This adds circular dependency between operator and collections modules.
3. This increases memory consumption and startup time for small programs that don't use the collections module.
4. Performance. Creating a namedtuple is slower than creating a tuple, and many code is optimized for raw tuples.
5. This increases the complexity of attrgetter() implementation and can introduce new bugs.
History
Date User Action Args
2017-04-08 21:07:13serhiy.storchakasetrecipients: + serhiy.storchaka, christian.heimes, steven.daprano, r.david.murray, josh.r, Isaac Morland
2017-04-08 21:07:13serhiy.storchakasetmessageid: <1491685633.48.0.778375941628.issue30020@psf.upfronthosting.co.za>
2017-04-08 21:07:13serhiy.storchakalinkissue30020 messages
2017-04-08 21:07:13serhiy.storchakacreate