os.path.exists and os.path.stat not working on FSLogix Redirected Containers from 3.12 onward
未關閉
還沒有人認領這個 Issue。
OS-windows
pending
stdlib
type-bug
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 36k
- PR 合併指標
- PR 指標待擷取
描述
Bug report
Bug description:
import os
os.path.exists("C:/users/<username>/appdata")
Expected result: true.
Actual result: false.
This appears to be a regression introduced with gh-102765 when python moved towards using the new 'GetFileInformationByName' API function on Windows. This seems to have issues when the file/folder is on a profile managed by FSLogix.
The issue exists from Python 3.12.0 through to the latest public release (3.13.3).
Windows version: Windows Version 11 24H2 Multi-Session 26100.3775
FSLogix version: 3.25.202.4223
CPython versions tested on:
3.13
Operating systems tested on:
Windows
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先,在使用 FSLogix Redirected Container 的 Windows 上重現 os.path.exists 和 os.path.stat 的行為,然後檢查 gh-102765 中的變更及其對 GetFileInformationByName 的使用。完成的標準是:回報的路徑操作在 Python 3.12 及更新版本上傳回預期結果,同時不會導致其他 Windows 檔案系統行為發生回歸。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- operating-systems
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100