FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update translation from Transifex · python/python-docs-pl@6e8ff66 · GitHub

Repository navigation

Commit 6e8ff66

Browse files
GitHub Action's update-translation job
committed
Update translation from Transifex
1 parent 9da0839 commit 6e8ff66

3 files changed

Lines changed: 135 additions & 28 deletions

File tree

‎c-api/init_config.po‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-06-02 01:05+0000\n"
14+
"POT-Creation-Date: 2026-06-17 17:43+0000\n"
1515
"PO-Revision-Date: 2026-05-08 17:16+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2026\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -792,6 +792,11 @@ msgid ""
792792
"arguments ``name``, ``value``."
793793
msgstr ""
794794

795+
msgid ""
796+
"The function now replaces :data:`sys.flags` (create a new object), instead "
797+
"of modifying :data:`sys.flags` in-place."
798+
msgstr ""
799+
795800
msgid "PyConfig C API"
796801
msgstr ""
797802

‎reference/expressions.po‎

Lines changed: 101 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-06-02 01:05+0000\n"
14+
"POT-Creation-Date: 2026-06-17 17:43+0000\n"
1515
"PO-Revision-Date: 2026-05-08 17:18+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2026\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -540,46 +540,124 @@ msgstr ""
540540
msgid "Generator expressions"
541541
msgstr ""
542542

543-
msgid "A generator expression is a compact generator notation in parentheses:"
543+
msgid ""
544+
"The syntax for :dfn:`generator expressions` is the same as for list :ref:"
545+
"`comprehensions <comprehensions>`, except that they are enclosed in "
546+
"parentheses instead of brackets. For example::"
544547
msgstr ""
545548

546549
msgid ""
547-
"A generator expression yields a new generator object. Its syntax is the "
548-
"same as for comprehensions, except that it is enclosed in parentheses "
549-
"instead of brackets or curly braces."
550+
">>> iterator = (x ** 2 for x in range(10))\n"
551+
">>> iterator\n"
552+
"<generator object <genexpr> at ...>"
550553
msgstr ""
551554

552555
msgid ""
553-
"Variables used in the generator expression are evaluated lazily when the :"
554-
"meth:`~generator.__next__` method is called for the generator object (in the "
555-
"same fashion as normal generators). However, the iterable expression in the "
556-
"leftmost :keyword:`!for` clause is immediately evaluated, and the :term:"
557-
"`iterator` is immediately created for that iterable, so that an error "
558-
"produced while creating the iterator will be emitted at the point where the "
559-
"generator expression is defined, rather than at the point where the first "
560-
"value is retrieved. Subsequent :keyword:`!for` clauses and any filter "
561-
"condition in the leftmost :keyword:`!for` clause cannot be evaluated in the "
562-
"enclosing scope as they may depend on the values obtained from the leftmost "
563-
"iterable. For example: ``(x*y for x in range(10) for y in range(x, x+10))``."
556+
"At runtime, a generator expression evaluates to a :term:`generator iterator` "
557+
"which yields the same values as the corresponding list comprehension::"
558+
msgstr ""
559+
560+
msgid ""
561+
">>> list(iterator)\n"
562+
"[0, 1, 4, 9, 16, 25, 36, 49, 64, 81]"
563+
msgstr ""
564+
565+
msgid ""
566+
"Thus, the example above is roughly equivalent to defining and calling the "
567+
"following generator function::"
568+
msgstr ""
569+
570+
msgid ""
571+
"def make_generator_of_squares(iterator):\n"
572+
" for x in iterator:\n"
573+
" yield x ** 2\n"
574+
"\n"
575+
"make_generator_of_squares(iter(range(10)))"
576+
msgstr ""
577+
578+
msgid ""
579+
"The enclosing parentheses can be omitted in calls when the generator "
580+
"expression is the only positional argument and there are no keyword "
581+
"arguments. See the :ref:`Calls section <calls>` for details. For example::"
582+
msgstr ""
583+
584+
msgid ""
585+
"# The parentheses after `sum` are part of the call syntax:\n"
586+
">>> sum(x ** 2 for x in range(10))\n"
587+
"285\n"
588+
"\n"
589+
"# The generator needs its own parentheses if it's not the only argument:\n"
590+
">>> sum((x ** 2 for x in range(10)), start=1000)\n"
591+
"1285"
592+
msgstr ""
593+
594+
msgid ""
595+
"The iterable expression in the leftmost :keyword:`!for` clause is evaluated "
596+
"immediately, so that an error raised by this expression will be emitted at "
597+
"the point where the generator expression is defined, rather than at the "
598+
"point where the first value is retrieved::"
599+
msgstr ""
600+
601+
msgid ""
602+
">>> (x ** 2 for x in nonexistent_iterable)\n"
603+
"Traceback (most recent call last):\n"
604+
" ...\n"
605+
"NameError: name 'nonexistent_iterable' is not defined"
606+
msgstr ""
607+
608+
msgid ""
609+
"After the expression is evaluated, an iterator is created from the result, "
610+
"as if :py:func:`iter` was called on it. Any error raised when creating the "
611+
"iterator is also emitted immediately::"
612+
msgstr ""
613+
614+
msgid ""
615+
">>> (x ** 2 for x in None)\n"
616+
"Traceback (most recent call last):\n"
617+
" ...\n"
618+
"TypeError: 'NoneType' object is not iterable"
564619
msgstr ""
565620

566621
msgid ""
567-
"The parentheses can be omitted on calls with only one argument. See "
568-
"section :ref:`calls` for details."
622+
"All other expressions are evaluated lazily, in the same fashion as normal "
623+
"generators (that is, when the iterator is asked to yield a value)::"
624+
msgstr ""
625+
626+
msgid ""
627+
">>> iterator = (nonexistent_value for x in range(10))\n"
628+
">>> iterator\n"
629+
"<generator object <genexpr> at ...>\n"
630+
">>> list(iterator)\n"
631+
"Traceback (most recent call last):\n"
632+
" ...\n"
633+
"NameError: name 'nonexistent_value' is not defined"
634+
msgstr ""
635+
636+
msgid ""
637+
">>> iterator = (x * y for x in range(10) for y in nonexistent_iterable)\n"
638+
">>> iterator\n"
639+
"<generator object <genexpr> at ...>\n"
640+
">>> list(iterator)\n"
641+
"Traceback (most recent call last):\n"
642+
" ...\n"
643+
"NameError: name 'nonexistent_iterable' is not defined"
569644
msgstr ""
570645

571646
msgid ""
572647
"To avoid interfering with the expected operation of the generator expression "
573-
"itself, ``yield`` and ``yield from`` expressions are prohibited in the "
574-
"implicitly defined generator."
648+
"itself, ``yield`` and ``yield from`` expressions are prohibited inside the "
649+
"implicitly nested scope."
575650
msgstr ""
576651

577652
msgid ""
578653
"If a generator expression contains either :keyword:`!async for` clauses or :"
579654
"keyword:`await` expressions it is called an :dfn:`asynchronous generator "
580-
"expression`. An asynchronous generator expression returns a new "
581-
"asynchronous generator object, which is an asynchronous iterator (see :ref:"
582-
"`async-iterators`)."
655+
"expression`. An asynchronous generator expression returns a new asynchronous "
656+
"generator object, which is an asynchronous iterator (see :ref:`async-"
657+
"iterators`)."
658+
msgstr ""
659+
660+
msgid "The formal grammar for generator expressions is:"
583661
msgstr ""
584662

585663
msgid "Asynchronous generator expressions were introduced."

‎whatsnew/changelog.po‎

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-06-15 19:16+0000\n"
14+
"POT-Creation-Date: 2026-06-17 17:43+0000\n"
1515
"PO-Revision-Date: 2026-05-08 17:19+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2026\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -98,6 +98,12 @@ msgid ""
9898
"Patch by Victor Stinner."
9999
msgstr ""
100100

101+
msgid ""
102+
":gh:`120665`: Fixed an issue where ``unittest`` loaders would load and "
103+
"instantiate :class:`unittest.TestCase`-derived subclasses that are also "
104+
"abstract base classes, which can't be instantiated."
105+
msgstr ""
106+
101107
msgid ""
102108
":gh:`101267`: When a worker process terminates unexpectedly, :class:"
103109
"`concurrent.futures.ProcessPoolExecutor` now sets a separate :exc:"
@@ -111,12 +117,24 @@ msgstr ""
111117
msgid "Core and Builtins"
112118
msgstr "Core i builtiny"
113119

120+
msgid ""
121+
":gh:`151546`: Fix the stack limit check if Python is linked to musl (ex: "
122+
"Alpine Linux). Use the stack size set by the linker to compute the stack "
123+
"limits. Patch by Victor Stinner."
124+
msgstr ""
125+
114126
msgid ""
115127
":gh:`151461`: Fix direct execution of files with invalid source encodings to "
116128
"report the underlying codec lookup or decoding error instead of the generic "
117129
"``SyntaxError: encoding problem`` message. Patch by Bartosz Sławecki."
118130
msgstr ""
119131

132+
msgid ""
133+
":gh:`151218`: :c:func:`PyConfig_Set` and :func:`sys.set_int_max_str_digits` "
134+
"now replace :data:`sys.flags` (create a new object), instead of modifying :"
135+
"data:`sys.flags` in-place. Patch by Victor Stinner."
136+
msgstr ""
137+
120138
msgid ""
121139
":gh:`151253`: If ``import encodings`` (first import) fails at Python "
122140
"startup, dump the Python path configuration to help users debugging their "
@@ -147,6 +165,15 @@ msgid ""
147165
"is_tracked` is false. Patch by Victor Stinner."
148166
msgstr ""
149167

168+
msgid "Build"
169+
msgstr "Build"
170+
171+
msgid ""
172+
":gh:`148260`: On Linux when Python is linked to the musl C library, use a "
173+
"thread stack size of at least 1 MiB instead of musl default which is 128 "
174+
"kiB. Patch by Victor Stinner."
175+
msgstr ""
176+
150177
msgid "Python 3.14.6 final"
151178
msgstr ""
152179

@@ -512,9 +539,6 @@ msgid ""
512539
"tests if it's not supported. Patch by Victor Stinner."
513540
msgstr ""
514541

515-
msgid "Build"
516-
msgstr "Build"
517-
518542
msgid ""
519543
":gh:`148294`: Corrected the use of ``AC_PATH_TOOL`` in ``configure.ac`` to "
520544
"allow a C++ compiler to be found on :envvar:`!PATH`."

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL