@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.14\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2025-07-04 14:20 +0000\n "
14+ "POT-Creation-Date : 2025-07-11 14:21 +0000\n "
1515"PO-Revision-Date : 2021-06-28 00:48+0000\n "
1616"Last-Translator : Alireza Shabani (Revisto) <theRevisto@gmail.com>, 2025\n "
1717"Language-Team : Persian (https://app.transifex.com/python-doc/teams/5390/ "
@@ -256,85 +256,191 @@ msgid ""
256256"it before returning."
257257msgstr ""
258258
259- #: ../../c-api/code.rst:215
259+ #: ../../c-api/code.rst:217
260+ msgid "Code Object Flags"
261+ msgstr ""
262+
263+ #: ../../c-api/code.rst:219
264+ msgid ""
265+ "Code objects contain a bit-field of flags, which can be retrieved as the :"
266+ "attr:`~codeobject.co_flags` Python attribute (for example using :c:func:"
267+ "`PyObject_GetAttrString`), and set using a *flags* argument to :c:func:"
268+ "`PyUnstable_Code_New` and similar functions."
269+ msgstr ""
270+
271+ #: ../../c-api/code.rst:224
272+ msgid ""
273+ "Flags whose names start with ``CO_FUTURE_`` correspond to features normally "
274+ "selectable by :ref:`future statements <future>`. These flags can be used in :"
275+ "c:member:`PyCompilerFlags.cf_flags`. Note that many ``CO_FUTURE_`` flags are "
276+ "mandatory in current versions of Python, and setting them has no effect."
277+ msgstr ""
278+
279+ #: ../../c-api/code.rst:230
280+ msgid ""
281+ "The following flags are available. For their meaning, see the linked "
282+ "documentation of their Python equivalents."
283+ msgstr ""
284+
285+ #: ../../c-api/code.rst:238
286+ msgid "Flag"
287+ msgstr ""
288+
289+ #: ../../c-api/code.rst:239
290+ msgid "Meaning"
291+ msgstr ""
292+
293+ #: ../../c-api/code.rst:241
294+ msgid ":py:data:`inspect.CO_OPTIMIZED`"
295+ msgstr ""
296+
297+ #: ../../c-api/code.rst:243
298+ msgid ":py:data:`inspect.CO_NEWLOCALS`"
299+ msgstr ""
300+
301+ #: ../../c-api/code.rst:245
302+ msgid ":py:data:`inspect.CO_VARARGS`"
303+ msgstr ""
304+
305+ #: ../../c-api/code.rst:247
306+ msgid ":py:data:`inspect.CO_VARKEYWORDS`"
307+ msgstr ""
308+
309+ #: ../../c-api/code.rst:249
310+ msgid ":py:data:`inspect.CO_NESTED`"
311+ msgstr ""
312+
313+ #: ../../c-api/code.rst:251
314+ msgid ":py:data:`inspect.CO_GENERATOR`"
315+ msgstr ""
316+
317+ #: ../../c-api/code.rst:253
318+ msgid ":py:data:`inspect.CO_COROUTINE`"
319+ msgstr ""
320+
321+ #: ../../c-api/code.rst:255
322+ msgid ":py:data:`inspect.CO_ITERABLE_COROUTINE`"
323+ msgstr ""
324+
325+ #: ../../c-api/code.rst:257
326+ msgid ":py:data:`inspect.CO_ASYNC_GENERATOR`"
327+ msgstr ""
328+
329+ #: ../../c-api/code.rst:259
330+ msgid ":py:data:`inspect.CO_HAS_DOCSTRING`"
331+ msgstr ""
332+
333+ #: ../../c-api/code.rst:261
334+ msgid ":py:data:`inspect.CO_METHOD`"
335+ msgstr ""
336+
337+ #: ../../c-api/code.rst:264
338+ msgid "no effect (:py:data:`__future__.division`)"
339+ msgstr ""
340+
341+ #: ../../c-api/code.rst:266
342+ msgid "no effect (:py:data:`__future__.absolute_import`)"
343+ msgstr ""
344+
345+ #: ../../c-api/code.rst:268
346+ msgid "no effect (:py:data:`__future__.with_statement`)"
347+ msgstr ""
348+
349+ #: ../../c-api/code.rst:270
350+ msgid "no effect (:py:data:`__future__.print_function`)"
351+ msgstr ""
352+
353+ #: ../../c-api/code.rst:272
354+ msgid "no effect (:py:data:`__future__.unicode_literals`)"
355+ msgstr ""
356+
357+ #: ../../c-api/code.rst:274
358+ msgid "no effect (:py:data:`__future__.generator_stop`)"
359+ msgstr ""
360+
361+ #: ../../c-api/code.rst:276
362+ msgid ":py:data:`__future__.annotations`"
363+ msgstr ""
364+
365+ #: ../../c-api/code.rst:280
260366msgid "Extra information"
261367msgstr ""
262368
263- #: ../../c-api/code.rst:217
369+ #: ../../c-api/code.rst:282
264370msgid ""
265371"To support low-level extensions to frame evaluation, such as external just-"
266372"in-time compilers, it is possible to attach arbitrary extra data to code "
267373"objects."
268374msgstr ""
269375
270- #: ../../c-api/code.rst:221
376+ #: ../../c-api/code.rst:286
271377msgid ""
272378"These functions are part of the unstable C API tier: this functionality is a "
273379"CPython implementation detail, and the API may change without deprecation "
274380"warnings."
275381msgstr ""
276382
277- #: ../../c-api/code.rst:227
383+ #: ../../c-api/code.rst:292
278384msgid "Return a new an opaque index value used to adding data to code objects."
279385msgstr ""
280386
281- #: ../../c-api/code.rst:229
387+ #: ../../c-api/code.rst:294
282388msgid ""
283389"You generally call this function once (per interpreter) and use the result "
284390"with ``PyCode_GetExtra`` and ``PyCode_SetExtra`` to manipulate data on "
285391"individual code objects."
286392msgstr ""
287393
288- #: ../../c-api/code.rst:233
394+ #: ../../c-api/code.rst:298
289395msgid ""
290396"If *free* is not ``NULL``: when a code object is deallocated, *free* will be "
291397"called on non-``NULL`` data stored under the new index. Use :c:func:"
292398"`Py_DecRef` when storing :c:type:`PyObject`."
293399msgstr ""
294400
295- #: ../../c-api/code.rst:239
401+ #: ../../c-api/code.rst:304
296402msgid "as ``_PyEval_RequestCodeExtraIndex``"
297403msgstr ""
298404
299- #: ../../c-api/code.rst:243
405+ #: ../../c-api/code.rst:308
300406msgid ""
301407"Renamed to ``PyUnstable_Eval_RequestCodeExtraIndex``. The old private name "
302408"is deprecated, but will be available until the API changes."
303409msgstr ""
304410
305- #: ../../c-api/code.rst:249
411+ #: ../../c-api/code.rst:314
306412msgid ""
307413"Set *extra* to the extra data stored under the given index. Return 0 on "
308414"success. Set an exception and return -1 on failure."
309415msgstr ""
310416
311- #: ../../c-api/code.rst:252
417+ #: ../../c-api/code.rst:317
312418msgid ""
313419"If no data was set under the index, set *extra* to ``NULL`` and return 0 "
314420"without setting an exception."
315421msgstr ""
316422
317- #: ../../c-api/code.rst:257
423+ #: ../../c-api/code.rst:322
318424msgid "as ``_PyCode_GetExtra``"
319425msgstr ""
320426
321- #: ../../c-api/code.rst:261
427+ #: ../../c-api/code.rst:326
322428msgid ""
323429"Renamed to ``PyUnstable_Code_GetExtra``. The old private name is deprecated, "
324430"but will be available until the API changes."
325431msgstr ""
326432
327- #: ../../c-api/code.rst:267
433+ #: ../../c-api/code.rst:332
328434msgid ""
329435"Set the extra data stored under the given index to *extra*. Return 0 on "
330436"success. Set an exception and return -1 on failure."
331437msgstr ""
332438
333- #: ../../c-api/code.rst:272
439+ #: ../../c-api/code.rst:337
334440msgid "as ``_PyCode_SetExtra``"
335441msgstr ""
336442
337- #: ../../c-api/code.rst:276
443+ #: ../../c-api/code.rst:341
338444msgid ""
339445"Renamed to ``PyUnstable_Code_SetExtra``. The old private name is deprecated, "
340446"but will be available until the API changes."
@@ -360,14 +466,14 @@ msgstr ""
360466msgid "PyCode_NewWithPosOnlyArgs (C function)"
361467msgstr ""
362468
363- #: ../../c-api/code.rst:237
469+ #: ../../c-api/code.rst:302
364470msgid "_PyEval_RequestCodeExtraIndex (C function)"
365471msgstr ""
366472
367- #: ../../c-api/code.rst:255
473+ #: ../../c-api/code.rst:320
368474msgid "_PyCode_GetExtra (C function)"
369475msgstr ""
370476
371- #: ../../c-api/code.rst:270
477+ #: ../../c-api/code.rst:335
372478msgid "_PyCode_SetExtra (C function)"
373479msgstr ""
0 commit comments