Have lookup return None when it fails, moving the moving much of the try/except logic into single-line fallback expressions.
Have lookup return None when it fails, moving the moving much of the try/except logic into single-line fallback expressions.

pypa/setuptools,pypa/setuptools,pypa/setuptools