Skip to content

[PATCH] Add set operations (and, or, xor, subtract) to dict views #45358

Closed

Description

@keir
mannequin
BPO 1017
Files
  • dictview_set_operations.diff
  • dictview_tests.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/gvanrossum'
    closed_at = <Date 2007-08-25.00:14:24.055>
    created_at = <Date 2007-08-24.23:23:25.342>
    labels = ['interpreter-core']
    title = '[PATCH] Add set operations (and, or, xor, subtract) to dict views'
    updated_at = <Date 2007-09-02.20:04:52.338>
    user = 'https://bugs.python.org/keir'

    bugs.python.org fields:

    activity = <Date 2007-09-02.20:04:52.338>
    actor = 'loewis'
    assignee = 'gvanrossum'
    closed = True
    closed_date = <Date 2007-08-25.00:14:24.055>
    closer = 'gvanrossum'
    components = ['Interpreter Core']
    creation = <Date 2007-08-24.23:23:25.342>
    creator = 'keir'
    dependencies = []
    files = ['8311', '8312']
    hgrepos = []
    issue_num = 1017
    keywords = ['patch']
    message_count = 1.0
    messages = ['55280']
    nosy_count = 1.0
    nosy_names = ['keir']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue1017'
    versions = ['Python 3.0']

    Activity

    1. keir commented on Aug 24, 2007

      keirmannequin
      MannequinAuthor

      This patch adds set operations & | ^ - to dict views ({}.keys(),
      {}.items()). A set is returned.

    2. self-assigned this
      on Aug 25, 2007
    3. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions