bpo-15450: Allow subclassing of dircmp#5088
Conversation
|
Hm, one also has to update |
|
I doubt if the Pull Request will be accepted without issue on bugs.python.org and unit test. |
|
I have found this issue: https://bugs.python.org/issue15450 |
|
Unittests are required as well |
|
Even if change is completely semantically the same? |
|
You are adding a new behavior. |
|
I mean, this just allows one to fix it to make it work. But if we really want to make this work properly, we should probably get rid of the whole |
|
Thus PR is not full. Please go forward and implement the requested feature. |
|
Can I refactor the class to not use |
|
Don't know, I not involved into the problem. |
|
Thanks, @asvetlov. The patch I posted long ago on the tracker is probably a better start. I included not just the change, but also a failing test and documentation changes. |
|
@cjerdonek I ported over your old patch and submitted a PR at #23424 if you want to take a look. Thanks for your work! |
|
Closing, #23424 should land. |
|
@NickCrews Thanks. |
Current implementation of dircmp does not really allow subclassing because it calls itself recursively.
https://bugs.python.org/issue15450