Think comprehensively about system utility APIs
未關閉
language-design
libraries
- 主要語言
- Python
- 星號
- 21
- 分支
- 1
- PR 合併指標
- 30 天內沒有已合併 PR
描述
This is some feedback I've heard half a dozen times this week at Python Brasil: Python's system utility APIs are in too many places, and do not have any sort of conceptual integrity, to wit: `os`, `os.path`, `pathlib`, `shutil`, `subprocess`, `fileinput`, `stat`, `glob`, `platform`, `errno` (to say nothing of their 3rd party alternatives) all appear to perform a partial, confusing, and inconsisten portion of what we might think of as system-scripting utilities.
Some specific ideas:
- `Path` object abstraction from the beginning. _All_ path operations go through it, no ridiculous family of functions that take strings.
- One process spawning API, no `fork()`/`exec`.
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。