Skip to content

The attribute ast.Interpolation.str is a bug #143661

@hunterhogan

Description

@hunterhogan

Bug report

Bug description:

Shadowing builtins.str by introducing the attribute ast.Interpolation.str in Python 3.14 is a bug. The existence of ast.Interpolation.str is, and will be, the proximate cause of many bugs and problems for many programmers.

Some unsolved bugs may be reported to Python through an official channel. Python will necessarily be unaware, however, of the extra costs associated with creating workarounds for the shadowing, as Python lacks mechanisms for collecting this information.

CPython versions tested on:

3.14

Operating systems tested on:

No response

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