python / python/cpython

Add "follow_symlinks=False" support for "os.utime()" on Windows

未關閉
#90,648 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

3.11 OS-windows stdlib type-feature
主要語言
Python
星號
77.2k
分支
36k
PR 合併指標
PR 指標待擷取

描述

BPO 46490
Nosy @pfmoore, @tjguk, @zware, @eryksun, @zooba, @Delgan
Dependencies
  • bpo-46506: [Windows] wrap CreateFile to support follow_symlinks
  • 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 2022-01-23.18:41:48.831>
    labels = ['type-feature', 'library', 'OS-windows', '3.11']
    title = 'Add "follow_symlinks=False" support for "os.utime()" on Windows'
    updated_at = <Date 2022-02-03.03:48:03.335>
    user = 'https://github.com/Delgan'
    

    bugs.python.org fields:

    activity = <Date 2022-02-03.03:48:03.335>
    actor = 'eryksun'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)', 'Windows']
    creation = <Date 2022-01-23.18:41:48.831>
    creator = 'Delgan'
    dependencies = ['46506']
    files = []
    hgrepos = []
    issue_num = 46490
    keywords = []
    message_count = 3.0
    messages = ['411399', '411437', '412414']
    nosy_count = 6.0
    nosy_names = ['paul.moore', 'tim.golden', 'zach.ware', 'eryksun', 'steve.dower', 'Delgan']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue46490'
    versions = ['Python 3.11']
    

    貢獻指南

    開啟貢獻指南

    從這裡開始

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

    研究方向

    從 Windows 上的 os.utime() 實作以及相關的 BPO-46506 工作著手,以了解所需的 CreateFile 支援。確認 Windows 上 follow_symlinks=False 的預期行為,並在現有 os.utime() 測試涵蓋平台特定行為的地方加入針對性涵蓋;當此選項在 Windows 上正常運作且不會造成現有呼叫回歸時,即視為完成。

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

    評估

    技術堆疊
    python
    領域
    operating-systems
    Issue 類型
    功能
    難度
    4/5
    預估耗時
    3-5 天
    活躍度
    停滯
    描述清晰度
    基本清楚
    新手友好度
    38/100

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

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