Make bytes() use tp_as_buffer for cmp

Aperta
#64,538 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Start by reviewing the linked cmp_buffer.patch and the CPython interpreter-core code involved in bytes comparison. The issue is done when bytes() comparison uses the tp_as_buffer protocol as described, with the relevant interpreter tests passing.

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

Descrizione

interpreter-core type-feature
BPO 20339
Nosy @nascheme, @ncoghlan, @skrah, @florentx
Files
  • cmp_buffer.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 2014-01-22.00:40:29.181>
    labels = ['interpreter-core', 'type-feature']
    title = 'Make bytes() use tp_as_buffer for cmp'
    updated_at = <Date 2014-10-14.15:39:03.136>
    user = 'https://github.com/nascheme'
    

    bugs.python.org fields:

    activity = <Date 2014-10-14.15:39:03.136>
    actor = 'skrah'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2014-01-22.00:40:29.181>
    creator = 'nascheme'
    dependencies = []
    files = ['33603']
    hgrepos = []
    issue_num = 20339
    keywords = ['patch']
    message_count = 3.0
    messages = ['208726', '209352', '229304']
    nosy_count = 5.0
    nosy_names = ['nascheme', 'ncoghlan', 'skrah', 'flox', 'fin.swimmer']
    pr_nums = []
    priority = 'low'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue20339'
    versions = ['Python 3.5']
    

    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.