Skip to content

Superclass for gdb.ThreadExitedEvent should be gdb.ThreadEvent #14729

@malsyned

Description

@malsyned

The GDB Python Event API docs say:

events.thread_exited

    This is emitted when GDB notices a thread has exited. The event is of type gdb.ThreadExitedEvent which extends gdb.ThreadEvent. This has a single attribute:

    Variable: ThreadExitedEvent.inferior_thread

        The exiting thread.

But typeshed defines the superclass for gdb.ThreadExitedEvent as gdb.Event, not gdb.ThreadEvent, so the inferior_thread attribute is missing.

class ThreadExitedEvent(Event): ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedAn actionable problem of low to medium complexity where a PR would be very welcomestubs: improvementImprove/refactor existing annotations, other stubs issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions