Skip to content

Bytecodes cleanup: promote TIER_{ONE,TWO}_ONLY to properties #115778

Description

@gvanrossum

Instead of

op(FOO, (left, right -- res)) {
    TIER_TWO_ONLY
    <actual code>
}

I'd like to be able to write

tier2 op(FOO, (left, right -- res)) {
    <actual code>
}

Linked PRs

Metadata

Metadata

Assignees

Labels

easyinterpreter-core(Objects, Python, Grammar, and Parser dirs)

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions