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 brett.cannon
Recipients amaury.forgeotdarc, benjamin.peterson, brett.cannon, christian.heimes, georg.brandl, gvanrossum, mark.dickinson, rhettinger
Date 2008-12-07.21:30:29
SpamBayes Score 1.42286e-09
Marked as misclassified No
Message-id <>
In-reply-to <>
On Sun, Dec 7, 2008 at 13:26, Mark Dickinson <> wrote:
> Mark Dickinson <> added the comment:
> About unittest:
> unittest.TestLoader has an attribute "sortTestMethodsUsing", which it
> expects to be an old-style comparison.
> Should this attribute be updated (and renamed?) to expect a key function
> instead, or left as is?

It will break backwards-compatibility if you change it. Possibly the
best solution is to introduce a new attribute that does either key or
just lt comparison and make sortTestMethodsUsing be a descriptor that
wraps the function as needed.
Date User Action Args
2008-12-07 21:30:30brett.cannonsetrecipients: + brett.cannon, gvanrossum, georg.brandl, rhettinger, amaury.forgeotdarc, mark.dickinson, christian.heimes, benjamin.peterson
2008-12-07 21:30:30brett.cannonlinkissue1717 messages
2008-12-07 21:30:30brett.cannoncreate