@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.13\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2025-05-30 14:58 +0000\n "
14+ "POT-Creation-Date : 2025-08-03 14:51 +0000\n "
1515"PO-Revision-Date : 2025-07-18 19:20+0000\n "
1616"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n "
1717"Language-Team : Russian (https://app.transifex.com/python-doc/teams/5390/ru/)\n "
@@ -257,86 +257,184 @@ msgid ""
257257" it before returning."
258258msgstr ""
259259
260- #: ../../c-api/code.rst:215
260+ #: ../../c-api/code.rst:217
261+ msgid "Code Object Flags"
262+ msgstr ""
263+
264+ #: ../../c-api/code.rst:219
265+ msgid ""
266+ "Code objects contain a bit-field of flags, which can be retrieved as the "
267+ ":attr:`~codeobject.co_flags` Python attribute (for example using "
268+ ":c:func:`PyObject_GetAttrString`), and set using a *flags* argument to "
269+ ":c:func:`PyUnstable_Code_New` and similar functions."
270+ msgstr ""
271+
272+ #: ../../c-api/code.rst:224
273+ msgid ""
274+ "Flags whose names start with ``CO_FUTURE_`` correspond to features normally "
275+ "selectable by :ref:`future statements <future>`. These flags can be used in "
276+ ":c:member:`PyCompilerFlags.cf_flags`. Note that many ``CO_FUTURE_`` flags "
277+ "are mandatory in current versions of Python, and setting them has no effect."
278+ msgstr ""
279+
280+ #: ../../c-api/code.rst:230
281+ msgid ""
282+ "The following flags are available. For their meaning, see the linked "
283+ "documentation of their Python equivalents."
284+ msgstr ""
285+
286+ #: ../../c-api/code.rst:238
287+ msgid "Flag"
288+ msgstr ""
289+
290+ #: ../../c-api/code.rst:239
291+ msgid "Meaning"
292+ msgstr ""
293+
294+ #: ../../c-api/code.rst:241
295+ msgid ":py:data:`inspect.CO_OPTIMIZED`"
296+ msgstr ""
297+
298+ #: ../../c-api/code.rst:243
299+ msgid ":py:data:`inspect.CO_NEWLOCALS`"
300+ msgstr ""
301+
302+ #: ../../c-api/code.rst:245
303+ msgid ":py:data:`inspect.CO_VARARGS`"
304+ msgstr ""
305+
306+ #: ../../c-api/code.rst:247
307+ msgid ":py:data:`inspect.CO_VARKEYWORDS`"
308+ msgstr ""
309+
310+ #: ../../c-api/code.rst:249
311+ msgid ":py:data:`inspect.CO_NESTED`"
312+ msgstr ""
313+
314+ #: ../../c-api/code.rst:251
315+ msgid ":py:data:`inspect.CO_GENERATOR`"
316+ msgstr ""
317+
318+ #: ../../c-api/code.rst:253
319+ msgid ":py:data:`inspect.CO_COROUTINE`"
320+ msgstr ""
321+
322+ #: ../../c-api/code.rst:255
323+ msgid ":py:data:`inspect.CO_ITERABLE_COROUTINE`"
324+ msgstr ""
325+
326+ #: ../../c-api/code.rst:257
327+ msgid ":py:data:`inspect.CO_ASYNC_GENERATOR`"
328+ msgstr ""
329+
330+ #: ../../c-api/code.rst:260
331+ msgid "no effect (:py:data:`__future__.division`)"
332+ msgstr ""
333+
334+ #: ../../c-api/code.rst:262
335+ msgid "no effect (:py:data:`__future__.absolute_import`)"
336+ msgstr ""
337+
338+ #: ../../c-api/code.rst:264
339+ msgid "no effect (:py:data:`__future__.with_statement`)"
340+ msgstr ""
341+
342+ #: ../../c-api/code.rst:266
343+ msgid "no effect (:py:data:`__future__.print_function`)"
344+ msgstr ""
345+
346+ #: ../../c-api/code.rst:268
347+ msgid "no effect (:py:data:`__future__.unicode_literals`)"
348+ msgstr ""
349+
350+ #: ../../c-api/code.rst:270
351+ msgid "no effect (:py:data:`__future__.generator_stop`)"
352+ msgstr ""
353+
354+ #: ../../c-api/code.rst:272
355+ msgid ":py:data:`__future__.annotations`"
356+ msgstr ""
357+
358+ #: ../../c-api/code.rst:276
261359msgid "Extra information"
262360msgstr ""
263361
264- #: ../../c-api/code.rst:217
362+ #: ../../c-api/code.rst:278
265363msgid ""
266364"To support low-level extensions to frame evaluation, such as external just-"
267365"in-time compilers, it is possible to attach arbitrary extra data to code "
268366"objects."
269367msgstr ""
270368
271- #: ../../c-api/code.rst:221
369+ #: ../../c-api/code.rst:282
272370msgid ""
273371"These functions are part of the unstable C API tier: this functionality is a"
274372" CPython implementation detail, and the API may change without deprecation "
275373"warnings."
276374msgstr ""
277375
278- #: ../../c-api/code.rst:227
376+ #: ../../c-api/code.rst:288
279377msgid ""
280378"Return a new an opaque index value used to adding data to code objects."
281379msgstr ""
282380
283- #: ../../c-api/code.rst:229
381+ #: ../../c-api/code.rst:290
284382msgid ""
285383"You generally call this function once (per interpreter) and use the result "
286384"with ``PyCode_GetExtra`` and ``PyCode_SetExtra`` to manipulate data on "
287385"individual code objects."
288386msgstr ""
289387
290- #: ../../c-api/code.rst:233
388+ #: ../../c-api/code.rst:294
291389msgid ""
292390"If *free* is not ``NULL``: when a code object is deallocated, *free* will be"
293391" called on non-``NULL`` data stored under the new index. Use "
294392":c:func:`Py_DecRef` when storing :c:type:`PyObject`."
295393msgstr ""
296394
297- #: ../../c-api/code.rst:239
395+ #: ../../c-api/code.rst:300
298396msgid "as ``_PyEval_RequestCodeExtraIndex``"
299397msgstr ""
300398
301- #: ../../c-api/code.rst:243
399+ #: ../../c-api/code.rst:304
302400msgid ""
303401"Renamed to ``PyUnstable_Eval_RequestCodeExtraIndex``. The old private name "
304402"is deprecated, but will be available until the API changes."
305403msgstr ""
306404
307- #: ../../c-api/code.rst:249
405+ #: ../../c-api/code.rst:310
308406msgid ""
309407"Set *extra* to the extra data stored under the given index. Return 0 on "
310408"success. Set an exception and return -1 on failure."
311409msgstr ""
312410
313- #: ../../c-api/code.rst:252
411+ #: ../../c-api/code.rst:313
314412msgid ""
315413"If no data was set under the index, set *extra* to ``NULL`` and return 0 "
316414"without setting an exception."
317415msgstr ""
318416
319- #: ../../c-api/code.rst:257
417+ #: ../../c-api/code.rst:318
320418msgid "as ``_PyCode_GetExtra``"
321419msgstr ""
322420
323- #: ../../c-api/code.rst:261
421+ #: ../../c-api/code.rst:322
324422msgid ""
325423"Renamed to ``PyUnstable_Code_GetExtra``. The old private name is deprecated,"
326424" but will be available until the API changes."
327425msgstr ""
328426
329- #: ../../c-api/code.rst:267
427+ #: ../../c-api/code.rst:328
330428msgid ""
331429"Set the extra data stored under the given index to *extra*. Return 0 on "
332430"success. Set an exception and return -1 on failure."
333431msgstr ""
334432
335- #: ../../c-api/code.rst:272
433+ #: ../../c-api/code.rst:333
336434msgid "as ``_PyCode_SetExtra``"
337435msgstr ""
338436
339- #: ../../c-api/code.rst:276
437+ #: ../../c-api/code.rst:337
340438msgid ""
341439"Renamed to ``PyUnstable_Code_SetExtra``. The old private name is deprecated,"
342440" but will be available until the API changes."
@@ -362,14 +460,14 @@ msgstr ""
362460msgid "PyCode_NewWithPosOnlyArgs (C function)"
363461msgstr ""
364462
365- #: ../../c-api/code.rst:237
463+ #: ../../c-api/code.rst:298
366464msgid "_PyEval_RequestCodeExtraIndex (C function)"
367465msgstr ""
368466
369- #: ../../c-api/code.rst:255
467+ #: ../../c-api/code.rst:316
370468msgid "_PyCode_GetExtra (C function)"
371469msgstr ""
372470
373- #: ../../c-api/code.rst:270
471+ #: ../../c-api/code.rst:331
374472msgid "_PyCode_SetExtra (C function)"
375473msgstr ""
0 commit comments