11# SOME DESCRIPTIVE TITLE.
2- # Copyright (C) 2001-2025 , Python Software Foundation
2+ # Copyright (C) 2001-2026 , Python Software Foundation
33# This file is distributed under the same license as the Python package.
44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
@@ -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-01-03 14:16 +0000\n "
14+ "POT-Creation-Date : 2026-03-01 15:05 +0000\n "
1515"PO-Revision-Date : 2025-09-15 01:03+0000\n "
1616"Last-Translator : python-doc bot, 2025\n "
1717"Language-Team : Russian (https://app.transifex.com/python-doc/teams/5390/ru/)\n "
@@ -62,96 +62,103 @@ msgid ""
6262msgstr ""
6363
6464#: ../../c-api/frame.rst:34
65+ msgid ""
66+ "Create a new frame object. This function returns a :term:`strong reference` "
67+ "to the new frame object on success, and returns ``NULL`` with an exception "
68+ "set on failure."
69+ msgstr ""
70+
71+ #: ../../c-api/frame.rst:40
6572msgid "Return non-zero if *obj* is a frame object."
6673msgstr ""
6774
68- #: ../../c-api/frame.rst:38
75+ #: ../../c-api/frame.rst:44
6976msgid ""
7077"Previously, this function was only available after including "
7178"``<frameobject.h>``."
7279msgstr ""
7380
74- #: ../../c-api/frame.rst:43
81+ #: ../../c-api/frame.rst:49
7582msgid "Get the *frame* next outer frame."
7683msgstr ""
7784
78- #: ../../c-api/frame.rst:45
85+ #: ../../c-api/frame.rst:51
7986msgid ""
8087"Return a :term:`strong reference`, or ``NULL`` if *frame* has no outer "
81- "frame."
88+ "frame. This raises no exceptions. "
8289msgstr ""
8390
84- #: ../../c-api/frame.rst:53
91+ #: ../../c-api/frame.rst:60
8592msgid "Get the *frame*'s :attr:`~frame.f_builtins` attribute."
8693msgstr ""
8794
88- #: ../../c-api/frame.rst:55 ../../c-api/frame.rst:86
95+ #: ../../c-api/frame.rst:62 ../../c-api/frame.rst:93
8996msgid "Return a :term:`strong reference`. The result cannot be ``NULL``."
9097msgstr ""
9198
92- #: ../../c-api/frame.rst:62
99+ #: ../../c-api/frame.rst:69
93100msgid "Get the *frame* code."
94101msgstr ""
95102
96- #: ../../c-api/frame.rst:64 ../../c-api/frame.rst:130
103+ #: ../../c-api/frame.rst:71 ../../c-api/frame.rst:137
97104msgid "Return a :term:`strong reference`."
98105msgstr ""
99106
100- #: ../../c-api/frame.rst:66
107+ #: ../../c-api/frame.rst:73
101108msgid "The result (frame code) cannot be ``NULL``."
102109msgstr ""
103110
104- #: ../../c-api/frame.rst:73
111+ #: ../../c-api/frame.rst:80
105112msgid ""
106113"Get the generator, coroutine, or async generator that owns this frame, or "
107114"``NULL`` if this frame is not owned by a generator. Does not raise an "
108115"exception, even if the return value is ``NULL``."
109116msgstr ""
110117
111- #: ../../c-api/frame.rst:77
118+ #: ../../c-api/frame.rst:84
112119msgid "Return a :term:`strong reference`, or ``NULL``."
113120msgstr ""
114121
115- #: ../../c-api/frame.rst:84
122+ #: ../../c-api/frame.rst:91
116123msgid "Get the *frame*'s :attr:`~frame.f_globals` attribute."
117124msgstr ""
118125
119- #: ../../c-api/frame.rst:93
126+ #: ../../c-api/frame.rst:100
120127msgid "Get the *frame*'s :attr:`~frame.f_lasti` attribute."
121128msgstr ""
122129
123- #: ../../c-api/frame.rst:95
130+ #: ../../c-api/frame.rst:102
124131msgid "Returns -1 if ``frame.f_lasti`` is ``None``."
125132msgstr ""
126133
127- #: ../../c-api/frame.rst:102
134+ #: ../../c-api/frame.rst:109
128135msgid "Get the variable *name* of *frame*."
129136msgstr ""
130137
131- #: ../../c-api/frame.rst:104
138+ #: ../../c-api/frame.rst:111
132139msgid "Return a :term:`strong reference` to the variable value on success."
133140msgstr ""
134141
135- #: ../../c-api/frame.rst:105
142+ #: ../../c-api/frame.rst:112
136143msgid ""
137144"Raise :exc:`NameError` and return ``NULL`` if the variable does not exist."
138145msgstr ""
139146
140- #: ../../c-api/frame.rst:106
147+ #: ../../c-api/frame.rst:113
141148msgid "Raise an exception and return ``NULL`` on error."
142149msgstr ""
143150
144- #: ../../c-api/frame.rst:108
151+ #: ../../c-api/frame.rst:115
145152msgid "*name* type must be a :class:`str`."
146153msgstr ""
147154
148- #: ../../c-api/frame.rst:115
155+ #: ../../c-api/frame.rst:122
149156msgid ""
150157"Similar to :c:func:`PyFrame_GetVar`, but the variable name is a C string "
151158"encoded in UTF-8."
152159msgstr ""
153160
154- #: ../../c-api/frame.rst:123
161+ #: ../../c-api/frame.rst:130
155162msgid ""
156163"Get the *frame*'s :attr:`~frame.f_locals` attribute. If the frame refers to "
157164"an :term:`optimized scope`, this returns a write-through proxy object that "
@@ -160,21 +167,21 @@ msgid ""
160167"locals directly (as described for :func:`locals`)."
161168msgstr ""
162169
163- #: ../../c-api/frame.rst:134
170+ #: ../../c-api/frame.rst:141
164171msgid ""
165172"As part of :pep:`667`, return an instance of "
166173":c:var:`PyFrameLocalsProxy_Type`."
167174msgstr ""
168175
169- #: ../../c-api/frame.rst:140
176+ #: ../../c-api/frame.rst:147
170177msgid "Return the line number that *frame* is currently executing."
171178msgstr ""
172179
173- #: ../../c-api/frame.rst:144
180+ #: ../../c-api/frame.rst:151
174181msgid "Frame Locals Proxies"
175182msgstr ""
176183
177- #: ../../c-api/frame.rst:148
184+ #: ../../c-api/frame.rst:155
178185msgid ""
179186"The :attr:`~frame.f_locals` attribute on a :ref:`frame object <frame-"
180187"objects>` is an instance of a \" frame-locals proxy\" . The proxy object "
@@ -183,39 +190,87 @@ msgid ""
183190" to date with the live local variables in the frame itself."
184191msgstr ""
185192
186- #: ../../c-api/frame.rst:154
193+ #: ../../c-api/frame.rst:161
187194msgid "See :pep:`667` for more information."
188195msgstr ""
189196
190- #: ../../c-api/frame.rst:158
197+ #: ../../c-api/frame.rst:165
191198msgid "The type of frame :func:`locals` proxy objects."
192199msgstr ""
193200
194- #: ../../c-api/frame.rst:162
201+ #: ../../c-api/frame.rst:169
195202msgid "Return non-zero if *obj* is a frame :func:`locals` proxy."
196203msgstr ""
197204
198- #: ../../c-api/frame.rst:165
205+ #: ../../c-api/frame.rst:173
206+ msgid "Legacy Local Variable APIs"
207+ msgstr ""
208+
209+ #: ../../c-api/frame.rst:175
210+ msgid ""
211+ "These APIs are :term:`soft deprecated`. As of Python 3.13, they do nothing. "
212+ "They exist solely for backwards compatibility."
213+ msgstr ""
214+
215+ #: ../../c-api/frame.rst:181 ../../c-api/frame.rst:195
216+ #: ../../c-api/frame.rst:208
217+ msgid "This function is :term:`soft deprecated` and does nothing."
218+ msgstr ""
219+
220+ #: ../../c-api/frame.rst:183
221+ msgid ""
222+ "Prior to Python 3.13, this function would copy the :attr:`~frame.f_locals` "
223+ "attribute of *f* to the internal \" fast\" array of local variables, allowing"
224+ " changes in frame objects to be visible to the interpreter. If *clear* was "
225+ "true, this function would process variables that were unset in the locals "
226+ "dictionary."
227+ msgstr ""
228+
229+ #: ../../c-api/frame.rst:189 ../../c-api/frame.rst:202
230+ #: ../../c-api/frame.rst:214
231+ msgid "This function now does nothing."
232+ msgstr ""
233+
234+ #: ../../c-api/frame.rst:197
235+ msgid ""
236+ "Prior to Python 3.13, this function would copy the internal \" fast\" array "
237+ "of local variables (which is used by the interpreter) to the "
238+ ":attr:`~frame.f_locals` attribute of *f*, allowing changes in local "
239+ "variables to be visible to frame objects."
240+ msgstr ""
241+
242+ #: ../../c-api/frame.rst:210
243+ msgid ""
244+ "Prior to Python 3.13, this function was similar to "
245+ ":c:func:`PyFrame_FastToLocals`, but would return ``0`` on success, and "
246+ "``-1`` with an exception set on failure."
247+ msgstr ""
248+
249+ #: ../../c-api/frame.rst:219
250+ msgid ":pep:`667`"
251+ msgstr ""
252+
253+ #: ../../c-api/frame.rst:223
199254msgid "Internal Frames"
200255msgstr ""
201256
202- #: ../../c-api/frame.rst:167
257+ #: ../../c-api/frame.rst:225
203258msgid "Unless using :pep:`523`, you will not need this."
204259msgstr ""
205260
206- #: ../../c-api/frame.rst:171
261+ #: ../../c-api/frame.rst:229
207262msgid "The interpreter's internal frame representation."
208263msgstr ""
209264
210- #: ../../c-api/frame.rst:177
265+ #: ../../c-api/frame.rst:235
211266msgid "Return a :term:`strong reference` to the code object for the frame."
212267msgstr ""
213268
214- #: ../../c-api/frame.rst:184
269+ #: ../../c-api/frame.rst:242
215270msgid "Return the byte offset into the last executed instruction."
216271msgstr ""
217272
218- #: ../../c-api/frame.rst:191
273+ #: ../../c-api/frame.rst:249
219274msgid ""
220275"Return the currently executing line number, or -1 if there is no line "
221276"number."
0 commit comments