You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ python -c 'from distutils.util import grok_environment_error as e; print(e(IOError("message")))'
What I expect to see:
error: message
What I get instead:
error: None
This is a problem because it hides the error message in a real-life use case: trying to use the latest setuptools in an ancient virtualenv (see [1]). TL;DR version:
sysconfig (in the standard library) raises IOError(msg),
which is then caught and passed throughdistutils.util.grok_environment_error(),
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: