GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Length of type names in AttributeError are inconsistent · Issue #103712 · python/cpython

Length of type names in AttributeError are inconsistent #103712

New issue
Copy link
New issue
Copy link
Closed
Closed
Length of type names in AttributeError are inconsistent#103712
Copy link
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@alex
alex
opened on Apr 23, 2023
Issue body actions

Some of them truncate the type name at 50 characters, some 100, and some 200. 50 is noticeably short enough that I actually do encounter truncations with nested modules.

It'd be good to make this minimally consistent by replacing all the 50s with 100s.

Linked PRs

  • gh-103712: Increase the length of the type name in AttributeError messages #103713

Activity

  1. alex
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Apr 23, 2023
  2. arhadthedev
    added
    interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)
    on Apr 23, 2023
  3. hugovk
    added a commit that references this issue on Apr 24, 2023

    gh-103712: Increase the length of the type name in AttributeError mes…

    5430093
  4. alex
    closed this as completedon Apr 24, 2023
  5. carljm
    added a commit that references this issue on Apr 24, 2023

    Merge branch 'main' into superopt

    19b8025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.