Skip to content

pydoc generated a non-existent URL for importlib._bootstrap #139986

Closed as duplicate

Description

@Yzi-Li

Bug report

Bug description:

Run the following codes:

>>> import importlib._bootstrap
>>> help(importlib._bootstrap)
Help on module importlib._bootstrap in importlib:

NAME
    importlib._bootstrap - Core implementation of import.

MODULE REFERENCE
    https://docs.python.org/3.15/library/importlib._bootstrap.html
...

There is no information about importlib._bootstrap in the official documentation, but pydoc generated a non-existent URL for importlib._bootstrap.

I'm not sure whether we should delete URL or not, since the module is NOT meant to be directly imported.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Windows

Activity

  1. added
    type-bugAn unexpected behavior, bug, or error
    on Oct 12, 2025
  2. StanFromIreland commented on Oct 12, 2025

    @StanFromIreland
    Member

    This is a general pydoc issue, I close as duplicate of a previous one. We need to stop assuming we can create such a link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions