Skip to content

Remove generator type check in _testcapimodule.c:raise_SIGINT_then_send_None #139276

@jbower-fb

Description

@jbower-fb

In the Cinder JIT we use a different type for generators, which breaks the test which uses this function.

In general I believe the intent with generators is they have the right structure rather than type, so a failure to find the send() method is arguably more correct if the wrong object is used.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions