Skip to content

Non-informative error message in index() and remove() functions #57558

@akheron

Description

@akheron
BPO 13349
Nosy @brettcannon, @rhettinger, @terryjreedy, @ncoghlan, @vstinner, @ezio-melotti, @merwok, @Julian, @akheron, @serhiy-storchaka, @DimitrisJim, @eamanu
PRs
  • bpo-13349: Fix error reporting for index and remove methods #876
  • bpo-13349: Improve the error message for tuple.index #1309
  • bpo-13349: repr object in tuple.index ValueError message #1820
  • Dependencies
  • bpo-7330: PyUnicode_FromFormat: implement width and precision for %s, %S, %R, %V, %U, %A
  • Files
  • issue-13349.patch
  • issue13349.patch.1: First update to issue patch.
  • issue13349.patch.2
  • issue13349.patch.3
  • issue13349.patch.4
  • issue13349.patch.6
  • issue13349.patch.7
  • 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 2017-05-27.21:57:54.212>
    created_at = <Date 2011-11-05.20:49:37.320>
    labels = ['extension-modules', 'interpreter-core', 'type-bug', '3.7']
    title = 'Non-informative error message in index() and remove() functions'
    updated_at = <Date 2017-05-28.15:33:09.523>
    user = 'https://github.com/akheron'

    bugs.python.org fields:

    activity = <Date 2017-05-28.15:33:09.523>
    actor = 'Jim Fasarakis-Hilliard'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-05-27.21:57:54.212>
    closer = 'rhettinger'
    components = ['Extension Modules', 'Interpreter Core']
    creation = <Date 2011-11-05.20:49:37.320>
    creator = 'petri.lehtinen'
    dependencies = ['7330']
    files = ['27884', '27907', '27940', '27949', '27975', '28265', '28267']
    hgrepos = []
    issue_num = 13349
    keywords = ['patch']
    message_count = 46.0
    messages = ['147109', '147215', '147237', '147238', '147431', '147546', '147795', '147824', '147834', '147836', '147837', '147853', '147859', '174666', '174716', '174744', '174759', '174820', '174821', '174958', '175134', '175265', '175266', '175319', '175325', '175328', '175489', '175491', '177198', '177203', '188598', '289856', '290020', '290492', '290742', '290745', '290747', '290748', '294552', '294563', '294603', '294609', '294613', '294627', '294631', '294649']
    nosy_count = 13.0
    nosy_names = ['brett.cannon', 'rhettinger', 'terry.reedy', 'ncoghlan', 'vstinner', 'ezio.melotti', 'eric.araujo', 'Julian', 'petri.lehtinen', 'serhiy.storchaka', 'Sean.Ochoa', 'Jim Fasarakis-Hilliard', 'eamanu']
    pr_nums = ['876', '1309', '1820']
    priority = 'normal'
    resolution = 'rejected'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue13349'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifeextension-modulesC modules in the Modules dirinterpreter-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