os.path.exists and os.path.stat not working on FSLogix Redirected Containers from 3.12 onward
まだ誰も着手していません。
- 主要言語
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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