bpo-15450: Allow subclassing of dircmp by mitar · Pull Request #5088 · python/cpython (original) (raw)
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 methodmap
construct and get normal methods there which call internal phase methods. Then it is easy to subclass. Currently this PR just allows one to subclass at all, but I would not recommend that the current chaos of subclassing is something officially supported.