python / python/cpython

dir() does not return the list of valid attributes for the object

未關閉
#84,279 12 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

interpreter-core type-bug
主要語言
Python
星號
77.2k
分支
36k
平均合併
1 天 9 小時
30 天內合併 PR
558

描述

BPO 40098
Nosy @gvanrossum, @tim-one, @serhiy-storchaka, @vedgar

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 2020-03-28.19:47:28.704>
labels = ['interpreter-core', 'type-bug']
title = 'dir() does not return the list of valid attributes for the object'
updated_at = <Date 2020-03-31.21:33:43.162>
user = 'https://github.com/serhiy-storchaka'

bugs.python.org fields:

activity = <Date 2020-03-31.21:33:43.162>
actor = 'gvanrossum'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2020-03-28.19:47:28.704>
creator = 'serhiy.storchaka'
dependencies = []
files = []
hgrepos = []
issue_num = 40098
keywords = []
message_count = 11.0
messages = ['365227', '365271', '365272', '365411', '365416', '365417', '365419', '365420', '365423', '365426', '365428']
nosy_count = 4.0
nosy_names = ['gvanrossum', 'tim.peters', 'serhiy.storchaka', 'veky']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue40098'
versions = []

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

首先檢視直譯器核心中 Python 的 dir() 行為之實作與測試。該 issue 未提供檔案、進入點、重現方式或預期的屬性清單,因此請先根據所連結的歷史 issue 與討論,確定受影響的物件情況及預期行為。完成的標準是:該行為已完成規格定義、實作,並由測試涵蓋。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
compilers
Issue 類型
缺陷
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。