avoid useless metaclass searching overhead when creating Python class without base classes