However, since I now can't reproduce this when I hoist the `get_subclasses` line out of the double for loop, I'll fix your (just) remark.
Very strange, but maybe I was being blinded by another bug somewhere that somehow got magically fixed by this 'trick'.
Whatever: remark fixed. :-)