Skip to content

subprocess.Popen is documented as pdoc.extract._PdocDefusedPopen #819

Open

Description

@MatrixManAtYrService

Problem Description

class Bar:
    foo: subprocess.Popen[str]
Image

I realize that this substitution protects against surprises during doc generation, but perhaps it can be rendered as the original string in the docs?

System Information

❯ pdoc --version
pdoc: 15.0.4
Python: 3.12.10
Platform: macOS-14.4-arm64-arm-64bit

Activity

  1. changed the title [-]`subprocess.Popen` is documented as `pdoc.extract._PdocDefusedPopen[str]`[/-] [+]`subprocess.Popen` is documented as `pdoc.extract._PdocDefusedPopen`[/+] on Jul 8, 2025
  2. mhils commented on Jul 21, 2025

    @mhils
    Member

    Yes, that's definitely a bug. Patches welcome! 😃

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

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions