Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove builtins. from error messages #5072

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.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions