Skip to content

'async' is a reserved word in Python >= 3.7 #29326

Description

@cclauss

$ python3.7 ./configure.py ; NODE=$(which node) make test # generates -->

Failed to parse config file: Type names and field names cannot be a keyword: 'async'

That message is generated in inspector_protocol/code_generator.py because 'async' is a Python keyword in Python >= 3.7 and deps/v8/src/inspector/inspector_protocol_config.json contains async as a dict key.

UPDATE: This is now fixed in upstream https://chromium-review.googlesource.com/c/deps/inspector_protocol/+/1781351 and now needs to be downstreamed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to Node.js builds or CI infrastructure.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.pythonPRs and issues that require attention from people who are familiar with Python.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions