Skip to content

collections.Counter's += copies the entire object #57330

@lars

Description

@lars
mannequin
BPO 13121
Nosy @rhettinger, @akheron
Files
  • cpython-counter-iadd.diff: Patch that adds iadd to collections.Counter
  • counter.diff: Patch for in-place multiset operations
  • 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/rhettinger'
    closed_at = <Date 2011-10-19.20:41:20.641>
    created_at = <Date 2011-10-07.08:50:33.835>
    labels = ['type-feature', 'library']
    title = "collections.Counter's += copies the entire object"
    updated_at = <Date 2011-10-19.20:41:20.640>
    user = 'https://bugs.python.org/lars'

    bugs.python.org fields:

    activity = <Date 2011-10-19.20:41:20.640>
    actor = 'rhettinger'
    assignee = 'rhettinger'
    closed = True
    closed_date = <Date 2011-10-19.20:41:20.641>
    closer = 'rhettinger'
    components = ['Library (Lib)']
    creation = <Date 2011-10-07.08:50:33.835>
    creator = 'lars'
    dependencies = []
    files = ['23336', '23457']
    hgrepos = []
    issue_num = 13121
    keywords = ['patch']
    message_count = 5.0
    messages = ['145063', '145065', '145067', '145071', '145959']
    nosy_count = 4.0
    nosy_names = ['rhettinger', 'python-dev', 'petri.lehtinen', 'lars']
    pr_nums = []
    priority = 'low'
    resolution = 'fixed'
    stage = 'patch review'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue13121'
    versions = ['Python 3.3']

    Metadata

    Metadata

    Assignees

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions