Building on Windows should remove all `__pycache__`
オープン
まだ誰も着手していません。
build
OS-windows
type-feature
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 558
説明
Feature or enhancement
The file Makefile.pre.in already has this target:
pycremoval:
-find $(srcdir) -depth -name '__pycache__' -exec rm -rf {} ';'
-find $(srcdir) -name '*.py[co]' -exec rm -f {} ';'
It would be useful to have an equivalent on Windows.
Pitch
This would be helpful when iterating on compiler/bytecode, instead of manually bumping the magic number at each build or manually removing all pycs. It's easy to forget and think there's a bug when in reality the .pyc files are just stale.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Makefile.pre.in にある既存の pycremoval ターゲットから始め、同等のクリーンアップを提供する Windows のビルドエントリーポイントを特定します。Windows ワークフローで pycache ディレクトリと *.py[co] ファイルが削除されることを確認し、その後、コンパイラーまたはバイトコードの反復中にクリーンアップを使用できることを検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- build-system, operating-systems
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100