8000 Calling assertEquals for moderately long list takes too long · Issue #63416 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content
Calling assertEquals for moderately long list takes too long #63416
@JacekBzdak

Description

@JacekBzdak
BPO 19217
Nosy @terryjreedy, @gpshead, @pfmoore, @pitrou, @rbtcollins, @tjguk, @ezio-melotti, @voidspace, @ambv, @zware, @serhiy-storchaka, @zooba, @elenaoat, @nnja, @ilevkivskyi, @treyhunner, @elafontaine, @eamanu, @tirkarthi, @jdevries3133
PRs
  • Fix bpo-19217: Calling assertEquals for moderately long list takes too long #10034
  • Fix bpo-19217: Calling assertEquals for moderately long list takes too long #11204
  • gh-63416: Speed up assertEqual on long sequences #27434
  • Files
  • unittest_scse.py: SCSE
  • issue19217.diff
  • issue19217-1.diff
  • issue19217-2.diff
  • issue19217-3.diff
  • issue19217-alt.diff
  • issue19217-profile.txt: profile output of the test case
  • cpython-issue19217.diff: Use difflib.unified_diff instead of ndiff
  • unittest_unified_diff.patch
  • unified_diff.py
  • issue_19217.diff
  • 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 = 'https://github.com/ezio-melotti'
    closed_at = None
    created_at = <Date 2013-10-10.13:04:46.624>
    labels = ['3.11', 'library', 'performance']
    title = 'Calling assertEquals for moderately long list takes too long'
    updated_at = <Date 2022-03-04.11:49:12.121>
    user = 'https://bugs.python.org/JacekBzdak'

    bugs.python.org fields:

    activity = <Date 2022-03-04.11:49:12.121>
    actor = 'AlexWaygood'
    assignee = 'ezio.melotti'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2013-10-10.13:04:46.624>
    creator = 'Jacek.Bzdak'
    dependencies = []
    files = ['32033', '32105', '36144', '36292', '36295', '36330', '37001', '41824', '46573', '46574', '47921']
    hgrepos = []
    issue_num = 19217
    keywords = ['patch', 'needs review']
    message_count = 30.0
    messages = ['199383', '199384', '199466', '199833', '199855', '200770', '200827', '216480', '217426', '217563', '224193', '224965', '224983', '225126', '225130', '225132', '225134', '229858', '229910', '259674', '261712', '287264', '287284', '329655', '329657', '370632', '398008', '398198', '398440', '405890']
    nosy_count = 25.0
    nosy_names = ['terry.reedy', 'gregory.p.smith', 'paul.moore', 'pitrou', 'rbcollins', 'tim.golden', 'ezio.melotti', 'michael.foord', 'lukasz.langa', 'zach.ware', 'serhiy.storchaka', 'Jacek.Bzdak', 'steve.dower', 'Ankur.Ankan', 'Elena.Oat', 'nnja', 'ankurankan', 'Puneeth.Chaganti', 'levkivskyi', 'Chris AtLee', 'trey', 'Eric Lafontaine', 'eamanu', 'xtreak', 'jack__d']
    pr_nums = ['10034', '11204', '27434']
    priority = 'high'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'resource usage'
    url = 'https://bugs.python.org/issue19217'
    versions = ['Python 3.11']

    Metadata

    Metadata

    Assignees

    Labels

    3.12only security fixesperformancePerformance or resource usagestdlibStandard Library Python modules in the Lib/ directory

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0