77# ryohei <[email protected] >, 201788# Shengjing Zhu <[email protected] >, 20189910- # Freesand Leo <[email protected] >, 20181110# Junkai Shao <[email protected] >, 201811+ # Freesand Leo <[email protected] >, 20181212#
1313#, fuzzy
1414msgid ""
@@ -17,7 +17,7 @@ msgstr ""
1717"Report-Msgid-Bugs-To : \n "
1818"POT-Creation-Date : 2018-10-27 09:37+0900\n "
1919"PO-Revision-Date : 2017-02-16 17:32+0000\n "
20- "Last-Translator : Junkai Shao <skaifun.dev@gmail .com>, 2018\n "
20+ "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2018\n "
2121"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2222"MIME-Version : 1.0\n "
2323"Content-Type : text/plain; charset=UTF-8\n "
@@ -773,8 +773,9 @@ msgid ""
773773"division. Note that ``(-11) // 4`` is ``-3`` because that is ``-2.75`` "
774774"rounded *downward*. See :pep:`238`."
775775msgstr ""
776- "向下舍入到最接近的整数的数学除法。向下取整除法的运算符是 ``//`` 。例如,表达式 ``11 // 4`` 的计算结果是 ``2`` ,而与之相反的是浮点数的真正除法返回 ``2.75`` 。注意 ``(-11) // 4`` 返回 ``-3``是因为\n"
777- "结果``-2.75`` *向下* 舍入得到的。见 :pep:`238` 。"
776+ "向下舍入到最接近的整数的数学除法。向下取整除法的运算符是 ``//`` 。例如,表达式 ``11 // 4`` 的计算结果是 ``2`` "
777+ ",而与之相反的是浮点数的真正除法返回 ``2.75`` 。注意 ``(-11) // 4`` 会返回 ``-3`` 因为这是 ``-2.75`` "
778+ "*向下* 舍入得到的结果。见 :pep:`238` 。"
778779
779780#: ../../glossary.rst:381
780781msgid "function"
@@ -930,7 +931,7 @@ msgstr "参见 :term:`global interpreter lock`。"
930931
931932#: ../../glossary.rst:465
932933msgid "global interpreter lock"
933- msgstr "全局解释器锁"
934+ msgstr "global interpreter lock -- 全局解释器锁"
934935
935936#: ../../glossary.rst:467
936937msgid ""
@@ -942,7 +943,7 @@ msgid ""
942943"multi-threaded, at the expense of much of the parallelism afforded by multi-"
943944"processor machines."
944945msgstr ""
945- ":term:`CPython` 解析器所采用的一种机制 ,它确保同一时刻只有一个线程在执行 Python "
946+ ":term:`CPython` 解释器所采用的一种机制 ,它确保同一时刻只有一个线程在执行 Python "
946947":term:`bytecode`。此机制通过设置对象模型 (包括 :class:`dict` 等重要内置类型) 针对并发访问的隐式安全简化了 "
947948"CPython 实现。给整个解释器加锁使得解释器多线程运行更方便,其代价则是牺牲了在多处理器上的并行性。"
948949
@@ -953,6 +954,7 @@ msgid ""
953954" such as compression or hashing. Also, the GIL is always released when "
954955"doing I/O."
955956msgstr ""
957+ "不过,某些标准库或第三方库的扩展模块被设计为在执行计算密集型任务如压缩或哈希时释放 GIL。此外,在执行 I/O 操作时也总是会释放 GIL。"
956958
957959#: ../../glossary.rst:481
958960msgid ""
@@ -962,6 +964,7 @@ msgid ""
962964"that overcoming this performance issue would make the implementation much "
963965"more complicated and therefore costlier to maintain."
964966msgstr ""
967+ "创建一个(以更精细粒度来锁定共享数据的)“自由线程”解释器的努力从未获得成功,因为这会牺牲在普通单处理器情况下的性能。据信克服这种性能问题的措施将导致实现变得更复杂,从而更难以维护。"
965968
966969#: ../../glossary.rst:487
967970msgid "hash-based pyc"
@@ -972,7 +975,7 @@ msgid ""
972975"A bytecode cache file that uses the hash rather than the last-modified time "
973976"of the corresponding source file to determine its validity. See :ref:`pyc-"
974977"invalidation`."
975- msgstr ""
978+ msgstr "使用对应源文件的哈希值而非最后修改时间来确定其有效性的字节码缓存文件。参见 :ref:`pyc-invalidation`。 "
976979
977980#: ../../glossary.rst:492
978981msgid "hashable"
@@ -1046,7 +1049,7 @@ msgstr "importing -- 导入"
10461049msgid ""
10471050"The process by which Python code in one module is made available to Python "
10481051"code in another module."
1049- msgstr ""
1052+ msgstr "令一个模块中的 Python 代码能为另一个模块中的 Python 代码所使用的过程。 "
10501053
10511054#: ../../glossary.rst:530
10521055msgid "importer"
0 commit comments