55#
66# Translators:
77# Daniil Kolesnikov, 2024
8- # Илья Панфилов, 2024
98# Rafael Fontenelle <rffontenelle@gmail.com>, 2024
109# Roustam Khamidoulline, 2024
10+ # Илья Панфилов, 2025
11+ # Kristina Mironova, 2025
1112#
1213#, fuzzy
1314msgid ""
1415msgstr ""
1516"Project-Id-Version : Python 3.14\n "
1617"Report-Msgid-Bugs-To : \n "
17- "POT-Creation-Date : 2025-05-30 14:22 +0000\n "
18+ "POT-Creation-Date : 2025-07-11 14:21 +0000\n "
1819"PO-Revision-Date : 2021-06-28 00:48+0000\n "
19- "Last-Translator : Roustam Khamidoulline, 2024 \n "
20+ "Last-Translator : Kristina Mironova, 2025 \n "
2021"Language-Team : Russian (https://app.transifex.com/python-doc/teams/5390/ru/)\n "
2122"MIME-Version : 1.0\n "
2223"Content-Type : text/plain; charset=UTF-8\n "
@@ -260,86 +261,192 @@ msgid ""
260261" it before returning."
261262msgstr ""
262263
263- #: ../../c-api/code.rst:215
264+ #: ../../c-api/code.rst:217
265+ msgid "Code Object Flags"
266+ msgstr ""
267+
268+ #: ../../c-api/code.rst:219
269+ msgid ""
270+ "Code objects contain a bit-field of flags, which can be retrieved as the "
271+ ":attr:`~codeobject.co_flags` Python attribute (for example using "
272+ ":c:func:`PyObject_GetAttrString`), and set using a *flags* argument to "
273+ ":c:func:`PyUnstable_Code_New` and similar functions."
274+ msgstr ""
275+
276+ #: ../../c-api/code.rst:224
277+ msgid ""
278+ "Flags whose names start with ``CO_FUTURE_`` correspond to features normally "
279+ "selectable by :ref:`future statements <future>`. These flags can be used in "
280+ ":c:member:`PyCompilerFlags.cf_flags`. Note that many ``CO_FUTURE_`` flags "
281+ "are mandatory in current versions of Python, and setting them has no effect."
282+ msgstr ""
283+
284+ #: ../../c-api/code.rst:230
285+ msgid ""
286+ "The following flags are available. For their meaning, see the linked "
287+ "documentation of their Python equivalents."
288+ msgstr ""
289+
290+ #: ../../c-api/code.rst:238
291+ msgid "Flag"
292+ msgstr ""
293+
294+ #: ../../c-api/code.rst:239
295+ msgid "Meaning"
296+ msgstr ""
297+
298+ #: ../../c-api/code.rst:241
299+ msgid ":py:data:`inspect.CO_OPTIMIZED`"
300+ msgstr ""
301+
302+ #: ../../c-api/code.rst:243
303+ msgid ":py:data:`inspect.CO_NEWLOCALS`"
304+ msgstr ""
305+
306+ #: ../../c-api/code.rst:245
307+ msgid ":py:data:`inspect.CO_VARARGS`"
308+ msgstr ""
309+
310+ #: ../../c-api/code.rst:247
311+ msgid ":py:data:`inspect.CO_VARKEYWORDS`"
312+ msgstr ""
313+
314+ #: ../../c-api/code.rst:249
315+ msgid ":py:data:`inspect.CO_NESTED`"
316+ msgstr ""
317+
318+ #: ../../c-api/code.rst:251
319+ msgid ":py:data:`inspect.CO_GENERATOR`"
320+ msgstr ""
321+
322+ #: ../../c-api/code.rst:253
323+ msgid ":py:data:`inspect.CO_COROUTINE`"
324+ msgstr ""
325+
326+ #: ../../c-api/code.rst:255
327+ msgid ":py:data:`inspect.CO_ITERABLE_COROUTINE`"
328+ msgstr ""
329+
330+ #: ../../c-api/code.rst:257
331+ msgid ":py:data:`inspect.CO_ASYNC_GENERATOR`"
332+ msgstr ""
333+
334+ #: ../../c-api/code.rst:259
335+ msgid ":py:data:`inspect.CO_HAS_DOCSTRING`"
336+ msgstr ""
337+
338+ #: ../../c-api/code.rst:261
339+ msgid ":py:data:`inspect.CO_METHOD`"
340+ msgstr ""
341+
342+ #: ../../c-api/code.rst:264
343+ msgid "no effect (:py:data:`__future__.division`)"
344+ msgstr ""
345+
346+ #: ../../c-api/code.rst:266
347+ msgid "no effect (:py:data:`__future__.absolute_import`)"
348+ msgstr ""
349+
350+ #: ../../c-api/code.rst:268
351+ msgid "no effect (:py:data:`__future__.with_statement`)"
352+ msgstr ""
353+
354+ #: ../../c-api/code.rst:270
355+ msgid "no effect (:py:data:`__future__.print_function`)"
356+ msgstr ""
357+
358+ #: ../../c-api/code.rst:272
359+ msgid "no effect (:py:data:`__future__.unicode_literals`)"
360+ msgstr ""
361+
362+ #: ../../c-api/code.rst:274
363+ msgid "no effect (:py:data:`__future__.generator_stop`)"
364+ msgstr ""
365+
366+ #: ../../c-api/code.rst:276
367+ msgid ":py:data:`__future__.annotations`"
368+ msgstr ""
369+
370+ #: ../../c-api/code.rst:280
264371msgid "Extra information"
265372msgstr ""
266373
267- #: ../../c-api/code.rst:217
374+ #: ../../c-api/code.rst:282
268375msgid ""
269376"To support low-level extensions to frame evaluation, such as external just-"
270377"in-time compilers, it is possible to attach arbitrary extra data to code "
271378"objects."
272379msgstr ""
273380
274- #: ../../c-api/code.rst:221
381+ #: ../../c-api/code.rst:286
275382msgid ""
276383"These functions are part of the unstable C API tier: this functionality is a"
277384" CPython implementation detail, and the API may change without deprecation "
278385"warnings."
279386msgstr ""
280387
281- #: ../../c-api/code.rst:227
388+ #: ../../c-api/code.rst:292
282389msgid ""
283390"Return a new an opaque index value used to adding data to code objects."
284391msgstr ""
285392
286- #: ../../c-api/code.rst:229
393+ #: ../../c-api/code.rst:294
287394msgid ""
288395"You generally call this function once (per interpreter) and use the result "
289396"with ``PyCode_GetExtra`` and ``PyCode_SetExtra`` to manipulate data on "
290397"individual code objects."
291398msgstr ""
292399
293- #: ../../c-api/code.rst:233
400+ #: ../../c-api/code.rst:298
294401msgid ""
295402"If *free* is not ``NULL``: when a code object is deallocated, *free* will be"
296403" called on non-``NULL`` data stored under the new index. Use "
297404":c:func:`Py_DecRef` when storing :c:type:`PyObject`."
298405msgstr ""
299406
300- #: ../../c-api/code.rst:239
407+ #: ../../c-api/code.rst:304
301408msgid "as ``_PyEval_RequestCodeExtraIndex``"
302409msgstr ""
303410
304- #: ../../c-api/code.rst:243
411+ #: ../../c-api/code.rst:308
305412msgid ""
306413"Renamed to ``PyUnstable_Eval_RequestCodeExtraIndex``. The old private name "
307414"is deprecated, but will be available until the API changes."
308415msgstr ""
309416
310- #: ../../c-api/code.rst:249
417+ #: ../../c-api/code.rst:314
311418msgid ""
312419"Set *extra* to the extra data stored under the given index. Return 0 on "
313420"success. Set an exception and return -1 on failure."
314421msgstr ""
315422
316- #: ../../c-api/code.rst:252
423+ #: ../../c-api/code.rst:317
317424msgid ""
318425"If no data was set under the index, set *extra* to ``NULL`` and return 0 "
319426"without setting an exception."
320427msgstr ""
321428
322- #: ../../c-api/code.rst:257
429+ #: ../../c-api/code.rst:322
323430msgid "as ``_PyCode_GetExtra``"
324431msgstr ""
325432
326- #: ../../c-api/code.rst:261
433+ #: ../../c-api/code.rst:326
327434msgid ""
328435"Renamed to ``PyUnstable_Code_GetExtra``. The old private name is deprecated,"
329436" but will be available until the API changes."
330437msgstr ""
331438
332- #: ../../c-api/code.rst:267
439+ #: ../../c-api/code.rst:332
333440msgid ""
334441"Set the extra data stored under the given index to *extra*. Return 0 on "
335442"success. Set an exception and return -1 on failure."
336443msgstr ""
337444
338- #: ../../c-api/code.rst:272
445+ #: ../../c-api/code.rst:337
339446msgid "as ``_PyCode_SetExtra``"
340447msgstr ""
341448
342- #: ../../c-api/code.rst:276
449+ #: ../../c-api/code.rst:341
343450msgid ""
344451"Renamed to ``PyUnstable_Code_SetExtra``. The old private name is deprecated,"
345452" but will be available until the API changes."
@@ -365,14 +472,14 @@ msgstr ""
365472msgid "PyCode_NewWithPosOnlyArgs (C function)"
366473msgstr ""
367474
368- #: ../../c-api/code.rst:237
475+ #: ../../c-api/code.rst:302
369476msgid "_PyEval_RequestCodeExtraIndex (C function)"
370477msgstr ""
371478
372- #: ../../c-api/code.rst:255
479+ #: ../../c-api/code.rst:320
373480msgid "_PyCode_GetExtra (C function)"
374481msgstr ""
375482
376- #: ../../c-api/code.rst:270
483+ #: ../../c-api/code.rst:335
377484msgid "_PyCode_SetExtra (C function)"
378485msgstr ""
0 commit comments