Remove busy-work. (#2072)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
It is entirely sufficient to walk the MRO of the exception class, no need to check for classes re-appearing later on, no need to add the MRO of any superclass. * Python refuses point-blank to create a class with a circular MRO. * All classes in a superclass MRO *already* appear in the MRO of the derived type. Re-adding the contents of a superclass MRO is doing double work.
authored by Martijn Pieters · committed by David Lord · parent 6478d7b · Browse files · 1 file+1 added−13 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+1 added−13 removed
- other:+1 added−13 removed