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
{{ message }}
Repository navigation
sysconfig.get_config_vars() fails on Windows when dynamic loading is disabled #99201
A change was made in Python v3.8 where, on Windows, EXT_SUFFIX was initialised from the first element of the list returned by _imp.extension_suffixes(). In previous versions this was hardcoded to '.pyd'. When HAVE_DYNAMIC_LOADING is not defined the list of suffixes will always be empty resulting in a IndexError exception being raised.
Activity
pythongh-99201: fix IndexError when initializing sysconfig config var…
gh-99201: fix IndexError when initializing sysconfig config variables
FFY00 commentedon Nov 21, 2022
Fixed by #99274