安全
遮蔽标准库
遮蔽标准库 Shadowing the Standard Library — nesbitt.io · 17 小时前 · 🔒 安全 标准库遮蔽是 Python 里最容易被忽视、又最容易白白浪费一个下午的故障模式:解释器启动时会把脚本所在目录插到 sys.path 的最前面,用 python -m、p
4 篇文章,关于这里的一切。
遮蔽标准库 Shadowing the Standard Library — nesbitt.io · 17 小时前 · 🔒 安全 标准库遮蔽是 Python 里最容易被忽视、又最容易白白浪费一个下午的故障模式:解释器启动时会把脚本所在目录插到 sys.path 的最前面,用 python -m、p
遮蔽标准库:为什么你应该设置 PYTHONSAFEPATH=1 Shadowing the Standard Library — nesbitt.io · 17 小时前 · ⚙️ 工程 Python 启动时会把脚本所在目录(在使用 -c 或 -m 时则是当前工作目录)插入 sys.path 的最前面
遮蔽标准库 Shadowing the Standard Library — nesbitt.io · 17 小时前 · 🔒 安全 Python 解释器启动时会把入口脚本所在目录(使用 -c 或 -m 时则是当前工作目录)放到 sys.path 的第 0 位,这意味着工作目录里一份名叫 json.p
别错过 wrapture Don't sleep on wrapture — simonwillison.net · 23 小时前 · 🛠 工具 / 开源 wrapture 是 Graham Dumpleton 于 8 月 31 日发布的新 Python monkey patching 库,目标是用