erroneous behavior when creating classes inside a closure

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

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

2026年5月24日 から。

評価

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

説明

3.13 3.14 3.15 interpreter-core type-bug
BPO 9226
Nosy @gvanrossum, @terryjreedy, @mdickinson, @ncoghlan, @taleinat, @ericvsmith, @benjaminp, @merwok, @bitdancer, @iritkatriel
Files
  • test.py: Test case
  • obscure_corner_cases.patch
  • obscure_corner_cases2.patch
  • test3.py
  • 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 2010-07-11.19:56:34.789>
    labels = ['interpreter-core', 'type-bug', '3.9', '3.10', '3.11']
    title = 'erroneous behavior when creating classes inside a closure'
    updated_at = <Date 2021-12-01.16:29:28.072>
    user = 'https://bugs.python.org/monsanto'
    

    bugs.python.org fields:

    activity = <Date 2021-12-01.16:29:28.072>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2010-07-11.19:56:34.789>
    creator = 'monsanto'
    dependencies = []
    files = ['17950', '17953', '17954', '18164']
    hgrepos = []
    issue_num = 9226
    keywords = ['patch']
    message_count = 15.0
    messages = ['110037', '110038', '110039', '110040', '110041', '110045', '110046', '110048', '111386', '111488', '111489', '111509', '111512', '322383', '407468']
    nosy_count = 11.0
    nosy_names = ['gvanrossum', 'terry.reedy', 'mark.dickinson', 'ncoghlan', 'taleinat', 'eric.smith', 'benjamin.peterson', 'eric.araujo', 'r.david.murray', 'monsanto', 'iritkatriel']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue9226'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']
    

    主要言語
    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 を短くまとめたダイジェスト。