8000 Translate faq/design.html#can-t-you-emulate-threads-in-the-interprete… · python/python-docs-zh-tw@7fcdf2c · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7fcdf2c

Browse files
committed
Translate faq/design.html#can-t-you-emulate-threads-in-the-interpreter-instead-of-relying-on-an-os-specific-thread-implementation
1 parent 00e6c03 commit 7fcdf2c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

faq/design.po

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgstr ""
99
"Project-Id-Version: Python 3.10\n"
1010
"Report-Msgid-Bugs-To: \n"
1111
"POT-Creation-Date: 2022-07-06 00:17+0000\n"
12-
"PO-Revision-Date: 2022-08-15 21:25+0800\n"
12+
"PO-Revision-Date: 2022-08-18 11:19+0800\n"
1313
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1515
"tw)\n"
@@ -501,7 +501,7 @@ msgstr ""
501501
msgid ""
502502
"Can't you emulate threads in the interpreter instead of relying on an OS-"
503503
"specific thread implementation?"
504-
msgstr ""
504+
msgstr "為何不能在直譯器上模擬執行緒,而要使用作業系統的特定實作方式?"
505505

506506
#: ../../faq/design.rst:296
507507
msgid ""
@@ -510,13 +510,18 @@ msgid ""
510510
"almost random moments. Therefore, a complete threads implementation "
511511
"requires thread support for C."
512512
msgstr ""
513+
"答案一:很不幸地,直譯器對每個 Python 的堆疊框 (stack frame) 會推至少一個 C "
514+
"的堆疊框。同時,擴充套件可以隨時呼叫 Python,因此完整的實作必須要支援 C 的執"
515+
"行緒。"
513516

514517
#: ../../faq/design.rst:301
515518
msgid ""
516519
"Answer 2: Fortunately, there is `Stackless Python <https://github.com/"
517520
"stackless-dev/stackless/wiki>`_, which has a completely redesigned "
518521
"interpreter loop that avoids the C stack."
519522
msgstr ""
523+
"答案二:幸運地,`無堆疊 (Stackless) Python <https://github.com/stackless-dev/"
524+
"stackless/wiki>`_ 完全重新設計了直譯器迴圈,並避免了 C 堆疊。"
520525

521526
#: ../../faq/design.rst:306
522527
msgid "Why can't lambda expressions contain statements?"

0 commit comments

Comments
 (0)
0