String representation for types created with typing.NewType(…) are opaque and unappealing · Issue #79144 · python/cpython · GitHub
Skip to content

String representation for types created with typing.NewType(…) are opaque and unappealing #79144

Description

@fish2000
mannequin
BPO 34963
Nosy @serhiy-storchaka, @ilevkivskyi, @csabella, @fish2000, @uriyyo
PRs
  • bpo-34963: Create callable types in typing.NewType #9808
  • bpo-34963: Make the repr of the typing.NewType() result more meaningful. #9951
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2021-12-27.11:29:52.903>
    created_at = <Date 2018-10-12.03:03:15.563>
    labels = ['3.7', '3.8', 'type-bug', 'library']
    title = 'String representation for types created with typing.NewType(\xe2\x80\xa6) are opaque and unappealing'
    updated_at = <Date 2021-12-27.11:29:52.903>
    user = 'https://github.com/fish2000'

    bugs.python.org fields:

    activity = <Date 2021-12-27.11:29:52.903>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-12-27.11:29:52.903>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2018-10-12.03:03:15.563>
    creator = 'fish2000'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34963
    keywords = ['patch']
    message_count = 11.0
    messages = ['327558', '327595', '327596', '327610', '327611', '327968', '328224', '328699', '328707', '343333', '398065']
    nosy_count = 5.0
    nosy_names = ['serhiy.storchaka', 'levkivskyi', 'cheryl.sabella', 'fish2000', 'uriyyo']
    pr_nums = ['9808', '9951']
    priority = 'normal'
    resolution = 'out of date'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue34963'
    versions = ['Python 3.7', 'Python 3.8']

    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

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions