Skip to content

Commit e7f8e05

Browse files
committed
update python-newest.c-api--code/id.po with latest contents from transifex
1 parent adc789b commit e7f8e05

File tree

1 file changed

+321
-35
lines changed
  • python-newest.c-api--code

1 file changed

+321
-35
lines changed

python-newest.c-api--code/id.po

Lines changed: 321 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2021, Python Software Foundation
2+
# Copyright (C) 2001 Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
77
# LIQRGV <septianhari@gmail.com>, 2019
8-
# oon arfiandwi <oon.arfiandwi@gmail.com>, 2021
8+
# oon arfiandwi <oon.arfiandwi@gmail.com>, 2024
99
#
1010
#, fuzzy
1111
msgid ""
1212
msgstr ""
13-
"Project-Id-Version: Python 3.9\n"
13+
"Project-Id-Version: Python 3.14\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2021-01-07 05:06+0000\n"
16-
"PO-Revision-Date: 2017-02-16 17:34+0000\n"
17-
"Last-Translator: oon arfiandwi <oon.arfiandwi@gmail.com>, 2021\n"
18-
"Language-Team: Indonesian (https://www.transifex.com/python-doc/teams/5390/id/)\n"
15+
"POT-Creation-Date: 2025-05-09 14:19+0000\n"
16+
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
17+
"Last-Translator: oon arfiandwi <oon.arfiandwi@gmail.com>, 2024\n"
18+
"Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/id/)\n"
1919
"MIME-Version: 1.0\n"
2020
"Content-Type: text/plain; charset=UTF-8\n"
2121
"Content-Transfer-Encoding: 8bit\n"
@@ -47,49 +47,335 @@ msgstr ""
4747
#: ../../c-api/code.rst:24
4848
msgid ""
4949
"This is an instance of :c:type:`PyTypeObject` representing the Python "
50-
":class:`code` type."
50+
":ref:`code object <code-objects>`."
5151
msgstr ""
52-
"Ini adalah contoh dari :c:type:`PyTypeObject` mewakili tipe Python "
53-
":class:`code`."
5452

5553
#: ../../c-api/code.rst:30
5654
msgid ""
57-
"Return true if *co* is a :class:`code` object. This function always "
58-
"succeeds."
55+
"Return true if *co* is a :ref:`code object <code-objects>`. This function "
56+
"always succeeds."
5957
msgstr ""
60-
"Mengembalikan benar jika *co* adalah objek :class:`code`. Fungsi ini selalu "
61-
"sukses."
6258

63-
#: ../../c-api/code.rst:34
64-
msgid "Return the number of free variables in *co*."
65-
msgstr "Mengembalikan jumlah variabel bebas dalam *co*."
59+
#: ../../c-api/code.rst:35
60+
msgid ""
61+
"Return the number of :term:`free (closure) variables <closure variable>` in "
62+
"a code object."
63+
msgstr ""
6664

67-
#: ../../c-api/code.rst:38
65+
#: ../../c-api/code.rst:40
6866
msgid ""
69-
"Return a new code object. If you need a dummy code object to create a "
70-
"frame, use :c:func:`PyCode_NewEmpty` instead. Calling :c:func:`PyCode_New` "
71-
"directly can bind you to a precise Python version since the definition of "
72-
"the bytecode changes often."
67+
"Return the position of the first :term:`free (closure) variable <closure "
68+
"variable>` in a code object."
7369
msgstr ""
74-
"Mengembalikan objek kode baru. Jika Anda memerlukan objek kode dummy untuk "
75-
"membuat bingkai, gunakan :c: func:`PyCode_NewEmpty` sebagai gantinya. "
76-
"Memanggil :c:func:`PyCode_New` secara langsung dapat mengikat Anda ke versi "
77-
"Python yang tepat karena seringnya perubahan definisi bytecode."
7870

7971
#: ../../c-api/code.rst:45
8072
msgid ""
81-
"Similar to :c:func:`PyCode_New`, but with an extra \"posonlyargcount\" for "
82-
"positional-only arguments."
73+
"Renamed from ``PyCode_GetFirstFree`` as part of :ref:`unstable-c-api`. The "
74+
"old name is deprecated, but will remain available until the signature "
75+
"changes again."
8376
msgstr ""
84-
"Mirip dengan :c:func:`PyCode_New`, namun dengan tambahan \"posonlyargcount\""
85-
" untuk argumen dengan posisi ."
8677

8778
#: ../../c-api/code.rst:51
8879
msgid ""
80+
"Return a new code object. If you need a dummy code object to create a "
81+
"frame, use :c:func:`PyCode_NewEmpty` instead."
82+
msgstr ""
83+
84+
#: ../../c-api/code.rst:54
85+
msgid ""
86+
"Since the definition of the bytecode changes often, calling "
87+
":c:func:`PyUnstable_Code_New` directly can bind you to a precise Python "
88+
"version."
89+
msgstr ""
90+
91+
#: ../../c-api/code.rst:57
92+
msgid ""
93+
"The many arguments of this function are inter-dependent in complex ways, "
94+
"meaning that subtle changes to values are likely to result in incorrect "
95+
"execution or VM crashes. Use this function only with extreme care."
96+
msgstr ""
97+
98+
#: ../../c-api/code.rst:61
99+
msgid "Added ``qualname`` and ``exceptiontable`` parameters."
100+
msgstr ""
101+
102+
#: ../../c-api/code.rst:68
103+
msgid ""
104+
"Renamed from ``PyCode_New`` as part of :ref:`unstable-c-api`. The old name "
105+
"is deprecated, but will remain available until the signature changes again."
106+
msgstr ""
107+
108+
#: ../../c-api/code.rst:74
109+
msgid ""
110+
"Similar to :c:func:`PyUnstable_Code_New`, but with an extra "
111+
"\"posonlyargcount\" for positional-only arguments. The same caveats that "
112+
"apply to ``PyUnstable_Code_New`` also apply to this function."
113+
msgstr ""
114+
115+
#: ../../c-api/code.rst:79
116+
msgid "as ``PyCode_NewWithPosOnlyArgs``"
117+
msgstr ""
118+
119+
#: ../../c-api/code.rst:81
120+
msgid "Added ``qualname`` and ``exceptiontable`` parameters."
121+
msgstr ""
122+
123+
#: ../../c-api/code.rst:86
124+
msgid ""
125+
"Renamed to ``PyUnstable_Code_NewWithPosOnlyArgs``. The old name is "
126+
"deprecated, but will remain available until the signature changes again."
127+
msgstr ""
128+
129+
#: ../../c-api/code.rst:92
130+
msgid ""
89131
"Return a new empty code object with the specified filename, function name, "
90-
"and first line number. It is illegal to :func:`exec` or :func:`eval` the "
91-
"resulting code object."
132+
"and first line number. The resulting code object will raise an ``Exception``"
133+
" if executed."
134+
msgstr ""
135+
136+
#: ../../c-api/code.rst:98
137+
msgid ""
138+
"Return the line number of the instruction that occurs on or before "
139+
"``byte_offset`` and ends after it. If you just need the line number of a "
140+
"frame, use :c:func:`PyFrame_GetLineNumber` instead."
141+
msgstr ""
142+
143+
#: ../../c-api/code.rst:101
144+
msgid ""
145+
"For efficiently iterating over the line numbers in a code object, use "
146+
":pep:`the API described in PEP 626 <0626#out-of-process-debuggers-and-"
147+
"profilers>`."
148+
msgstr ""
149+
150+
#: ../../c-api/code.rst:106
151+
msgid ""
152+
"Sets the passed ``int`` pointers to the source code line and column numbers "
153+
"for the instruction at ``byte_offset``. Sets the value to ``0`` when "
154+
"information is not available for any particular element."
155+
msgstr ""
156+
157+
#: ../../c-api/code.rst:110
158+
msgid "Returns ``1`` if the function succeeds and 0 otherwise."
159+
msgstr ""
160+
161+
#: ../../c-api/code.rst:116
162+
msgid ""
163+
"Equivalent to the Python code ``getattr(co, 'co_code')``. Returns a strong "
164+
"reference to a :c:type:`PyBytesObject` representing the bytecode in a code "
165+
"object. On error, ``NULL`` is returned and an exception is raised."
166+
msgstr ""
167+
168+
#: ../../c-api/code.rst:121
169+
msgid ""
170+
"This ``PyBytesObject`` may be created on-demand by the interpreter and does "
171+
"not necessarily represent the bytecode actually executed by CPython. The "
172+
"primary use case for this function is debuggers and profilers."
173+
msgstr ""
174+
175+
#: ../../c-api/code.rst:129
176+
msgid ""
177+
"Equivalent to the Python code ``getattr(co, 'co_varnames')``. Returns a new "
178+
"reference to a :c:type:`PyTupleObject` containing the names of the local "
179+
"variables. On error, ``NULL`` is returned and an exception is raised."
180+
msgstr ""
181+
182+
#: ../../c-api/code.rst:138
183+
msgid ""
184+
"Equivalent to the Python code ``getattr(co, 'co_cellvars')``. Returns a new "
185+
"reference to a :c:type:`PyTupleObject` containing the names of the local "
186+
"variables that are referenced by nested functions. On error, ``NULL`` is "
187+
"returned and an exception is raised."
188+
msgstr ""
189+
190+
#: ../../c-api/code.rst:147
191+
msgid ""
192+
"Equivalent to the Python code ``getattr(co, 'co_freevars')``. Returns a new "
193+
"reference to a :c:type:`PyTupleObject` containing the names of the "
194+
":term:`free (closure) variables <closure variable>`. On error, ``NULL`` is "
195+
"returned and an exception is raised."
196+
msgstr ""
197+
198+
#: ../../c-api/code.rst:156
199+
msgid ""
200+
"Register *callback* as a code object watcher for the current interpreter. "
201+
"Return an ID which may be passed to :c:func:`PyCode_ClearWatcher`. In case "
202+
"of error (e.g. no more watcher IDs available), return ``-1`` and set an "
203+
"exception."
204+
msgstr ""
205+
206+
#: ../../c-api/code.rst:165
207+
msgid ""
208+
"Clear watcher identified by *watcher_id* previously returned from "
209+
":c:func:`PyCode_AddWatcher` for the current interpreter. Return ``0`` on "
210+
"success, or ``-1`` and set an exception on error (e.g. if the given "
211+
"*watcher_id* was never registered.)"
212+
msgstr ""
213+
214+
#: ../../c-api/code.rst:174
215+
msgid ""
216+
"Enumeration of possible code object watcher events: - "
217+
"``PY_CODE_EVENT_CREATE`` - ``PY_CODE_EVENT_DESTROY``"
218+
msgstr ""
219+
220+
#: ../../c-api/code.rst:182
221+
msgid "Type of a code object watcher callback function."
222+
msgstr ""
223+
224+
#: ../../c-api/code.rst:184
225+
msgid ""
226+
"If *event* is ``PY_CODE_EVENT_CREATE``, then the callback is invoked after "
227+
"`co` has been fully initialized. Otherwise, the callback is invoked before "
228+
"the destruction of *co* takes place, so the prior state of *co* can be "
229+
"inspected."
230+
msgstr ""
231+
232+
#: ../../c-api/code.rst:189
233+
msgid ""
234+
"If *event* is ``PY_CODE_EVENT_DESTROY``, taking a reference in the callback "
235+
"to the about-to-be-destroyed code object will resurrect it and prevent it "
236+
"from being freed at this time. When the resurrected object is destroyed "
237+
"later, any watcher callbacks active at that time will be called again."
238+
msgstr ""
239+
240+
#: ../../c-api/code.rst:194
241+
msgid ""
242+
"Users of this API should not rely on internal runtime implementation "
243+
"details. Such details may include, but are not limited to, the exact order "
244+
"and timing of creation and destruction of code objects. While changes in "
245+
"these details may result in differences observable by watchers (including "
246+
"whether a callback is invoked or not), it does not change the semantics of "
247+
"the Python code being executed."
248+
msgstr ""
249+
250+
#: ../../c-api/code.rst:201
251+
msgid ""
252+
"If the callback sets an exception, it must return ``-1``; this exception "
253+
"will be printed as an unraisable exception using "
254+
":c:func:`PyErr_WriteUnraisable`. Otherwise it should return ``0``."
255+
msgstr ""
256+
257+
#: ../../c-api/code.rst:205
258+
msgid ""
259+
"There may already be a pending exception set on entry to the callback. In "
260+
"this case, the callback should return ``0`` with the same exception still "
261+
"set. This means the callback may not call any other API that can set an "
262+
"exception unless it saves and clears the exception state first, and restores"
263+
" it before returning."
264+
msgstr ""
265+
266+
#: ../../c-api/code.rst:215
267+
msgid "Extra information"
268+
msgstr ""
269+
270+
#: ../../c-api/code.rst:217
271+
msgid ""
272+
"To support low-level extensions to frame evaluation, such as external just-"
273+
"in-time compilers, it is possible to attach arbitrary extra data to code "
274+
"objects."
275+
msgstr ""
276+
277+
#: ../../c-api/code.rst:221
278+
msgid ""
279+
"These functions are part of the unstable C API tier: this functionality is a"
280+
" CPython implementation detail, and the API may change without deprecation "
281+
"warnings."
282+
msgstr ""
283+
284+
#: ../../c-api/code.rst:227
285+
msgid ""
286+
"Return a new an opaque index value used to adding data to code objects."
287+
msgstr ""
288+
289+
#: ../../c-api/code.rst:229
290+
msgid ""
291+
"You generally call this function once (per interpreter) and use the result "
292+
"with ``PyCode_GetExtra`` and ``PyCode_SetExtra`` to manipulate data on "
293+
"individual code objects."
294+
msgstr ""
295+
296+
#: ../../c-api/code.rst:233
297+
msgid ""
298+
"If *free* is not ``NULL``: when a code object is deallocated, *free* will be"
299+
" called on non-``NULL`` data stored under the new index. Use "
300+
":c:func:`Py_DecRef` when storing :c:type:`PyObject`."
301+
msgstr ""
302+
303+
#: ../../c-api/code.rst:239
304+
msgid "as ``_PyEval_RequestCodeExtraIndex``"
305+
msgstr ""
306+
307+
#: ../../c-api/code.rst:243
308+
msgid ""
309+
"Renamed to ``PyUnstable_Eval_RequestCodeExtraIndex``. The old private name "
310+
"is deprecated, but will be available until the API changes."
311+
msgstr ""
312+
313+
#: ../../c-api/code.rst:249
314+
msgid ""
315+
"Set *extra* to the extra data stored under the given index. Return 0 on "
316+
"success. Set an exception and return -1 on failure."
317+
msgstr ""
318+
319+
#: ../../c-api/code.rst:252
320+
msgid ""
321+
"If no data was set under the index, set *extra* to ``NULL`` and return 0 "
322+
"without setting an exception."
323+
msgstr ""
324+
325+
#: ../../c-api/code.rst:257
326+
msgid "as ``_PyCode_GetExtra``"
327+
msgstr ""
328+
329+
#: ../../c-api/code.rst:261
330+
msgid ""
331+
"Renamed to ``PyUnstable_Code_GetExtra``. The old private name is deprecated,"
332+
" but will be available until the API changes."
333+
msgstr ""
334+
335+
#: ../../c-api/code.rst:267
336+
msgid ""
337+
"Set the extra data stored under the given index to *extra*. Return 0 on "
338+
"success. Set an exception and return -1 on failure."
339+
msgstr ""
340+
341+
#: ../../c-api/code.rst:272
342+
msgid "as ``_PyCode_SetExtra``"
343+
msgstr ""
344+
345+
#: ../../c-api/code.rst:276
346+
msgid ""
347+
"Renamed to ``PyUnstable_Code_SetExtra``. The old private name is deprecated,"
348+
" but will be available until the API changes."
349+
msgstr ""
350+
351+
#: ../../c-api/code.rst:3
352+
msgid "object"
353+
msgstr "objek"
354+
355+
#: ../../c-api/code.rst:3
356+
msgid "code"
357+
msgstr "code"
358+
359+
#: ../../c-api/code.rst:3
360+
msgid "code object"
361+
msgstr ""
362+
363+
#: ../../c-api/code.rst:64
364+
msgid "PyCode_New (C function)"
365+
msgstr ""
366+
367+
#: ../../c-api/code.rst:77
368+
msgid "PyCode_NewWithPosOnlyArgs (C function)"
369+
msgstr ""
370+
371+
#: ../../c-api/code.rst:237
372+
msgid "_PyEval_RequestCodeExtraIndex (C function)"
373+
msgstr ""
374+
375+
#: ../../c-api/code.rst:255
376+
msgid "_PyCode_GetExtra (C function)"
377+
msgstr ""
378+
379+
#: ../../c-api/code.rst:270
380+
msgid "_PyCode_SetExtra (C function)"
92381
msgstr ""
93-
"Mengembalikan objek kode kosong baru dengan nama file yang ditentukan, nama "
94-
"fungsi, dan nomor baris pertama. Adalah ilegal untuk :func:`exec` atau "
95-
":func:` eval` menghasilkan objek kode."

0 commit comments

Comments
 (0)