reversed() does not work with weakref.proxy of sequences

Aperta
#63,558 10 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@benjaminp ci sta già lavorando.

Dal 14/3/2014.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

stdlib type-bug
BPO 19359
Nosy @rhettinger, @pitrou, @vstinner, @benjaminp, @PCManticore, @iritkatriel
Files
  • reversed_proxy_failure.py: Demonstrates issue
  • reversed_proxy.patch
  • issue19359.patch: Remove trailing whitespace.
  • reversed_list_proxy_test.py: Show that reversed isn't detected on a proxy
  • 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/benjaminp'
    closed_at = None
    created_at = <Date 2013-10-23.07:00:08.425>
    labels = ['3.8', 'type-bug', 'library', '3.9', '3.10']
    title = 'reversed() does not work with weakref.proxy of sequences'
    updated_at = <Date 2021-03-14.17:52:30.538>
    user = 'https://bugs.python.org/abingham'
    

    bugs.python.org fields:

    activity = <Date 2021-03-14.17:52:30.538>
    actor = 'iritkatriel'
    assignee = 'benjamin.peterson'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2013-10-23.07:00:08.425>
    creator = 'abingham'
    dependencies = []
    files = ['32309', '32322', '34376', '34413']
    hgrepos = []
    issue_num = 19359
    keywords = ['patch']
    message_count = 8.0
    messages = ['201002', '201069', '213526', '213528', '213529', '213530', '213562', '388678']
    nosy_count = 7.0
    nosy_names = ['rhettinger', 'pitrou', 'vstinner', 'benjamin.peterson', 'Claudiu.Popa', 'abingham', 'iritkatriel']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue19359'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']
    

    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.