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

オープン
#63,558 コメント 10 件 リアクション 0 件 担当者 1 名 GitHub で見る

@benjaminp がすでに取り組んでいます。

2014年3月14日 から。

評価

この issue はまだ評価されていません。

説明

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']
    

    主要言語
    Python
    スター
    77.2k
    フォーク
    36k
    平均マージ
    1日 9時間
    マージ済み PR(30日)
    558

    コントリビューションガイド

    コントリビューションガイドを開く

    はじめの一歩

    1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
    2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
    3. リポジトリをフォークし、ブランチを切って変更します。
    4. issue 番号を参照したプルリクエストを送ります。

    python/cpython のほかの issue

    python/cpython の issue をすべて見る

    似ている issue

    Python の issue をもっと見る

    新しい issue をメールで受け取る

    初心者向けの GitHub issue を短くまとめたダイジェスト。