Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove async_hacks from the tokenizer #107015

Closed
pablogsal opened this issue Jul 22, 2023 · 0 comments
Closed

Remove async_hacks from the tokenizer #107015

pablogsal opened this issue Jul 22, 2023 · 0 comments

Comments

@pablogsal
Copy link
Member

pablogsal commented Jul 22, 2023

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

pablogsal added a commit to pablogsal/cpython that referenced this issue Jul 22, 2023
pablogsal added a commit to pablogsal/cpython that referenced this issue Jul 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant