7
7
msgstr ""
8
8
"Project-Id-Version : Python 3.12\n "
9
9
"Report-Msgid-Bugs-To : \n "
10
- "POT-Creation-Date : 2023-09-18 22:33+0300 \n "
10
+ "POT-Creation-Date : 2024-02-11 20:24+0000 \n "
11
11
"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
12
12
"Last-Translator : \n "
13
13
"Language-Team : TURKISH <python.docs.tr@gmail.com>\n "
@@ -35,181 +35,181 @@ msgstr ""
35
35
36
36
#: c-api/code.rst:24
37
37
msgid ""
38
- "This is an instance of :c:type:`PyTypeObject` representing the Python :class :"
39
- "`code` type ."
38
+ "This is an instance of :c:type:`PyTypeObject` representing the Python :ref :"
39
+ "`code object <code-objects>` ."
40
40
msgstr ""
41
41
42
42
#: c-api/code.rst:30
43
43
msgid ""
44
- "Return true if *co* is a :class :`code` object. This function always "
45
- "succeeds."
44
+ "Return true if *co* is a :ref :`code object <code-objects>`. This function "
45
+ "always succeeds."
46
46
msgstr ""
47
47
48
- #: c-api/code.rst:34
48
+ #: c-api/code.rst:35
49
49
msgid "Return the number of free variables in *co*."
50
50
msgstr ""
51
51
52
- #: c-api/code.rst:38
52
+ #: c-api/code.rst:39
53
53
msgid ""
54
54
"Return a new code object. If you need a dummy code object to create a "
55
55
"frame, use :c:func:`PyCode_NewEmpty` instead."
56
56
msgstr ""
57
57
58
- #: c-api/code.rst:41
58
+ #: c-api/code.rst:42
59
59
msgid ""
60
60
"Since the definition of the bytecode changes often, calling :c:func:"
61
61
"`PyUnstable_Code_New` directly can bind you to a precise Python version."
62
62
msgstr ""
63
63
64
- #: c-api/code.rst:44
64
+ #: c-api/code.rst:45
65
65
msgid ""
66
66
"The many arguments of this function are inter-dependent in complex ways, "
67
67
"meaning that subtle changes to values are likely to result in incorrect "
68
68
"execution or VM crashes. Use this function only with extreme care."
69
69
msgstr ""
70
70
71
- #: c-api/code.rst:48
71
+ #: c-api/code.rst:49
72
72
msgid "Added ``qualname`` and ``exceptiontable`` parameters."
73
73
msgstr ""
74
74
75
- #: c-api/code.rst:55
75
+ #: c-api/code.rst:56
76
76
msgid ""
77
77
"Renamed from ``PyCode_New`` as part of :ref:`unstable-c-api`. The old name "
78
78
"is deprecated, but will remain available until the signature changes again."
79
79
msgstr ""
80
80
81
- #: c-api/code.rst:61
81
+ #: c-api/code.rst:62
82
82
msgid ""
83
83
"Similar to :c:func:`PyUnstable_Code_New`, but with an extra "
84
84
"\" posonlyargcount\" for positional-only arguments. The same caveats that "
85
85
"apply to ``PyUnstable_Code_New`` also apply to this function."
86
86
msgstr ""
87
87
88
- #: c-api/code.rst:66
88
+ #: c-api/code.rst:67
89
89
msgid "as ``PyCode_NewWithPosOnlyArgs``"
90
90
msgstr ""
91
91
92
- #: c-api/code.rst:68
92
+ #: c-api/code.rst:69
93
93
msgid "Added ``qualname`` and ``exceptiontable`` parameters."
94
94
msgstr ""
95
95
96
- #: c-api/code.rst:73
96
+ #: c-api/code.rst:74
97
97
msgid ""
98
98
"Renamed to ``PyUnstable_Code_NewWithPosOnlyArgs``. The old name is "
99
99
"deprecated, but will remain available until the signature changes again."
100
100
msgstr ""
101
101
102
- #: c-api/code.rst:79
102
+ #: c-api/code.rst:80
103
103
msgid ""
104
104
"Return a new empty code object with the specified filename, function name, "
105
105
"and first line number. The resulting code object will raise an ``Exception`` "
106
106
"if executed."
107
107
msgstr ""
108
108
109
- #: c-api/code.rst:85
109
+ #: c-api/code.rst:86
110
110
msgid ""
111
111
"Return the line number of the instruction that occurs on or before "
112
112
"``byte_offset`` and ends after it. If you just need the line number of a "
113
113
"frame, use :c:func:`PyFrame_GetLineNumber` instead."
114
114
msgstr ""
115
115
116
- #: c-api/code.rst:88
116
+ #: c-api/code.rst:89
117
117
msgid ""
118
118
"For efficiently iterating over the line numbers in a code object, use `the "
119
119
"API described in PEP 626 <https://peps.python.org/pep-0626/#out-of-process-"
120
120
"debuggers-and-profilers>`_."
121
121
msgstr ""
122
122
123
- #: c-api/code.rst:93
123
+ #: c-api/code.rst:94
124
124
msgid ""
125
125
"Sets the passed ``int`` pointers to the source code line and column numbers "
126
126
"for the instruction at ``byte_offset``. Sets the value to ``0`` when "
127
127
"information is not available for any particular element."
128
128
msgstr ""
129
129
130
- #: c-api/code.rst:97
130
+ #: c-api/code.rst:98
131
131
msgid "Returns ``1`` if the function succeeds and 0 otherwise."
132
132
msgstr ""
133
133
134
- #: c-api/code.rst:103
134
+ #: c-api/code.rst:104
135
135
msgid ""
136
136
"Equivalent to the Python code ``getattr(co, 'co_code')``. Returns a strong "
137
137
"reference to a :c:type:`PyBytesObject` representing the bytecode in a code "
138
138
"object. On error, ``NULL`` is returned and an exception is raised."
139
139
msgstr ""
140
140
141
- #: c-api/code.rst:108
141
+ #: c-api/code.rst:109
142
142
msgid ""
143
143
"This ``PyBytesObject`` may be created on-demand by the interpreter and does "
144
144
"not necessarily represent the bytecode actually executed by CPython. The "
145
145
"primary use case for this function is debuggers and profilers."
146
146
msgstr ""
147
147
148
- #: c-api/code.rst:116
148
+ #: c-api/code.rst:117
149
149
msgid ""
150
150
"Equivalent to the Python code ``getattr(co, 'co_varnames')``. Returns a new "
151
151
"reference to a :c:type:`PyTupleObject` containing the names of the local "
152
152
"variables. On error, ``NULL`` is returned and an exception is raised."
153
153
msgstr ""
154
154
155
- #: c-api/code.rst:125
155
+ #: c-api/code.rst:126
156
156
msgid ""
157
157
"Equivalent to the Python code ``getattr(co, 'co_cellvars')``. Returns a new "
158
158
"reference to a :c:type:`PyTupleObject` containing the names of the local "
159
159
"variables that are referenced by nested functions. On error, ``NULL`` is "
160
160
"returned and an exception is raised."
161
161
msgstr ""
162
162
163
- #: c-api/code.rst:134
163
+ #: c-api/code.rst:135
164
164
msgid ""
165
165
"Equivalent to the Python code ``getattr(co, 'co_freevars')``. Returns a new "
166
166
"reference to a :c:type:`PyTupleObject` containing the names of the free "
167
167
"variables. On error, ``NULL`` is returned and an exception is raised."
168
168
msgstr ""
169
169
170
- #: c-api/code.rst:142
170
+ #: c-api/code.rst:143
171
171
msgid ""
172
172
"Register *callback* as a code object watcher for the current interpreter. "
173
173
"Return an ID which may be passed to :c:func:`PyCode_ClearWatcher`. In case "
174
174
"of error (e.g. no more watcher IDs available), return ``-1`` and set an "
175
175
"exception."
176
176
msgstr ""
177
177
178
- #: c-api/code.rst:151
178
+ #: c-api/code.rst:152
179
179
msgid ""
180
180
"Clear watcher identified by *watcher_id* previously returned from :c:func:"
181
181
"`PyCode_AddWatcher` for the current interpreter. Return ``0`` on success, or "
182
182
"``-1`` and set an exception on error (e.g. if the given *watcher_id* was "
183
183
"never registered.)"
184
184
msgstr ""
185
185
186
- #: c-api/code.rst:160
186
+ #: c-api/code.rst:161
187
187
msgid ""
188
188
"Enumeration of possible code object watcher events: - "
189
189
"``PY_CODE_EVENT_CREATE`` - ``PY_CODE_EVENT_DESTROY``"
190
190
msgstr ""
191
191
192
- #: c-api/code.rst:168
192
+ #: c-api/code.rst:169
193
193
msgid "Type of a code object watcher callback function."
194
194
msgstr ""
195
195
196
- #: c-api/code.rst:170
196
+ #: c-api/code.rst:171
197
197
msgid ""
198
198
"If *event* is ``PY_CODE_EVENT_CREATE``, then the callback is invoked after "
199
199
"`co` has been fully initialized. Otherwise, the callback is invoked before "
200
200
"the destruction of *co* takes place, so the prior state of *co* can be "
201
201
"inspected."
202
202
msgstr ""
203
203
204
- #: c-api/code.rst:175
204
+ #: c-api/code.rst:176
205
205
msgid ""
206
206
"If *event* is ``PY_CODE_EVENT_DESTROY``, taking a reference in the callback "
207
207
"to the about-to-be-destroyed code object will resurrect it and prevent it "
208
208
"from being freed at this time. When the resurrected object is destroyed "
209
209
"later, any watcher callbacks active at that time will be called again."
210
210
msgstr ""
211
211
212
- #: c-api/code.rst:180
212
+ #: c-api/code.rst:181
213
213
msgid ""
214
214
"Users of this API should not rely on internal runtime implementation "
215
215
"details. Such details may include, but are not limited to, the exact order "
@@ -219,14 +219,14 @@ msgid ""
219
219
"the Python code being executed."
220
220
msgstr ""
221
221
222
- #: c-api/code.rst:187
222
+ #: c-api/code.rst:188
223
223
msgid ""
224
224
"If the callback sets an exception, it must return ``-1``; this exception "
225
225
"will be printed as an unraisable exception using :c:func:"
226
226
"`PyErr_WriteUnraisable`. Otherwise it should return ``0``."
227
227
msgstr ""
228
228
229
- #: c-api/code.rst:191
229
+ #: c-api/code.rst:192
230
230
msgid ""
231
231
"There may already be a pending exception set on entry to the callback. In "
232
232
"this case, the callback should return ``0`` with the same exception still "
@@ -235,85 +235,85 @@ msgid ""
235
235
"it before returning."
236
236
msgstr ""
237
237
238
- #: c-api/code.rst:201
238
+ #: c-api/code.rst:202
239
239
msgid "Extra information"
240
240
msgstr ""
241
241
242
- #: c-api/code.rst:203
242
+ #: c-api/code.rst:204
243
243
msgid ""
244
244
"To support low-level extensions to frame evaluation, such as external just-"
245
245
"in-time compilers, it is possible to attach arbitrary extra data to code "
246
246
"objects."
247
247
msgstr ""
248
248
249
- #: c-api/code.rst:207
249
+ #: c-api/code.rst:208
250
250
msgid ""
251
251
"These functions are part of the unstable C API tier: this functionality is a "
252
252
"CPython implementation detail, and the API may change without deprecation "
253
253
"warnings."
254
254
msgstr ""
255
255
256
- #: c-api/code.rst:213
256
+ #: c-api/code.rst:214
257
257
msgid "Return a new an opaque index value used to adding data to code objects."
258
258
msgstr ""
259
259
260
- #: c-api/code.rst:215
260
+ #: c-api/code.rst:216
261
261
msgid ""
262
262
"You generally call this function once (per interpreter) and use the result "
263
263
"with ``PyCode_GetExtra`` and ``PyCode_SetExtra`` to manipulate data on "
264
264
"individual code objects."
265
265
msgstr ""
266
266
267
- #: c-api/code.rst:219
267
+ #: c-api/code.rst:220
268
268
msgid ""
269
269
"If *free* is not ``NULL``: when a code object is deallocated, *free* will be "
270
270
"called on non-``NULL`` data stored under the new index. Use :c:func:"
271
271
"`Py_DecRef` when storing :c:type:`PyObject`."
272
272
msgstr ""
273
273
274
- #: c-api/code.rst:225
274
+ #: c-api/code.rst:226
275
275
msgid "as ``_PyEval_RequestCodeExtraIndex``"
276
276
msgstr ""
277
277
278
- #: c-api/code.rst:229
278
+ #: c-api/code.rst:230
279
279
msgid ""
280
280
"Renamed to ``PyUnstable_Eval_RequestCodeExtraIndex``. The old private name "
281
281
"is deprecated, but will be available until the API changes."
282
282
msgstr ""
283
283
284
- #: c-api/code.rst:235
284
+ #: c-api/code.rst:236
285
285
msgid ""
286
286
"Set *extra* to the extra data stored under the given index. Return 0 on "
287
287
"success. Set an exception and return -1 on failure."
288
288
msgstr ""
289
289
290
- #: c-api/code.rst:238
290
+ #: c-api/code.rst:239
291
291
msgid ""
292
292
"If no data was set under the index, set *extra* to ``NULL`` and return 0 "
293
293
"without setting an exception."
294
294
msgstr ""
295
295
296
- #: c-api/code.rst:243
296
+ #: c-api/code.rst:244
297
297
msgid "as ``_PyCode_GetExtra``"
298
298
msgstr ""
299
299
300
- #: c-api/code.rst:247
300
+ #: c-api/code.rst:248
301
301
msgid ""
302
302
"Renamed to ``PyUnstable_Code_GetExtra``. The old private name is deprecated, "
303
303
"but will be available until the API changes."
304
304
msgstr ""
305
305
306
- #: c-api/code.rst:253
306
+ #: c-api/code.rst:254
307
307
msgid ""
308
308
"Set the extra data stored under the given index to *extra*. Return 0 on "
309
309
"success. Set an exception and return -1 on failure."
310
310
msgstr ""
311
311
312
- #: c-api/code.rst:258
312
+ #: c-api/code.rst:259
313
313
msgid "as ``_PyCode_SetExtra``"
314
314
msgstr ""
315
315
316
- #: c-api/code.rst:262
316
+ #: c-api/code.rst:263
317
317
msgid ""
318
318
"Renamed to ``PyUnstable_Code_SetExtra``. The old private name is deprecated, "
319
319
"but will be available until the API changes."
@@ -331,22 +331,22 @@ msgstr ""
331
331
msgid "code object"
332
332
msgstr ""
333
333
334
- #: c-api/code.rst:51
335
- msgid "PyCode_New"
334
+ #: c-api/code.rst:52
335
+ msgid "PyCode_New (C function) "
336
336
msgstr ""
337
337
338
- #: c-api/code.rst:64
339
- msgid "PyCode_NewWithPosOnlyArgs"
338
+ #: c-api/code.rst:65
339
+ msgid "PyCode_NewWithPosOnlyArgs (C function) "
340
340
msgstr ""
341
341
342
- #: c-api/code.rst:223
343
- msgid "_PyEval_RequestCodeExtraIndex"
342
+ #: c-api/code.rst:224
343
+ msgid "_PyEval_RequestCodeExtraIndex (C function) "
344
344
msgstr ""
345
345
346
- #: c-api/code.rst:241
347
- msgid "_PyCode_GetExtra"
346
+ #: c-api/code.rst:242
347
+ msgid "_PyCode_GetExtra (C function) "
348
348
msgstr ""
349
349
350
- #: c-api/code.rst:256
351
- msgid "_PyCode_SetExtra"
350
+ #: c-api/code.rst:257
351
+ msgid "_PyCode_SetExtra (C function) "
352
352
msgstr ""
0 commit comments