Skip to content

_suggestions module missing on Windows, untested #131712

@devdanzin

Description

@devdanzin

Bug report

Bug description:

The _suggestions module isn't available in Windows builds because it's missing from PC/config.c. Since it's not tested and only imported in traceback.py in a try: block guarding against ImportError, it's easy to not detect that it's missing.

If there is no objection, I'll create a PR adding the _suggestions module to PC/config.c (and perhaps config_minimal.c) plus basic tests to detect whether it's available and working as intended.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Windows

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions