Skip to content

END_ASYNC_FOR expects an undocumented argument in 3.14 #142250

@MatthieuDartiailh

Description

@MatthieuDartiailh

Documentation

The dis documentation does not mention that END_ASYNC_FOR takes an argument under Python 3.14.

Also this opcode is now a backward jump which contrary to other backward jump opcode is not obvious from the name. Having new sets in opcode describing forward jumping and backward jumping opcode (rather than just jumping opcode) would be useful to third party libraries interacting with the bytecode (such as the bytecode lib).

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions