11# SOME DESCRIPTIVE TITLE.
2- # Copyright (C) 2001-2023, Python Software Foundation
2+ # Copyright (C) 2001 Python Software Foundation
33# This file is distributed under the same license as the Python package.
44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
66# Translators:
7- # Transifex Bot <>, 2023
7+ # python-doc bot, 2026
88#
99#, fuzzy
1010msgid ""
1111msgstr ""
12- "Project-Id-Version : Python 3.11 \n "
12+ "Project-Id-Version : Python 3.15 \n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2023-05 -19 14:13 +0000\n "
15- "PO-Revision-Date : 2022-11-05 19:48 +0000\n "
16- "Last-Translator : Transifex Bot <>, 2023 \n "
14+ "POT-Creation-Date : 2026-07 -19 14:48 +0000\n "
15+ "PO-Revision-Date : 2025-09-16 00:00 +0000\n "
16+ "Last-Translator : python-doc bot, 2026 \n "
1717"Language-Team : Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n "
1818"MIME-Version : 1.0\n "
1919"Content-Type : text/plain; charset=UTF-8\n "
@@ -23,7 +23,7 @@ msgstr ""
2323"(n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && "
2424"n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n "
2525
26- msgid "Frame Objects "
26+ msgid "Frame objects "
2727msgstr ""
2828
2929msgid "The C structure of the objects used to describe frame objects."
@@ -54,6 +54,12 @@ msgid ""
5454"Previously, this type was only available after including ``<frameobject.h>``."
5555msgstr ""
5656
57+ msgid ""
58+ "Create a new frame object. This function returns a :term:`strong reference` "
59+ "to the new frame object on success, and returns ``NULL`` with an exception "
60+ "set on failure."
61+ msgstr ""
62+
5763msgid "Return non-zero if *obj* is a frame object."
5864msgstr ""
5965
@@ -66,10 +72,11 @@ msgid "Get the *frame* next outer frame."
6672msgstr ""
6773
6874msgid ""
69- "Return a :term:`strong reference`, or ``NULL`` if *frame* has no outer frame."
75+ "Return a :term:`strong reference`, or ``NULL`` if *frame* has no outer "
76+ "frame. This raises no exceptions."
7077msgstr ""
7178
72- msgid "Get the *frame*'s `` f_builtins` ` attribute."
79+ msgid "Get the *frame*'s :attr:`~frame. f_builtins` attribute."
7380msgstr ""
7481
7582msgid "Return a :term:`strong reference`. The result cannot be ``NULL``."
@@ -93,17 +100,181 @@ msgstr ""
93100msgid "Return a :term:`strong reference`, or ``NULL``."
94101msgstr ""
95102
96- msgid "Get the *frame*'s `` f_globals` ` attribute."
103+ msgid "Get the *frame*'s :attr:`~frame. f_globals` attribute."
97104msgstr ""
98105
99- msgid "Get the *frame*'s `` f_lasti` ` attribute."
106+ msgid "Get the *frame*'s :attr:`~frame. f_lasti` attribute."
100107msgstr ""
101108
102109msgid "Returns -1 if ``frame.f_lasti`` is ``None``."
103110msgstr ""
104111
105- msgid "Get the *frame*'s ``f_locals`` attribute (:class:`dict`)."
112+ msgid "Get the variable *name* of *frame*."
113+ msgstr ""
114+
115+ msgid "Return a :term:`strong reference` to the variable value on success."
116+ msgstr ""
117+
118+ msgid ""
119+ "Raise :exc:`NameError` and return ``NULL`` if the variable does not exist."
120+ msgstr ""
121+
122+ msgid "Raise an exception and return ``NULL`` on error."
123+ msgstr ""
124+
125+ msgid "*name* type must be a :class:`str`."
126+ msgstr ""
127+
128+ msgid ""
129+ "Similar to :c:func:`PyFrame_GetVar`, but the variable name is a C string "
130+ "encoded in UTF-8."
131+ msgstr ""
132+
133+ msgid ""
134+ "Get the *frame*'s :attr:`~frame.f_locals` attribute. If the frame refers to "
135+ "an :term:`optimized scope`, this returns a write-through proxy object that "
136+ "allows modifying the locals. In all other cases (classes, modules, :func:"
137+ "`exec`, :func:`eval`) it returns the mapping representing the frame locals "
138+ "directly (as described for :func:`locals`)."
139+ msgstr ""
140+
141+ msgid ""
142+ "As part of :pep:`667`, return an instance of :c:var:"
143+ "`PyFrameLocalsProxy_Type`."
106144msgstr ""
107145
108146msgid "Return the line number that *frame* is currently executing."
109147msgstr ""
148+
149+ msgid "Frame locals proxies"
150+ msgstr ""
151+
152+ msgid ""
153+ "The :attr:`~frame.f_locals` attribute on a :ref:`frame object <frame-"
154+ "objects>` is an instance of a \" frame-locals proxy\" . The proxy object "
155+ "exposes a write-through view of the underlying locals dictionary for the "
156+ "frame. This ensures that the variables exposed by ``f_locals`` are always up "
157+ "to date with the live local variables in the frame itself."
158+ msgstr ""
159+
160+ msgid "See :pep:`667` for more information."
161+ msgstr ""
162+
163+ msgid "The type of frame :func:`locals` proxy objects."
164+ msgstr ""
165+
166+ msgid "Return non-zero if *obj* is a frame :func:`locals` proxy."
167+ msgstr ""
168+
169+ msgid "Legacy local variable APIs"
170+ msgstr ""
171+
172+ msgid ""
173+ "These APIs are :term:`soft deprecated`. As of Python 3.13, they do nothing. "
174+ "They exist solely for backwards compatibility."
175+ msgstr ""
176+
177+ msgid ""
178+ "Prior to Python 3.13, this function would copy the :attr:`~frame.f_locals` "
179+ "attribute of *f* to the internal \" fast\" array of local variables, allowing "
180+ "changes in frame objects to be visible to the interpreter. If *clear* was "
181+ "true, this function would process variables that were unset in the locals "
182+ "dictionary."
183+ msgstr ""
184+
185+ msgid "This function now does nothing."
186+ msgstr ""
187+
188+ msgid ""
189+ "Prior to Python 3.13, this function would copy the internal \" fast\" array "
190+ "of local variables (which is used by the interpreter) to the :attr:`~frame."
191+ "f_locals` attribute of *f*, allowing changes in local variables to be "
192+ "visible to frame objects."
193+ msgstr ""
194+
195+ msgid ""
196+ "Prior to Python 3.13, this function was similar to :c:func:"
197+ "`PyFrame_FastToLocals`, but would return ``0`` on success, and ``-1`` with "
198+ "an exception set on failure."
199+ msgstr ""
200+
201+ msgid ":pep:`667`"
202+ msgstr ""
203+
204+ msgid "Internal frames"
205+ msgstr ""
206+
207+ msgid "Unless using :pep:`523`, you will not need this."
208+ msgstr ""
209+
210+ msgid "The interpreter's internal frame representation."
211+ msgstr ""
212+
213+ msgid "Return a :term:`strong reference` to the code object for the frame."
214+ msgstr ""
215+
216+ msgid "Return the byte offset into the last executed instruction."
217+ msgstr ""
218+
219+ msgid ""
220+ "Return the currently executing line number, or -1 if there is no line number."
221+ msgstr ""
222+
223+ msgid ""
224+ "An array of executable kinds (executor types) for frames, used for internal "
225+ "debugging and tracing."
226+ msgstr ""
227+
228+ msgid ""
229+ "Tools like debuggers and profilers can use this to identify the type of "
230+ "execution context associated with a frame (such as to filter out internal "
231+ "frames). The entries are indexed by the following constants:"
232+ msgstr ""
233+
234+ msgid "Constant"
235+ msgstr "Stała"
236+
237+ msgid "Description"
238+ msgstr "Opis"
239+
240+ msgid ""
241+ "The frame is internal (For example: inlined) and should be skipped by tools."
242+ msgstr ""
243+
244+ msgid "The frame corresponds to a standard Python function."
245+ msgstr ""
246+
247+ msgid "The frame corresponds to a function defined in native code."
248+ msgstr ""
249+
250+ msgid "The frame corresponds to a method on a class instance."
251+ msgstr ""
252+
253+ msgid ""
254+ "However, Python's C API lacks a function to read the executable kind from a "
255+ "frame. Instead, use this recipe:"
256+ msgstr ""
257+
258+ msgid ""
259+ "int\n"
260+ "get_executable_kind(PyFrameObject *frame)\n"
261+ "{\n"
262+ " _PyInterpreterFrame *f = frame->f_frame;\n"
263+ " PyObject *exec = PyStackRef_AsPyObjectBorrow(f->f_executable);\n"
264+ "\n"
265+ " if (PyCode_Check(exec)) {\n"
266+ " return PyUnstable_EXECUTABLE_KIND_PY_FUNCTION;\n"
267+ " }\n"
268+ " if (PyMethod_Check(exec)) {\n"
269+ " return PyUnstable_EXECUTABLE_KIND_BUILTIN_FUNCTION;\n"
270+ " }\n"
271+ " if (Py_IS_TYPE(exec, &PyMethodDescr_Type)) {\n"
272+ " return PyUnstable_EXECUTABLE_KIND_METHOD_DESCRIPTOR;\n"
273+ " }\n"
274+ "\n"
275+ " return PyUnstable_EXECUTABLE_KIND_SKIP;\n"
276+ "}"
277+ msgstr ""
278+
279+ msgid "The number of entries in :c:data:`PyUnstable_ExecutableKinds`."
280+ msgstr ""
0 commit comments