Message191424
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):
break
to this:
index = i + 1
the tests still pass. |
|
Date |
User |
Action |
Args |
2013-06-18 18:49:36 | lukasz.langa | set | recipients:
+ lukasz.langa, ecatmur |
2013-06-18 18:49:36 | lukasz.langa | set | messageid: <1371581376.68.0.398925930138.issue18244@psf.upfronthosting.co.za> |
2013-06-18 18:49:36 | lukasz.langa | link | issue18244 messages |
2013-06-18 18:49:36 | lukasz.langa | create | |
|