Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 20 additions & 3 deletions c-api/contextvars.po
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-10-11 20:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Dong-gweon Oh <flowdas@gmail.com>\n"
"Last-Translator: Mir Jung <ham4051@gmail.com>\n"
"Language-Team: Korean (https://python.flowdas.com)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.17.0\n"
"Generated-By: Babel 2.18.0\n"

#: ../../c-api/contextvars.rst:6
msgid "Context Variables Objects"
Expand Down Expand Up @@ -151,6 +151,9 @@ msgid ""
":c:func:`PyContext_ClearWatcher`. In case of error (e.g. no more watcher "
"IDs available), return ``-1`` and set an exception."
msgstr ""
"현재 인터프리터에 대한 컨텍스트 객체 감시자로 *callback*\\을 등록합니다. "
":c:func:`PyContext_ClearWatcher`\\에 전달할 수 있는 ID를 반환합니다. 에러가 발생한 경우(예를 들어,"
" 사용 가능한 감시자 ID가 더 이상 없는 경우) ``-1``\\을 반환하고 예외를 설정합니다."

#: ../../c-api/contextvars.rst:115
msgid ""
Expand All @@ -159,10 +162,13 @@ msgid ""
"on success, or ``-1`` and set an exception on error (e.g. if the given "
"*watcher_id* was never registered.)"
msgstr ""
"현재 인터프리터에 대해 :c:func:`PyContext_AddWatcher`\\에서 이전에 반환된 *watcher_id*\\로 "
"식별된 감시자를 지웁니다. 성공 시 ``0``\\을 반환하고, 에러 시(예를 들어, 주어진 *watcher_id*\\가 등록된 적이"
" 없는 경우) ``-1``\\을 반환하고 예외를 설정합니다."

#: ../../c-api/contextvars.rst:124
msgid "Enumeration of possible context object watcher events:"
msgstr ""
msgstr "컨텍스트 객체 감시자 이벤트의 가능한 열거형:"

#: ../../c-api/contextvars.rst:126
msgid ""
Expand All @@ -171,19 +177,27 @@ msgid ""
"current :class:`contextvars.Context` object, or None if no context is "
"current."
msgstr ""
"``Py_CONTEXT_SWITCHED``: :term:`현재 컨텍스트 <current context>`\\가 다른 컨텍스트로 "
"전환되었습니다. 감시자 콜백에 전달된 객체는 이제 현재 :class:`contextvars.Context` 객체이거나, 현재 "
"컨텍스트가 없는 경우 None입니다."

#: ../../c-api/contextvars.rst:135
msgid ""
"Context object watcher callback function. The object passed to the "
"callback is event-specific; see :c:type:`PyContextEvent` for details."
msgstr ""
"컨텍스트 객체 감시자 콜백 함수. 콜백에 전달된 객체는 이벤트마다 다릅니다. 자세한 내용은 "
":c:type:`PyContextEvent`\\를 참조하십시오."

#: ../../c-api/contextvars.rst:138
msgid ""
"If the callback returns with an exception set, it must return ``-1``; "
"this exception will be printed as an unraisable exception using "
":c:func:`PyErr_FormatUnraisable`. Otherwise it should return ``0``."
msgstr ""
"콜백이 예외가 설정된 상태로 반환되면, 반드시 ``-1``\\을 반환해야 합니다; 이 예외는 "
":c:func:`PyErr_FormatUnraisable`\\을 사용하여 발생할 수 없는 예외로 인쇄됩니다. 그렇지 않으면 "
"``0``\\을 반환해야 합니다."

#: ../../c-api/contextvars.rst:142
msgid ""
Expand All @@ -193,6 +207,9 @@ msgid ""
"set an exception unless it saves and clears the exception state first, "
"and restores it before returning."
msgstr ""
"콜백에 진입할 때 이미 설정된 대기 중인 예외가 있을 수 있습니다. 이 경우 콜백은 여전히 동일한 예외가 설정된 상태로 "
"``0``\\을 반환해야 합니다. 이는 콜백이 예외를 설정할 수 있는 다른 API를 호출할 수 없음을 의미합니다. 예외 상태를 먼저"
" 저장하고 지운 다음, 반환하기 전에 복원해야 합니다."

#: ../../c-api/contextvars.rst:151
msgid "Context variable functions:"
Expand Down