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 barry
Recipients barry, gvanrossum, loewis, rhettinger, scott.dial
Date 2008-01-14.23:05:36
SpamBayes Score 0.0015353368
Marked as misclassified No
Message-id <1200351937.45.0.674353438374.issue1826@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not /personally/ concerned with the breakage because practicality
beats purity, and I don't want to use lambda because it's slower.  I've
never used operator.attrgetter() outside the specific use case of
sorted() and list.sort() so I'd like to make it able to be used in all
sorting-by-attribute-chasing use cases.

Other options: have sorted() and list.sort() grow another keyword
argument for the attribute-path; add another method called attrchaser()
in some module that adds the requested functionality.
History
Date User Action Args
2008-01-14 23:05:37barrysetspambayes_score: 0.00153534 -> 0.0015353368
recipients: + barry, gvanrossum, loewis, rhettinger, scott.dial
2008-01-14 23:05:37barrysetspambayes_score: 0.00153534 -> 0.00153534
messageid: <1200351937.45.0.674353438374.issue1826@psf.upfronthosting.co.za>
2008-01-14 23:05:36barrylinkissue1826 messages
2008-01-14 23:05:36barrycreate