Title: builtins 拆册后 library/ 下 5 个旧 .po 未清理(Transifex 侧已改名,只剩仓库残留) · Issue #417 · python/python-docs-zh-cn · GitHub
Open Graph Title: builtins 拆册后 library/ 下 5 个旧 .po 未清理(Transifex 侧已改名,只剩仓库残留) · Issue #417 · python/python-docs-zh-cn
X Title: builtins 拆册后 library/ 下 5 个旧 .po 未清理(Transifex 侧已改名,只剩仓库残留) · Issue #417 · python/python-docs-zh-cn
Description: 现象 cpython 在 2026-09-13 把「内置函数 / 类型 / 异常」从 Doc/library/ 拆到 Doc/builtins/(python/cpython#156682,已 backport 到 3.13–3.15)。本仓库在 2026-10-22 的 [po] auto sync(3c0b4ea)里新增了 builtins/*.po,但旧文件没有移除,于是同一份内容在两个路径下并存: 分支 旧路径残留 builtins/ 新增 3.15 libra...
Open Graph Description: 现象 cpython 在 2026-09-13 把「内置函数 / 类型 / 异常」从 Doc/library/ 拆到 Doc/builtins/(python/cpython#156682,已 backport 到 3.13–3.15)。本仓库在 2026-10-22 的 [po] auto sync(3c0b4ea)里新增了 builtins/*.po,但旧文件没有移除,于是同一份内容在两...
X Description: 现象 cpython 在 2026-09-13 把「内置函数 / 类型 / 异常」从 Doc/library/ 拆到 Doc/builtins/(python/cpython#156682,已 backport 到 3.13–3.15)。本仓库在 2026-10-22 的 [po] auto sync(3c0b4ea)里新增了 builtins/*.po,但旧文件没有移除,于是同一份内容在两...
Opengraph URL: https://github.com/python/python-docs-zh-cn/issues/417
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"builtins 拆册后 library/ 下 5 个旧 .po 未清理(Transifex 侧已改名,只剩仓库残留)","articleBody":"## 现象\n\ncpython 在 2026-09-13 把「内置函数 / 类型 / 异常」从 `Doc/library/` 拆到 `Doc/builtins/`(python/cpython#156682,已 backport 到 3.13–3.15)。本仓库在 2026-10-22 的 `[po] auto sync`(3c0b4ea)里新增了 `builtins/*.po`,但**旧文件没有移除**,于是同一份内容在两个路径下并存:\n\n| 分支 | 旧路径残留 | `builtins/` 新增 |\n|---|---|---|\n| 3.15 | `library/{functions,stdtypes,exceptions,constants,threadsafety}.po` | 7 个 |\n| 3.14 | 同上 5 个 | 7 个 |\n| 3.13 | `library/{exceptions,constants}.po` | 5 个 |\n\n上游对应页面确实已删除:`docs.python.org/3.14/library/functions.html`、`/3.14/library/threadsafety.html`、`/3.13/library/exceptions.html`、`/3.13/library/constants.html` 全部 301 到 `builtins/`;`Doc/library/functions.rst` 等文件在 cpython 3.13–3.15 分支上也已不存在。也就是说这些 `.po` 已经无源文件可对照,属于孤儿资源。\n\n## Transifex 侧的实际状态(2026-11-05 核对)\n\n按组织 `python-doc` 的每个版本项目逐个搜索资源:\n\n| 项目 | 资源数 | `builtins--*` | `library--functions` |\n|---|---|---|---|\n| python-newest(3.15) | 554 | 7 个,数据源最新 2026-11-03 | 找不到 |\n| python-313 | 515 | exceptions / constants / index / stdtypes 等,2026-09-13 | 找不到 |\n| python-314 | 540 | constants / index / time-complexity / threadsafety 等 | 找不到 |\n\n`library--stdtypes`、`library--exceptions`、`library--threadsafety` 在 python-newest 里同样查不到。也就是说资源是**改名**(`library--X` → `builtins--X`)而不是复制,译文跟着资源走了:`builtins--exceptions` 的 Chinese (China) 显示 **97.09% 已翻译**。\n\n因此:**旧资源在 Transifex 上已经不存在,`tx pull` 不会再把 `library/*.po` 写回来**。这些文件只是 2026-10-22 那次同步留下的仓库残留。\n\n## 影响\n\n1. 仓库里保留 5 份(3.13 是 2 份)以后不会再被读取的译文;\n2. `.tx/config` 里 5 条(3.13 为 2 条)`r:library--*` 条目指向已不存在的资源,`tx pull` 走到它们会报错或被忽略;\n3. 下游按 `Doc/locales` 路径匹配 `Doc/*.rst` 的构建脚本会忽略这些文件,但排错时容易被误导成「译文丢了」。\n\n## 建议(纯仓库改动,不需要 Transifex 权限)\n\n- 删除 `library/{functions,stdtypes,exceptions,constants,threadsafety}.po`(3.15、3.14 各 5 个;3.13 为 `exceptions`、`constants` 2 个);\n- 删除 `.tx/config` 中对应的 `[o:python-doc:p:…:r:library--*]` 段;\n- 顺带一提:这些新资源的 zh_CN 均为 **0% 已复核**(整个项目亦然),95% 只是「已翻译」。\n\n(发现方式:在下游用 `Doc/locales` 构建分册 PDF 时,把 `.po` 路径与 `Doc/*.rst` 逐一对照发现的。)","author":{"url":"https://github.com/zhou-dev-design","@type":"Person","name":"zhou-dev-design"},"datePublished":"2026-11-05T14:49:54Z","url":"https://github.com/python/python-docs-zh-cn/issues/417"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1078eedc-dea1-dccd-abf3-779bb20c333b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CED0:39FDE1:1908D:1F171:6B01E91F |
| html-safe-nonce | c7cb04c20727b20fba6864af6c50d819e6fdb42406acf1baade79b69c9b25ab8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRUQwOjM5RkRFMToxOTA4RDoxRjE3MTo2QjAxRTkxRiIsInZpc2l0b3JfaWQiOiIyNTU4NzExMjgwNzM1MjE3OTUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 26bd92166a1ea467f64d5501116ee586bc7e1d727ac1053bcda4bb13d1c39dcf |
| hovercard-subject-tag | issue:6225531518 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/python-docs-zh-cn/417/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8b443571558452a573dca60f71d9354a2f272c383c89b2f92acfe966a10718e9/python/python-docs-zh-cn/issues/417 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8b443571558452a573dca60f71d9354a2f272c383c89b2f92acfe966a10718e9/python/python-docs-zh-cn/issues/417 |
| og:image:alt | 现象 cpython 在 2026-09-13 把「内置函数 / 类型 / 异常」从 Doc/library/ 拆到 Doc/builtins/(python/cpython#156682,已 backport 到 3.13–3.15)。本仓库在 2026-10-22 的 [po] auto sync(3c0b4ea)里新增了 builtins/*.po,但旧文件没有移除,于是同一份内容在两... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | zhou-dev-design |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/python-docs-zh-cn git https://github.com/python/python-docs-zh-cn.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 154145163 |
| octolytics-dimension-repository_nwo | python/python-docs-zh-cn |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 154145163 |
| octolytics-dimension-repository_network_root_nwo | python/python-docs-zh-cn |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width