Skip to content

Remove builtins. from error messages #5072

Closed
@JelleZijlstra

Description

@JelleZijlstra

Our error messages would be a bit more concise if we removed the builtins. part from type output, and perhaps typing. too. This would make error messages match up more closely with runtime syntax.

For example, we currently output None as builtins.None, which is a syntax error at runtime. Just outputting None would be more clear.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions