Skip to content

"ValueError: min() arg is an empty sequence" is wrong (builtins.min/max) #90829

Closed
@Nnarol

Description

@Nnarol
mannequin
BPO 46671
Nosy @Nnarol
PRs
  • GH-90829: Fix empty iterable error message in min/max #31181
  • 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 2022-02-07.00:22:26.157>
    labels = ['interpreter-core', 'type-bug', '3.11']
    title = '"ValueError: min() arg is an empty sequence" is wrong (builtins.min/max)'
    updated_at = <Date 2022-02-07.00:52:23.413>
    user = 'https://github.com/Nnarol'

    bugs.python.org fields:

    activity = <Date 2022-02-07.00:52:23.413>
    actor = 'Nnarol'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2022-02-07.00:22:26.157>
    creator = 'Nnarol'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46671
    keywords = ['patch']
    message_count = 1.0
    messages = ['412694']
    nosy_count = 1.0
    nosy_names = ['Nnarol']
    pr_nums = ['31181']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue46671'
    versions = ['Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.12only security fixeseasyinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions