-
-
Couldn't load subscription status.
- Fork 33.3k
Closed as not planned
Labels
pendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is providedstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-importlibtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
_ERR_MSG was removed by commit 857bdba, which doesn't give any reason for doing so, and it doesn't appear to be related to the bug that that commit was fixing. The removal has broken modulegraph.
While importlib._bootstrap could be considered private and subject to change at any time, 683ab85 says that:
We keep
_ERR_MSGand_ERR_MSG_PREFIXas those may be used elsewhere for canonical looking error messages.
That at least suggests that it may be considered an API and thus subject to deprecation periods. If you decide otherwise, that's fine, I just thought I would report this since the removal appears to have been accidental.
CPython versions tested on:
3.14
Operating systems tested on:
macOS
Metadata
Metadata
Assignees
Labels
pendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is providedstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-importlibtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error