ItemsView.__contains__ does not mimic dict_items

Aperta
#68,622 10 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
38/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Start with the ItemsView.contains entry point and review the historical ItemsView_contains.patch linked in the issue. Locate the current ItemsView implementation and its related tests, then compare containment behavior with dict_items. Done means the behavior matches dict_items and the relevant tests pass.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

stdlib type-bug
BPO 24434
Nosy @rhettinger, @vadmium, @serhiy-storchaka, @zhangyangyu
Files
  • ItemsView_contains.patch
  • 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 2015-06-11.18:57:53.534>
    labels = ['type-bug', 'library']
    title = 'ItemsView.__contains__ does not mimic dict_items'
    updated_at = <Date 2016-04-30.06:24:23.384>
    user = 'https://bugs.python.org/clevy'
    

    bugs.python.org fields:

    activity = <Date 2016-04-30.06:24:23.384>
    actor = 'xiang.zhang'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2015-06-11.18:57:53.534>
    creator = 'clevy'
    dependencies = []
    files = ['39682']
    hgrepos = []
    issue_num = 24434
    keywords = ['patch']
    message_count = 9.0
    messages = ['245182', '245200', '245207', '245211', '245212', '245416', '256741', '264487', '264543']
    nosy_count = 6.0
    nosy_names = ['rhettinger', 'stutzbach', 'martin.panter', 'serhiy.storchaka', 'xiang.zhang', 'clevy']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue24434'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5', 'Python 3.6']
    

    Lingua principale
    Python
    Stelle
    77.2k
    Fork
    36k
    Merge medio
    1g 9h
    PR unite (30g)
    558

    Guida per i contributori

    Apri la guida per i contributori

    Come iniziare

    1. Leggi tutta la issue e poi la guida ai contributi del progetto.
    2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
    3. Fai un fork del repository e lavora su un branch.
    4. Apri una pull request che faccia riferimento al numero della issue.

    Altre issue di python/cpython

    Tutte le issue di python/cpython

    Issue simili

    Altre issue su Python

    Ricevi le nuove issue nella tua casella

    Un breve riepilogo di issue GitHub adatte ai principianti.