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
Bug report
Bug description:
The
_suggestionsmodule isn't available in Windows builds because it's missing fromPC/config.c. Since it's not tested and only imported intraceback.pyin atry:block guarding againstImportError, it's easy to not detect that it's missing.If there is no objection, I'll create a PR adding the
_suggestionsmodule toPC/config.c(and perhapsconfig_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