@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.10\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2024-06-28 16:02 +0000\n "
14+ "POT-Creation-Date : 2024-07-12 15:50 +0000\n "
1515"PO-Revision-Date : 2022-11-05 17:23+0000\n "
1616"
Last-Translator :
Rafael Fontenelle <[email protected] >, 2024\n "
1717"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -434,6 +434,8 @@ msgid ""
434434"attempt is made to access ``obj.foo`` and no attribute named ``foo`` is "
435435"found in the instance's dictionary."
436436msgstr ""
437+ "首先,新式类仍然支持 ``__getattr__(attr_name)``,关于它的任何内容都没有改变。 和以前一样,当试图访问 "
438+ "``obj.foo`` 时,如果在实例的字典中找不到名为 ``foo`` 的属性,就会调用它。"
437439
438440#: ../../whatsnew/2.2.rst:322
439441msgid ""
@@ -1190,6 +1192,7 @@ msgid ""
11901192"output have been corrected. (Contributed by Fred L. Drake, Jr. and Tim "
11911193"Peters.)"
11921194msgstr ""
1195+ "Python 的分析器进行了大量的重构,并纠正了其输出中的各种错误。(由 Fred L. Drake, Jr. 和 Tim Peters 贡献。)"
11931196
11941197#: ../../whatsnew/2.2.rst:981
11951198msgid ""
@@ -1439,6 +1442,9 @@ msgid ""
14391442"2.2; 2.2.1 applied 139 patches and fixed 143 bugs; 2.2.2 applied 106 patches"
14401443" and fixed 82 bugs. These figures are likely to be underestimates."
14411444msgstr ""
1445+ "像往常一样,源代码树中散布着许多其他改进和错误修复。通过搜索 CVS 更改日志,可以发现 Python 2.1 到 2.2 之间应用了 527 "
1446+ "个补丁并修复了 683 个错误;2.2.1 应用了 139 个补丁并修复了 143 个错误;2.2.2 应用了 106 个补丁并修复了 82 "
1447+ "个错误。这些数字可能是低估的。"
14421448
14431449#: ../../whatsnew/2.2.rst:1137
14441450msgid "Some of the more notable changes are:"
@@ -1450,6 +1456,8 @@ msgid ""
14501456"kept in the main Python CVS tree, and many changes have been made to support"
14511457" MacOS X."
14521458msgstr ""
1459+ "适用于 MacOS 的 Python 端口代码现在保存在主 Python CVS 树中,由 Jack Jansen 维护,并且为了支持 MacOS "
1460+ "X,进行了许多更改。"
14531461
14541462#: ../../whatsnew/2.2.rst:1142
14551463msgid ""
@@ -1513,6 +1521,9 @@ msgid ""
15131521"BSD license, same as it always was. The license changes were also applied "
15141522"to the Python 2.0.1 and 2.1.1 releases."
15151523msgstr ""
1524+ "Python 1.6 引入的新许可证与 GPL 不兼容。通过对 2.2 许可证进行一些小的文本修改,这个问题得以解决,因此现在可以合法地将 Python"
1525+ " 嵌入到 GPL 授权的程序中。请注意,Python 本身并不是在 GPL 授权下,而是采用一个与 BSD "
1526+ "许可证本质上等效的许可证,这与之前的情况一样。这些许可证更改也应用到了 Python 2.0.1 和 2.1.1 版本中。"
15161527
15171528#: ../../whatsnew/2.2.rst:1202
15181529msgid ""
@@ -1524,6 +1535,10 @@ msgid ""
15241535"was contributed by Mark Hammond with assistance from Marc-André Lemburg. "
15251536"Unix support was added by Martin von Löwis.)"
15261537msgstr ""
1538+ "在 Windows 上,当 Python 遇到一个 Unicode 文件名时,现在会将其转换为 MBCS 编码的字符串,这种编码由 Microsoft "
1539+ "文件 API 使用。由于文件 API 明确使用 MBCS 编码,Python 默认选择 ASCII 作为编码方式显得很不方便。在 Unix 上,如果 "
1540+ "``locale.nl_langinfo(CODESET)`` 可用,Python 将使用本地字符集。(Windows 支持由 Mark Hammond"
1541+ " 提供,Marc-André Lemburg 提供协助。Unix 支持由 Martin von Löwis 添加。)"
15271542
15281543#: ../../whatsnew/2.2.rst:1210
15291544msgid ""
@@ -1560,13 +1575,18 @@ msgid ""
15601575" case that dumped core, Tim Peters fixing the bug, Michael finding another "
15611576"case, and round and round it went."
15621577msgstr ""
1578+ "字典实现中有一堆补丁,主要是为了修复潜在的核心转储问题,这些问题发生在字典中包含的对象悄悄改变其哈希值,或者在它们所包含的字典中发生突变时。那段时间,python-"
1579+ "dev 邮件列表进入了一个微妙的节奏:Michael Hudson 发现一个导致核心转储的案例,Tim Peters 修复这个 bug,接着 "
1580+ "Michael 又发现另一个案例,如此反复循环。"
15631581
15641582#: ../../whatsnew/2.2.rst:1231
15651583msgid ""
15661584"On Windows, Python can now be compiled with Borland C thanks to a number of "
15671585"patches contributed by Stephen Hansen, though the result isn't fully "
15681586"functional yet. (But this *is* progress...)"
15691587msgstr ""
1588+ "在 Windows 上,Python 现在可以使用 Borland C 编译,这要归功于 Stephen Hansen "
1589+ "提供的多个补丁,尽管结果还不完全可用。(但这*确实*是一个进步……)"
15701590
15711591#: ../../whatsnew/2.2.rst:1235
15721592msgid ""
@@ -1575,6 +1595,8 @@ msgid ""
15751595"installers used Wise 5.0a, which was beginning to show its age. (Packaged "
15761596"up by Tim Peters.)"
15771597msgstr ""
1598+ "另一个 Windows 改进:Wise Solutions 慷慨地向 PythonLabs 提供了他们的 InstallerMaster 8.1 "
1599+ "系统。早期的 PythonLabs Windows 安装程序使用的是 Wise 5.0a,已经开始显得过时。(由 Tim Peters 打包。)"
15781600
15791601#: ../../whatsnew/2.2.rst:1239
15801602msgid ""
0 commit comments