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
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
assignee='https://github.com/zooba'closed_at=<Date2018-07-26.16:19:24.254>created_at=<Date2018-07-25.14:54:28.322>labels= ['3.8', '3.7', 'library', 'OS-windows']
title='distutils._msvccompiler should trim INCLUDE/LIB directories'updated_at=<Date2018-07-29.09:02:19.890>user='https://github.com/zooba'
_msvccompiler reads the INCLUDE and LIB environment variables when building and adds each directory to the command line. However, if any of these end with os.sep (specifically, '\'), then it will escape the quoting and break the entire command.
We should rstrip(os.sep) on each item from this list.