python / python/cpython

Let fnmatch.filter accept a tuple of patterns

未關閉
#85,601 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

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

描述

BPO 41429
Nosy @serhiy-storchaka, @andresdelfino
PRs
  • python/cpython#21666
  • 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-07-28.23:41:58.851>
    labels = ['type-feature', 'library']
    title = 'Let fnmatch.filter accept a tuple of patterns'
    updated_at = <Date 2020-12-12.16:20:38.737>
    user = 'https://github.com/andresdelfino'
    

    bugs.python.org fields:

    activity = <Date 2020-12-12.16:20:38.737>
    actor = 'adelfino'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2020-07-28.23:41:58.851>
    creator = 'adelfino'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 41429
    keywords = ['patch']
    message_count = 2.0
    messages = ['374540', '382916']
    nosy_count = 2.0
    nosy_names = ['serhiy.storchaka', 'adelfino']
    pr_nums = ['21666']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue41429'
    versions = []
    

    貢獻指南

    開啟貢獻指南

    從這裡開始

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

    研究方向

    從 fnmatch.filter 進入點開始,檢查其 pattern 引數的處理方式。確認接受模式 tuple 時的預期行為,同時保留對目前輸入的既有行為;當 tuple 輸入受到涵蓋並如要求運作時,變更即完成。

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

    評估

    技術堆疊
    python
    領域
    api
    Issue 類型
    功能
    難度
    2/5
    預估耗時
    1-3 小時
    活躍度
    停滯
    描述清晰度
    描述清楚
    新手友好度
    25/100

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

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