Skip to content

Add bytecode to handle gen.send() corner cases #38

@ericsnowcurrently

Description

@ericsnowcurrently

( from #35)

Add some bytecodes to generators/co-routines to handle all the corner case code in gen.send(). Callers should not need to check the internal state of the generator, the generator bytecode should handle it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.10Things we could safely do for 3.10

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions