| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9da0839 commit 6e8ff66
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.14\n" | |
| 13 | 13 | "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" | ||
| 15 | 15 | "PO-Revision-Date: 2026-05-08 17:16+0000\n" | |
| 16 | 16 | "Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2026\n" | |
| 17 | 17 | "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" | |
@@ -792,6 +792,11 @@ msgid "" | |||
| 792 | 792 | "arguments ``name``, ``value``." | |
| 793 | 793 | msgstr "" | |
| 794 | 794 | ||
| 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 | + | ||
| 795 | 800 | msgid "PyConfig C API" | |
| 796 | 801 | msgstr "" | |
| 797 | 802 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.14\n" | |
| 13 | 13 | "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" | ||
| 15 | 15 | "PO-Revision-Date: 2026-05-08 17:18+0000\n" | |
| 16 | 16 | "Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2026\n" | |
| 17 | 17 | "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" | |
@@ -540,46 +540,124 @@ msgstr "" | |||
| 540 | 540 | msgid "Generator expressions" | |
| 541 | 541 | msgstr "" | |
| 542 | 542 | ||
| 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::" | ||
| 544 | 547 | msgstr "" | |
| 545 | 548 | ||
| 546 | 549 | 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 ...>" | ||
| 550 | 553 | msgstr "" | |
| 551 | 554 | ||
| 552 | 555 | 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" | ||
| 564 | 619 | msgstr "" | |
| 565 | 620 | ||
| 566 | 621 | 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" | ||
| 569 | 644 | msgstr "" | |
| 570 | 645 | ||
| 571 | 646 | msgid "" | |
| 572 | 647 | "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." | ||
| 575 | 650 | msgstr "" | |
| 576 | 651 | ||
| 577 | 652 | msgid "" | |
| 578 | 653 | "If a generator expression contains either :keyword:`!async for` clauses or :" | |
| 579 | 654 | "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:" | ||
| 583 | 661 | msgstr "" | |
| 584 | 662 | ||
| 585 | 663 | msgid "Asynchronous generator expressions were introduced." | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.14\n" | |
| 13 | 13 | "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" | ||
| 15 | 15 | "PO-Revision-Date: 2026-05-08 17:19+0000\n" | |
| 16 | 16 | "Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2026\n" | |
| 17 | 17 | "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" | |
@@ -98,6 +98,12 @@ msgid "" | |||
| 98 | 98 | "Patch by Victor Stinner." | |
| 99 | 99 | msgstr "" | |
| 100 | 100 | ||
| 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 | + | ||
| 101 | 107 | msgid "" | |
| 102 | 108 | ":gh:`101267`: When a worker process terminates unexpectedly, :class:" | |
| 103 | 109 | "`concurrent.futures.ProcessPoolExecutor` now sets a separate :exc:" | |
@@ -111,12 +117,24 @@ msgstr "" | |||
| 111 | 117 | msgid "Core and Builtins" | |
| 112 | 118 | msgstr "Core i builtiny" | |
| 113 | 119 | ||
| 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 | + | ||
| 114 | 126 | msgid "" | |
| 115 | 127 | ":gh:`151461`: Fix direct execution of files with invalid source encodings to " | |
| 116 | 128 | "report the underlying codec lookup or decoding error instead of the generic " | |
| 117 | 129 | "``SyntaxError: encoding problem`` message. Patch by Bartosz Sławecki." | |
| 118 | 130 | msgstr "" | |
| 119 | 131 | ||
| 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 | + | ||
| 120 | 138 | msgid "" | |
| 121 | 139 | ":gh:`151253`: If ``import encodings`` (first import) fails at Python " | |
| 122 | 140 | "startup, dump the Python path configuration to help users debugging their " | |
@@ -147,6 +165,15 @@ msgid "" | |||
| 147 | 165 | "is_tracked` is false. Patch by Victor Stinner." | |
| 148 | 166 | msgstr "" | |
| 149 | 167 | ||
| 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 | + | ||
| 150 | 177 | msgid "Python 3.14.6 final" | |
| 151 | 178 | msgstr "" | |
| 152 | 179 | ||
@@ -512,9 +539,6 @@ msgid "" | |||
| 512 | 539 | "tests if it's not supported. Patch by Victor Stinner." | |
| 513 | 540 | msgstr "" | |
| 514 | 541 | ||
| 515 | - msgid "Build" | ||
| 516 | - msgstr "Build" | ||
| 517 | - | ||
| 518 | 542 | msgid "" | |
| 519 | 543 | ":gh:`148294`: Corrected the use of ``AC_PATH_TOOL`` in ``configure.ac`` to " | |
| 520 | 544 | "allow a C++ compiler to be found on :envvar:`!PATH`." | |
| Back | FazBrowse Home | New Git URL |
0 commit comments