python. Replaces subtypes dict with a list, fixed #173.