Skip to content

Support PEP 675 (LiteralString) #12554

Open
@JelleZijlstra

Description

@JelleZijlstra

We should support LiteralString from PEP 675 (https://peps.python.org/pep-0675/).

As a first step, I would suggest changing the semantic analyzer to treat LiteralString simply as an alias for str. That's not correct, but it will be enough to enable third-party libraries and typeshed to start using LiteralString.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions