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 lukasz.langa
Recipients ecatmur, lukasz.langa
Date 2013-06-18.18:49:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Hello, Edward. First of all, thank you for correctly pointing out the problem. We'll integrate your patch but first I'd like to have a unit test that specifically shows why the secondonary `for` loop you introduced is necessary. Currently if we change this:

    for index, base in enumerate(mro[i + 1:], i + 1):
        if not issubclass(base, needle):

to this:

    index = i + 1

the tests still pass.
Date User Action Args
2013-06-18 18:49:36lukasz.langasetrecipients: + lukasz.langa, ecatmur
2013-06-18 18:49:36lukasz.langasetmessageid: <>
2013-06-18 18:49:36lukasz.langalinkissue18244 messages
2013-06-18 18:49:36lukasz.langacreate