Skip to content

Nonsensical exception message when calling __new__ on non-instaniable objects #78465

Closed
@pppery

Description

@pppery
mannequin
BPO 34284
Nosy @ncoghlan, @serhiy-storchaka, @pppery, @VadimPushtaev
PRs
  • bpo-34284: Nonsensical exception message when calling __new__ on non-instantiable objects #8576
  • 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 = None
    created_at = <Date 2018-07-30.20:05:01.213>
    labels = ['interpreter-core', 'type-bug', 'library', '3.11']
    title = 'Nonsensical exception message when calling `__new__` on non-instaniable objects'
    updated_at = <Date 2022-01-28.19:35:48.358>
    user = 'https://github.com/pppery'

    bugs.python.org fields:

    activity = <Date 2022-01-28.19:35:48.358>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core', 'Library (Lib)']
    creation = <Date 2018-07-30.20:05:01.213>
    creator = 'ppperry'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34284
    keywords = ['patch']
    message_count = 18.0
    messages = ['322688', '322694', '322695', '322699', '322700', '322703', '322704', '322705', '322715', '322745', '323110', '323113', '323127', '323226', '323240', '323293', '324479', '324513']
    nosy_count = 4.0
    nosy_names = ['ncoghlan', 'serhiy.storchaka', 'ppperry', 'Vadim Pushtaev']
    pr_nums = ['8576']
    priority = 'low'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue34284'
    versions = ['Python 3.11']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)stdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions