Content-Length: 261146 | pFad | https://github.com/python/cpython/issues/99201

CE sysconfig.get_config_vars() fails on Windows when dynamic loading is disabled · Issue #99201 · python/cpython · GitHub
Skip to content

sysconfig.get_config_vars() fails on Windows when dynamic loading is disabled #99201

@philthompson10

Description

@philthompson10

Bug report

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.

Your environment

Windows. Python v3.8 to v3.11.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/python/cpython/issues/99201

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy