well, it's not functionally equivalent. if some imports succeed `site._registry` won't reflect those that succeed before the failure. I was thinking you could add a `registry` keyword to `autodiscover_modules` to allow passing in an optional `registry`.