Skip to content

Remove async_hacks from the tokenizer #107015

Closed
@pablogsal

Description

@pablogsal

The async_hacks related functionality provides a specific compile mode that still allows treating ASYNC and AWAIT like soft keywords optionally. This is not used in the interpreter and it belongs to a version that has lost upstream support (and that would imply that someone is analyzing 3.6 code from 3.13 code) and it complicates the tokenizer logic, so we can remove it to clean things a bit.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions