alex / alex/bagel

Think comprehensively about system utility APIs

未關閉
#62 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
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 還沒有評估資料。

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

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