Skip to content

Commit 8b90efc

Browse files
author
GitHub Action's update-translation job
committed
Update translation from Transifex
1 parent 303d0e4 commit 8b90efc

38 files changed

Lines changed: 607 additions & 316 deletions

‎c-api/exceptions.po‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-07-03 15:50+0000\n"
14+
"POT-Creation-Date: 2026-07-19 14:48+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: Bhuvansh Kataria, 2026\n"
1717
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"
@@ -459,12 +459,14 @@ msgstr ""
459459

460460
msgid ""
461461
"Set *exc* as the exception currently being raised, clearing the existing "
462-
"exception if one is set."
462+
"exception if one is set. If *exc* is ``NULL``, just clear the existing "
463+
"exception."
463464
msgstr ""
464465

465-
msgid ""
466-
"This call \":term:`steals <steal>`\" a reference to *exc*, which must be a "
467-
"valid exception."
466+
msgid "*exc* must be a valid exception or ``NULL``."
467+
msgstr ""
468+
469+
msgid "This call \":term:`steals <steal>`\" a reference to *exc*."
468470
msgstr ""
469471

470472
msgid "Use :c:func:`PyErr_GetRaisedException` instead."

‎c-api/frame.po‎

Lines changed: 64 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
6+
# Translators:
7+
# Bhuvansh Kataria, 2026
8+
#
69
#, fuzzy
710
msgid ""
811
msgstr ""
912
"Project-Id-Version: Python 3.15\n"
1013
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2026-07-11 14:46+0000\n"
14+
"POT-Creation-Date: 2026-07-19 14:48+0000\n"
1215
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
16+
"Last-Translator: Bhuvansh Kataria, 2026\n"
1317
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"
1418
"teams/5390/pa/)\n"
1519
"MIME-Version: 1.0\n"
@@ -214,3 +218,62 @@ msgstr ""
214218
msgid ""
215219
"Return the currently executing line number, or -1 if there is no line number."
216220
msgstr ""
221+
222+
msgid ""
223+
"An array of executable kinds (executor types) for frames, used for internal "
224+
"debugging and tracing."
225+
msgstr ""
226+
227+
msgid ""
228+
"Tools like debuggers and profilers can use this to identify the type of "
229+
"execution context associated with a frame (such as to filter out internal "
230+
"frames). The entries are indexed by the following constants:"
231+
msgstr ""
232+
233+
msgid "Constant"
234+
msgstr ""
235+
236+
msgid "Description"
237+
msgstr "ਵੇਰਵਾ"
238+
239+
msgid ""
240+
"The frame is internal (For example: inlined) and should be skipped by tools."
241+
msgstr ""
242+
243+
msgid "The frame corresponds to a standard Python function."
244+
msgstr ""
245+
246+
msgid "The frame corresponds to a function defined in native code."
247+
msgstr ""
248+
249+
msgid "The frame corresponds to a method on a class instance."
250+
msgstr ""
251+
252+
msgid ""
253+
"However, Python's C API lacks a function to read the executable kind from a "
254+
"frame. Instead, use this recipe:"
255+
msgstr ""
256+
257+
msgid ""
258+
"int\n"
259+
"get_executable_kind(PyFrameObject *frame)\n"
260+
"{\n"
261+
" _PyInterpreterFrame *f = frame->f_frame;\n"
262+
" PyObject *exec = PyStackRef_AsPyObjectBorrow(f->f_executable);\n"
263+
"\n"
264+
" if (PyCode_Check(exec)) {\n"
265+
" return PyUnstable_EXECUTABLE_KIND_PY_FUNCTION;\n"
266+
" }\n"
267+
" if (PyMethod_Check(exec)) {\n"
268+
" return PyUnstable_EXECUTABLE_KIND_BUILTIN_FUNCTION;\n"
269+
" }\n"
270+
" if (Py_IS_TYPE(exec, &PyMethodDescr_Type)) {\n"
271+
" return PyUnstable_EXECUTABLE_KIND_METHOD_DESCRIPTOR;\n"
272+
" }\n"
273+
"\n"
274+
" return PyUnstable_EXECUTABLE_KIND_SKIP;\n"
275+
"}"
276+
msgstr ""
277+
278+
msgid "The number of entries in :c:data:`PyUnstable_ExecutableKinds`."
279+
msgstr ""

‎c-api/long.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-06-27 15:10+0000\n"
14+
"POT-Creation-Date: 2026-07-19 14:48+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: Bhuvansh Kataria, 2026\n"
1717
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"

‎c-api/object.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-06-27 15:10+0000\n"
14+
"POT-Creation-Date: 2026-07-19 14:48+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: Bhuvansh Kataria, 2026\n"
1717
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"

‎c-api/veryhigh.po‎

Lines changed: 120 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.15\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2026-07-11 14:46+0000\n"
11+
"POT-Creation-Date: 2026-07-19 14:48+0000\n"
1212
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1313
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"
1414
"teams/5390/pa/)\n"
@@ -336,13 +336,132 @@ msgid ""
336336
"mod:`!ast` Python module, which exports these constants under the same names."
337337
msgstr ""
338338

339+
msgid "Low-level flags"
340+
msgstr ""
341+
342+
msgid ""
343+
"The following flags and masks serve narrow needs of the standard library and "
344+
"interactive interpreters. Code outside the standard library rarely has a "
345+
"reason to use them. They are considered implementation details and may "
346+
"change at any time."
347+
msgstr ""
348+
349+
msgid ""
350+
"This flag is a private interface between the compiler and the :mod:`codeop` "
351+
"module. Do not use it; its behavior is unsupported and may change without "
352+
"warning."
353+
msgstr ""
354+
355+
msgid ""
356+
"With this flag set, when compilation fails because the source text ends "
357+
"where more input is expected, for example in the middle of an indented block "
358+
"or an unterminated string literal, the error raised is the undocumented "
359+
"``_IncompleteInputError``, a subclass of :exc:`SyntaxError`. The :mod:"
360+
"`codeop` module sets this flag, together with :c:macro:"
361+
"`PyCF_DONT_IMPLY_DEDENT`, to tell input that is incomplete apart from input "
362+
"with a real syntax error, so that interactive interpreters know when to "
363+
"prompt for another line instead of reporting an error."
364+
msgstr ""
365+
366+
msgid ""
367+
"By default, when compiling with the :c:var:`Py_single_input` start symbol, "
368+
"reaching the end of the source text implicitly closes any open indented "
369+
"blocks. With this flag set, open blocks are only closed if the last line of "
370+
"the source ends with a newline; otherwise, compilation fails with a :exc:"
371+
"`SyntaxError`:"
372+
msgstr ""
373+
374+
msgid ""
375+
"PyCompilerFlags flags = {\n"
376+
" .cf_flags = 0,\n"
377+
" .cf_feature_version = PY_MINOR_VERSION,\n"
378+
"};\n"
379+
"const char *source = \"if a:\\n pass\";\n"
380+
"\n"
381+
"/* The \"if\" block is closed implicitly;\n"
382+
" this returns a code object: */\n"
383+
"Py_CompileStringFlags(source, \"<input>\", Py_single_input, &flags);\n"
384+
"\n"
385+
"/* With the flag, this fails with a SyntaxError,\n"
386+
" because the last line does not end with a newline: */\n"
387+
"flags.cf_flags = PyCF_DONT_IMPLY_DEDENT;\n"
388+
"Py_CompileStringFlags(source, \"<input>\", Py_single_input, &flags);"
389+
msgstr ""
390+
391+
msgid ""
392+
"The :mod:`codeop` module uses this flag to detect incomplete interactive "
393+
"input. While the user is still typing inside an indented block, the source "
394+
"does not yet end with a newline, so it fails to compile and the user is "
395+
"prompted for another line."
396+
msgstr ""
397+
398+
msgid ""
399+
"Read the source text as UTF-8, ignoring its :pep:`263` encoding declaration "
400+
"(\"coding cookie\"), if any:"
401+
msgstr ""
402+
403+
msgid ""
404+
"PyCompilerFlags flags = {\n"
405+
" .cf_flags = 0,\n"
406+
" .cf_feature_version = PY_MINOR_VERSION,\n"
407+
"};\n"
408+
"const char *source = \"# coding: latin-1\\ns = '\\xe9'\\n\";\n"
409+
"\n"
410+
"/* The coding cookie is honored: byte 0xE9 is decoded as\n"
411+
" Latin-1, and this returns a code object that sets s to \"é\": */\n"
412+
"Py_CompileStringFlags(source, \"<input>\", Py_file_input, &flags);\n"
413+
"\n"
414+
"/* With the flag, the cookie is ignored and compilation fails\n"
415+
" with a SyntaxError, because 0xE9 is not valid UTF-8: */\n"
416+
"flags.cf_flags = PyCF_IGNORE_COOKIE;\n"
417+
"Py_CompileStringFlags(source, \"<input>\", Py_file_input, &flags);"
418+
msgstr ""
419+
420+
msgid ""
421+
"The :func:`compile`, :func:`eval` and :func:`exec` built-in functions set "
422+
"this flag when the source is a :class:`str` object, because they pass the "
423+
"text to the parser encoded as UTF-8."
424+
msgstr ""
425+
426+
msgid ""
427+
"Mark the source text as known to be UTF-8 encoded. The :func:`compile`, :"
428+
"func:`eval` and :func:`exec` built-in functions set this flag, but it "
429+
"currently has no effect."
430+
msgstr ""
431+
339432
msgid ""
340433
"The \"``PyCF``\" flags above can be combined with \"``CO_FUTURE``\" flags "
341434
"such as :c:macro:`CO_FUTURE_ANNOTATIONS` to enable features normally "
342435
"selectable using :ref:`future statements <future>`. See :ref:"
343436
"`c_codeobject_flags` for a complete list."
344437
msgstr ""
345438

439+
msgid "The following masks combine several flags:"
440+
msgstr ""
441+
442+
msgid ""
443+
"Bitmask of all ``CO_FUTURE`` flags (see :ref:`c_codeobject_flags`), which "
444+
"select features normally enabled by :ref:`future statements <future>`. When "
445+
"code compiled with a ``PyCompilerFlags *flags`` argument contains a ``from "
446+
"__future__ import`` statement, the flag for the imported feature is added to "
447+
"*flags*, so that code executed later in the same context inherits it."
448+
msgstr ""
449+
450+
msgid ""
451+
"Do not use this mask in new code. It is kept only so that old code passing "
452+
"its flags to :func:`compile` keeps working."
453+
msgstr ""
454+
455+
msgid ""
456+
"Bitmask of flags for obsolete future features that no longer have any effect."
457+
msgstr ""
458+
459+
msgid ""
460+
"Bitmask of all ``PyCF`` flags that change how the source is compiled, such "
461+
"as :c:macro:`PyCF_ONLY_AST`. The :func:`compile` built-in function uses this "
462+
"mask to validate its *flags* argument."
463+
msgstr ""
464+
346465
msgid "Available start symbols"
347466
msgstr ""
348467

‎deprecations/index.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-06-27 15:10+0000\n"
14+
"POT-Creation-Date: 2026-07-19 14:48+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: Bhuvansh Kataria, 2026\n"
1717
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"

‎deprecations/pending-removal-in-3.20.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-06-27 15:10+0000\n"
14+
"POT-Creation-Date: 2026-07-19 14:48+0000\n"
1515
"PO-Revision-Date: 2026-05-08 18:36+0000\n"
1616
"Last-Translator: Bhuvansh Kataria, 2026\n"
1717
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"

‎howto/abi3t-migration.po‎

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.15\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2026-07-15 15:21+0000\n"
11+
"POT-Creation-Date: 2026-07-19 14:48+0000\n"
1212
"PO-Revision-Date: 2026-06-03 18:21+0000\n"
1313
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"
1414
"teams/5390/pa/)\n"
@@ -23,17 +23,18 @@ msgstr ""
2323

2424
msgid ""
2525
"Starting with the 3.15 release, CPython supports a variant of the Stable ABI "
26-
"that supports :term:`free-threaded <free threading>` Python: Stable ABI for "
27-
"Free-Threaded Builds, or ``abi3t`` for short. This document describes how to "
28-
"adapt C API extensions to support free threading."
26+
"that supports :term:`free-threaded <free threading>` Python: the Stable ABI "
27+
"for Free-Threaded Builds, or ``abi3t`` for short. This document describes "
28+
"how to adapt C API extensions to support free threading."
2929
msgstr ""
3030

3131
msgid "Why do this"
3232
msgstr ""
3333

3434
msgid ""
35-
"The typical reason to use Stable ABI is to reduce the number of artifacts "
36-
"that you need to build and distribute for each version of your library."
35+
"The typical reason to use the Stable ABI is to reduce the number of "
36+
"artifacts that you need to build and distribute for each version of your "
37+
"library."
3738
msgstr ""
3839

3940
msgid ""
@@ -140,19 +141,20 @@ msgstr ""
140141
msgid "Why *not* do this"
141142
msgstr ""
142143

143-
msgid "There are two main downsides to Stable ABI."
144+
msgid "There are two main downsides to the Stable ABI."
144145
msgstr ""
145146

146147
msgid ""
147-
"First, you extension may become slower, since Stable ABI prioritizes "
148+
"First, your extension may become slower, since the Stable ABI prioritizes "
148149
"compatibility over performance. The difference is usually not noticeable, "
149150
"and often can be mitigated by using the same source to build both a Stable "
150151
"ABI build and a few version-specific ones for \"tier 1\" CPython versions."
151152
msgstr ""
152153

153154
msgid ""
154155
"Second, not all of the C API is available. Extensions need to be ported to "
155-
"build for Stable ABI, which may be difficult or, in rare cases, impossible."
156+
"build for the Stable ABI, which may be difficult or, in rare cases, "
157+
"impossible."
156158
msgstr ""
157159

158160
msgid ""
@@ -195,7 +197,7 @@ msgid ""
195197
msgstr ""
196198

197199
msgid ""
198-
"If your extenstion uses a code generator (like Cython) or language binding "
200+
"If your extension uses a code generator (like Cython) or language binding "
199201
"(like PyO3), it's best to wait until that tool has support for ``abi3t``. If "
200202
"you maintain such a tool, you might be able to adapt the instructions here "
201203
"for your tool."
@@ -205,9 +207,9 @@ msgid "Non-free-threaded Stable ABI"
205207
msgstr ""
206208

207209
msgid ""
208-
"Your extension should support the Stable ABI (``abi3t``). If not, either "
209-
"port it first, or follow this guide but be prepared to fix issues it does "
210-
"not mention."
210+
"Your extension should support the non-free-threaded Stable ABI (``abi3``). "
211+
"If not, either port it first, or follow this guide but be prepared to fix "
212+
"issues it does not mention."
211213
msgstr ""
212214

213215
msgid "Free-threading support"
@@ -263,7 +265,7 @@ msgid ""
263265
msgstr ""
264266

265267
msgid ""
266-
"This should result in a different error than \"``abt3t`` define is not set\"."
268+
"This should result in a different error than \"``abi3t`` define is not set\"."
267269
msgstr ""
268270

269271
msgid ""
@@ -871,7 +873,7 @@ msgstr ""
871873
msgid ""
872874
"Note that when you build an extension compatible with multiple versions of "
873875
"CPython, you should always *test* it with each version it supports (for "
874-
"example, 3.15, 3.16, and so on). Stable ABI only guarantees *ABI* "
876+
"example, 3.15, 3.16, and so on). The Stable ABI only guarantees *ABI* "
875877
"compatibility; there may also be behavior changes -- both intentional ones "
876878
"(covered by :pep:`387`) and bugs."
877879
msgstr ""

‎howto/curses.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-06-29 16:50+0000\n"
14+
"POT-Creation-Date: 2026-07-19 14:48+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: Bhuvansh Kataria, 2026\n"
1717
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"

0 commit comments

Comments
 (0)