Skip to content

Python: failing to parse t-strings and f-strings with an alignment modifier and = as fill character #21270

@grahamcracker1234

Description

@grahamcracker1234

CodeQL does not support t-strings, a new 3.14 feature, failing with:

Could not process some files due to syntax errors

A parse error occurred while processing <file>, and as a result this file could not be analyzed. Check the syntax of the file using the python -m py_compile command and correct any invalid syntax.

Where <file> contains a t-string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions