diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..a94a63b09 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: true +contact_links: + - name: Discord Python Polska + url: https://discord.com/invite/VCyBDGH38e + about: Dyskusje o tłumaczeniach. + - name: Transifex + url: https://explore.transifex.com/python-doc/python-newest/ + about: Strona do tłumaczenia. diff --git a/.github/ISSUE_TEMPLATE/typo.yml b/.github/ISSUE_TEMPLATE/typo.yml new file mode 100644 index 000000000..ccd748c82 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/typo.yml @@ -0,0 +1,36 @@ +name: Błąd w tłumaczeniu +description: Zgłoś błąd w tłumaczeniu +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + **Chcesz to naprawić samemu??** + + - Wejdź na stronę projektu [dokumentacji Pythona](https://explore.transifex.com/python-doc/python-newest/). + - Naciśnij przycisk „Join this project”, aby dołączyć do projektu. + - Utwórz konto Transifex. + - Na stronie projektu wybierz język polski. + - Po dołączeniu do zespołu wybierz zasób, który chcesz poprawić/zaktualizować. + + Więcej informacji znajdziesz w naszym (README)[https://github.com/python/python-docs-pl/blob/3.14/README.md]. + - type: textarea + attributes: + label: "Opis błędu:" + description: > + Opisz szczegółowo lokalizację błędu. + validations: + required: true + - type: dropdown + attributes: + label: "Wersja dokumentacji:" + multiple: true + options: + - "3.9" + - "3.10" + - "3.11" + - "3.12" + - "3.13" + - "3.14" + validations: + required: false diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml new file mode 100644 index 000000000..eccafe60e --- /dev/null +++ b/.github/workflows/pre-commit.yml @@ -0,0 +1,18 @@ +name: pre-commit +on: + schedule: + - cron: '0 0 * * 1,5' +env: + FORCE_COLOR: 1 + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + persist-credentials: false + - uses: actions/setup-python@v5 + with: + python-version: "3.x" + - uses: tox-dev/action-pre-commit-uv@v1 diff --git a/.github/workflows/update-lint-and-build.yml b/.github/workflows/update-lint-and-build.yml index e5d4d0fe5..117f89ec0 100644 --- a/.github/workflows/update-lint-and-build.yml +++ b/.github/workflows/update-lint-and-build.yml @@ -9,7 +9,7 @@ on: workflow_dispatch: jobs: - update-translation: + update: runs-on: ubuntu-latest strategy: fail-fast: false @@ -54,9 +54,9 @@ jobs: - run: git config --local user.name "GitHub Action's update-translation job" - name: Check changes significance run: > - ! git diff -I'^"POT-Creation-Date: ' -I'^"Language-Team: ' -I'^# ' -I'^"Last-Translator: ' --exit-code && echo "SIGNIFICANT_CHANGES=1" >> $GITHUB_ENV || exit 0 + ! git diff -I'^"POT-Creation-Date: ' -I'^"Language-Team: ' -I'^# ' -I'^"Last-Translator: ' -I'^"Project-Id-Version: ' --exit-code && echo "SIGNIFICANT_CHANGES=1" >> "$GITHUB_ENV" || exit 0 - run: git add . - - run: git commit -m 'Update translation from Transifex' + - run: git commit -m "$(python manage_translation.py generate_commit_msg)" if: env.SIGNIFICANT_CHANGES - name: Push commit uses: ad-m/github-push-action@master @@ -71,7 +71,7 @@ jobs: fail-fast: false matrix: version: [3.14, 3.13, 3.12, 3.11] - needs: ['update-translation'] + needs: ['update'] continue-on-error: true steps: - uses: actions/setup-python@master @@ -84,14 +84,14 @@ jobs: - uses: rffontenelle/sphinx-lint-problem-matcher@v1.0.0 - run: sphinx-lint - build-translation: + build: runs-on: ubuntu-latest strategy: fail-fast: false matrix: - version: [3.14, 3.13, 3.12, 3.11, '3.10', 3.9, 3.8] + version: [3.14, 3.13, 3.12, 3.11, '3.10', 3.9] format: [html, latex, epub] - needs: ['update-translation'] + needs: ['update'] steps: - uses: actions/setup-python@master with: @@ -121,8 +121,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - version: [3.14, 3.13, 3.12, 3.11, '3.10', 3.9, 3.8] - needs: ['build-translation'] + version: [3.14, 3.13, 3.12, 3.11, '3.10', 3.9] + needs: ['build'] steps: - uses: actions/download-artifact@master with: @@ -140,7 +140,7 @@ jobs: strategy: matrix: version: [3.14] - needs: ['build-translation'] + needs: ['build'] continue-on-error: true steps: - uses: actions/setup-python@v5 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 000000000..28b721f45 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,35 @@ +repos: + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.11.4 + hooks: + - id: ruff + args: [--fix, --exit-non-zero-on-fix] + - id: ruff-format + + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v5.0.0 + hooks: + - id: check-added-large-files + - id: check-case-conflict + - id: check-merge-conflict + - id: check-yaml + - id: debug-statements + - id: end-of-file-fixer + exclude: ^\.tx/ + - id: forbid-submodules + - id: trailing-whitespace + + - repo: https://github.com/python-jsonschema/check-jsonschema + rev: 0.32.1 + hooks: + - id: check-github-workflows + + - repo: https://github.com/rhysd/actionlint + rev: v1.7.7 + hooks: + - id: actionlint + + - repo: meta + hooks: + - id: check-hooks-apply + - id: check-useless-excludes diff --git a/.tx/config b/.tx/config index fbb31614f..1d9389703 100644 --- a/.tx/config +++ b/.tx/config @@ -217,6 +217,15 @@ resource_name = c-api--exceptions replace_edited_strings = false keep_translations = false +[o:python-doc:p:python-newest:r:c-api--extension-modules] +file_filter = c-api/extension-modules.po +source_file = gettext/c-api/extension-modules.pot +type = PO +minimum_perc = 0 +resource_name = c-api--extension-modules +replace_edited_strings = false +keep_translations = false + [o:python-doc:p:python-newest:r:c-api--file] file_filter = c-api/file.po source_file = gettext/c-api/file.pot @@ -343,6 +352,15 @@ resource_name = c-api--iterator replace_edited_strings = false keep_translations = false +[o:python-doc:p:python-newest:r:c-api--lifecycle] +file_filter = c-api/lifecycle.po +source_file = gettext/c-api/lifecycle.pot +type = PO +minimum_perc = 0 +resource_name = c-api--lifecycle +replace_edited_strings = false +keep_translations = false + [o:python-doc:p:python-newest:r:c-api--list] file_filter = c-api/list.po source_file = gettext/c-api/list.pot @@ -658,6 +676,15 @@ resource_name = deprecations--c-api-pending-removal-in-3_15 replace_edited_strings = false keep_translations = false +[o:python-doc:p:python-newest:r:deprecations--c-api-pending-removal-in-3_16] +file_filter = deprecations/c-api-pending-removal-in-3.16.po +source_file = gettext/deprecations/c-api-pending-removal-in-3.16.pot +type = PO +minimum_perc = 0 +resource_name = deprecations--c-api-pending-removal-in-3_16 +replace_edited_strings = false +keep_translations = false + [o:python-doc:p:python-newest:r:deprecations--c-api-pending-removal-in-3_18] file_filter = deprecations/c-api-pending-removal-in-3.18.po source_file = gettext/deprecations/c-api-pending-removal-in-3.18.pot @@ -1675,6 +1702,24 @@ resource_name = library--compileall replace_edited_strings = false keep_translations = false +[o:python-doc:p:python-newest:r:library--compression] +file_filter = library/compression.po +source_file = gettext/library/compression.pot +type = PO +minimum_perc = 0 +resource_name = library--compression +replace_edited_strings = false +keep_translations = false + +[o:python-doc:p:python-newest:r:library--compression_zstd] +file_filter = library/compression.zstd.po +source_file = gettext/library/compression.zstd.pot +type = PO +minimum_perc = 0 +resource_name = library--compression_zstd +replace_edited_strings = false +keep_translations = false + [o:python-doc:p:python-newest:r:library--concurrency] file_filter = library/concurrency.po source_file = gettext/library/concurrency.pot @@ -1702,6 +1747,15 @@ resource_name = library--concurrent_futures replace_edited_strings = false keep_translations = false +[o:python-doc:p:python-newest:r:library--concurrent_interpreters] +file_filter = library/concurrent.interpreters.po +source_file = gettext/library/concurrent.interpreters.pot +type = PO +minimum_perc = 0 +resource_name = library--concurrent_interpreters +replace_edited_strings = false +keep_translations = false + [o:python-doc:p:python-newest:r:library--configparser] file_filter = library/configparser.po source_file = gettext/library/configparser.pot diff --git a/README.en.md b/README.en.md index f6f01433b..6c035ffd8 100644 --- a/README.en.md +++ b/README.en.md @@ -4,16 +4,18 @@ Polish Translation of Python Documentation from manage_translation import get_resource_language_stats, progress_from_resources, language_switcher, get_number_of_translators stats = get_resource_language_stats() -total = progress_from_resources(stats) +total_words, total_strings = progress_from_resources(stats) translators = get_number_of_translators() print( -f'''![build](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml/badge.svg) -![Total Translation of Documentation](https://img.shields.io/badge/Total-{total:.3f}%25-0.svg) +f'''[![build](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml/badge.svg)](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml) +[![Total Translation of Documentation](https://img.shields.io/badge/total_words-{total_words:.2f}%25-0.svg)](https://python-docs-translations.github.io/dashboard/) +[![Total Translation of Documentation](https://img.shields.io/badge/total_strings-{total_strings:.2f}%25-0.svg)](https://python-docs-translations.github.io/dashboard/) ![{translators} Translators](https://img.shields.io/badge/Translators-{translators}-0.svg)''') ]]] --> -![build](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml/badge.svg) -![Total Translation of Documentation](https://img.shields.io/badge/Total-4.701%25-0.svg) +[![build](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml/badge.svg)](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml) +[![Total Translation of Documentation](https://img.shields.io/badge/total_words-5.88%25-0.svg)](https://python-docs-translations.github.io/dashboard/) +[![Total Translation of Documentation](https://img.shields.io/badge/total_strings-12.66%25-0.svg)](https://python-docs-translations.github.io/dashboard/) ![24 Translators](https://img.shields.io/badge/Translators-24-0.svg) @@ -31,13 +33,13 @@ If you find a mistake or have a suggestion, * After joining the Project, pick the category you want to fix/translate. You can find more information about using Transifex -[in their help guide.](https://help.transifex.com/en/articles/6318216-translating-with-the-web-editor) +in [their help articles](https://help.transifex.com/en/articles/6318216-translating-with-the-web-editor) or [our guide](https://python-docs-transifex-automation.readthedocs.io/new-translators.html). **I want to start translating, but I don't know where to start!** Firstly, you can join as a translator by following the steps outlined above. -Then you can start by translating one of our [prioritized resources.](https://github.com/python/python-docs-pl/issues/50) +Then you can start by translating one of our [prioritized resources](https://github.com/python/python-docs-pl/issues/50). **How to see the newest build of the documentation?** @@ -48,10 +50,19 @@ The documentation at https://docs.python.org/pl/ is updated around once daily. **Communication Channels** * [Discord Python Polska #dokumentacja](https://discord.gg/QB3h2Sxc) -* [Python Documentation Community](https://docs-community.readthedocs.io/en/latest/) -* [Python Translations Working Group](https://mail.python.org/mailman3/lists/translation.python.org/) +* [Python Documentation Community](https://docs-community.readthedocs.io/) +* [Python translations mailing list](https://mail.python.org/mailman3/lists/translation.python.org/) * [Python Documentation Special Interest Group](https://www.python.org/community/sigs/current/doc-sig/) +**Translation progress** + +Translation progress + + + **License** By inviting you to work on a project on the Transifex platform, we offer a contract for @@ -66,8 +77,9 @@ You signify your acceptance of this agreement by submitting your work for inclus * `cog -rP README.md` **Useful Materials** -* [Site Statistics](https://plausible.io/docs.python.org/?filters=%28%28contains,page,%28/pl/%29%29%29) -* [Python Developer's Guide: Documentation](https://devguide.python.org/documentation/) +* [Python Developer's Guide: Translating](https://devguide.python.org/documentation/translations/translating/) +* [Python docs Transifex: Documentation](https://python-docs-transifex-automation.readthedocs.io/) +* [Site Statistics](https://analytics.python.org/docs.python.org?f=contains,page,/pl/) **Similar Translation Projects** * [Projects of the Python Packaging Authority](https://hosted.weblate.org/projects/pypa/-/pl/) diff --git a/README.md b/README.md index 398c3abc2..e2fa073db 100644 --- a/README.md +++ b/README.md @@ -4,16 +4,18 @@ Polskie tłumaczenie dokumentacji Pythona from manage_translation import get_resource_language_stats, progress_from_resources, get_number_of_translators stats = get_resource_language_stats() -total = progress_from_resources(stats) +total_words, total_strings = progress_from_resources(stats) translators = get_number_of_translators() print( -f'''![build](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml/badge.svg) -![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość-{total:.3f}%25-0.svg) +f'''[![build](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml/badge.svg)](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml) +[![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość_słów-{total_words:.2f}%25-0.svg)](https://python-docs-translations.github.io/dashboard/) +[![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość_napisów-{total_strings:.2f}%25-0.svg)](https://python-docs-translations.github.io/dashboard/) ![{translators} tłumaczy](https://img.shields.io/badge/tłumaczy-{translators}-0.svg)''') ]]] --> -![build](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml/badge.svg) -![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość-4.701%25-0.svg) +[![build](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml/badge.svg)](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml) +[![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość_słów-5.88%25-0.svg)](https://python-docs-translations.github.io/dashboard/) +[![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość_napisów-12.66%25-0.svg)](https://python-docs-translations.github.io/dashboard/) ![24 tłumaczy](https://img.shields.io/badge/tłumaczy-24-0.svg) @@ -33,7 +35,7 @@ projektu [dokumentacji Pythona](https://explore.transifex.com/python-doc/python- * Po dołączeniu do zespołu wybierz zasób, który chcesz poprawić/zaktualizować. Więcej informacji o używaniu Transifeksa znajdziesz w -[jego artykułach pomocy](https://help.transifex.com/en/articles/6318216-translating-with-the-web-editor). +[jego artykułach pomocy](https://help.transifex.com/en/articles/6318216-translating-with-the-web-editor) lub [w naszym przewodniku](https://python-docs-transifex-automation.readthedocs.io/new-translators.html). **Chcę pomóc w tłumaczeniu, ale nie wiem od czego zacząć!** @@ -51,9 +53,18 @@ Dokumentacja na https://docs.python.org/pl/ aktualizowana jest około raz dzienn * [Discord Python Polska #dokumentacja](https://discord.gg/VCyBDGH38e) * [Python Documentation Community](https://docs-community.readthedocs.io/en/latest/) -* [Python translations working group](https://mail.python.org/mailman3/lists/translation.python.org/) +* [Python translations mailing list](https://mail.python.org/mailman3/lists/translation.python.org/) * [Python Documentation Special Interest Group](https://www.python.org/community/sigs/current/doc-sig/) +**Postęp tłumaczenia** + +Postęp tłumaczenia + + + **Licencja** Zapraszając do współtworzenia projektu na platformie Transifex, proponujemy umowę na @@ -68,8 +79,9 @@ Wyrażasz akceptację tej umowy przesyłając swoją pracę do włączenia do do * `cog -rP README.md` **Przydatne materiały** -* [statystyki oglądalności](https://plausible.io/docs.python.org/?filters=%28%28contains,page,%28/pl/%29%29%29) -* [Python Developer's Guide: Documentation](https://devguide.python.org/documentation/) +* [Python Developer's Guide: Translating](https://devguide.python.org/documentation/translations/translating/) +* [Python docs Transifex: Documentation](https://python-docs-transifex-automation.readthedocs.io/) +* [statystyki oglądalności](https://analytics.python.org/docs.python.org?f=contains,page,/pl/) **Podobne projekty** * [projekty Python Packaging Authority](https://hosted.weblate.org/projects/pypa/-/pl/) diff --git a/about.po b/about.po index 00d752544..4eb0377e0 100644 --- a/about.po +++ b/about.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:47+0000\n" "Last-Translator: Maciej Olko , 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -33,8 +33,8 @@ msgid "" "maintained as an independent project." msgstr "" "Dokumentacja Pythona jest generowana ze źródeł `reStructuredText`_ przy " -"użyciu `Sphinx`_, generator dokumentacji pierwotnie stworzonej dla Pythona, " -"a obecnie utrzymywanej jako niezależny projekt." +"użyciu generatora dokumentacji `Sphinx`_, pierwotnie stworzonego dla " +"Pythona, a obecnie utrzymywanego jako niezależny projekt." msgid "" "Development of the documentation and its toolchain is an entirely volunteer " @@ -54,8 +54,8 @@ msgid "" "Fred L. Drake, Jr., the creator of the original Python documentation toolset " "and author of much of the content;" msgstr "" -"Fred L. Drake, Jr, twórca oryginalnego zestawu narzędzi dokumentacyjnych " -"Pythona i autor większości treści;" +"Freda L. Drake'a, Jr, twórcy oryginalnego zestawu narzędzi dokumentacyjnych " +"Pythona i autora większości treści;" msgid "" "the `Docutils `_ project for creating " diff --git a/bugs.po b/bugs.po index d8bcde4a3..6c07edc15 100644 --- a/bugs.po +++ b/bugs.po @@ -7,15 +7,16 @@ # Ciarbin , 2021 # ac4a8e5d3d92195fc6d50ffd472aae19_7eb0c45, 2022 # Maciej Olko , 2023 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:47+0000\n" -"Last-Translator: Maciej Olko , 2023\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -55,6 +56,11 @@ msgid "" "the-tracker>`. If you have a suggestion on how to fix it, include that as " "well." msgstr "" +"Jeśli znajdziesz błąd w tej dokumentacji lub chciałbyś zaproponować " +"poprawkę, wyślij, zgłoszenie błędu do :ref:`systemu `. " +"Jeżeli błąd dotyczy jedynie polskiego tłumaczenia, zgłoś błąd `tutaj " +"`_. Jeśli masz sugestię, " +"jak naprawić błąd, zawrzyj ją w zgłoszeniu." msgid "" "You can also open a discussion item on our `Documentation Discourse forum " @@ -68,6 +74,9 @@ msgid "" "documentation, please submit a bug report on the `python-doc-theme issue " "tracker `_." msgstr "" +"Jeśli znajdziesz błąd w motywie (HTML / CSS / JavaScript) dokumentacji, " +"zgłoś raport o błędzie w `projekcie python-doc-theme `_." msgid "`Documentation bugs`_" msgstr "`Błędy w dokumentacji`_" diff --git a/c-api/abstract.po b/c-api/abstract.po index fbc843254..e4ee613f9 100644 --- a/c-api/abstract.po +++ b/c-api/abstract.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:47+0000\n" "Last-Translator: Krzysztof Wierzbicki , 2021\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/c-api/allocation.po b/c-api/allocation.po index 94fb3d98f..73dab4f65 100644 --- a/c-api/allocation.po +++ b/c-api/allocation.po @@ -6,15 +6,16 @@ # Translators: # haaritsubaki, 2023 # Waldemar Stoczkowski, 2023 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:47+0000\n" -"Last-Translator: Waldemar Stoczkowski, 2023\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -30,7 +31,22 @@ msgstr "Przydzielanie obiektów na stercie" msgid "" "Initialize a newly allocated object *op* with its type and initial " "reference. Returns the initialized object. Other fields of the object are " -"not affected." +"not initialized. Despite its name, this function is unrelated to the " +"object's :meth:`~object.__init__` method (:c:member:`~PyTypeObject.tp_init` " +"slot). Specifically, this function does **not** call the object's :meth:`!" +"__init__` method." +msgstr "" + +msgid "" +"In general, consider this function to be a low-level routine. Use :c:member:" +"`~PyTypeObject.tp_alloc` where possible. For implementing :c:member:`!" +"tp_alloc` for your type, prefer :c:func:`PyType_GenericAlloc` or :c:func:" +"`PyObject_New`." +msgstr "" + +msgid "" +"This function only initializes the object's memory corresponding to the " +"initial :c:type:`PyObject` structure. It does not zero the rest." msgstr "" msgid "" @@ -41,36 +57,106 @@ msgstr "" "zainicjuje informacje o długości dla obiektu o zmiennym rozmiarze." msgid "" -"Allocate a new Python object using the C structure type *TYPE* and the " -"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the " -"Python object header are not initialized. The caller will own the only " -"reference to the object (i.e. its reference count will be one). The size of " -"the memory allocation is determined from the :c:member:`~PyTypeObject." -"tp_basicsize` field of the type object." +"This function only initializes some of the object's memory. It does not " +"zero the rest." +msgstr "" + +msgid "" +"Allocates a new Python object using the C structure type *TYPE* and the " +"Python type object *typeobj* (``PyTypeObject*``) by calling :c:func:" +"`PyObject_Malloc` to allocate memory and initializing it like :c:func:" +"`PyObject_Init`. The caller will own the only reference to the object (i.e. " +"its reference count will be one)." +msgstr "" + +msgid "" +"Avoid calling this directly to allocate memory for an object; call the " +"type's :c:member:`~PyTypeObject.tp_alloc` slot instead." +msgstr "" + +msgid "" +"When populating a type's :c:member:`~PyTypeObject.tp_alloc` slot, :c:func:" +"`PyType_GenericAlloc` is preferred over a custom function that simply calls " +"this macro." msgstr "" msgid "" -"Note that this function is unsuitable if *typeobj* has :c:macro:" -"`Py_TPFLAGS_HAVE_GC` set. For such objects, use :c:func:`PyObject_GC_New` " -"instead." +"This macro does not call :c:member:`~PyTypeObject.tp_alloc`, :c:member:" +"`~PyTypeObject.tp_new` (:meth:`~object.__new__`), or :c:member:" +"`~PyTypeObject.tp_init` (:meth:`~object.__init__`)." msgstr "" msgid "" -"Allocate a new Python object using the C structure type *TYPE* and the " -"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the " -"Python object header are not initialized. The allocated memory allows for " -"the *TYPE* structure plus *size* (``Py_ssize_t``) fields of the size given " -"by the :c:member:`~PyTypeObject.tp_itemsize` field of *typeobj*. This is " -"useful for implementing objects like tuples, which are able to determine " -"their size at construction time. Embedding the array of fields into the " -"same allocation decreases the number of allocations, improving the memory " -"management efficiency." +"This cannot be used for objects with :c:macro:`Py_TPFLAGS_HAVE_GC` set in :c:" +"member:`~PyTypeObject.tp_flags`; use :c:macro:`PyObject_GC_New` instead." msgstr "" msgid "" -"Note that this function is unsuitable if *typeobj* has :c:macro:" -"`Py_TPFLAGS_HAVE_GC` set. For such objects, use :c:func:`PyObject_GC_NewVar` " -"instead." +"Memory allocated by this macro must be freed with :c:func:`PyObject_Free` " +"(usually called via the object's :c:member:`~PyTypeObject.tp_free` slot)." +msgstr "" + +msgid "" +"The returned memory is not guaranteed to have been completely zeroed before " +"it was initialized." +msgstr "" + +msgid "" +"This macro does not construct a fully initialized object of the given type; " +"it merely allocates memory and prepares it for further initialization by :c:" +"member:`~PyTypeObject.tp_init`. To construct a fully initialized object, " +"call *typeobj* instead. For example::" +msgstr "" + +msgid "PyObject *foo = PyObject_CallNoArgs((PyObject *)&PyFoo_Type);" +msgstr "" + +msgid ":c:func:`PyObject_Free`" +msgstr ":c:func:`PyObject_Free`" + +msgid ":c:macro:`PyObject_GC_New`" +msgstr "" + +msgid ":c:func:`PyType_GenericAlloc`" +msgstr "" + +msgid ":c:member:`~PyTypeObject.tp_alloc`" +msgstr ":c:member:`~PyTypeObject.tp_alloc`" + +msgid "Like :c:macro:`PyObject_New` except:" +msgstr "" + +msgid "" +"It allocates enough memory for the *TYPE* structure plus *size* " +"(``Py_ssize_t``) fields of the size given by the :c:member:`~PyTypeObject." +"tp_itemsize` field of *typeobj*." +msgstr "" + +msgid "The memory is initialized like :c:func:`PyObject_InitVar`." +msgstr "" + +msgid "" +"This is useful for implementing objects like tuples, which are able to " +"determine their size at construction time. Embedding the array of fields " +"into the same allocation decreases the number of allocations, improving the " +"memory management efficiency." +msgstr "" + +msgid "" +"This cannot be used for objects with :c:macro:`Py_TPFLAGS_HAVE_GC` set in :c:" +"member:`~PyTypeObject.tp_flags`; use :c:macro:`PyObject_GC_NewVar` instead." +msgstr "" + +msgid "" +"Memory allocated by this function must be freed with :c:func:`PyObject_Free` " +"(usually called via the object's :c:member:`~PyTypeObject.tp_free` slot)." +msgstr "" + +msgid "" +"PyObject *list_instance = PyObject_CallNoArgs((PyObject *)&PyList_Type);" +msgstr "" + +msgid ":c:macro:`PyObject_GC_NewVar`" msgstr "" msgid "Same as :c:func:`PyObject_Free`." @@ -85,8 +171,8 @@ msgstr "" "wyłącznie za pomocą makra :c:macro:`Py_None`, którego wartością jest " "wskaźnik do tego obiektu." -msgid ":c:func:`PyModule_Create`" -msgstr ":c:func:`PyModule_Create`" +msgid ":ref:`moduleobjects`" +msgstr "" msgid "To allocate and create extension modules." msgstr "Przydzielanie i tworzenie modułów rozszerzeń." diff --git a/c-api/apiabiversion.po b/c-api/apiabiversion.po index ce0c4d17b..c16b7061a 100644 --- a/c-api/apiabiversion.po +++ b/c-api/apiabiversion.po @@ -5,18 +5,18 @@ # # Translators: # Waldemar Stoczkowski, 2023 -# Stan Ulbrych, 2024 # Maciej Olko , 2025 # Stefan Ocetkiewicz , 2025 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:47+0000\n" -"Last-Translator: Stefan Ocetkiewicz , 2025\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -72,6 +72,7 @@ msgstr "" msgid "" "Use this for numeric comparisons, for example, ``#if PY_VERSION_HEX >= ...``." msgstr "" +"Używaj to do porównań liczbowych, na przykład ``#if PY_VERSION_HEX >= ...``." msgid "Run-time version" msgstr "" @@ -85,6 +86,7 @@ msgstr "" msgid "" "Use this for numeric comparisons, for example, ``if (Py_Version >= ...)``." msgstr "" +"Używaj to do porównań liczbowych, na przykład ``if (Py_Version >= ...)``." msgid "Bit-packing macros" msgstr "" @@ -95,10 +97,10 @@ msgid "" msgstr "" msgid "Argument" -msgstr "" +msgstr "Argument" msgid "No. of bits" -msgstr "" +msgstr "Liczba bitów" msgid "Bit mask" msgstr "" @@ -110,73 +112,73 @@ msgid "Example values" msgstr "" msgid "``3.4.1a2``" -msgstr "" +msgstr "``3.4.1a2``" msgid "``3.10.0``" -msgstr "" +msgstr "``3.10.0``" msgid "*major*" -msgstr "" +msgstr "*major*" msgid "8" msgstr "8" msgid "``0xFF000000``" -msgstr "" +msgstr "``0xFF000000``" msgid "24" -msgstr "" +msgstr "24" msgid "``0x03``" msgstr "``0x03``" msgid "*minor*" -msgstr "" +msgstr "*minor*" msgid "``0x00FF0000``" -msgstr "" +msgstr "``0x00FF0000``" msgid "16" -msgstr "" +msgstr "16" msgid "``0x04``" msgstr "``0x04``" msgid "``0x0A``" -msgstr "" +msgstr "``0x0A``" msgid "*micro*" -msgstr "" +msgstr "*micro*" msgid "``0x0000FF00``" -msgstr "" +msgstr "``0x0000FF00``" msgid "``0x01``" msgstr "``0x01``" msgid "``0x00``" -msgstr "" +msgstr "``0x00``" msgid "*release_level*" -msgstr "" +msgstr "*release_level*" msgid "4" msgstr "4" msgid "``0x000000F0``" -msgstr "" +msgstr "``0x000000F0``" msgid "``0xA``" msgstr "``0xA``" msgid "``0xF``" -msgstr "" +msgstr "``0xF``" msgid "*release_serial*" -msgstr "" +msgstr "*release_serial*" msgid "``0x0000000F``" -msgstr "" +msgstr "``0x0000000F``" msgid "0" msgstr "0" @@ -185,7 +187,7 @@ msgid "``0x2``" msgstr "``0x2``" msgid "``0x0``" -msgstr "" +msgstr "``0x0``" msgid "For example:" msgstr "Na przykład::" @@ -194,22 +196,22 @@ msgid "Version" msgstr "Wersja" msgid "``Py_PACK_FULL_VERSION`` arguments" -msgstr "" +msgstr "``Py_PACK_FULL_VERSION`` argumenty" msgid "Encoded version" -msgstr "" +msgstr "Zakodowana wersja" msgid "``(3, 4, 1, 0xA, 2)``" -msgstr "" +msgstr "``(3, 4, 1, 0xA, 2)``" msgid "``0x030401a2``" -msgstr "" +msgstr "``0x030401a2``" msgid "``(3, 10, 0, 0xF, 0)``" -msgstr "" +msgstr "``(3, 10, 0, 0xF, 0)``" msgid "``0x030a00f0``" -msgstr "" +msgstr "``0x030a00f0``" msgid "" "Out-of range bits in the arguments are ignored. That is, the macro can be " @@ -226,6 +228,14 @@ msgid "" " (((SERIAL) & 0xf) << 0))\n" "#endif" msgstr "" +"#ifndef Py_PACK_FULL_VERSION\n" +"#define Py_PACK_FULL_VERSION(X, Y, Z, LEVEL, SERIAL) ( \\\n" +" (((X) & 0xff) << 24) | \\\n" +" (((Y) & 0xff) << 16) | \\\n" +" (((Z) & 0xff) << 8) | \\\n" +" (((LEVEL) & 0xf) << 4) | \\\n" +" (((SERIAL) & 0xf) << 0))\n" +"#endif" msgid "" "``Py_PACK_FULL_VERSION`` is primarily a macro, intended for use in ``#if`` " diff --git a/c-api/arg.po b/c-api/arg.po index b491c1bce..08c819c08 100644 --- a/c-api/arg.po +++ b/c-api/arg.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:47+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -989,9 +989,14 @@ msgstr "" msgid "Convert a C :c:type:`Py_ssize_t` to a Python integer." msgstr "" +msgid "Convert a C :c:expr:`int` to a Python :class:`bool` object." +msgstr "" + msgid "" -"Convert a C :c:expr:`int` to a Python :class:`bool` object. .. " -"versionadded:: 3.14" +"Be aware that this format requires an ``int`` argument. Unlike most other " +"contexts in C, variadic arguments are not coerced to a suitable type " +"automatically. You can convert another type (for example, a pointer or a " +"float) to a suitable ``int`` value using ``(x) ? 1 : 0`` or ``!!x``." msgstr "" msgid "``c`` (:class:`bytes` of length 1) [char]" diff --git a/c-api/bool.po b/c-api/bool.po index a3d50344b..1eb145a87 100644 --- a/c-api/bool.po +++ b/c-api/bool.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:47+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/c-api/buffer.po b/c-api/buffer.po index f59132db5..48c0c04be 100644 --- a/c-api/buffer.po +++ b/c-api/buffer.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -11,9 +11,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:47+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/c-api/bytearray.po b/c-api/bytearray.po index 11524c574..6ad73ec9a 100644 --- a/c-api/bytearray.po +++ b/c-api/bytearray.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:47+0000\n" "Last-Translator: haaritsubaki, 2023\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/c-api/bytes.po b/c-api/bytes.po index 1183c1f49..ec67ce1b6 100644 --- a/c-api/bytes.po +++ b/c-api/bytes.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:47+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -136,7 +136,7 @@ msgid "``%zd``" msgstr "``%zd``" msgid ":c:type:`\\ Py_ssize_t`" -msgstr "" +msgstr ":c:type:`\\ Py_ssize_t`" msgid "Equivalent to ``printf(\"%zd\")``. [1]_" msgstr "" diff --git a/c-api/call.po b/c-api/call.po index fa958c711..e1d09039c 100644 --- a/c-api/call.po +++ b/c-api/call.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -11,9 +11,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:47+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/c-api/capsule.po b/c-api/capsule.po index ee6b1ffa0..fcdc8c3a4 100644 --- a/c-api/capsule.po +++ b/c-api/capsule.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:47+0000\n" "Last-Translator: haaritsubaki, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -132,11 +132,23 @@ msgid "" "string exactly." msgstr "" +msgid "" +"This function splits *name* on the ``.`` character, and imports the first " +"element. It then processes further elements using attribute lookups." +msgstr "" + msgid "" "Return the capsule's internal *pointer* on success. On failure, set an " "exception and return ``NULL``." msgstr "" +msgid "" +"If *name* points to an attribute of some submodule or subpackage, this " +"submodule or subpackage must be previously imported using other means (for " +"example, by using :c:func:`PyImport_ImportModule`) for the attribute lookups " +"to succeed." +msgstr "" + msgid "*no_block* has no effect anymore." msgstr "" diff --git a/c-api/cell.po b/c-api/cell.po index c55e90a04..14ad9063c 100644 --- a/c-api/cell.po +++ b/c-api/cell.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:47+0000\n" "Last-Translator: Waldemar Stoczkowski, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/c-api/code.po b/c-api/code.po index 384bb08e6..a018c9c3b 100644 --- a/c-api/code.po +++ b/c-api/code.po @@ -1,19 +1,20 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # haaritsubaki, 2024 +# Maciej Olko , 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:48+0000\n" -"Last-Translator: haaritsubaki, 2024\n" +"Last-Translator: Maciej Olko , 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -186,7 +187,7 @@ msgstr "" msgid "" "If *event* is ``PY_CODE_EVENT_CREATE``, then the callback is invoked after " -"`co` has been fully initialized. Otherwise, the callback is invoked before " +"*co* has been fully initialized. Otherwise, the callback is invoked before " "the destruction of *co* takes place, so the prior state of *co* can be " "inspected." msgstr "" @@ -221,6 +222,88 @@ msgid "" "it before returning." msgstr "" +msgid "Code Object Flags" +msgstr "" + +msgid "" +"Code objects contain a bit-field of flags, which can be retrieved as the :" +"attr:`~codeobject.co_flags` Python attribute (for example using :c:func:" +"`PyObject_GetAttrString`), and set using a *flags* argument to :c:func:" +"`PyUnstable_Code_New` and similar functions." +msgstr "" + +msgid "" +"Flags whose names start with ``CO_FUTURE_`` correspond to features normally " +"selectable by :ref:`future statements `. These flags can be used in :" +"c:member:`PyCompilerFlags.cf_flags`. Note that many ``CO_FUTURE_`` flags are " +"mandatory in current versions of Python, and setting them has no effect." +msgstr "" + +msgid "" +"The following flags are available. For their meaning, see the linked " +"documentation of their Python equivalents." +msgstr "" + +msgid "Flag" +msgstr "" + +msgid "Meaning" +msgstr "Znaczenie" + +msgid ":py:data:`inspect.CO_OPTIMIZED`" +msgstr "" + +msgid ":py:data:`inspect.CO_NEWLOCALS`" +msgstr "" + +msgid ":py:data:`inspect.CO_VARARGS`" +msgstr "" + +msgid ":py:data:`inspect.CO_VARKEYWORDS`" +msgstr "" + +msgid ":py:data:`inspect.CO_NESTED`" +msgstr "" + +msgid ":py:data:`inspect.CO_GENERATOR`" +msgstr "" + +msgid ":py:data:`inspect.CO_COROUTINE`" +msgstr "" + +msgid ":py:data:`inspect.CO_ITERABLE_COROUTINE`" +msgstr "" + +msgid ":py:data:`inspect.CO_ASYNC_GENERATOR`" +msgstr "" + +msgid ":py:data:`inspect.CO_HAS_DOCSTRING`" +msgstr "" + +msgid ":py:data:`inspect.CO_METHOD`" +msgstr "" + +msgid "no effect (:py:data:`__future__.division`)" +msgstr "" + +msgid "no effect (:py:data:`__future__.absolute_import`)" +msgstr "" + +msgid "no effect (:py:data:`__future__.with_statement`)" +msgstr "" + +msgid "no effect (:py:data:`__future__.print_function`)" +msgstr "" + +msgid "no effect (:py:data:`__future__.unicode_literals`)" +msgstr "" + +msgid "no effect (:py:data:`__future__.generator_stop`)" +msgstr "" + +msgid ":py:data:`__future__.annotations`" +msgstr "" + msgid "Extra information" msgstr "" diff --git a/c-api/complex.po b/c-api/complex.po index 8848d9137..759480c84 100644 --- a/c-api/complex.po +++ b/c-api/complex.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:48+0000\n" "Last-Translator: Maciej Olko , 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/c-api/concrete.po b/c-api/concrete.po index e028c998a..816678f96 100644 --- a/c-api/concrete.po +++ b/c-api/concrete.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -11,9 +11,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:48+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/c-api/contextvars.po b/c-api/contextvars.po index 27926ceb5..a656a0bc0 100644 --- a/c-api/contextvars.po +++ b/c-api/contextvars.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:48+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/c-api/datetime.po b/c-api/datetime.po index f724f8512..669eb2441 100644 --- a/c-api/datetime.po +++ b/c-api/datetime.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:48+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/c-api/dict.po b/c-api/dict.po index 2dd9b6872..4d7148208 100644 --- a/c-api/dict.po +++ b/c-api/dict.po @@ -15,7 +15,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:48+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/c-api/exceptions.po b/c-api/exceptions.po index 3364c7081..626bd15cb 100644 --- a/c-api/exceptions.po +++ b/c-api/exceptions.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:48+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -703,6 +703,14 @@ msgid "" "as the docstring for the exception class." msgstr "" +msgid "" +"Return non-zero if *ob* is an exception class, zero otherwise. This function " +"always succeeds." +msgstr "" + +msgid "Return :c:member:`~PyTypeObject.tp_name` of the exception class *ob*." +msgstr "" + msgid "Exception Objects" msgstr "Przedmioty Sytuacji Wyjątkowych" @@ -797,7 +805,7 @@ msgid "" msgstr "" msgid ":attr:`UnicodeError.start`" -msgstr "" +msgstr ":attr:`UnicodeError.start`" msgid "" "Set the *start* attribute of the given exception object to *start*. Return " @@ -826,7 +834,7 @@ msgid "" msgstr "" msgid ":attr:`UnicodeError.end`" -msgstr "" +msgstr ":attr:`UnicodeError.end`" msgid "Return the *reason* attribute of the given exception object." msgstr "" @@ -909,349 +917,189 @@ msgid "" "c:func:`Py_ReprEnter` that returns zero." msgstr "" -msgid "Standard Exceptions" -msgstr "Sztandarowe Sytuacje Wyjątkowe" +msgid "Exception and warning types" +msgstr "" msgid "" -"All standard Python exceptions are available as global variables whose names " -"are ``PyExc_`` followed by the Python exception name. These have the type :" -"c:expr:`PyObject*`; they are all class objects. For completeness, here are " -"all the variables:" +"All standard Python exceptions and warning categories are available as " +"global variables whose names are ``PyExc_`` followed by the Python exception " +"name. These have the type :c:expr:`PyObject*`; they are all class objects." msgstr "" -msgid "C Name" -msgstr "Nazwa C" +msgid "For completeness, here are all the variables:" +msgstr "" -msgid "Python Name" -msgstr "Nazwa w języku pytonowskim" +msgid "Exception types" +msgstr "" -msgid "Notes" -msgstr "Notatki" +msgid "C name" +msgstr "" -msgid ":c:data:`PyExc_BaseException`" -msgstr ":c:data:`PyExc_BaseException`" +msgid "Python name" +msgstr "" msgid ":exc:`BaseException`" msgstr ":exc:`BaseException`" -msgid "[1]_" -msgstr "" - -msgid ":c:data:`PyExc_Exception`" -msgstr ":c:data:`PyExc_Exception`" +msgid ":exc:`BaseExceptionGroup`" +msgstr ":exc:`BaseExceptionGroup`" msgid ":exc:`Exception`" msgstr ":exc:`Exception`" -msgid ":c:data:`PyExc_ArithmeticError`" -msgstr ":c:data:`PyExc_ArithmeticError`" - msgid ":exc:`ArithmeticError`" msgstr ":exc:`ArithmeticError`" -msgid ":c:data:`PyExc_AssertionError`" -msgstr ":c:data:`PyExc_AssertionError`" - msgid ":exc:`AssertionError`" msgstr ":exc:`AssertionError`" -msgid ":c:data:`PyExc_AttributeError`" -msgstr ":c:data:`PyExc_AttributeError`" - msgid ":exc:`AttributeError`" msgstr ":exc:`AttributeError`" -msgid ":c:data:`PyExc_BlockingIOError`" -msgstr ":c:data:`PyExc_BlockingIOError`" - msgid ":exc:`BlockingIOError`" msgstr ":exc:`BlockingIOError`" -msgid ":c:data:`PyExc_BrokenPipeError`" -msgstr ":c:data:`PyExc_BrokenPipeError`" - msgid ":exc:`BrokenPipeError`" msgstr ":exc:`BrokenPipeError`" -msgid ":c:data:`PyExc_BufferError`" -msgstr ":c:data:`PyExc_BufferError`" - msgid ":exc:`BufferError`" msgstr ":exc:`BufferError`" -msgid ":c:data:`PyExc_ChildProcessError`" -msgstr ":c:data:`PyExc_ChildProcessError`" - msgid ":exc:`ChildProcessError`" msgstr ":exc:`ChildProcessError`" -msgid ":c:data:`PyExc_ConnectionAbortedError`" -msgstr ":c:data:`PyExc_ConnectionAbortedError`" - msgid ":exc:`ConnectionAbortedError`" msgstr ":exc:`ConnectionAbortedError`" -msgid ":c:data:`PyExc_ConnectionError`" -msgstr ":c:data:`PyExc_ConnectionError`" - msgid ":exc:`ConnectionError`" msgstr ":exc:`ConnectionError`" -msgid ":c:data:`PyExc_ConnectionRefusedError`" -msgstr ":c:data:`PyExc_ConnectionRefusedError`" - msgid ":exc:`ConnectionRefusedError`" msgstr ":exc:`ConnectionRefusedError`" -msgid ":c:data:`PyExc_ConnectionResetError`" -msgstr ":c:data:`PyExc_ConnectionResetError`" - msgid ":exc:`ConnectionResetError`" msgstr ":exc:`ConnectionResetError`" -msgid ":c:data:`PyExc_EOFError`" -msgstr ":c:data:`PyExc_EOFError`" - msgid ":exc:`EOFError`" msgstr ":exc:`EOFError`" -msgid ":c:data:`PyExc_FileExistsError`" -msgstr ":c:data:`PyExc_FileExistsError`" - msgid ":exc:`FileExistsError`" msgstr ":exc:`FileExistsError`" -msgid ":c:data:`PyExc_FileNotFoundError`" -msgstr ":c:data:`PyExc_FileNotFoundError`" - msgid ":exc:`FileNotFoundError`" msgstr ":exc:`FileNotFoundError`" -msgid ":c:data:`PyExc_FloatingPointError`" -msgstr ":c:data:`PyExc_FloatingPointError`" - msgid ":exc:`FloatingPointError`" msgstr ":exc:`FloatingPointError`" -msgid ":c:data:`PyExc_GeneratorExit`" -msgstr ":c:data:`PyExc_GeneratorExit`" - msgid ":exc:`GeneratorExit`" msgstr ":exc:`GeneratorExit`" -msgid ":c:data:`PyExc_ImportError`" -msgstr ":c:data:`PyExc_ImportError`" - msgid ":exc:`ImportError`" msgstr ":exc:`ImportError`" -msgid ":c:data:`PyExc_IndentationError`" -msgstr ":c:data:`PyExc_IndentationError`" - msgid ":exc:`IndentationError`" msgstr ":exc:`IndentationError`" -msgid ":c:data:`PyExc_IndexError`" -msgstr ":c:data:`PyExc_IndexError`" - msgid ":exc:`IndexError`" msgstr ":exc:`IndexError`" -msgid ":c:data:`PyExc_InterruptedError`" -msgstr ":c:data:`PyExc_InterruptedError`" - msgid ":exc:`InterruptedError`" msgstr ":exc:`InterruptedError`" -msgid ":c:data:`PyExc_IsADirectoryError`" -msgstr ":c:data:`PyExc_IsADirectoryError`" - msgid ":exc:`IsADirectoryError`" msgstr ":exc:`IsADirectoryError`" -msgid ":c:data:`PyExc_KeyError`" -msgstr ":c:data:`PyExc_KeyError`" - msgid ":exc:`KeyError`" msgstr ":exc:`KeyError`" -msgid ":c:data:`PyExc_KeyboardInterrupt`" -msgstr ":c:data:`PyExc_KeyboardInterrupt`" - msgid ":exc:`KeyboardInterrupt`" msgstr ":exc:`KeyboardInterrupt`" -msgid ":c:data:`PyExc_LookupError`" -msgstr ":c:data:`PyExc_LookupError`" - msgid ":exc:`LookupError`" msgstr ":exc:`LookupError`" -msgid ":c:data:`PyExc_MemoryError`" -msgstr ":c:data:`PyExc_MemoryError`" - msgid ":exc:`MemoryError`" msgstr ":exc:`MemoryError`" -msgid ":c:data:`PyExc_ModuleNotFoundError`" -msgstr ":c:data:`PyExc_ModuleNotFoundError`" - msgid ":exc:`ModuleNotFoundError`" msgstr ":exc:`ModuleNotFoundError`" -msgid ":c:data:`PyExc_NameError`" -msgstr ":c:data:`PyExc_NameError`" - msgid ":exc:`NameError`" msgstr ":exc:`NameError`" -msgid ":c:data:`PyExc_NotADirectoryError`" -msgstr ":c:data:`PyExc_NotADirectoryError`" - msgid ":exc:`NotADirectoryError`" msgstr ":exc:`NotADirectoryError`" -msgid ":c:data:`PyExc_NotImplementedError`" -msgstr ":c:data:`PyExc_NotImplementedError`" - msgid ":exc:`NotImplementedError`" msgstr ":exc:`NotImplementedError`" -msgid ":c:data:`PyExc_OSError`" -msgstr ":c:data:`PyExc_OSError`" - msgid ":exc:`OSError`" msgstr ":exc:`OSError`" -msgid ":c:data:`PyExc_OverflowError`" -msgstr ":c:data:`PyExc_OverflowError`" - msgid ":exc:`OverflowError`" msgstr ":exc:`OverflowError`" -msgid ":c:data:`PyExc_PermissionError`" -msgstr ":c:data:`PyExc_PermissionError`" - msgid ":exc:`PermissionError`" msgstr ":exc:`PermissionError`" -msgid ":c:data:`PyExc_ProcessLookupError`" -msgstr ":c:data:`PyExc_ProcessLookupError`" - msgid ":exc:`ProcessLookupError`" msgstr ":exc:`ProcessLookupError`" -msgid ":c:data:`PyExc_PythonFinalizationError`" -msgstr ":c:data:`PyExc_PythonFinalizationError`" - msgid ":exc:`PythonFinalizationError`" msgstr ":exc:`PythonFinalizationError`" -msgid ":c:data:`PyExc_RecursionError`" -msgstr ":c:data:`PyExc_RecursionError`" - msgid ":exc:`RecursionError`" msgstr ":exc:`RecursionError`" -msgid ":c:data:`PyExc_ReferenceError`" -msgstr ":c:data:`PyExc_ReferenceError`" - msgid ":exc:`ReferenceError`" msgstr ":exc:`ReferenceError`" -msgid ":c:data:`PyExc_RuntimeError`" -msgstr ":c:data:`PyExc_RuntimeError`" - msgid ":exc:`RuntimeError`" msgstr ":exc:`RuntimeError`" -msgid ":c:data:`PyExc_StopAsyncIteration`" -msgstr ":c:data:`PyExc_StopAsyncIteration`" - msgid ":exc:`StopAsyncIteration`" msgstr ":exc:`StopAsyncIteration`" -msgid ":c:data:`PyExc_StopIteration`" -msgstr ":c:data:`PyExc_StopIteration`" - msgid ":exc:`StopIteration`" msgstr ":exc:`StopIteration`" -msgid ":c:data:`PyExc_SyntaxError`" -msgstr ":c:data:`PyExc_SyntaxError`" - msgid ":exc:`SyntaxError`" msgstr ":exc:`SyntaxError`" -msgid ":c:data:`PyExc_SystemError`" -msgstr ":c:data:`PyExc_SystemError`" - msgid ":exc:`SystemError`" msgstr ":exc:`SystemError`" -msgid ":c:data:`PyExc_SystemExit`" -msgstr ":c:data:`PyExc_SystemExit`" - msgid ":exc:`SystemExit`" msgstr ":exc:`SystemExit`" -msgid ":c:data:`PyExc_TabError`" -msgstr ":c:data:`PyExc_TabError`" - msgid ":exc:`TabError`" msgstr ":exc:`TabError`" -msgid ":c:data:`PyExc_TimeoutError`" -msgstr ":c:data:`PyExc_TimeoutError`" - msgid ":exc:`TimeoutError`" msgstr ":exc:`TimeoutError`" -msgid ":c:data:`PyExc_TypeError`" -msgstr ":c:data:`PyExc_TypeError`" - msgid ":exc:`TypeError`" msgstr ":exc:`TypeError`" -msgid ":c:data:`PyExc_UnboundLocalError`" -msgstr ":c:data:`PyExc_UnboundLocalError`" - msgid ":exc:`UnboundLocalError`" msgstr ":exc:`UnboundLocalError`" -msgid ":c:data:`PyExc_UnicodeDecodeError`" -msgstr ":c:data:`PyExc_UnicodeDecodeError`" - msgid ":exc:`UnicodeDecodeError`" msgstr ":exc:`UnicodeDecodeError`" -msgid ":c:data:`PyExc_UnicodeEncodeError`" -msgstr ":c:data:`PyExc_UnicodeEncodeError`" - msgid ":exc:`UnicodeEncodeError`" msgstr ":exc:`UnicodeEncodeError`" -msgid ":c:data:`PyExc_UnicodeError`" -msgstr ":c:data:`PyExc_UnicodeError`" - msgid ":exc:`UnicodeError`" msgstr ":exc:`UnicodeError`" -msgid ":c:data:`PyExc_UnicodeTranslateError`" -msgstr ":c:data:`PyExc_UnicodeTranslateError`" - msgid ":exc:`UnicodeTranslateError`" msgstr ":exc:`UnicodeTranslateError`" -msgid ":c:data:`PyExc_ValueError`" -msgstr ":c:data:`PyExc_ValueError`" - msgid ":exc:`ValueError`" msgstr ":exc:`ValueError`" -msgid ":c:data:`PyExc_ZeroDivisionError`" -msgstr ":c:data:`PyExc_ZeroDivisionError`" - msgid ":exc:`ZeroDivisionError`" msgstr ":exc:`ZeroDivisionError`" @@ -1272,123 +1120,76 @@ msgstr "" msgid ":c:data:`PyExc_ModuleNotFoundError`." msgstr ":c:data:`PyExc_ModuleNotFoundError`." -msgid "These are compatibility aliases to :c:data:`PyExc_OSError`:" -msgstr "" - -msgid ":c:data:`!PyExc_EnvironmentError`" -msgstr ":c:data:`!PyExc_EnvironmentError`" +msgid ":c:data:`PyExc_BaseExceptionGroup`." +msgstr ":c:data:`PyExc_BaseExceptionGroup`." -msgid ":c:data:`!PyExc_IOError`" -msgstr ":c:data:`!PyExc_IOError`" - -msgid ":c:data:`!PyExc_WindowsError`" -msgstr ":c:data:`!PyExc_WindowsError`" +msgid "OSError aliases" +msgstr "" -msgid "[2]_" +msgid "The following are a compatibility aliases to :c:data:`PyExc_OSError`." msgstr "" msgid "These aliases used to be separate exception types." msgstr "" -msgid "Notes:" -msgstr "Uwagi:" - -msgid "This is a base class for other standard exceptions." -msgstr "" -"To jest podstawowy rodzaj przedmiotu dla innych sztandarowych sytuacji " -"wyjątkowych." +msgid "Notes" +msgstr "Notatki" -msgid "" -"Only defined on Windows; protect code that uses this by testing that the " -"preprocessor macro ``MS_WINDOWS`` is defined." +msgid "[win]_" msgstr "" -"Zdefiniowane tylko w systemie Windows; Kod chroniony który używa tego przez " -"sprawdzenie czy makrodefinicja preprocesora ``MS_WINDOWS`` jest określona." -msgid "Standard Warning Categories" -msgstr "" +msgid "Notes:" +msgstr "Uwagi:" msgid "" -"All standard Python warning categories are available as global variables " -"whose names are ``PyExc_`` followed by the Python exception name. These have " -"the type :c:expr:`PyObject*`; they are all class objects. For completeness, " -"here are all the variables:" +":c:var:`!PyExc_WindowsError` is only defined on Windows; protect code that " +"uses this by testing that the preprocessor macro ``MS_WINDOWS`` is defined." msgstr "" -msgid ":c:data:`PyExc_Warning`" -msgstr ":c:data:`PyExc_Warning`" +msgid "Warning types" +msgstr "" msgid ":exc:`Warning`" msgstr ":exc:`Warning`" -msgid "[3]_" -msgstr "" - -msgid ":c:data:`PyExc_BytesWarning`" -msgstr ":c:data:`PyExc_BytesWarning`" - msgid ":exc:`BytesWarning`" msgstr ":exc:`BytesWarning`" -msgid ":c:data:`PyExc_DeprecationWarning`" -msgstr ":c:data:`PyExc_DeprecationWarning`" - msgid ":exc:`DeprecationWarning`" msgstr ":exc:`DeprecationWarning`" -msgid ":c:data:`PyExc_FutureWarning`" -msgstr ":c:data:`PyExc_FutureWarning`" +msgid ":exc:`EncodingWarning`" +msgstr ":exc:`EncodingWarning`" msgid ":exc:`FutureWarning`" msgstr ":exc:`FutureWarning`" -msgid ":c:data:`PyExc_ImportWarning`" -msgstr ":c:data:`PyExc_ImportWarning`" - msgid ":exc:`ImportWarning`" msgstr ":exc:`ImportWarning`" -msgid ":c:data:`PyExc_PendingDeprecationWarning`" -msgstr ":c:data:`PyExc_PendingDeprecationWarning`" - msgid ":exc:`PendingDeprecationWarning`" msgstr ":exc:`PendingDeprecationWarning`" -msgid ":c:data:`PyExc_ResourceWarning`" -msgstr ":c:data:`PyExc_ResourceWarning`" - msgid ":exc:`ResourceWarning`" msgstr ":exc:`ResourceWarning`" -msgid ":c:data:`PyExc_RuntimeWarning`" -msgstr ":c:data:`PyExc_RuntimeWarning`" - msgid ":exc:`RuntimeWarning`" msgstr ":exc:`RuntimeWarning`" -msgid ":c:data:`PyExc_SyntaxWarning`" -msgstr ":c:data:`PyExc_SyntaxWarning`" - msgid ":exc:`SyntaxWarning`" msgstr ":exc:`SyntaxWarning`" -msgid ":c:data:`PyExc_UnicodeWarning`" -msgstr ":c:data:`PyExc_UnicodeWarning`" - msgid ":exc:`UnicodeWarning`" msgstr ":exc:`UnicodeWarning`" -msgid ":c:data:`PyExc_UserWarning`" -msgstr ":c:data:`PyExc_UserWarning`" - msgid ":exc:`UserWarning`" msgstr ":exc:`UserWarning`" msgid ":c:data:`PyExc_ResourceWarning`." msgstr ":c:data:`PyExc_ResourceWarning`." -msgid "This is a base class for other standard warning categories." -msgstr "" +msgid ":c:data:`PyExc_EncodingWarning`." +msgstr ":c:data:`PyExc_EncodingWarning`." msgid "strerror (C function)" msgstr "" @@ -1404,207 +1205,3 @@ msgstr "" msgid "KeyboardInterrupt (built-in exception)" msgstr "" - -msgid "PyExc_BaseException (C var)" -msgstr "" - -msgid "PyExc_Exception (C var)" -msgstr "" - -msgid "PyExc_ArithmeticError (C var)" -msgstr "" - -msgid "PyExc_AssertionError (C var)" -msgstr "" - -msgid "PyExc_AttributeError (C var)" -msgstr "" - -msgid "PyExc_BlockingIOError (C var)" -msgstr "" - -msgid "PyExc_BrokenPipeError (C var)" -msgstr "" - -msgid "PyExc_BufferError (C var)" -msgstr "" - -msgid "PyExc_ChildProcessError (C var)" -msgstr "" - -msgid "PyExc_ConnectionAbortedError (C var)" -msgstr "" - -msgid "PyExc_ConnectionError (C var)" -msgstr "" - -msgid "PyExc_ConnectionRefusedError (C var)" -msgstr "" - -msgid "PyExc_ConnectionResetError (C var)" -msgstr "" - -msgid "PyExc_EOFError (C var)" -msgstr "" - -msgid "PyExc_FileExistsError (C var)" -msgstr "" - -msgid "PyExc_FileNotFoundError (C var)" -msgstr "" - -msgid "PyExc_FloatingPointError (C var)" -msgstr "" - -msgid "PyExc_GeneratorExit (C var)" -msgstr "" - -msgid "PyExc_ImportError (C var)" -msgstr "" - -msgid "PyExc_IndentationError (C var)" -msgstr "" - -msgid "PyExc_IndexError (C var)" -msgstr "" - -msgid "PyExc_InterruptedError (C var)" -msgstr "" - -msgid "PyExc_IsADirectoryError (C var)" -msgstr "" - -msgid "PyExc_KeyError (C var)" -msgstr "" - -msgid "PyExc_KeyboardInterrupt (C var)" -msgstr "" - -msgid "PyExc_LookupError (C var)" -msgstr "" - -msgid "PyExc_MemoryError (C var)" -msgstr "" - -msgid "PyExc_ModuleNotFoundError (C var)" -msgstr "" - -msgid "PyExc_NameError (C var)" -msgstr "" - -msgid "PyExc_NotADirectoryError (C var)" -msgstr "" - -msgid "PyExc_NotImplementedError (C var)" -msgstr "" - -msgid "PyExc_OSError (C var)" -msgstr "" - -msgid "PyExc_OverflowError (C var)" -msgstr "" - -msgid "PyExc_PermissionError (C var)" -msgstr "" - -msgid "PyExc_ProcessLookupError (C var)" -msgstr "" - -msgid "PyExc_PythonFinalizationError (C var)" -msgstr "" - -msgid "PyExc_RecursionError (C var)" -msgstr "" - -msgid "PyExc_ReferenceError (C var)" -msgstr "" - -msgid "PyExc_RuntimeError (C var)" -msgstr "" - -msgid "PyExc_StopAsyncIteration (C var)" -msgstr "" - -msgid "PyExc_StopIteration (C var)" -msgstr "" - -msgid "PyExc_SyntaxError (C var)" -msgstr "" - -msgid "PyExc_SystemError (C var)" -msgstr "" - -msgid "PyExc_SystemExit (C var)" -msgstr "" - -msgid "PyExc_TabError (C var)" -msgstr "" - -msgid "PyExc_TimeoutError (C var)" -msgstr "" - -msgid "PyExc_TypeError (C var)" -msgstr "" - -msgid "PyExc_UnboundLocalError (C var)" -msgstr "" - -msgid "PyExc_UnicodeDecodeError (C var)" -msgstr "" - -msgid "PyExc_UnicodeEncodeError (C var)" -msgstr "" - -msgid "PyExc_UnicodeError (C var)" -msgstr "" - -msgid "PyExc_UnicodeTranslateError (C var)" -msgstr "" - -msgid "PyExc_ValueError (C var)" -msgstr "" - -msgid "PyExc_ZeroDivisionError (C var)" -msgstr "" - -msgid "PyExc_EnvironmentError (C var)" -msgstr "" - -msgid "PyExc_IOError (C var)" -msgstr "" - -msgid "PyExc_WindowsError (C var)" -msgstr "" - -msgid "PyExc_Warning (C var)" -msgstr "" - -msgid "PyExc_BytesWarning (C var)" -msgstr "" - -msgid "PyExc_DeprecationWarning (C var)" -msgstr "" - -msgid "PyExc_FutureWarning (C var)" -msgstr "" - -msgid "PyExc_ImportWarning (C var)" -msgstr "" - -msgid "PyExc_PendingDeprecationWarning (C var)" -msgstr "" - -msgid "PyExc_ResourceWarning (C var)" -msgstr "" - -msgid "PyExc_RuntimeWarning (C var)" -msgstr "" - -msgid "PyExc_SyntaxWarning (C var)" -msgstr "" - -msgid "PyExc_UnicodeWarning (C var)" -msgstr "" - -msgid "PyExc_UserWarning (C var)" -msgstr "" diff --git a/c-api/file.po b/c-api/file.po index d3184b352..4a2cd8922 100644 --- a/c-api/file.po +++ b/c-api/file.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:48+0000\n" "Last-Translator: haaritsubaki, 2023\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/c-api/float.po b/c-api/float.po index 408305ad5..3ff558c08 100644 --- a/c-api/float.po +++ b/c-api/float.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:48+0000\n" "Last-Translator: haaritsubaki, 2023\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/c-api/function.po b/c-api/function.po index 2d41e939d..205588d9f 100644 --- a/c-api/function.po +++ b/c-api/function.po @@ -7,15 +7,16 @@ # Waldemar Stoczkowski, 2023 # Maciej Olko , 2023 # haaritsubaki, 2023 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:48+0000\n" -"Last-Translator: haaritsubaki, 2023\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -105,6 +106,11 @@ msgid "" "unaltered (default) vectorcall function!" msgstr "" +msgid "" +"Return the keyword-only argument default values of the function object *op*. " +"This can be a dictionary of arguments or ``NULL``." +msgstr "" + msgid "" "Return the closure associated with the function object *op*. This can be " "``NULL`` or a tuple of cell objects." @@ -125,6 +131,12 @@ msgid "" "dictionary or ``Py_None``." msgstr "" +msgid "" +"These functions are similar to their ``PyFunction_Get*`` counterparts, but " +"do not do type checking. Passing anything other than an instance of :c:data:" +"`PyFunction_Type` is undefined behavior." +msgstr "" + msgid "" "Register *callback* as a function watcher for the current interpreter. " "Return an ID which may be passed to :c:func:`PyFunction_ClearWatcher`. In " @@ -143,19 +155,19 @@ msgid "Enumeration of possible function watcher events:" msgstr "" msgid "``PyFunction_EVENT_CREATE``" -msgstr "" +msgstr "``PyFunction_EVENT_CREATE``" msgid "``PyFunction_EVENT_DESTROY``" -msgstr "" +msgstr "``PyFunction_EVENT_DESTROY``" msgid "``PyFunction_EVENT_MODIFY_CODE``" -msgstr "" +msgstr "``PyFunction_EVENT_MODIFY_CODE``" msgid "``PyFunction_EVENT_MODIFY_DEFAULTS``" -msgstr "" +msgstr "``PyFunction_EVENT_MODIFY_DEFAULTS``" msgid "``PyFunction_EVENT_MODIFY_KWDEFAULTS``" -msgstr "" +msgstr "``PyFunction_EVENT_MODIFY_KWDEFAULTS``" msgid "Type of a function watcher callback function." msgstr "" @@ -174,7 +186,7 @@ msgstr "" msgid "" "If *event* is ``PyFunction_EVENT_CREATE``, then the callback is invoked " -"after `func` has been fully initialized. Otherwise, the callback is invoked " +"after *func* has been fully initialized. Otherwise, the callback is invoked " "before the modification to *func* takes place, so the prior state of *func* " "can be inspected. The runtime is permitted to optimize away the creation of " "function objects when possible. In such cases no event will be emitted. " diff --git a/c-api/gcsupport.po b/c-api/gcsupport.po index 42e3b504e..5f222cc3b 100644 --- a/c-api/gcsupport.po +++ b/c-api/gcsupport.po @@ -4,16 +4,16 @@ # FIRST AUTHOR , YEAR. # # Translators: -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:48+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -100,11 +100,42 @@ msgid "" "macro:`Py_TPFLAGS_HAVE_GC` flag set." msgstr "" +msgid "" +"Do not call this directly to allocate memory for an object; call the type's :" +"c:member:`~PyTypeObject.tp_alloc` slot instead." +msgstr "" + +msgid "" +"When populating a type's :c:member:`~PyTypeObject.tp_alloc` slot, :c:func:" +"`PyType_GenericAlloc` is preferred over a custom function that simply calls " +"this macro." +msgstr "" + +msgid "" +"Memory allocated by this macro must be freed with :c:func:`PyObject_GC_Del` " +"(usually called via the object's :c:member:`~PyTypeObject.tp_free` slot)." +msgstr "" + +msgid ":c:func:`PyObject_GC_Del`" +msgstr "" + +msgid ":c:macro:`PyObject_New`" +msgstr "" + +msgid ":c:func:`PyType_GenericAlloc`" +msgstr "" + +msgid ":c:member:`~PyTypeObject.tp_alloc`" +msgstr ":c:member:`~PyTypeObject.tp_alloc`" + msgid "" "Analogous to :c:macro:`PyObject_NewVar` but for container objects with the :" "c:macro:`Py_TPFLAGS_HAVE_GC` flag set." msgstr "" +msgid ":c:macro:`PyObject_NewVar`" +msgstr "" + msgid "" "Analogous to :c:macro:`PyObject_GC_New` but allocates *extra_size* bytes at " "the end of the object (at offset :c:member:`~PyTypeObject.tp_basicsize`). " @@ -117,6 +148,12 @@ msgid "" "managed by Python." msgstr "" +msgid "" +"Memory allocated by this function must be freed with :c:func:" +"`PyObject_GC_Del` (usually called via the object's :c:member:`~PyTypeObject." +"tp_free` slot)." +msgstr "" + msgid "" "The function is marked as unstable because the final mechanism for reserving " "extra data after an instance is not yet decided. For allocating a variable " @@ -174,6 +211,29 @@ msgid "" "c:macro:`PyObject_GC_NewVar`." msgstr "" +msgid "" +"Do not call this directly to free an object's memory; call the type's :c:" +"member:`~PyTypeObject.tp_free` slot instead." +msgstr "" + +msgid "" +"Do not use this for memory allocated by :c:macro:`PyObject_New`, :c:macro:" +"`PyObject_NewVar`, or related allocation functions; use :c:func:" +"`PyObject_Free` instead." +msgstr "" + +msgid ":c:func:`PyObject_Free` is the non-GC equivalent of this function." +msgstr "" + +msgid ":c:macro:`PyObject_GC_New`" +msgstr "" + +msgid ":c:macro:`PyObject_GC_NewVar`" +msgstr "" + +msgid ":c:member:`~PyTypeObject.tp_free`" +msgstr ":c:member:`~PyTypeObject.tp_free`" + msgid "" "Remove the object *op* from the set of container objects tracked by the " "collector. Note that :c:func:`PyObject_GC_Track` can be called again on " @@ -224,9 +284,10 @@ msgid "" msgstr "" msgid "" -"If *o* is not ``NULL``, call the *visit* callback, with arguments *o* and " -"*arg*. If *visit* returns a non-zero value, then return it. Using this " -"macro, :c:member:`~PyTypeObject.tp_traverse` handlers look like::" +"If the :c:expr:`PyObject *` *o* is not ``NULL``, call the *visit* callback, " +"with arguments *o* and *arg*. If *visit* returns a non-zero value, then " +"return it. Using this macro, :c:member:`~PyTypeObject.tp_traverse` handlers " +"look like::" msgstr "" msgid "" diff --git a/c-api/import.po b/c-api/import.po index 0b41525c2..54b8c89f9 100644 --- a/c-api/import.po +++ b/c-api/import.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:48+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/c-api/index.po b/c-api/index.po index 1eec21d8c..5e44b9714 100644 --- a/c-api/index.po +++ b/c-api/index.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:48+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/c-api/init.po b/c-api/init.po index 2f4868b97..54d51f32e 100644 --- a/c-api/init.po +++ b/c-api/init.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:49+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -602,18 +602,8 @@ msgid "" msgstr "" msgid "" -"The return value will be ``0`` if the interpreter exits normally (i.e., " -"without an exception), ``1`` if the interpreter exits due to an exception, " -"or ``2`` if the argument list does not represent a valid Python command line." -msgstr "" - -msgid "" -"Note that if an otherwise unhandled :exc:`SystemExit` is raised, this " -"function will not return ``1``, but exit the process, as long as " -"``Py_InspectFlag`` is not set. If ``Py_InspectFlag`` is set, execution will " -"drop into the interactive Python prompt, at which point a second otherwise " -"unhandled :exc:`SystemExit` will still exit the process, while any other " -"means of exiting will set the return value as described above." +"The return value is ``2`` if the argument list does not represent a valid " +"Python command line, and otherwise the same as :c:func:`Py_RunMain`." msgstr "" msgid "" @@ -658,9 +648,8 @@ msgstr "" msgid "" "If :c:member:`PyConfig.inspect` is not set (the default), the return value " "will be ``0`` if the interpreter exits normally (that is, without raising an " -"exception), or ``1`` if the interpreter exits due to an exception. If an " -"otherwise unhandled :exc:`SystemExit` is raised, the function will " -"immediately exit the process instead of returning ``1``." +"exception), the exit status of an unhandled :exc:`SystemExit`, or ``1`` for " +"any other unhandled exception." msgstr "" msgid "" @@ -669,16 +658,12 @@ msgid "" "instead resume in an interactive Python prompt (REPL) using the ``__main__`` " "module's global namespace. If the interpreter exited with an exception, it " "is immediately raised in the REPL session. The function return value is then " -"determined by the way the *REPL session* terminates: returning ``0`` if the " -"session terminates without raising an unhandled exception, exiting " -"immediately for an unhandled :exc:`SystemExit`, and returning ``1`` for any " -"other unhandled exception." +"determined by the way the *REPL session* terminates: ``0``, ``1``, or the " +"status of a :exc:`SystemExit`, as specified above." msgstr "" msgid "" -"This function always finalizes the Python interpreter regardless of whether " -"it returns a value or immediately exits the process due to an unhandled :exc:" -"`SystemExit` exception." +"This function always finalizes the Python interpreter before it returns." msgstr "" msgid "" @@ -1169,7 +1154,43 @@ msgid "" "interpreter (created automatically by :c:func:`Py_Initialize`). Python " "supports the creation of additional interpreters (using :c:func:" "`Py_NewInterpreter`), but mixing multiple interpreters and the " -"``PyGILState_*`` API is unsupported." +"``PyGILState_*`` API is unsupported. This is because :c:func:" +"`PyGILState_Ensure` and similar functions default to :term:`attaching " +"` a :term:`thread state` for the main interpreter, " +"meaning that the thread can't safely interact with the calling " +"subinterpreter." +msgstr "" + +msgid "Supporting subinterpreters in non-Python threads" +msgstr "" + +msgid "" +"If you would like to support subinterpreters with non-Python created " +"threads, you must use the ``PyThreadState_*`` API instead of the traditional " +"``PyGILState_*`` API." +msgstr "" + +msgid "" +"In particular, you must store the interpreter state from the calling " +"function and pass it to :c:func:`PyThreadState_New`, which will ensure that " +"the :term:`thread state` is targeting the correct interpreter::" +msgstr "" + +msgid "" +"/* The return value of PyInterpreterState_Get() from the\n" +" function that created this thread. */\n" +"PyInterpreterState *interp = ThreadData->interp;\n" +"PyThreadState *tstate = PyThreadState_New(interp);\n" +"PyThreadState_Swap(tstate);\n" +"\n" +"/* GIL of the subinterpreter is now held.\n" +" Perform Python actions here. */\n" +"result = CallSomeFunction();\n" +"/* evaluate result or handle exception */\n" +"\n" +"/* Destroy the thread state. No Python API allowed beyond this point. */\n" +"PyThreadState_Clear(tstate);\n" +"PyThreadState_DeleteCurrent();" msgstr "" msgid "Cautions about fork()" @@ -1347,6 +1368,11 @@ msgid "" "will simply return ``NULL`` indicating that there was no prior thread state." msgstr "" +msgid "" +"Similar to :c:func:`PyGILState_Ensure`, this function will hang the thread " +"if the runtime is finalizing." +msgstr "" + msgid "" "The following functions use thread-local storage, and are not compatible " "with sub-interpreters:" @@ -1379,6 +1405,13 @@ msgid "" "fatal error." msgstr "" +msgid "" +"Calling this function when the runtime is finalizing is unsafe. Doing so " +"will either hang the thread until the program ends, or fully crash the " +"interpreter in rare cases. Refer to :ref:`cautions-regarding-runtime-" +"finalization` for more details." +msgstr "" + msgid "" "Release any resources previously acquired. After this call, Python's state " "will be the same as it was prior to the corresponding :c:func:" @@ -1398,14 +1431,28 @@ msgid "" "been made on the main thread. This is mainly a helper/diagnostic function." msgstr "" +msgid "" +"This function does not account for :term:`thread states ` " +"created by something other than :c:func:`PyGILState_Ensure` (such as :c:func:" +"`PyThreadState_New`). Prefer :c:func:`PyThreadState_Get` or :c:func:" +"`PyThreadState_GetUnchecked` for most cases." +msgstr "" + msgid "" "Return ``1`` if the current thread is holding the :term:`GIL` and ``0`` " "otherwise. This function can be called from any thread at any time. Only if " -"it has had its Python thread state initialized and currently is holding the :" -"term:`GIL` will it return ``1``. This is mainly a helper/diagnostic " -"function. It can be useful for example in callback contexts or memory " -"allocation functions when knowing that the :term:`GIL` is locked can allow " -"the caller to perform sensitive actions or otherwise behave differently." +"it has had its :term:`thread state ` initialized via :" +"c:func:`PyGILState_Ensure` will it return ``1``. This is mainly a helper/" +"diagnostic function. It can be useful for example in callback contexts or " +"memory allocation functions when knowing that the :term:`GIL` is locked can " +"allow the caller to perform sensitive actions or otherwise behave " +"differently." +msgstr "" + +msgid "" +"If the current Python process has ever created a subinterpreter, this " +"function will *always* return ``1``. Prefer :c:func:" +"`PyThreadState_GetUnchecked` for most cases." msgstr "" msgid "" @@ -1463,7 +1510,7 @@ msgstr "" msgid "" "Reset all information in an interpreter state object. There must be an :" -"term:`attached thread state` for the the interpreter." +"term:`attached thread state` for the interpreter." msgstr "" msgid "" diff --git a/c-api/init_config.po b/c-api/init_config.po index 306f0b19a..d8cde34a9 100644 --- a/c-api/init_config.po +++ b/c-api/init_config.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:49+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -287,7 +287,7 @@ msgid "``\"allocator\"``" msgstr "" msgid ":c:member:`allocator `" -msgstr "" +msgstr ":c:member:`allocator `" msgid "``int``" msgstr "``int``" @@ -296,13 +296,13 @@ msgid "Read-only" msgstr "" msgid "``\"argv\"``" -msgstr "" +msgstr "``\"argv\"``" msgid ":c:member:`argv `" -msgstr "" +msgstr ":c:member:`argv `" msgid "``list[str]``" -msgstr "" +msgstr "``list[str]``" msgid "Public" msgstr "" @@ -311,414 +311,416 @@ msgid "``\"base_exec_prefix\"``" msgstr "" msgid ":c:member:`base_exec_prefix `" -msgstr "" +msgstr ":c:member:`base_exec_prefix `" msgid "``str``" -msgstr "" +msgstr "``str``" msgid "``\"base_executable\"``" msgstr "" msgid ":c:member:`base_executable `" -msgstr "" +msgstr ":c:member:`base_executable `" msgid "``\"base_prefix\"``" msgstr "" msgid ":c:member:`base_prefix `" -msgstr "" +msgstr ":c:member:`base_prefix `" msgid "``\"buffered_stdio\"``" msgstr "" msgid ":c:member:`buffered_stdio `" -msgstr "" +msgstr ":c:member:`buffered_stdio `" msgid "``bool``" -msgstr "" +msgstr "``bool``" msgid "``\"bytes_warning\"``" msgstr "" msgid ":c:member:`bytes_warning `" -msgstr "" +msgstr ":c:member:`bytes_warning `" msgid "``\"check_hash_pycs_mode\"``" msgstr "" msgid ":c:member:`check_hash_pycs_mode `" -msgstr "" +msgstr ":c:member:`check_hash_pycs_mode `" msgid "``\"code_debug_ranges\"``" msgstr "" msgid ":c:member:`code_debug_ranges `" -msgstr "" +msgstr ":c:member:`code_debug_ranges `" msgid "``\"coerce_c_locale\"``" -msgstr "" +msgstr "``\"coerce_c_locale\"``" msgid ":c:member:`coerce_c_locale `" -msgstr "" +msgstr ":c:member:`coerce_c_locale `" msgid "``\"coerce_c_locale_warn\"``" -msgstr "" +msgstr "``\"coerce_c_locale_warn\"``" msgid ":c:member:`coerce_c_locale_warn `" -msgstr "" +msgstr ":c:member:`coerce_c_locale_warn `" msgid "``\"configure_c_stdio\"``" -msgstr "" +msgstr "``\"configure_c_stdio\"``" msgid ":c:member:`configure_c_stdio `" -msgstr "" +msgstr ":c:member:`configure_c_stdio `" msgid "``\"configure_locale\"``" msgstr "" msgid ":c:member:`configure_locale `" -msgstr "" +msgstr ":c:member:`configure_locale `" msgid "``\"cpu_count\"``" msgstr "" msgid ":c:member:`cpu_count `" -msgstr "" +msgstr ":c:member:`cpu_count `" msgid "``\"dev_mode\"``" msgstr "" msgid ":c:member:`dev_mode `" -msgstr "" +msgstr ":c:member:`dev_mode `" msgid "``\"dump_refs\"``" msgstr "" msgid ":c:member:`dump_refs `" -msgstr "" +msgstr ":c:member:`dump_refs `" msgid "``\"dump_refs_file\"``" msgstr "" msgid ":c:member:`dump_refs_file `" -msgstr "" +msgstr ":c:member:`dump_refs_file `" msgid "``\"exec_prefix\"``" msgstr "" msgid ":c:member:`exec_prefix `" -msgstr "" +msgstr ":c:member:`exec_prefix `" msgid "``\"executable\"``" msgstr "" msgid ":c:member:`executable `" -msgstr "" +msgstr ":c:member:`executable `" msgid "``\"faulthandler\"``" msgstr "" msgid ":c:member:`faulthandler `" -msgstr "" +msgstr ":c:member:`faulthandler `" msgid "``\"filesystem_encoding\"``" msgstr "" msgid ":c:member:`filesystem_encoding `" -msgstr "" +msgstr ":c:member:`filesystem_encoding `" msgid "``\"filesystem_errors\"``" msgstr "" msgid ":c:member:`filesystem_errors `" -msgstr "" +msgstr ":c:member:`filesystem_errors `" msgid "``\"hash_seed\"``" msgstr "" msgid ":c:member:`hash_seed `" -msgstr "" +msgstr ":c:member:`hash_seed `" msgid "``\"home\"``" msgstr "" msgid ":c:member:`home `" -msgstr "" +msgstr ":c:member:`home `" msgid "``\"import_time\"``" msgstr "" msgid ":c:member:`import_time `" -msgstr "" +msgstr ":c:member:`import_time `" msgid "``\"inspect\"``" msgstr "" msgid ":c:member:`inspect `" -msgstr "" +msgstr ":c:member:`inspect `" msgid "``\"install_signal_handlers\"``" msgstr "" msgid ":c:member:`install_signal_handlers `" -msgstr "" +msgstr ":c:member:`install_signal_handlers `" msgid "``\"int_max_str_digits\"``" msgstr "" msgid ":c:member:`int_max_str_digits `" -msgstr "" +msgstr ":c:member:`int_max_str_digits `" msgid "``\"interactive\"``" msgstr "" msgid ":c:member:`interactive `" -msgstr "" +msgstr ":c:member:`interactive `" msgid "``\"isolated\"``" msgstr "" msgid ":c:member:`isolated `" -msgstr "" +msgstr ":c:member:`isolated `" msgid "``\"legacy_windows_fs_encoding\"``" -msgstr "" +msgstr "``\"legacy_windows_fs_encoding\"``" msgid "" ":c:member:`legacy_windows_fs_encoding `" msgstr "" +":c:member:`legacy_windows_fs_encoding `" msgid "``\"legacy_windows_stdio\"``" -msgstr "" +msgstr "``\"legacy_windows_stdio\"``" msgid ":c:member:`legacy_windows_stdio `" -msgstr "" +msgstr ":c:member:`legacy_windows_stdio `" msgid "``\"malloc_stats\"``" msgstr "" msgid ":c:member:`malloc_stats `" -msgstr "" +msgstr ":c:member:`malloc_stats `" msgid "``\"module_search_paths\"``" msgstr "" msgid ":c:member:`module_search_paths `" -msgstr "" +msgstr ":c:member:`module_search_paths `" msgid "``\"optimization_level\"``" msgstr "" msgid ":c:member:`optimization_level `" -msgstr "" +msgstr ":c:member:`optimization_level `" msgid "``\"orig_argv\"``" msgstr "" msgid ":c:member:`orig_argv `" -msgstr "" +msgstr ":c:member:`orig_argv `" msgid "``\"parse_argv\"``" msgstr "" msgid ":c:member:`parse_argv `" -msgstr "" +msgstr ":c:member:`parse_argv `" msgid "``\"parser_debug\"``" msgstr "" msgid ":c:member:`parser_debug `" -msgstr "" +msgstr ":c:member:`parser_debug `" msgid "``\"pathconfig_warnings\"``" msgstr "" msgid ":c:member:`pathconfig_warnings `" -msgstr "" +msgstr ":c:member:`pathconfig_warnings `" msgid "``\"perf_profiling\"``" msgstr "" msgid ":c:member:`perf_profiling `" -msgstr "" +msgstr ":c:member:`perf_profiling `" msgid "``\"platlibdir\"``" msgstr "" msgid ":c:member:`platlibdir `" -msgstr "" +msgstr ":c:member:`platlibdir `" msgid "``\"prefix\"``" msgstr "" msgid ":c:member:`prefix `" -msgstr "" +msgstr ":c:member:`prefix `" msgid "``\"program_name\"``" msgstr "" msgid ":c:member:`program_name `" -msgstr "" +msgstr ":c:member:`program_name `" msgid "``\"pycache_prefix\"``" msgstr "" msgid ":c:member:`pycache_prefix `" -msgstr "" +msgstr ":c:member:`pycache_prefix `" msgid "``\"quiet\"``" msgstr "" msgid ":c:member:`quiet `" -msgstr "" +msgstr ":c:member:`quiet `" msgid "``\"run_command\"``" msgstr "" msgid ":c:member:`run_command `" -msgstr "" +msgstr ":c:member:`run_command `" msgid "``\"run_filename\"``" msgstr "" msgid ":c:member:`run_filename `" -msgstr "" +msgstr ":c:member:`run_filename `" msgid "``\"run_module\"``" msgstr "" msgid ":c:member:`run_module `" -msgstr "" +msgstr ":c:member:`run_module `" msgid "``\"run_presite\"``" msgstr "" msgid ":c:member:`run_presite `" -msgstr "" +msgstr ":c:member:`run_presite `" msgid "``\"safe_path\"``" msgstr "" msgid ":c:member:`safe_path `" -msgstr "" +msgstr ":c:member:`safe_path `" msgid "``\"show_ref_count\"``" msgstr "" msgid ":c:member:`show_ref_count `" -msgstr "" +msgstr ":c:member:`show_ref_count `" msgid "``\"site_import\"``" msgstr "" msgid ":c:member:`site_import `" -msgstr "" +msgstr ":c:member:`site_import `" msgid "``\"skip_source_first_line\"``" msgstr "" msgid ":c:member:`skip_source_first_line `" -msgstr "" +msgstr ":c:member:`skip_source_first_line `" msgid "``\"stdio_encoding\"``" msgstr "" msgid ":c:member:`stdio_encoding `" -msgstr "" +msgstr ":c:member:`stdio_encoding `" msgid "``\"stdio_errors\"``" msgstr "" msgid ":c:member:`stdio_errors `" -msgstr "" +msgstr ":c:member:`stdio_errors `" msgid "``\"stdlib_dir\"``" msgstr "" msgid ":c:member:`stdlib_dir `" -msgstr "" +msgstr ":c:member:`stdlib_dir `" msgid "``\"tracemalloc\"``" msgstr "" msgid ":c:member:`tracemalloc `" -msgstr "" +msgstr ":c:member:`tracemalloc `" msgid "``\"use_environment\"``" msgstr "" msgid ":c:member:`use_environment `" -msgstr "" +msgstr ":c:member:`use_environment `" msgid "``\"use_frozen_modules\"``" msgstr "" msgid ":c:member:`use_frozen_modules `" -msgstr "" +msgstr ":c:member:`use_frozen_modules `" msgid "``\"use_hash_seed\"``" msgstr "" msgid ":c:member:`use_hash_seed `" -msgstr "" +msgstr ":c:member:`use_hash_seed `" msgid "``\"use_system_logger\"``" msgstr "" msgid ":c:member:`use_system_logger `" -msgstr "" +msgstr ":c:member:`use_system_logger `" msgid "``\"user_site_directory\"``" msgstr "" msgid ":c:member:`user_site_directory `" -msgstr "" +msgstr ":c:member:`user_site_directory `" msgid "``\"utf8_mode\"``" msgstr "" msgid ":c:member:`utf8_mode `" -msgstr "" +msgstr ":c:member:`utf8_mode `" msgid "``\"verbose\"``" msgstr "" msgid ":c:member:`verbose `" -msgstr "" +msgstr ":c:member:`verbose `" msgid "``\"warn_default_encoding\"``" msgstr "" msgid ":c:member:`warn_default_encoding `" -msgstr "" +msgstr ":c:member:`warn_default_encoding `" msgid "``\"warnoptions\"``" msgstr "" msgid ":c:member:`warnoptions `" -msgstr "" +msgstr ":c:member:`warnoptions `" msgid "``\"write_bytecode\"``" msgstr "" msgid ":c:member:`write_bytecode `" -msgstr "" +msgstr ":c:member:`write_bytecode `" msgid "``\"xoptions\"``" msgstr "" msgid ":c:member:`xoptions `" -msgstr "" +msgstr ":c:member:`xoptions `" msgid "``dict[str, str]``" -msgstr "" +msgstr "``dict[str, str]``" msgid "``\"_pystats\"``" -msgstr "" +msgstr "``\"_pystats\"``" msgid ":c:member:`_pystats `" -msgstr "" +msgstr ":c:member:`_pystats `" msgid "Visibility:" msgstr "" diff --git a/c-api/intro.po b/c-api/intro.po index b2ab3d2c6..92e2d41bf 100644 --- a/c-api/intro.po +++ b/c-api/intro.po @@ -9,15 +9,16 @@ # Maciej Olko , 2023 # haaritsubaki, 2023 # Stan Ulbrych, 2025 +# Krzysztof Abramowicz, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:49+0000\n" -"Last-Translator: Stan Ulbrych, 2025\n" +"Last-Translator: Krzysztof Abramowicz, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -203,36 +204,9 @@ msgstr "" msgid "" "Several useful macros are defined in the Python header files. Many are " -"defined closer to where they are useful (e.g. :c:macro:`Py_RETURN_NONE`). " -"Others of a more general utility are defined here. This is not necessarily " -"a complete listing." -msgstr "" - -msgid "" -"Declare an extension module ``PyInit`` initialization function. The function " -"return type is :c:expr:`PyObject*`. The macro declares any special linkage " -"declarations required by the platform, and for C++ declares the function as " -"``extern \"C\"``." -msgstr "" - -msgid "" -"The initialization function must be named :samp:`PyInit_{name}`, where " -"*name* is the name of the module, and should be the only non-\\ ``static`` " -"item defined in the module file. Example::" -msgstr "" - -msgid "" -"static struct PyModuleDef spam_module = {\n" -" PyModuleDef_HEAD_INIT,\n" -" .m_name = \"spam\",\n" -" ...\n" -"};\n" -"\n" -"PyMODINIT_FUNC\n" -"PyInit_spam(void)\n" -"{\n" -" return PyModule_Create(&spam_module);\n" -"}" +"defined closer to where they are useful (for example, :c:macro:" +"`Py_RETURN_NONE`, :c:macro:`PyMODINIT_FUNC`). Others of a more general " +"utility are defined here. This is not necessarily a complete listing." msgstr "" msgid "Return the absolute value of ``x``." @@ -1024,6 +998,72 @@ msgstr "" "Odwołaj się do :file:`Misc/SpecialBuilds.txt` w źródłowym pakiecie języka " "pytonowskiego po więcej szczegółów." +msgid "Recommended third party tools" +msgstr "Rekomendowane zewnętrzne narzędzia." + +msgid "" +"The following third party tools offer both simpler and more sophisticated " +"approaches to creating C, C++ and Rust extensions for Python:" +msgstr "" + +msgid "`Cython `_" +msgstr "" + +msgid "`cffi `_" +msgstr "" + +msgid "`HPy `_" +msgstr "" + +msgid "`nanobind `_ (C++)" +msgstr "" + +msgid "`Numba `_" +msgstr "" + +msgid "`pybind11 `_ (C++)" +msgstr "" + +msgid "`PyO3 `_ (Rust)" +msgstr "" + +msgid "`SWIG `_" +msgstr "" + +msgid "" +"Using tools such as these can help avoid writing code that is tightly bound " +"to a particular version of CPython, avoid reference counting errors, and " +"focus more on your own code than on using the CPython API. In general, new " +"versions of Python can be supported by updating the tool, and your code will " +"often use newer and more efficient APIs automatically. Some tools also " +"support compiling for other implementations of Python from a single set of " +"sources." +msgstr "" + +msgid "" +"These projects are not supported by the same people who maintain Python, and " +"issues need to be raised with the projects directly. Remember to check that " +"the project is still maintained and supported, as the list above may become " +"outdated." +msgstr "" + +msgid "" +"`Python Packaging User Guide: Binary Extensions `_" +msgstr "" +"Pakiety Pythona Podręcznik Użytkownika: Rozszerzenia Binarne\n" +", YEAR. +# +# Translators: +# Maciej Olko , 2025 +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: Python 3.14\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" +"PO-Revision-Date: 2025-05-23 14:21+0000\n" +"Last-Translator: Maciej Olko , 2025\n" +"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: pl\n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && " +"(n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && " +"n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" + +msgid "Object Life Cycle" +msgstr "" + +msgid "" +"This section explains how a type's slots relate to each other throughout the " +"life of an object. It is not intended to be a complete canonical reference " +"for the slots; instead, refer to the slot-specific documentation in :ref:" +"`type-structs` for details about a particular slot." +msgstr "" + +msgid "Life Events" +msgstr "" + +msgid "" +"The figure below illustrates the order of events that can occur throughout " +"an object's life. An arrow from *A* to *B* indicates that event *B* can " +"occur after event *A* has occurred, with the arrow's label indicating the " +"condition that must be true for *B* to occur after *A*." +msgstr "" + +msgid "Diagram showing events in an object's life. Explained in detail below." +msgstr "" + +msgid "Explanation:" +msgstr "" + +msgid "When a new object is constructed by calling its type:" +msgstr "" + +msgid ":c:member:`~PyTypeObject.tp_new` is called to create a new object." +msgstr "" + +msgid "" +":c:member:`~PyTypeObject.tp_alloc` is directly called by :c:member:" +"`~PyTypeObject.tp_new` to allocate the memory for the new object." +msgstr "" + +msgid "" +":c:member:`~PyTypeObject.tp_init` initializes the newly created object. :c:" +"member:`!tp_init` can be called again to re-initialize an object, if " +"desired. The :c:member:`!tp_init` call can also be skipped entirely, for " +"example by Python code calling :py:meth:`~object.__new__`." +msgstr "" + +msgid "After :c:member:`!tp_init` completes, the object is ready to use." +msgstr "" + +msgid "Some time after the last reference to an object is removed:" +msgstr "" + +msgid "" +"If an object is not marked as *finalized*, it might be finalized by marking " +"it as *finalized* and calling its :c:member:`~PyTypeObject.tp_finalize` " +"function. Python does *not* finalize an object when the last reference to " +"it is deleted; use :c:func:`PyObject_CallFinalizerFromDealloc` to ensure " +"that :c:member:`~PyTypeObject.tp_finalize` is always called." +msgstr "" + +msgid "" +"If the object is marked as finalized, :c:member:`~PyTypeObject.tp_clear` " +"might be called by the garbage collector to clear references held by the " +"object. It is *not* called when the object's reference count reaches zero." +msgstr "" + +msgid "" +":c:member:`~PyTypeObject.tp_dealloc` is called to destroy the object. To " +"avoid code duplication, :c:member:`~PyTypeObject.tp_dealloc` typically calls " +"into :c:member:`~PyTypeObject.tp_clear` to free up the object's references." +msgstr "" + +msgid "" +"When :c:member:`~PyTypeObject.tp_dealloc` finishes object destruction, it " +"directly calls :c:member:`~PyTypeObject.tp_free` (usually set to :c:func:" +"`PyObject_Free` or :c:func:`PyObject_GC_Del` automatically as appropriate " +"for the type) to deallocate the memory." +msgstr "" + +msgid "" +"The :c:member:`~PyTypeObject.tp_finalize` function is permitted to add a " +"reference to the object if desired. If it does, the object is " +"*resurrected*, preventing its pending destruction. (Only :c:member:`!" +"tp_finalize` is allowed to resurrect an object; :c:member:`~PyTypeObject." +"tp_clear` and :c:member:`~PyTypeObject.tp_dealloc` cannot without calling " +"into :c:member:`!tp_finalize`.) Resurrecting an object may or may not cause " +"the object's *finalized* mark to be removed. Currently, Python does not " +"remove the *finalized* mark from a resurrected object if it supports garbage " +"collection (i.e., the :c:macro:`Py_TPFLAGS_HAVE_GC` flag is set) but does " +"remove the mark if the object does not support garbage collection; either or " +"both of these behaviors may change in the future." +msgstr "" + +msgid "" +":c:member:`~PyTypeObject.tp_dealloc` can optionally call :c:member:" +"`~PyTypeObject.tp_finalize` via :c:func:`PyObject_CallFinalizerFromDealloc` " +"if it wishes to reuse that code to help with object destruction. This is " +"recommended because it guarantees that :c:member:`!tp_finalize` is always " +"called before destruction. See the :c:member:`~PyTypeObject.tp_dealloc` " +"documentation for example code." +msgstr "" + +msgid "" +"If the object is a member of a :term:`cyclic isolate` and either :c:member:" +"`~PyTypeObject.tp_clear` fails to break the reference cycle or the cyclic " +"isolate is not detected (perhaps :func:`gc.disable` was called, or the :c:" +"macro:`Py_TPFLAGS_HAVE_GC` flag was erroneously omitted in one of the " +"involved types), the objects remain indefinitely uncollectable (they " +"\"leak\"). See :data:`gc.garbage`." +msgstr "" + +msgid "" +"If the object is marked as supporting garbage collection (the :c:macro:" +"`Py_TPFLAGS_HAVE_GC` flag is set in :c:member:`~PyTypeObject.tp_flags`), the " +"following events are also possible:" +msgstr "" + +msgid "" +"The garbage collector occasionally calls :c:member:`~PyTypeObject." +"tp_traverse` to identify :term:`cyclic isolates `." +msgstr "" + +msgid "" +"When the garbage collector discovers a :term:`cyclic isolate`, it finalizes " +"one of the objects in the group by marking it as *finalized* and calling " +"its :c:member:`~PyTypeObject.tp_finalize` function, if it has one. This " +"repeats until the cyclic isolate doesn't exist or all of the objects have " +"been finalized." +msgstr "" + +msgid "" +":c:member:`~PyTypeObject.tp_finalize` is permitted to resurrect the object " +"by adding a reference from outside the :term:`cyclic isolate`. The new " +"reference causes the group of objects to no longer form a cyclic isolate " +"(the reference cycle may still exist, but if it does the objects are no " +"longer isolated)." +msgstr "" + +msgid "" +"When the garbage collector discovers a :term:`cyclic isolate` and all of the " +"objects in the group have already been marked as *finalized*, the garbage " +"collector clears one or more of the uncleared objects in the group (possibly " +"concurrently) by calling each's :c:member:`~PyTypeObject.tp_clear` " +"function. This repeats as long as the cyclic isolate still exists and not " +"all of the objects have been cleared." +msgstr "" + +msgid "Cyclic Isolate Destruction" +msgstr "" + +msgid "" +"Listed below are the stages of life of a hypothetical :term:`cyclic isolate` " +"that continues to exist after each member object is finalized or cleared. " +"It is a memory leak if a cyclic isolate progresses through all of these " +"stages; it should vanish once all objects are cleared, if not sooner. A " +"cyclic isolate can vanish either because the reference cycle is broken or " +"because the objects are no longer isolated due to finalizer resurrection " +"(see :c:member:`~PyTypeObject.tp_finalize`)." +msgstr "" + +msgid "" +"**Reachable** (not yet a cyclic isolate): All objects are in their normal, " +"reachable state. A reference cycle could exist, but an external reference " +"means the objects are not yet isolated." +msgstr "" + +msgid "" +"**Unreachable but consistent:** The final reference from outside the cyclic " +"group of objects has been removed, causing the objects to become isolated " +"(thus a cyclic isolate is born). None of the group's objects have been " +"finalized or cleared yet. The cyclic isolate remains at this stage until " +"some future run of the garbage collector (not necessarily the next run " +"because the next run might not scan every object)." +msgstr "" + +msgid "" +"**Mix of finalized and not finalized:** Objects in a cyclic isolate are " +"finalized one at a time, which means that there is a period of time when the " +"cyclic isolate is composed of a mix of finalized and non-finalized objects. " +"Finalization order is unspecified, so it can appear random. A finalized " +"object must behave in a sane manner when non-finalized objects interact with " +"it, and a non-finalized object must be able to tolerate the finalization of " +"an arbitrary subset of its referents." +msgstr "" + +msgid "" +"**All finalized:** All objects in a cyclic isolate are finalized before any " +"of them are cleared." +msgstr "" + +msgid "" +"**Mix of finalized and cleared:** The objects can be cleared serially or " +"concurrently (but with the :term:`GIL` held); either way, some will finish " +"before others. A finalized object must be able to tolerate the clearing of " +"a subset of its referents. :pep:`442` calls this stage \"cyclic trash\"." +msgstr "" + +msgid "" +"**Leaked:** If a cyclic isolate still exists after all objects in the group " +"have been finalized and cleared, then the objects remain indefinitely " +"uncollectable (see :data:`gc.garbage`). It is a bug if a cyclic isolate " +"reaches this stage---it means the :c:member:`~PyTypeObject.tp_clear` methods " +"of the participating objects have failed to break the reference cycle as " +"required." +msgstr "" + +msgid "" +"If :c:member:`~PyTypeObject.tp_clear` did not exist, then Python would have " +"no way to safely break a reference cycle. Simply destroying an object in a " +"cyclic isolate would result in a dangling pointer, triggering undefined " +"behavior when an object referencing the destroyed object is itself " +"destroyed. The clearing step makes object destruction a two-phase process: " +"first :c:member:`~PyTypeObject.tp_clear` is called to partially destroy the " +"objects enough to detangle them from each other, then :c:member:" +"`~PyTypeObject.tp_dealloc` is called to complete the destruction." +msgstr "" + +msgid "" +"Unlike clearing, finalization is not a phase of destruction. A finalized " +"object must still behave properly by continuing to fulfill its design " +"contracts. An object's finalizer is allowed to execute arbitrary Python " +"code, and is even allowed to prevent the impending destruction by adding a " +"reference. The finalizer is only related to destruction by call order---if " +"it runs, it runs before destruction, which starts with :c:member:" +"`~PyTypeObject.tp_clear` (if called) and concludes with :c:member:" +"`~PyTypeObject.tp_dealloc`." +msgstr "" + +msgid "" +"The finalization step is not necessary to safely reclaim the objects in a " +"cyclic isolate, but its existence makes it easier to design types that " +"behave in a sane manner when objects are cleared. Clearing an object might " +"necessarily leave it in a broken, partially destroyed state---it might be " +"unsafe to call any of the cleared object's methods or access any of its " +"attributes. With finalization, only finalized objects can possibly interact " +"with cleared objects; non-finalized objects are guaranteed to interact with " +"only non-cleared (but potentially finalized) objects." +msgstr "" + +msgid "To summarize the possible interactions:" +msgstr "" + +msgid "" +"A non-finalized object might have references to or from non-finalized and " +"finalized objects, but not to or from cleared objects." +msgstr "" + +msgid "" +"A finalized object might have references to or from non-finalized, " +"finalized, and cleared objects." +msgstr "" + +msgid "" +"A cleared object might have references to or from finalized and cleared " +"objects, but not to or from non-finalized objects." +msgstr "" + +msgid "" +"Without any reference cycles, an object can be simply destroyed once its " +"last reference is deleted; the finalization and clearing steps are not " +"necessary to safely reclaim unused objects. However, it can be useful to " +"automatically call :c:member:`~PyTypeObject.tp_finalize` and :c:member:" +"`~PyTypeObject.tp_clear` before destruction anyway because type design is " +"simplified when all objects always experience the same series of events " +"regardless of whether they participated in a cyclic isolate. Python " +"currently only calls :c:member:`~PyTypeObject.tp_finalize` and :c:member:" +"`~PyTypeObject.tp_clear` as needed to destroy a cyclic isolate; this may " +"change in a future version." +msgstr "" + +msgid "Functions" +msgstr "Zadania" + +msgid "To allocate and free memory, see :ref:`allocating-objects`." +msgstr "" + +msgid "" +"Finalizes the object as described in :c:member:`~PyTypeObject.tp_finalize`. " +"Call this function (or :c:func:`PyObject_CallFinalizerFromDealloc`) instead " +"of calling :c:member:`~PyTypeObject.tp_finalize` directly because this " +"function may deduplicate multiple calls to :c:member:`!tp_finalize`. " +"Currently, calls are only deduplicated if the type supports garbage " +"collection (i.e., the :c:macro:`Py_TPFLAGS_HAVE_GC` flag is set); this may " +"change in the future." +msgstr "" + +msgid "" +"Same as :c:func:`PyObject_CallFinalizer` but meant to be called at the " +"beginning of the object's destructor (:c:member:`~PyTypeObject.tp_dealloc`). " +"There must not be any references to the object. If the object's finalizer " +"resurrects the object, this function returns -1; no further destruction " +"should happen. Otherwise, this function returns 0 and destruction can " +"continue normally." +msgstr "" + +msgid ":c:member:`~PyTypeObject.tp_dealloc` for example code." +msgstr "" diff --git a/c-api/list.po b/c-api/list.po index eaf8b13e1..cb44166cb 100644 --- a/c-api/list.po +++ b/c-api/list.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -11,9 +11,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:49+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/c-api/long.po b/c-api/long.po index 212409692..30f26840a 100644 --- a/c-api/long.po +++ b/c-api/long.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:49+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -385,10 +385,10 @@ msgid "" msgstr "" msgid "" -"If the returned value is greater than than *n_bytes*, the value was " -"truncated: as many of the lowest bits of the value as could fit are written, " -"and the higher bits are ignored. This matches the typical behavior of a C-" -"style downcast." +"If the returned value is greater than *n_bytes*, the value was truncated: as " +"many of the lowest bits of the value as could fit are written, and the " +"higher bits are ignored. This matches the typical behavior of a C-style " +"downcast." msgstr "" msgid "" diff --git a/c-api/mapping.po b/c-api/mapping.po index 257eeaac7..43d461764 100644 --- a/c-api/mapping.po +++ b/c-api/mapping.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:49+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/c-api/memory.po b/c-api/memory.po index 0111b368a..e65971eec 100644 --- a/c-api/memory.po +++ b/c-api/memory.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:49+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -430,6 +430,42 @@ msgid "" "called before, undefined behavior occurs." msgstr "" +msgid "" +"Do not call this directly to free an object's memory; call the type's :c:" +"member:`~PyTypeObject.tp_free` slot instead." +msgstr "" + +msgid "" +"Do not use this for memory allocated by :c:macro:`PyObject_GC_New` or :c:" +"macro:`PyObject_GC_NewVar`; use :c:func:`PyObject_GC_Del` instead." +msgstr "" + +msgid "" +":c:func:`PyObject_GC_Del` is the equivalent of this function for memory " +"allocated by types that support garbage collection." +msgstr "" + +msgid ":c:func:`PyObject_Malloc`" +msgstr ":c:func:`PyObject_Malloc`" + +msgid ":c:func:`PyObject_Realloc`" +msgstr ":c:func:`PyObject_Realloc`" + +msgid ":c:func:`PyObject_Calloc`" +msgstr ":c:func:`PyObject_Calloc`" + +msgid ":c:macro:`PyObject_New`" +msgstr "" + +msgid ":c:macro:`PyObject_NewVar`" +msgstr "" + +msgid ":c:func:`PyType_GenericAlloc`" +msgstr "" + +msgid ":c:member:`~PyTypeObject.tp_free`" +msgstr ":c:member:`~PyTypeObject.tp_free`" + msgid "Default Memory Allocators" msgstr "" @@ -593,15 +629,6 @@ msgstr ":c:func:`PyMem_Calloc`" msgid ":c:func:`PyMem_Free`" msgstr ":c:func:`PyMem_Free`" -msgid ":c:func:`PyObject_Malloc`" -msgstr ":c:func:`PyObject_Malloc`" - -msgid ":c:func:`PyObject_Realloc`" -msgstr ":c:func:`PyObject_Realloc`" - -msgid ":c:func:`PyObject_Calloc`" -msgstr ":c:func:`PyObject_Calloc`" - msgid ":c:func:`PyObject_Free`" msgstr ":c:func:`PyObject_Free`" diff --git a/c-api/memoryview.po b/c-api/memoryview.po index e26bbffc6..32ea9ccbb 100644 --- a/c-api/memoryview.po +++ b/c-api/memoryview.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:49+0000\n" "Last-Translator: haaritsubaki, 2023\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/c-api/method.po b/c-api/method.po index 6eea86ee5..e4bccb81a 100644 --- a/c-api/method.po +++ b/c-api/method.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -11,9 +11,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:49+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/c-api/module.po b/c-api/module.po index 8c20501ca..013c2b9ee 100644 --- a/c-api/module.po +++ b/c-api/module.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:49+0000\n" "Last-Translator: haaritsubaki, 2023\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -115,26 +115,38 @@ msgid "" "unencodable filenames, use :c:func:`PyModule_GetFilenameObject` instead." msgstr "" -msgid "Initializing C modules" +msgid "Module definitions" msgstr "" msgid "" -"Modules objects are usually created from extension modules (shared libraries " -"which export an initialization function), or compiled-in modules (where the " -"initialization function is added using :c:func:`PyImport_AppendInittab`). " -"See :ref:`building` or :ref:`extending-with-embedding` for details." +"The functions in the previous section work on any module object, including " +"modules imported from Python code." msgstr "" msgid "" -"The initialization function can either pass a module definition instance to :" -"c:func:`PyModule_Create`, and return the resulting module object, or request " -"\"multi-phase initialization\" by returning the definition struct itself." +"Modules defined using the C API typically use a *module definition*, :c:type:" +"`PyModuleDef` -- a statically allocated, constant “description\" of how a " +"module should be created." +msgstr "" + +msgid "" +"The definition is usually used to define an extension's “main” module object " +"(see :ref:`extension-modules` for details). It is also used to :ref:`create " +"extension modules dynamically `." +msgstr "" + +msgid "" +"Unlike :c:func:`PyModule_New`, the definition allows management of *module " +"state* -- a piece of memory that is allocated and cleared together with the " +"module object. Unlike the module's Python attributes, Python code cannot " +"replace or delete data stored in module state." msgstr "" msgid "" "The module definition struct, which holds all information needed to create a " -"module object. There is usually only one statically initialized variable of " -"this type for each module." +"module object. This structure must be statically allocated (or be otherwise " +"guaranteed to be valid while any modules created from it exist). Usually, " +"there is only one variable of this type for each extension module." msgstr "" msgid "Always initialize this member to :c:macro:`PyModuleDef_HEAD_INIT`." @@ -161,15 +173,17 @@ msgid "" msgstr "" msgid "" -"Setting ``m_size`` to ``-1`` means that the module does not support sub-" -"interpreters, because it has global state." +"Setting it to a non-negative value means that the module can be re-" +"initialized and specifies the additional amount of memory it requires for " +"its state." msgstr "" msgid "" -"Setting it to a non-negative value means that the module can be re-" -"initialized and specifies the additional amount of memory it requires for " -"its state. Non-negative ``m_size`` is required for multi-phase " -"initialization." +"Setting ``m_size`` to ``-1`` means that the module does not support sub-" +"interpreters, because it has global state. Negative ``m_size`` is only " +"allowed when using :ref:`legacy single-phase initialization ` or when :ref:`creating modules dynamically `." msgstr "" msgid "See :PEP:`3121` for more details." @@ -182,8 +196,8 @@ msgstr "" msgid "" "An array of slot definitions for multi-phase initialization, terminated by a " -"``{0, NULL}`` entry. When using single-phase initialization, *m_slots* must " -"be ``NULL``." +"``{0, NULL}`` entry. When using legacy single-phase initialization, " +"*m_slots* must be ``NULL``." msgstr "" msgid "" @@ -226,86 +240,7 @@ msgid "" "not needed." msgstr "" -msgid "Single-phase initialization" -msgstr "" - -msgid "" -"The module initialization function may create and return the module object " -"directly. This is referred to as \"single-phase initialization\", and uses " -"one of the following two module creation functions:" -msgstr "" - -msgid "" -"Create a new module object, given the definition in *def*. This behaves " -"like :c:func:`PyModule_Create2` with *module_api_version* set to :c:macro:" -"`PYTHON_API_VERSION`." -msgstr "" - -msgid "" -"Create a new module object, given the definition in *def*, assuming the API " -"version *module_api_version*. If that version does not match the version of " -"the running interpreter, a :exc:`RuntimeWarning` is emitted." -msgstr "" - -msgid "" -"Most uses of this function should be using :c:func:`PyModule_Create` " -"instead; only use this if you are sure you need it." -msgstr "" - -msgid "" -"Before it is returned from in the initialization function, the resulting " -"module object is typically populated using functions like :c:func:" -"`PyModule_AddObjectRef`." -msgstr "" - -msgid "Multi-phase initialization" -msgstr "" - -msgid "" -"An alternate way to specify extensions is to request \"multi-phase " -"initialization\". Extension modules created this way behave more like Python " -"modules: the initialization is split between the *creation phase*, when the " -"module object is created, and the *execution phase*, when it is populated. " -"The distinction is similar to the :py:meth:`!__new__` and :py:meth:`!" -"__init__` methods of classes." -msgstr "" - -msgid "" -"Unlike modules created using single-phase initialization, these modules are " -"not singletons: if the *sys.modules* entry is removed and the module is re-" -"imported, a new module object is created, and the old module is subject to " -"normal garbage collection -- as with Python modules. By default, multiple " -"modules created from the same definition should be independent: changes to " -"one should not affect the others. This means that all state should be " -"specific to the module object (using e.g. using :c:func:" -"`PyModule_GetState`), or its contents (such as the module's :attr:`~object." -"__dict__` or individual classes created with :c:func:`PyType_FromSpec`)." -msgstr "" - -msgid "" -"All modules created using multi-phase initialization are expected to " -"support :ref:`sub-interpreters `. Making sure " -"multiple modules are independent is typically enough to achieve this." -msgstr "" - -msgid "" -"To request multi-phase initialization, the initialization function " -"(PyInit_modulename) returns a :c:type:`PyModuleDef` instance with non-empty :" -"c:member:`~PyModuleDef.m_slots`. Before it is returned, the ``PyModuleDef`` " -"instance must be initialized with the following function:" -msgstr "" - -msgid "" -"Ensures a module definition is a properly initialized Python object that " -"correctly reports its type and reference count." -msgstr "" - -msgid "Returns *def* cast to ``PyObject*``, or ``NULL`` if an error occurred." -msgstr "" - -msgid "" -"The *m_slots* member of the module definition must point to an array of " -"``PyModuleDef_Slot`` structures:" +msgid "Module slots" msgstr "" msgid "A slot ID, chosen from the available values explained below." @@ -314,9 +249,6 @@ msgstr "" msgid "Value of the slot, whose meaning depends on the slot ID." msgstr "" -msgid "The *m_slots* array must be terminated by a slot with id 0." -msgstr "" - msgid "The available slot types are:" msgstr "" @@ -426,23 +358,43 @@ msgid "" "``Py_MOD_GIL_USED``." msgstr "" -msgid "See :PEP:`489` for more details on multi-phase initialization." +msgid "Creating extension modules dynamically" msgstr "" -msgid "Low-level module creation functions" +msgid "" +"The following functions may be used to create a module outside of an " +"extension's :ref:`initialization function `. They are " +"also used in :ref:`single-phase initialization `." msgstr "" msgid "" -"The following functions are called under the hood when using multi-phase " -"initialization. They can be used directly, for example when creating module " -"objects dynamically. Note that both ``PyModule_FromDefAndSpec`` and " -"``PyModule_ExecDef`` must be called to fully initialize a module." +"Create a new module object, given the definition in *def*. This is a macro " +"that calls :c:func:`PyModule_Create2` with *module_api_version* set to :c:" +"macro:`PYTHON_API_VERSION`, or to :c:macro:`PYTHON_ABI_VERSION` if using " +"the :ref:`limited API `." msgstr "" msgid "" -"Create a new module object, given the definition in *def* and the ModuleSpec " -"*spec*. This behaves like :c:func:`PyModule_FromDefAndSpec2` with " -"*module_api_version* set to :c:macro:`PYTHON_API_VERSION`." +"Create a new module object, given the definition in *def*, assuming the API " +"version *module_api_version*. If that version does not match the version of " +"the running interpreter, a :exc:`RuntimeWarning` is emitted." +msgstr "" + +msgid "" +"This function does not support slots. The :c:member:`~PyModuleDef.m_slots` " +"member of *def* must be ``NULL``." +msgstr "" + +msgid "" +"Most uses of this function should be using :c:func:`PyModule_Create` " +"instead; only use this if you are sure you need it." +msgstr "" + +msgid "" +"This macro calls :c:func:`PyModule_FromDefAndSpec2` with " +"*module_api_version* set to :c:macro:`PYTHON_API_VERSION`, or to :c:macro:" +"`PYTHON_ABI_VERSION` if using the :ref:`limited API `." msgstr "" msgid "" @@ -452,6 +404,12 @@ msgid "" "emitted." msgstr "" +msgid "" +"Note that this does not process execution slots (:c:data:`Py_mod_exec`). " +"Both ``PyModule_FromDefAndSpec`` and ``PyModule_ExecDef`` must be called to " +"fully initialize a module." +msgstr "" + msgid "" "Most uses of this function should be using :c:func:`PyModule_FromDefAndSpec` " "instead; only use this if you are sure you need it." @@ -460,31 +418,25 @@ msgstr "" msgid "Process any execution slots (:c:data:`Py_mod_exec`) given in *def*." msgstr "" -msgid "" -"Set the docstring for *module* to *docstring*. This function is called " -"automatically when creating a module from ``PyModuleDef``, using either " -"``PyModule_Create`` or ``PyModule_FromDefAndSpec``." +msgid "The C API version. Defined for backwards compatibility." msgstr "" msgid "" -"Add the functions from the ``NULL`` terminated *functions* array to " -"*module*. Refer to the :c:type:`PyMethodDef` documentation for details on " -"individual entries (due to the lack of a shared module namespace, module " -"level \"functions\" implemented in C typically receive the module as their " -"first parameter, making them similar to instance methods on Python classes). " -"This function is called automatically when creating a module from " -"``PyModuleDef``, using either ``PyModule_Create`` or " -"``PyModule_FromDefAndSpec``." +"Currently, this constant is not updated in new Python versions, and is not " +"useful for versioning. This may change in the future." +msgstr "" + +msgid "Defined as ``3`` for backwards compatibility." msgstr "" msgid "Support functions" msgstr "" msgid "" -"The module initialization function (if using single phase initialization) or " -"a function called from a module execution slot (if using multi-phase " -"initialization), can use the following functions to help initialize the " -"module state:" +"The following functions are provided to help initialize a module state. They " +"are intended for a module's execution slots (:c:data:`Py_mod_exec`), the " +"initialization function for legacy :ref:`single-phase initialization `, or code that creates modules dynamically." msgstr "" msgid "" @@ -640,23 +592,48 @@ msgid "" "``-1`` with an exception set on error, ``0`` on success." msgstr "" +msgid "" +"Add the functions from the ``NULL`` terminated *functions* array to " +"*module*. Refer to the :c:type:`PyMethodDef` documentation for details on " +"individual entries (due to the lack of a shared module namespace, module " +"level \"functions\" implemented in C typically receive the module as their " +"first parameter, making them similar to instance methods on Python classes)." +msgstr "" + +msgid "" +"This function is called automatically when creating a module from " +"``PyModuleDef`` (such as when using :ref:`multi-phase-initialization`, " +"``PyModule_Create``, or ``PyModule_FromDefAndSpec``). Some module authors " +"may prefer defining functions in multiple :c:type:`PyMethodDef` arrays; in " +"that case they should call this function directly." +msgstr "" + +msgid "" +"Set the docstring for *module* to *docstring*. This function is called " +"automatically when creating a module from ``PyModuleDef`` (such as when " +"using :ref:`multi-phase-initialization`, ``PyModule_Create``, or " +"``PyModule_FromDefAndSpec``)." +msgstr "" + msgid "" "Indicate that *module* does or does not support running without the global " "interpreter lock (GIL), using one of the values from :c:macro:`Py_mod_gil`. " -"It must be called during *module*'s initialization function. If this " -"function is not called during module initialization, the import machinery " -"assumes the module does not support running without the GIL. This function " -"is only available in Python builds configured with :option:`--disable-gil`. " -"Return ``-1`` with an exception set on error, ``0`` on success." +"It must be called during *module*'s initialization function when using :ref:" +"`single-phase-initialization`. If this function is not called during module " +"initialization, the import machinery assumes the module does not support " +"running without the GIL. This function is only available in Python builds " +"configured with :option:`--disable-gil`. Return ``-1`` with an exception set " +"on error, ``0`` on success." msgstr "" -msgid "Module lookup" +msgid "Module lookup (single-phase initialization)" msgstr "" msgid "" -"Single-phase initialization creates singleton modules that can be looked up " -"in the context of the current interpreter. This allows the module object to " -"be retrieved later with only a reference to the module definition." +"The legacy :ref:`single-phase initialization ` " +"initialization scheme creates singleton modules that can be looked up in the " +"context of the current interpreter. This allows the module object to be " +"retrieved later with only a reference to the module definition." msgstr "" msgid "" @@ -683,7 +660,8 @@ msgid "Only effective on modules created using single-phase initialization." msgstr "" msgid "" -"Python calls ``PyState_AddModule`` automatically after importing a module, " +"Python calls ``PyState_AddModule`` automatically after importing a module " +"that uses :ref:`single-phase initialization `, " "so it is unnecessary (but harmless) to call it from module initialization " "code. An explicit call is needed only if the module's own init code " "subsequently calls ``PyState_FindModule``. The function is mainly intended " @@ -692,6 +670,11 @@ msgid "" "state updates)." msgstr "" +msgid "" +"If a module was attached previously using the same *def*, it is replaced by " +"the new *module*." +msgstr "" + msgid "The caller must have an :term:`attached thread state`." msgstr "" diff --git a/c-api/monitoring.po b/c-api/monitoring.po index 28646a194..b4e0fb8d3 100644 --- a/c-api/monitoring.po +++ b/c-api/monitoring.po @@ -5,16 +5,16 @@ # # Translators: # Maciej Olko , 2024 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2024-05-11 01:07+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -188,10 +188,10 @@ msgid "Event" msgstr "Zdarzenie" msgid ":monitoring-event:`BRANCH_LEFT`" -msgstr "" +msgstr ":monitoring-event:`BRANCH_LEFT`" msgid ":monitoring-event:`BRANCH_RIGHT`" -msgstr "" +msgstr ":monitoring-event:`BRANCH_RIGHT`" msgid ":monitoring-event:`CALL`" msgstr ":monitoring-event:`CALL`" diff --git a/c-api/none.po b/c-api/none.po index 9fcb582a4..183065176 100644 --- a/c-api/none.po +++ b/c-api/none.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:49+0000\n" "Last-Translator: haaritsubaki, 2023\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/c-api/number.po b/c-api/number.po index 3ae40b390..302ec0cd4 100644 --- a/c-api/number.po +++ b/c-api/number.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:49+0000\n" "Last-Translator: haaritsubaki, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/c-api/object.po b/c-api/object.po index 75f390d40..018fcbae8 100644 --- a/c-api/object.po +++ b/c-api/object.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:49+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -797,7 +797,7 @@ msgid "repr" msgstr "" msgid "ascii" -msgstr "" +msgstr "ascii" msgid "string" msgstr "ciąg znaków" diff --git a/c-api/refcounting.po b/c-api/refcounting.po index d77e8e119..a34262c24 100644 --- a/c-api/refcounting.po +++ b/c-api/refcounting.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:50+0000\n" "Last-Translator: Maciej Olko , 2021\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -242,7 +242,7 @@ msgid "Py_SETREF(dst, src);" msgstr "" msgid "" -"That arranges to set *dst* to *src* _before_ releasing the reference to the " +"That arranges to set *dst* to *src* *before* releasing the reference to the " "old value of *dst*, so that any code triggered as a side-effect of *dst* " "getting torn down no longer believes *dst* points to a valid object." msgstr "" diff --git a/c-api/sequence.po b/c-api/sequence.po index 71f873a87..fd1714304 100644 --- a/c-api/sequence.po +++ b/c-api/sequence.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:50+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/c-api/set.po b/c-api/set.po index 8c2deb528..8eb4fff6f 100644 --- a/c-api/set.po +++ b/c-api/set.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:50+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/c-api/stable.po b/c-api/stable.po index 389fc3fc5..bb0124e92 100644 --- a/c-api/stable.po +++ b/c-api/stable.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:50+0000\n" "Last-Translator: Maciej Olko , 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/c-api/structures.po b/c-api/structures.po index c2b0e05ad..805278a20 100644 --- a/c-api/structures.po +++ b/c-api/structures.po @@ -6,16 +6,16 @@ # Translators: # Maciej Olko , 2022 # haaritsubaki, 2023 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:50+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -55,16 +55,60 @@ msgid "" "In a normal \"release\" build, it contains only the object's reference count " "and a pointer to the corresponding type object. Nothing is actually declared " "to be a :c:type:`PyObject`, but every pointer to a Python object can be cast " -"to a :c:expr:`PyObject*`. Access to the members must be done by using the " -"macros :c:macro:`Py_REFCNT` and :c:macro:`Py_TYPE`." +"to a :c:expr:`PyObject*`." msgstr "" msgid "" -"This is an extension of :c:type:`PyObject` that adds the :c:member:" -"`~PyVarObject.ob_size` field. This is only used for objects that have some " -"notion of *length*. This type does not often appear in the Python/C API. " -"Access to the members must be done by using the macros :c:macro:" -"`Py_REFCNT`, :c:macro:`Py_TYPE`, and :c:macro:`Py_SIZE`." +"The members must not be accessed directly; instead use macros such as :c:" +"macro:`Py_REFCNT` and :c:macro:`Py_TYPE`." +msgstr "" + +msgid "" +"The object's reference count, as returned by :c:macro:`Py_REFCNT`. Do not " +"use this field directly; instead use functions and macros such as :c:macro:`!" +"Py_REFCNT`, :c:func:`Py_INCREF` and :c:func:`Py_DecRef`." +msgstr "" + +msgid "" +"The field type may be different from ``Py_ssize_t``, depending on build " +"configuration and platform." +msgstr "" + +msgid "" +"The object's type. Do not use this field directly; use :c:macro:`Py_TYPE` " +"and :c:func:`Py_SET_TYPE` instead." +msgstr "" + +msgid "" +"An extension of :c:type:`PyObject` that adds the :c:member:`~PyVarObject." +"ob_size` field. This is intended for objects that have some notion of " +"*length*." +msgstr "" + +msgid "" +"As with :c:type:`!PyObject`, the members must not be accessed directly; " +"instead use macros such as :c:macro:`Py_SIZE`, :c:macro:`Py_REFCNT` and :c:" +"macro:`Py_TYPE`." +msgstr "" + +msgid "" +"A size field, whose contents should be considered an object's internal " +"implementation detail." +msgstr "" + +msgid "Do not use this field directly; use :c:macro:`Py_SIZE` instead." +msgstr "" + +msgid "" +"Object creation functions such as :c:func:`PyObject_NewVar` will generally " +"set this field to the requested size (number of items). After creation, " +"arbitrary values can be stored in :c:member:`!ob_size` using :c:macro:" +"`Py_SET_SIZE`." +msgstr "" + +msgid "" +"To get an object's publicly exposed length, as returned by the Python " +"function :py:func:`len`, use :c:func:`PyObject_Length` instead." msgstr "" msgid "" @@ -116,10 +160,9 @@ msgstr "" msgid "Get the type of the Python object *o*." msgstr "" -msgid "Return a :term:`borrowed reference`." -msgstr "" - -msgid "Use the :c:func:`Py_SET_TYPE` function to set an object type." +msgid "" +"The returned reference is :term:`borrowed ` from *o*. Do " +"not release it with :c:func:`Py_DECREF` or similar." msgstr "" msgid "" @@ -132,13 +175,28 @@ msgid "" "Equivalent to: ``Py_TYPE(o) == type``." msgstr "" -msgid "Set the object *o* type to *type*." +msgid "" +"Set the type of object *o* to *type*, without any checking or reference " +"counting." msgstr "" -msgid "Get the size of the Python object *o*." +msgid "" +"This is a very low-level operation. Consider instead setting the Python " +"attribute :attr:`~object.__class__` using :c:func:`PyObject_SetAttrString` " +"or similar." msgstr "" -msgid "Use the :c:func:`Py_SET_SIZE` function to set an object size." +msgid "" +"Note that assigning an incompatible type can lead to undefined behavior." +msgstr "" + +msgid "" +"If *type* is a :ref:`heap type `, the caller must create a new " +"reference to it. Similarly, if the old type of *o* is a heap type, the " +"caller must release a reference to that type." +msgstr "" + +msgid "Get the :c:member:`~PyVarObject.ob_size` field of *o*." msgstr "" msgid "" @@ -146,7 +204,7 @@ msgid "" "type is no longer :c:expr:`const PyVarObject*`." msgstr "" -msgid "Set the object *o* size to *size*." +msgid "Set the :c:member:`~PyVarObject.ob_size` field of *o* to *size*." msgstr "" msgid "" @@ -641,19 +699,19 @@ msgid ":c:expr:`long`" msgstr ":c:expr:`long`" msgid ":c:expr:`long long`" -msgstr "" +msgstr ":c:expr:`long long`" msgid ":c:expr:`unsigned char`" -msgstr "" +msgstr ":c:expr:`unsigned char`" msgid ":c:expr:`unsigned int`" -msgstr "" +msgstr ":c:expr:`unsigned int`" msgid ":c:expr:`unsigned short`" -msgstr "" +msgstr ":c:expr:`unsigned short`" msgid ":c:expr:`unsigned long`" -msgstr "" +msgstr ":c:expr:`unsigned long`" msgid ":c:expr:`unsigned long long`" msgstr "" @@ -680,22 +738,22 @@ msgid ":c:expr:`const char *` (*)" msgstr "" msgid ":py:class:`str` (RO)" -msgstr "" +msgstr ":py:class:`str` (RO)" msgid ":c:expr:`const char[]` (*)" msgstr "" msgid ":c:expr:`char` (0-127)" -msgstr "" +msgstr ":c:expr:`char` (0-127)" msgid ":py:class:`str` (**)" -msgstr "" +msgstr ":py:class:`str` (**)" msgid ":c:expr:`PyObject *`" -msgstr "" +msgstr ":c:expr:`PyObject *`" msgid ":py:class:`object` (D)" -msgstr "" +msgstr ":py:class:`object` (D)" msgid "" "(*): Zero-terminated, UTF8-encoded C string. With :c:macro:`!Py_T_STRING` " diff --git a/c-api/time.po b/c-api/time.po index 12e55b270..919aea9bc 100644 --- a/c-api/time.po +++ b/c-api/time.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2024-05-11 01:07+0000\n" "Last-Translator: Maciej Olko , 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/c-api/tuple.po b/c-api/tuple.po index c0c73ff08..355f99939 100644 --- a/c-api/tuple.po +++ b/c-api/tuple.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:50+0000\n" "Last-Translator: Rafael Fontenelle , 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/c-api/type.po b/c-api/type.po index d232679e8..f69c8f0d8 100644 --- a/c-api/type.po +++ b/c-api/type.po @@ -5,16 +5,16 @@ # # Translators: # haaritsubaki, 2023 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:50+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -153,14 +153,31 @@ msgstr "" msgid "" "Generic handler for the :c:member:`~PyTypeObject.tp_alloc` slot of a type " -"object. Use Python's default memory allocation mechanism to allocate a new " -"instance and initialize all its contents to ``NULL``." +"object. Uses Python's default memory allocation mechanism to allocate " +"memory for a new instance, zeros the memory, then initializes the memory as " +"if by calling :c:func:`PyObject_Init` or :c:func:`PyObject_InitVar`." +msgstr "" + +msgid "" +"Do not call this directly to allocate memory for an object; call the type's :" +"c:member:`~PyTypeObject.tp_alloc` slot instead." +msgstr "" + +msgid "" +"For types that support garbage collection (i.e., the :c:macro:" +"`Py_TPFLAGS_HAVE_GC` flag is set), this function behaves like :c:macro:" +"`PyObject_GC_New` or :c:macro:`PyObject_GC_NewVar` (except the memory is " +"guaranteed to be zeroed before initialization), and should be paired with :c:" +"func:`PyObject_GC_Del` in :c:member:`~PyTypeObject.tp_free`. Otherwise, it " +"behaves like :c:macro:`PyObject_New` or :c:macro:`PyObject_NewVar` (except " +"the memory is guaranteed to be zeroed before initialization) and should be " +"paired with :c:func:`PyObject_Free` in :c:member:`~PyTypeObject.tp_free`." msgstr "" msgid "" "Generic handler for the :c:member:`~PyTypeObject.tp_new` slot of a type " -"object. Create a new instance using the type's :c:member:`~PyTypeObject." -"tp_alloc` slot." +"object. Creates a new instance using the type's :c:member:`~PyTypeObject." +"tp_alloc` slot and returns the resulting object." msgstr "" msgid "" @@ -265,6 +282,12 @@ msgid "" "type:`PyCMethod` calling convention." msgstr "" +msgid "" +"The returned reference is :term:`borrowed ` from *type*, " +"and will be valid as long as you hold a reference to *type*. Do not release " +"it with :c:func:`Py_DECREF` or similar." +msgstr "" + msgid "" "Find the first superclass in *type*'s :term:`method resolution order` whose :" "c:macro:`Py_tp_token` token is equal to the given one." @@ -519,7 +542,7 @@ msgid "" msgstr "" msgid ":c:data:`Py_tp_token`" -msgstr "" +msgstr ":c:data:`Py_tp_token`" msgid "" "The following “offset” fields cannot be set using :c:type:`PyType_Slot`:" @@ -586,7 +609,7 @@ msgid "*pfunc* values may not be ``NULL``, except for the following slots:" msgstr "" msgid "``Py_tp_doc``" -msgstr "" +msgstr "``Py_tp_doc``" msgid "" ":c:data:`Py_tp_token` (for clarity, prefer :c:data:`Py_TP_USE_SPEC` rather " diff --git a/c-api/typeobj.po b/c-api/typeobj.po index f3fd0cf7b..a47cbad42 100644 --- a/c-api/typeobj.po +++ b/c-api/typeobj.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:50+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -800,12 +800,18 @@ msgstr ":c:member:`~PyBufferProcs.bf_getbuffer`" msgid ":c:func:`getbufferproc`" msgstr ":c:func:`getbufferproc`" +msgid "__buffer__" +msgstr "" + msgid ":c:member:`~PyBufferProcs.bf_releasebuffer`" msgstr ":c:member:`~PyBufferProcs.bf_releasebuffer`" msgid ":c:func:`releasebufferproc`" msgstr ":c:func:`releasebufferproc`" +msgid "__release_\\ buffer\\__" +msgstr "" + msgid "slot typedefs" msgstr "" @@ -961,8 +967,11 @@ msgid "" "the :c:member:`~PyVarObject.ob_size` field." msgstr "" +msgid ":c:member:`PyObject.ob_refcnt`" +msgstr "" + msgid "" -"This is the type object's reference count, initialized to ``1`` by the " +"The type object's reference count is initialized to ``1`` by the " "``PyObject_HEAD_INIT`` macro. Note that for :ref:`statically allocated type " "objects `, the type's instances (objects whose :c:member:" "`~PyObject.ob_type` points back to the type) do *not* count as references. " @@ -976,6 +985,9 @@ msgstr "" msgid "This field is not inherited by subtypes." msgstr "" +msgid ":c:member:`PyObject.ob_type`" +msgstr "" + msgid "" "This is the type's type, in other words its metatype. It is initialized by " "the argument to the ``PyObject_HEAD_INIT`` macro, and its value should " @@ -1003,15 +1015,16 @@ msgstr "" msgid "PyVarObject Slots" msgstr "" +msgid ":c:member:`PyVarObject.ob_size`" +msgstr "" + msgid "" "For :ref:`statically allocated type objects `, this should be " "initialized to zero. For :ref:`dynamically allocated type objects `, this field has a special internal meaning." msgstr "" -msgid "" -"This field should be accessed using the :c:func:`Py_SIZE()` and :c:func:" -"`Py_SET_SIZE()` macros." +msgid "This field should be accessed using the :c:func:`Py_SIZE()` macro." msgstr "" msgid "PyTypeObject Slots" @@ -1170,77 +1183,166 @@ msgid "" msgstr "" msgid "" -"A pointer to the instance destructor function. This function must be " -"defined unless the type guarantees that its instances will never be " -"deallocated (as is the case for the singletons ``None`` and ``Ellipsis``). " -"The function signature is::" +"A pointer to the instance destructor function. The function signature is::" msgstr "" msgid "void tp_dealloc(PyObject *self);" msgstr "" msgid "" -"The destructor function is called by the :c:func:`Py_DECREF` and :c:func:" -"`Py_XDECREF` macros when the new reference count is zero. At this point, " -"the instance is still in existence, but there are no references to it. The " -"destructor function should free all references which the instance owns, free " -"all memory buffers owned by the instance (using the freeing function " -"corresponding to the allocation function used to allocate the buffer), and " -"call the type's :c:member:`~PyTypeObject.tp_free` function. If the type is " -"not subtypable (doesn't have the :c:macro:`Py_TPFLAGS_BASETYPE` flag bit " -"set), it is permissible to call the object deallocator directly instead of " -"via :c:member:`~PyTypeObject.tp_free`. The object deallocator should be the " -"one used to allocate the instance; this is normally :c:func:`PyObject_Free` " -"if the instance was allocated using :c:macro:`PyObject_New` or :c:macro:" -"`PyObject_NewVar`, or :c:func:`PyObject_GC_Del` if the instance was " -"allocated using :c:macro:`PyObject_GC_New` or :c:macro:`PyObject_GC_NewVar`." +"The destructor function should remove all references which the instance owns " +"(e.g., call :c:func:`Py_CLEAR`), free all memory buffers owned by the " +"instance, and call the type's :c:member:`~PyTypeObject.tp_free` function to " +"free the object itself." msgstr "" msgid "" -"If the type supports garbage collection (has the :c:macro:" -"`Py_TPFLAGS_HAVE_GC` flag bit set), the destructor should call :c:func:" -"`PyObject_GC_UnTrack` before clearing any member fields." +"If you may call functions that may set the error indicator, you must use :c:" +"func:`PyErr_GetRaisedException` and :c:func:`PyErr_SetRaisedException` to " +"ensure you don't clobber a preexisting error indicator (the deallocation " +"could have occurred while processing a different error):" msgstr "" msgid "" "static void\n" -"foo_dealloc(PyObject *op)\n" +"foo_dealloc(foo_object *self)\n" "{\n" -" foo_object *self = (foo_object *) op;\n" -" PyObject_GC_UnTrack(self);\n" -" Py_CLEAR(self->ref);\n" -" Py_TYPE(self)->tp_free(self);\n" +" PyObject *et, *ev, *etb;\n" +" PyObject *exc = PyErr_GetRaisedException();\n" +" ...\n" +" PyErr_SetRaisedException(exc);\n" "}" msgstr "" msgid "" -"Finally, if the type is heap allocated (:c:macro:`Py_TPFLAGS_HEAPTYPE`), the " +"The dealloc handler itself must not raise an exception; if it hits an error " +"case it should call :c:func:`PyErr_FormatUnraisable` to log (and clear) an " +"unraisable exception." +msgstr "" + +msgid "No guarantees are made about when an object is destroyed, except:" +msgstr "" + +msgid "" +"Python will destroy an object immediately or some time after the final " +"reference to the object is deleted, unless its finalizer (:c:member:" +"`~PyTypeObject.tp_finalize`) subsequently resurrects the object." +msgstr "" + +msgid "" +"An object will not be destroyed while it is being automatically finalized (:" +"c:member:`~PyTypeObject.tp_finalize`) or automatically cleared (:c:member:" +"`~PyTypeObject.tp_clear`)." +msgstr "" + +msgid "" +"CPython currently destroys an object immediately from :c:func:`Py_DECREF` " +"when the new reference count is zero, but this may change in a future " +"version." +msgstr "" + +msgid "" +"It is recommended to call :c:func:`PyObject_CallFinalizerFromDealloc` at the " +"beginning of :c:member:`!tp_dealloc` to guarantee that the object is always " +"finalized before destruction." +msgstr "" + +msgid "" +"If the type supports garbage collection (the :c:macro:`Py_TPFLAGS_HAVE_GC` " +"flag is set), the destructor should call :c:func:`PyObject_GC_UnTrack` " +"before clearing any member fields." +msgstr "" + +msgid "" +"It is permissible to call :c:member:`~PyTypeObject.tp_clear` from :c:member:" +"`!tp_dealloc` to reduce code duplication and to guarantee that the object is " +"always cleared before destruction. Beware that :c:member:`!tp_clear` might " +"have already been called." +msgstr "" + +msgid "" +"If the type is heap allocated (:c:macro:`Py_TPFLAGS_HEAPTYPE`), the " "deallocator should release the owned reference to its type object (via :c:" -"func:`Py_DECREF`) after calling the type deallocator. In order to avoid " -"dangling pointers, the recommended way to achieve this is:" +"func:`Py_DECREF`) after calling the type deallocator. See the example code " +"below.::" msgstr "" msgid "" "static void\n" "foo_dealloc(PyObject *op)\n" "{\n" -" PyTypeObject *tp = Py_TYPE(op);\n" -" // free references and buffers here\n" -" tp->tp_free(op);\n" -" Py_DECREF(tp);\n" +" foo_object *self = (foo_object *) op;\n" +" PyObject_GC_UnTrack(self);\n" +" Py_CLEAR(self->ref);\n" +" Py_TYPE(self)->tp_free(self);\n" +"}" +msgstr "" + +msgid "" +":c:member:`!tp_dealloc` must leave the exception status unchanged. If it " +"needs to call something that might raise an exception, the exception state " +"must be backed up first and restored later (after logging any exceptions " +"with :c:func:`PyErr_WriteUnraisable`)." +msgstr "" + +msgid "Example::" +msgstr "Przykład::" + +msgid "" +"static void\n" +"foo_dealloc(PyObject *self)\n" +"{\n" +" PyObject *exc = PyErr_GetRaisedException();\n" +"\n" +" if (PyObject_CallFinalizerFromDealloc(self) < 0) {\n" +" // self was resurrected.\n" +" goto done;\n" +" }\n" +"\n" +" PyTypeObject *tp = Py_TYPE(self);\n" +"\n" +" if (tp->tp_flags & Py_TPFLAGS_HAVE_GC) {\n" +" PyObject_GC_UnTrack(self);\n" +" }\n" +"\n" +" // Optional, but convenient to avoid code duplication.\n" +" if (tp->tp_clear && tp->tp_clear(self) < 0) {\n" +" PyErr_WriteUnraisable(self);\n" +" }\n" +"\n" +" // Any additional destruction goes here.\n" +"\n" +" tp->tp_free(self);\n" +" self = NULL; // In case PyErr_WriteUnraisable() is called below.\n" +"\n" +" if (tp->tp_flags & Py_TPFLAGS_HEAPTYPE) {\n" +" Py_CLEAR(tp);\n" +" }\n" +"\n" +"done:\n" +" // Optional, if something was called that might have raised an\n" +" // exception.\n" +" if (PyErr_Occurred()) {\n" +" PyErr_WriteUnraisable(self);\n" +" }\n" +" PyErr_SetRaisedException(exc);\n" "}" msgstr "" msgid "" -"In a garbage collected Python, :c:member:`!tp_dealloc` may be called from " -"any Python thread, not just the thread which created the object (if the " -"object becomes part of a refcount cycle, that cycle might be collected by a " -"garbage collection on any thread). This is not a problem for Python API " -"calls, since the thread on which :c:member:`!tp_dealloc` is called with an :" -"term:`attached thread state`. However, if the object being destroyed in " -"turn destroys objects from some other C or C++ library, care should be taken " -"to ensure that destroying those objects on the thread which called :c:member:" -"`!tp_dealloc` will not violate any assumptions of the library." +":c:member:`!tp_dealloc` may be called from any Python thread, not just the " +"thread which created the object (if the object becomes part of a refcount " +"cycle, that cycle might be collected by a garbage collection on any " +"thread). This is not a problem for Python API calls, since the thread on " +"which :c:member:`!tp_dealloc` is called with an :term:`attached thread " +"state`. However, if the object being destroyed in turn destroys objects " +"from some other C library, care should be taken to ensure that destroying " +"those objects on the thread which called :c:member:`!tp_dealloc` will not " +"violate any assumptions of the library." +msgstr "" + +msgid "" +":ref:`life-cycle` for details about how this slot relates to other slots." msgstr "" msgid "" @@ -1631,11 +1733,11 @@ msgstr "" msgid "" "This bit is set when the object supports garbage collection. If this bit is " -"set, instances must be created using :c:macro:`PyObject_GC_New` and " -"destroyed using :c:func:`PyObject_GC_Del`. More information in section :ref:" -"`supporting-cycle-detection`. This bit also implies that the GC-related " -"fields :c:member:`~PyTypeObject.tp_traverse` and :c:member:`~PyTypeObject." -"tp_clear` are present in the type object." +"set, memory for new instances (see :c:member:`~PyTypeObject.tp_alloc`) must " +"be allocated using :c:macro:`PyObject_GC_New` or :c:func:" +"`PyType_GenericAlloc` and deallocated (see :c:member:`~PyTypeObject." +"tp_free`) using :c:func:`PyObject_GC_Del`. More information in section :ref:" +"`supporting-cycle-detection`." msgstr "" msgid "" @@ -1687,8 +1789,9 @@ msgid "" msgstr "" msgid "" -"This bit indicates that instances of the class have a `~object.__dict__` " -"attribute, and that the space for the dictionary is managed by the VM." +"This bit indicates that instances of the class have a :attr:`~object." +"__dict__` attribute, and that the space for the dictionary is managed by the " +"VM." msgstr "" msgid "If this flag is set, :c:macro:`Py_TPFLAGS_HAVE_GC` should also be set." @@ -1963,6 +2066,11 @@ msgid "" "superclass). If they do not, the type object may not be garbage-collected." msgstr "" +msgid "" +"The :c:member:`~PyTypeObject.tp_traverse` function can be called from any " +"thread." +msgstr "" + msgid "" "Heap-allocated types are expected to visit ``Py_TYPE(self)`` in " "``tp_traverse``. In earlier versions of Python, due to `bug 40217 ` do not inherit this slot." msgstr "" msgid "" -"For static subtypes, :c:data:`PyBaseObject_Type` uses :c:func:" -"`PyType_GenericAlloc`. That is the recommended value for all statically " -"defined types." +"For heap subtypes, this field is always set to :c:func:`PyType_GenericAlloc`." +msgstr "" + +msgid "For static subtypes, this slot is inherited (see above)." msgstr "" msgid "An optional pointer to an instance creation function." @@ -2525,24 +2726,22 @@ msgid "void tp_free(void *self);" msgstr "" msgid "" -"An initializer that is compatible with this signature is :c:func:" -"`PyObject_Free`." +"This function must free the memory allocated by :c:member:`~PyTypeObject." +"tp_alloc`." msgstr "" msgid "" -"This field is inherited by static subtypes, but not by dynamic subtypes " -"(subtypes created by a class statement)" +"Static subtypes inherit this slot, which will be :c:func:`PyObject_Free` if " +"inherited from :class:`object`. Exception: If the type supports garbage " +"collection (i.e., the :c:macro:`Py_TPFLAGS_HAVE_GC` flag is set in :c:member:" +"`~PyTypeObject.tp_flags`) and it would inherit :c:func:`PyObject_Free`, then " +"this slot is not inherited but instead defaults to :c:func:`PyObject_GC_Del`." msgstr "" msgid "" -"In dynamic subtypes, this field is set to a deallocator suitable to match :c:" -"func:`PyType_GenericAlloc` and the value of the :c:macro:" -"`Py_TPFLAGS_HAVE_GC` flag bit." -msgstr "" - -msgid "" -"For static subtypes, :c:data:`PyBaseObject_Type` uses :c:func:" -"`PyObject_Free`." +"For :ref:`heap subtypes `, this slot defaults to a deallocator " +"suitable to match :c:func:`PyType_GenericAlloc` and the value of the :c:" +"macro:`Py_TPFLAGS_HAVE_GC` flag." msgstr "" msgid "An optional pointer to a function called by the garbage collector." @@ -2643,37 +2842,182 @@ msgid "Used to index into the method cache. Internal use only." msgstr "" msgid "" -"An optional pointer to an instance finalization function. Its signature is::" +"An optional pointer to an instance finalization function. This is the C " +"implementation of the :meth:`~object.__del__` special method. Its signature " +"is::" msgstr "" msgid "void tp_finalize(PyObject *self);" msgstr "" msgid "" -"If :c:member:`~PyTypeObject.tp_finalize` is set, the interpreter calls it " -"once when finalizing an instance. It is called either from the garbage " -"collector (if the instance is part of an isolated reference cycle) or just " -"before the object is deallocated. Either way, it is guaranteed to be called " -"before attempting to break reference cycles, ensuring that it finds the " -"object in a sane state." +"The primary purpose of finalization is to perform any non-trivial cleanup " +"that must be performed before the object is destroyed, while the object and " +"any other objects it directly or indirectly references are still in a " +"consistent state. The finalizer is allowed to execute arbitrary Python code." msgstr "" msgid "" -":c:member:`~PyTypeObject.tp_finalize` should not mutate the current " -"exception status; therefore, a recommended way to write a non-trivial " -"finalizer is::" +"Before Python automatically finalizes an object, some of the object's direct " +"or indirect referents might have themselves been automatically finalized. " +"However, none of the referents will have been automatically cleared (:c:" +"member:`~PyTypeObject.tp_clear`) yet." +msgstr "" + +msgid "" +"Other non-finalized objects might still be using a finalized object, so the " +"finalizer must leave the object in a sane state (e.g., invariants are still " +"met)." +msgstr "" + +msgid "" +"After Python automatically finalizes an object, Python might start " +"automatically clearing (:c:member:`~PyTypeObject.tp_clear`) the object and " +"its referents (direct and indirect). Cleared objects are not guaranteed to " +"be in a consistent state; a finalized object must be able to tolerate " +"cleared referents." +msgstr "" + +msgid "" +"An object is not guaranteed to be automatically finalized before its " +"destructor (:c:member:`~PyTypeObject.tp_dealloc`) is called. It is " +"recommended to call :c:func:`PyObject_CallFinalizerFromDealloc` at the " +"beginning of :c:member:`!tp_dealloc` to guarantee that the object is always " +"finalized before destruction." +msgstr "" + +msgid "" +"The :c:member:`~PyTypeObject.tp_finalize` function can be called from any " +"thread, although the :term:`GIL` will be held." +msgstr "" + +msgid "" +"The :c:member:`!tp_finalize` function can be called during shutdown, after " +"some global variables have been deleted. See the documentation of the :meth:" +"`~object.__del__` method for details." +msgstr "" + +msgid "" +"When Python finalizes an object, it behaves like the following algorithm:" +msgstr "" + +msgid "" +"Python might mark the object as *finalized*. Currently, Python always marks " +"objects whose type supports garbage collection (i.e., the :c:macro:" +"`Py_TPFLAGS_HAVE_GC` flag is set in :c:member:`~PyTypeObject.tp_flags`) and " +"never marks other types of objects; this might change in a future version." +msgstr "" + +msgid "" +"If the object is not marked as *finalized* and its :c:member:`!tp_finalize` " +"finalizer function is non-``NULL``, the finalizer function is called." +msgstr "" + +msgid "" +"If the finalizer function was called and the finalizer made the object " +"reachable (i.e., there is a reference to the object and it is not a member " +"of a :term:`cyclic isolate`), then the finalizer is said to have " +"*resurrected* the object. It is unspecified whether the finalizer can also " +"resurrect the object by adding a new reference to the object that does not " +"make it reachable, i.e., the object is (still) a member of a cyclic isolate." +msgstr "" + +msgid "" +"If the finalizer resurrected the object, the object's pending destruction is " +"canceled and the object's *finalized* mark might be removed if present. " +"Currently, Python never removes the *finalized* mark; this might change in a " +"future version." +msgstr "" + +msgid "" +"*Automatic finalization* refers to any finalization performed by Python " +"except via calls to :c:func:`PyObject_CallFinalizer` or :c:func:" +"`PyObject_CallFinalizerFromDealloc`. No guarantees are made about when, if, " +"or how often an object is automatically finalized, except:" +msgstr "" + +msgid "" +"Python will not automatically finalize an object if it is reachable, i.e., " +"there is a reference to it and it is not a member of a :term:`cyclic " +"isolate`." +msgstr "" + +msgid "" +"Python will not automatically finalize an object if finalizing it would not " +"mark the object as *finalized*. Currently, this applies to objects whose " +"type does not support garbage collection, i.e., the :c:macro:" +"`Py_TPFLAGS_HAVE_GC` flag is not set. Such objects can still be manually " +"finalized by calling :c:func:`PyObject_CallFinalizer` or :c:func:" +"`PyObject_CallFinalizerFromDealloc`." +msgstr "" + +msgid "" +"Python will not automatically finalize any two members of a :term:`cyclic " +"isolate` concurrently." +msgstr "" + +msgid "" +"Python will not automatically finalize an object after it has automatically " +"cleared (:c:member:`~PyTypeObject.tp_clear`) the object." +msgstr "" + +msgid "" +"If an object is a member of a :term:`cyclic isolate`, Python will not " +"automatically finalize it after automatically clearing (see :c:member:" +"`~PyTypeObject.tp_clear`) any other member." +msgstr "" + +msgid "" +"Python will automatically finalize every member of a :term:`cyclic isolate` " +"before it automatically clears (see :c:member:`~PyTypeObject.tp_clear`) any " +"of them." +msgstr "" + +msgid "" +"If Python is going to automatically clear an object (:c:member:" +"`~PyTypeObject.tp_clear`), it will automatically finalize the object first." +msgstr "" + +msgid "" +"Python currently only automatically finalizes objects that are members of a :" +"term:`cyclic isolate`, but future versions might finalize objects regularly " +"before their destruction." +msgstr "" + +msgid "" +"To manually finalize an object, do not call this function directly; call :c:" +"func:`PyObject_CallFinalizer` or :c:func:`PyObject_CallFinalizerFromDealloc` " +"instead." +msgstr "" + +msgid "" +":c:member:`~PyTypeObject.tp_finalize` should leave the current exception " +"status unchanged. The recommended way to write a non-trivial finalizer is " +"to back up the exception at the beginning by calling :c:func:" +"`PyErr_GetRaisedException` and restore the exception at the end by calling :" +"c:func:`PyErr_SetRaisedException`. If an exception is encountered in the " +"middle of the finalizer, log and clear it with :c:func:" +"`PyErr_WriteUnraisable` or :c:func:`PyErr_FormatUnraisable`. For example::" msgstr "" msgid "" "static void\n" -"local_finalize(PyObject *self)\n" +"foo_finalize(PyObject *self)\n" "{\n" -" /* Save the current exception, if any. */\n" +" // Save the current exception, if any.\n" " PyObject *exc = PyErr_GetRaisedException();\n" "\n" -" /* ... */\n" +" // ...\n" +"\n" +" if (do_something_that_might_raise() != success_indicator) {\n" +" PyErr_WriteUnraisable(self);\n" +" goto done;\n" +" }\n" "\n" -" /* Restore the saved exception. */\n" +"done:\n" +" // Restore the saved exception. This silently discards any exception\n" +" // raised above, so be sure to call PyErr_WriteUnraisable first if\n" +" // necessary.\n" " PyErr_SetRaisedException(exc);\n" "}" msgstr "" @@ -2684,7 +3028,13 @@ msgid "" "This is no longer required." msgstr "" -msgid "\"Safe object finalization\" (:pep:`442`)" +msgid ":pep:`442`: \"Safe object finalization\"" +msgstr "" + +msgid ":c:func:`PyObject_CallFinalizer`" +msgstr "" + +msgid ":c:func:`PyObject_CallFinalizerFromDealloc`" msgstr "" msgid "" diff --git a/c-api/unicode.po b/c-api/unicode.po index 9a6b1eb71..6c4f61b58 100644 --- a/c-api/unicode.po +++ b/c-api/unicode.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-16 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:50+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -544,7 +544,7 @@ msgid "``p``" msgstr "``p``" msgid ":c:expr:`const void*`" -msgstr "" +msgstr ":c:expr:`const void*`" msgid "" "The hex representation of a C pointer. Mostly equivalent to " @@ -1477,9 +1477,6 @@ msgid "" "c:macro:`!CP_ACP` code page to get the MBCS encoder." msgstr "" -msgid "Methods & Slots" -msgstr "" - msgid "Methods and Slot Functions" msgstr "" @@ -1734,9 +1731,6 @@ msgid "" "`PyUnicode_InternInPlace` directly." msgstr "" -msgid "Strings interned this way are made :term:`immortal`." -msgstr "" - msgid "" "Return a non-zero value if *str* is interned, zero if not. The *str* " "argument must be a string; this is not checked. This function always " @@ -1814,7 +1808,15 @@ msgstr "" msgid "See also :c:func:`PyUnicodeWriter_DecodeUTF8Stateful`." msgstr "" -msgid "Writer the wide string *str* into *writer*." +msgid "Write the ASCII string *str* into *writer*." +msgstr "" + +msgid "" +"*str* must only contain ASCII characters. The behavior is undefined if *str* " +"contains non-ASCII characters." +msgstr "" + +msgid "Write the wide string *str* into *writer*." msgstr "" msgid "" diff --git a/contents.po b/contents.po index 31444cd27..1b6c6d932 100644 --- a/contents.po +++ b/contents.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:47+0000\n" "Last-Translator: Maciej Olko , 2021\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/copyright.po b/copyright.po index 798c0a304..61b885b54 100644 --- a/copyright.po +++ b/copyright.po @@ -5,15 +5,16 @@ # # Translators: # Maciej Olko , 2021 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:47+0000\n" -"Last-Translator: Maciej Olko , 2021\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -31,6 +32,7 @@ msgstr "Python i ta dokumentacja jest:" msgid "Copyright © 2001 Python Software Foundation. All rights reserved." msgstr "" +"Copyright © 2001 Python Software Foundation. Wszystkie prawa zastrzeżone." msgid "Copyright © 2000 BeOpen.com. All rights reserved." msgstr "Copyright © 2000 BeOpen.com. Wszystkie prawa zastrzeżone." diff --git a/deprecations/c-api-pending-removal-in-3.18.po b/deprecations/c-api-pending-removal-in-3.18.po new file mode 100644 index 000000000..45d7c7375 --- /dev/null +++ b/deprecations/c-api-pending-removal-in-3.18.po @@ -0,0 +1,122 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2001 Python Software Foundation +# This file is distributed under the same license as the Python package. +# FIRST AUTHOR , YEAR. +# +# Translators: +# Stan Ulbrych, 2025 +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: Python 3.14\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" +"PO-Revision-Date: 2025-05-08 06:04+0000\n" +"Last-Translator: Stan Ulbrych, 2025\n" +"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: pl\n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && " +"(n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && " +"n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" + +msgid "Pending removal in Python 3.18" +msgstr "" + +msgid "Deprecated private functions (:gh:`128863`):" +msgstr "" + +msgid ":c:func:`!_PyBytes_Join`: use :c:func:`PyBytes_Join`." +msgstr "" + +msgid "" +":c:func:`!_PyDict_GetItemStringWithError`: use :c:func:" +"`PyDict_GetItemStringRef`." +msgstr "" + +msgid ":c:func:`!_PyDict_Pop()`: :c:func:`PyDict_Pop`." +msgstr ":c:func:`!_PyDict_Pop()`: :c:func:`PyDict_Pop`." + +msgid ":c:func:`!_PyLong_Sign()`: use :c:func:`PyLong_GetSign`." +msgstr "" + +msgid "" +":c:func:`!_PyLong_FromDigits` and :c:func:`!_PyLong_New`: use :c:func:" +"`PyLongWriter_Create`." +msgstr "" + +msgid "" +":c:func:`!_PyThreadState_UncheckedGet`: use :c:func:" +"`PyThreadState_GetUnchecked`." +msgstr "" + +msgid ":c:func:`!_PyUnicode_AsString`: use :c:func:`PyUnicode_AsUTF8`." +msgstr "" + +msgid "" +":c:func:`!_PyUnicodeWriter_Init`: replace ``_PyUnicodeWriter_Init(&writer)`` " +"with :c:func:`writer = PyUnicodeWriter_Create(0) `." +msgstr "" + +msgid "" +":c:func:`!_PyUnicodeWriter_Finish`: replace " +"``_PyUnicodeWriter_Finish(&writer)`` with :c:func:" +"`PyUnicodeWriter_Finish(writer) `." +msgstr "" + +msgid "" +":c:func:`!_PyUnicodeWriter_Dealloc`: replace " +"``_PyUnicodeWriter_Dealloc(&writer)`` with :c:func:" +"`PyUnicodeWriter_Discard(writer) `." +msgstr "" + +msgid "" +":c:func:`!_PyUnicodeWriter_WriteChar`: replace " +"``_PyUnicodeWriter_WriteChar(&writer, ch)`` with :c:func:" +"`PyUnicodeWriter_WriteChar(writer, ch) `." +msgstr "" + +msgid "" +":c:func:`!_PyUnicodeWriter_WriteStr`: replace " +"``_PyUnicodeWriter_WriteStr(&writer, str)`` with :c:func:" +"`PyUnicodeWriter_WriteStr(writer, str) `." +msgstr "" + +msgid "" +":c:func:`!_PyUnicodeWriter_WriteSubstring`: replace " +"``_PyUnicodeWriter_WriteSubstring(&writer, str, start, end)`` with :c:func:" +"`PyUnicodeWriter_WriteSubstring(writer, str, start, end) " +"`." +msgstr "" + +msgid "" +":c:func:`!_PyUnicodeWriter_WriteASCIIString`: replace " +"``_PyUnicodeWriter_WriteASCIIString(&writer, str)`` with :c:func:" +"`PyUnicodeWriter_WriteUTF8(writer, str) `." +msgstr "" + +msgid "" +":c:func:`!_PyUnicodeWriter_WriteLatin1String`: replace " +"``_PyUnicodeWriter_WriteLatin1String(&writer, str)`` with :c:func:" +"`PyUnicodeWriter_WriteUTF8(writer, str) `." +msgstr "" + +msgid ":c:func:`!_PyUnicodeWriter_Prepare`: (no replacement)." +msgstr "" + +msgid ":c:func:`!_PyUnicodeWriter_PrepareKind`: (no replacement)." +msgstr "" + +msgid ":c:func:`!_Py_HashPointer`: use :c:func:`Py_HashPointer`." +msgstr "" + +msgid ":c:func:`!_Py_fopen_obj`: use :c:func:`Py_fopen`." +msgstr "" + +msgid "" +"The `pythoncapi-compat project `__ can be used to get these new public functions on Python 3.13 and older." +msgstr "" diff --git a/deprecations/index.po b/deprecations/index.po index a76caaa03..5adca3992 100644 --- a/deprecations/index.po +++ b/deprecations/index.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-16 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2024-07-29 04:07+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -104,7 +104,7 @@ msgid "" msgstr "" msgid ":mod:`sysconfig`:" -msgstr "" +msgstr ":mod:`sysconfig`:" msgid "" "The *check_home* argument of :func:`sysconfig.is_python_build` has been " @@ -165,7 +165,7 @@ msgid "" msgstr "" msgid ":mod:`zipimport`:" -msgstr "" +msgstr ":mod:`zipimport`:" msgid "" ":meth:`~zipimport.zipimporter.load_module` has been deprecated since Python " @@ -207,22 +207,22 @@ msgid "" msgstr "" msgid ":class:`asyncio.AbstractEventLoopPolicy`" -msgstr "" +msgstr ":class:`asyncio.AbstractEventLoopPolicy`" msgid ":class:`asyncio.DefaultEventLoopPolicy`" -msgstr "" +msgstr ":class:`asyncio.DefaultEventLoopPolicy`" msgid ":class:`asyncio.WindowsSelectorEventLoopPolicy`" -msgstr "" +msgstr ":class:`asyncio.WindowsSelectorEventLoopPolicy`" msgid ":class:`asyncio.WindowsProactorEventLoopPolicy`" -msgstr "" +msgstr ":class:`asyncio.WindowsProactorEventLoopPolicy`" msgid ":func:`asyncio.get_event_loop_policy`" -msgstr "" +msgstr ":func:`asyncio.get_event_loop_policy`" msgid ":func:`asyncio.set_event_loop_policy`" -msgstr "" +msgstr ":func:`asyncio.set_event_loop_policy`" msgid "" "Users should use :func:`asyncio.run` or :class:`asyncio.Runner` with " @@ -256,7 +256,7 @@ msgid "" msgstr "" msgid ":mod:`functools`:" -msgstr "" +msgstr ":mod:`functools`:" msgid "" "Calling the Python implementation of :func:`functools.reduce` with " @@ -265,7 +265,7 @@ msgid "" msgstr "" msgid ":mod:`logging`:" -msgstr "" +msgstr ":mod:`logging`:" msgid "" "Support for custom logging handlers with the *strm* argument is deprecated " @@ -353,7 +353,7 @@ msgid "" msgstr "" msgid ":mod:`argparse`:" -msgstr "" +msgstr ":mod:`argparse`:" msgid "" "Nesting argument groups and nesting mutually exclusive groups are deprecated." @@ -566,7 +566,7 @@ msgid ":meth:`!threading.activeCount`: use :meth:`threading.active_count`." msgstr "" msgid ":class:`typing.Text` (:gh:`92332`)." -msgstr "" +msgstr ":class:`typing.Text` (:gh:`92332`)." msgid "" "The internal class ``typing._UnionGenericAlias`` is no longer used to " @@ -638,9 +638,6 @@ msgstr "" msgid "C API deprecations" msgstr "" -msgid "The bundled copy of ``libmpdecimal``." -msgstr "" - msgid "" "The :c:func:`PyImport_ImportModuleNoBlock`: Use :c:func:" "`PyImport_ImportModule` instead." @@ -880,7 +877,7 @@ msgid "" msgstr "" msgid ":c:func:`!_PyDict_Pop()`: :c:func:`PyDict_Pop`." -msgstr "" +msgstr ":c:func:`!_PyDict_Pop()`: :c:func:`PyDict_Pop`." msgid ":c:func:`!_PyLong_Sign()`: use :c:func:`PyLong_GetSign`." msgstr "" diff --git a/deprecations/pending-removal-in-3.13.po b/deprecations/pending-removal-in-3.13.po index ea54ec5a1..39568817e 100644 --- a/deprecations/pending-removal-in-3.13.po +++ b/deprecations/pending-removal-in-3.13.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2024-07-26 14:16+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -96,28 +96,28 @@ msgid "APIs:" msgstr "APIs:" msgid ":class:`!configparser.LegacyInterpolation` (:gh:`90765`)" -msgstr "" +msgstr ":class:`!configparser.LegacyInterpolation` (:gh:`90765`)" msgid "``locale.resetlocale()`` (:gh:`90817`)" -msgstr "" +msgstr "``locale.resetlocale()`` (:gh:`90817`)" msgid ":meth:`!turtle.RawTurtle.settiltangle` (:gh:`50096`)" -msgstr "" +msgstr ":meth:`!turtle.RawTurtle.settiltangle` (:gh:`50096`)" msgid ":func:`!unittest.findTestCases` (:gh:`50096`)" -msgstr "" +msgstr ":func:`!unittest.findTestCases` (:gh:`50096`)" msgid ":func:`!unittest.getTestCaseNames` (:gh:`50096`)" -msgstr "" +msgstr ":func:`!unittest.getTestCaseNames` (:gh:`50096`)" msgid ":func:`!unittest.makeSuite` (:gh:`50096`)" -msgstr "" +msgstr ":func:`!unittest.makeSuite` (:gh:`50096`)" msgid ":meth:`!unittest.TestProgram.usageExit` (:gh:`67048`)" -msgstr "" +msgstr ":meth:`!unittest.TestProgram.usageExit` (:gh:`67048`)" msgid ":class:`!webbrowser.MacOSX` (:gh:`86421`)" -msgstr "" +msgstr ":class:`!webbrowser.MacOSX` (:gh:`86421`)" msgid ":class:`classmethod` descriptor chaining (:gh:`89519`)" msgstr "" diff --git a/deprecations/pending-removal-in-3.14.po b/deprecations/pending-removal-in-3.14.po index dfbed158f..47a34613e 100644 --- a/deprecations/pending-removal-in-3.14.po +++ b/deprecations/pending-removal-in-3.14.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2024-07-20 00:54+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/deprecations/pending-removal-in-3.15.po b/deprecations/pending-removal-in-3.15.po index fbf99c15e..a97ef9474 100644 --- a/deprecations/pending-removal-in-3.15.po +++ b/deprecations/pending-removal-in-3.15.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-16 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2024-07-20 00:54+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -100,7 +100,7 @@ msgid "" msgstr "" msgid ":mod:`sysconfig`:" -msgstr "" +msgstr ":mod:`sysconfig`:" msgid "" "The *check_home* argument of :func:`sysconfig.is_python_build` has been " @@ -161,7 +161,7 @@ msgid "" msgstr "" msgid ":mod:`zipimport`:" -msgstr "" +msgstr ":mod:`zipimport`:" msgid "" ":meth:`~zipimport.zipimporter.load_module` has been deprecated since Python " diff --git a/deprecations/pending-removal-in-3.16.po b/deprecations/pending-removal-in-3.16.po index 44594fc62..dc6f94e9d 100644 --- a/deprecations/pending-removal-in-3.16.po +++ b/deprecations/pending-removal-in-3.16.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2024-07-20 00:54+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -60,22 +60,22 @@ msgid "" msgstr "" msgid ":class:`asyncio.AbstractEventLoopPolicy`" -msgstr "" +msgstr ":class:`asyncio.AbstractEventLoopPolicy`" msgid ":class:`asyncio.DefaultEventLoopPolicy`" -msgstr "" +msgstr ":class:`asyncio.DefaultEventLoopPolicy`" msgid ":class:`asyncio.WindowsSelectorEventLoopPolicy`" -msgstr "" +msgstr ":class:`asyncio.WindowsSelectorEventLoopPolicy`" msgid ":class:`asyncio.WindowsProactorEventLoopPolicy`" -msgstr "" +msgstr ":class:`asyncio.WindowsProactorEventLoopPolicy`" msgid ":func:`asyncio.get_event_loop_policy`" -msgstr "" +msgstr ":func:`asyncio.get_event_loop_policy`" msgid ":func:`asyncio.set_event_loop_policy`" -msgstr "" +msgstr ":func:`asyncio.set_event_loop_policy`" msgid "" "Users should use :func:`asyncio.run` or :class:`asyncio.Runner` with " @@ -109,7 +109,7 @@ msgid "" msgstr "" msgid ":mod:`functools`:" -msgstr "" +msgstr ":mod:`functools`:" msgid "" "Calling the Python implementation of :func:`functools.reduce` with " @@ -118,7 +118,7 @@ msgid "" msgstr "" msgid ":mod:`logging`:" -msgstr "" +msgstr ":mod:`logging`:" msgid "" "Support for custom logging handlers with the *strm* argument is deprecated " @@ -163,7 +163,7 @@ msgid "" msgstr "" msgid ":mod:`sysconfig`:" -msgstr "" +msgstr ":mod:`sysconfig`:" msgid "" "The :func:`!sysconfig.expand_makefile_vars` function has been deprecated " diff --git a/deprecations/pending-removal-in-3.17.po b/deprecations/pending-removal-in-3.17.po index 4216c2996..9682ff2d8 100644 --- a/deprecations/pending-removal-in-3.17.po +++ b/deprecations/pending-removal-in-3.17.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2025-05-08 06:04+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/deprecations/pending-removal-in-3.19.po b/deprecations/pending-removal-in-3.19.po index 52fb7d49f..f43fd951b 100644 --- a/deprecations/pending-removal-in-3.19.po +++ b/deprecations/pending-removal-in-3.19.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2025-05-08 06:04+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/deprecations/pending-removal-in-future.po b/deprecations/pending-removal-in-future.po index 8ff43f244..98108442e 100644 --- a/deprecations/pending-removal-in-future.po +++ b/deprecations/pending-removal-in-future.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2024-07-20 00:54+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -32,7 +32,7 @@ msgid "" msgstr "" msgid ":mod:`argparse`:" -msgstr "" +msgstr ":mod:`argparse`:" msgid "" "Nesting argument groups and nesting mutually exclusive groups are deprecated." @@ -251,7 +251,7 @@ msgid ":meth:`!threading.activeCount`: use :meth:`threading.active_count`." msgstr "" msgid ":class:`typing.Text` (:gh:`92332`)." -msgstr "" +msgstr ":class:`typing.Text` (:gh:`92332`)." msgid "" "The internal class ``typing._UnionGenericAlias`` is no longer used to " diff --git a/distributing/index.po b/distributing/index.po index 30130be9b..1f19e3670 100644 --- a/distributing/index.po +++ b/distributing/index.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:50+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/extending/embedding.po b/extending/embedding.po index b4b465eb0..739911bb3 100644 --- a/extending/embedding.po +++ b/extending/embedding.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:51+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -382,21 +382,23 @@ msgid "" " return PyLong_FromLong(numargs);\n" "}\n" "\n" -"static PyMethodDef EmbMethods[] = {\n" +"static PyMethodDef emb_module_methods[] = {\n" " {\"numargs\", emb_numargs, METH_VARARGS,\n" " \"Return the number of arguments received by the process.\"},\n" " {NULL, NULL, 0, NULL}\n" "};\n" "\n" -"static PyModuleDef EmbModule = {\n" -" PyModuleDef_HEAD_INIT, \"emb\", NULL, -1, EmbMethods,\n" -" NULL, NULL, NULL, NULL\n" +"static struct PyModuleDef emb_module = {\n" +" .m_base = PyModuleDef_HEAD_INIT,\n" +" .m_name = \"emb\",\n" +" .m_size = 0,\n" +" .m_methods = emb_module_methods,\n" "};\n" "\n" "static PyObject*\n" "PyInit_emb(void)\n" "{\n" -" return PyModule_Create(&EmbModule);\n" +" return PyModuleDef_Init(&emb_module);\n" "}" msgstr "" diff --git a/extending/extending.po b/extending/extending.po index 49fe06c56..a188580d1 100644 --- a/extending/extending.po +++ b/extending/extending.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:51+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -312,39 +312,68 @@ msgid "" msgstr "" msgid "" -"You can also define a new exception that is unique to your module. For this, " -"you usually declare a static object variable at the beginning of your file::" +"You can also define a new exception that is unique to your module. The " +"simplest way to do this is to declare a static global object variable at the " +"beginning of the file::" msgstr "" -"Możesz też określić nowy wyjątek który jest niepowtarzalny dla twojego " -"modułu. Dla tego, zwykle deklarujesz przedmiot statycznej zmiennej na " -"początku pliku::" -msgid "static PyObject *SpamError;" +msgid "static PyObject *SpamError = NULL;" msgstr "" msgid "" -"and initialize it in your module's initialization function (:c:func:`!" -"PyInit_spam`) with an exception object::" +"and initialize it by calling :c:func:`PyErr_NewException` in the module's :c:" +"data:`Py_mod_exec` function (:c:func:`!spam_module_exec`)::" +msgstr "" + +msgid "SpamError = PyErr_NewException(\"spam.error\", NULL, NULL);" msgstr "" msgid "" -"PyMODINIT_FUNC\n" -"PyInit_spam(void)\n" -"{\n" -" PyObject *m;\n" -"\n" -" m = PyModule_Create(&spammodule);\n" -" if (m == NULL)\n" -" return NULL;\n" +"Since :c:data:`!SpamError` is a global variable, it will be overwitten every " +"time the module is reinitialized, when the :c:data:`Py_mod_exec` function is " +"called." +msgstr "" + +msgid "" +"For now, let's avoid the issue: we will block repeated initialization by " +"raising an :py:exc:`ImportError`::" +msgstr "" + +msgid "" +"static PyObject *SpamError = NULL;\n" "\n" +"static int\n" +"spam_module_exec(PyObject *m)\n" +"{\n" +" if (SpamError != NULL) {\n" +" PyErr_SetString(PyExc_ImportError,\n" +" \"cannot initialize spam module more than once\");\n" +" return -1;\n" +" }\n" " SpamError = PyErr_NewException(\"spam.error\", NULL, NULL);\n" -" if (PyModule_AddObjectRef(m, \"error\", SpamError) < 0) {\n" -" Py_CLEAR(SpamError);\n" -" Py_DECREF(m);\n" -" return NULL;\n" +" if (PyModule_AddObjectRef(m, \"SpamError\", SpamError) < 0) {\n" +" return -1;\n" " }\n" "\n" -" return m;\n" +" return 0;\n" +"}\n" +"\n" +"static PyModuleDef_Slot spam_module_slots[] = {\n" +" {Py_mod_exec, spam_module_exec},\n" +" {0, NULL}\n" +"};\n" +"\n" +"static struct PyModuleDef spam_module = {\n" +" .m_base = PyModuleDef_HEAD_INIT,\n" +" .m_name = \"spam\",\n" +" .m_size = 0, // non-negative\n" +" .m_slots = spam_module_slots,\n" +"};\n" +"\n" +"PyMODINIT_FUNC\n" +"PyInit_spam(void)\n" +"{\n" +" return PyModuleDef_Init(&spam_module);\n" "}" msgstr "" @@ -365,6 +394,13 @@ msgid "" "unintended side effects." msgstr "" +msgid "" +"For now, the :c:func:`Py_DECREF` call to remove this reference is missing. " +"Even when the Python interpreter shuts down, the global :c:data:`!SpamError` " +"variable will not be garbage-collected. It will \"leak\". We did, however, " +"ensure that this will happen at most once per process." +msgstr "" + msgid "" "We discuss the use of :c:macro:`PyMODINIT_FUNC` as a function return type " "later in this sample." @@ -469,7 +505,7 @@ msgid "" msgstr "" msgid "" -"static PyMethodDef SpamMethods[] = {\n" +"static PyMethodDef spam_methods[] = {\n" " ...\n" " {\"system\", spam_system, METH_VARARGS,\n" " \"Execute a shell command.\"},\n" @@ -507,13 +543,10 @@ msgstr "" "modułu::" msgid "" -"static struct PyModuleDef spammodule = {\n" -" PyModuleDef_HEAD_INIT,\n" -" \"spam\", /* name of module */\n" -" spam_doc, /* module documentation, may be NULL */\n" -" -1, /* size of per-interpreter state of the module,\n" -" or -1 if the module keeps state in global variables. */\n" -" SpamMethods\n" +"static struct PyModuleDef spam_module = {\n" +" ...\n" +" .m_methods = spam_methods,\n" +" ...\n" "};" msgstr "" @@ -528,7 +561,7 @@ msgid "" "PyMODINIT_FUNC\n" "PyInit_spam(void)\n" "{\n" -" return PyModule_Create(&spammodule);\n" +" return PyModuleDef_Init(&spam_module);\n" "}" msgstr "" @@ -539,16 +572,11 @@ msgid "" msgstr "" msgid "" -"When the Python program imports module :mod:`!spam` for the first time, :c:" -"func:`!PyInit_spam` is called. (See below for comments about embedding " -"Python.) It calls :c:func:`PyModule_Create`, which returns a module object, " -"and inserts built-in function objects into the newly created module based " -"upon the table (an array of :c:type:`PyMethodDef` structures) found in the " -"module definition. :c:func:`PyModule_Create` returns a pointer to the module " -"object that it creates. It may abort with a fatal error for certain errors, " -"or return ``NULL`` if the module could not be initialized satisfactorily. " -"The init function must return the module object to its caller, so that it " -"then gets inserted into ``sys.modules``." +":c:func:`!PyInit_spam` is called when each interpreter imports its module :" +"mod:`!spam` for the first time. (See below for comments about embedding " +"Python.) A pointer to the module definition must be returned via :c:func:" +"`PyModuleDef_Init`, so that the import machinery can create the module and " +"store it in ``sys.modules``." msgstr "" msgid "" @@ -611,28 +639,21 @@ msgid "" msgstr "" msgid "" -"Removing entries from ``sys.modules`` or importing compiled modules into " +"If you declare a global variable or a local static one, the module may " +"experience unintended side-effects on re-initialisation, for example when " +"removing entries from ``sys.modules`` or importing compiled modules into " "multiple interpreters within a process (or following a :c:func:`fork` " -"without an intervening :c:func:`exec`) can create problems for some " -"extension modules. Extension module authors should exercise caution when " -"initializing internal data structures." +"without an intervening :c:func:`exec`). If module state is not yet fully :" +"ref:`isolated `, authors should consider marking " +"the module as having no support for subinterpreters (via :c:macro:" +"`Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED`)." msgstr "" msgid "" "A more substantial example module is included in the Python source " -"distribution as :file:`Modules/xxmodule.c`. This file may be used as a " +"distribution as :file:`Modules/xxlimited.c`. This file may be used as a " "template or simply read as an example." msgstr "" -"Bardziej konkretny przykład modułu jest załączony w dystrybucji źródeł " -"języka pytonowskiego jako plik :file:`Modules/xxmodule.c`. Ten plik może być " -"użyty jako wzór lub po prostu czytany jako przykład." - -msgid "" -"Unlike our ``spam`` example, ``xxmodule`` uses *multi-phase initialization* " -"(new in Python 3.5), where a PyModuleDef structure is returned from " -"``PyInit_spam``, and creation of the module is left to the import machinery. " -"For details on multi-phase initialization, see :PEP:`489`." -msgstr "" msgid "Compilation and Linkage" msgstr "Kompilacja i łączenie" @@ -1059,18 +1080,17 @@ msgid "" " {NULL, NULL, 0, NULL} /* sentinel */\n" "};\n" "\n" -"static struct PyModuleDef keywdargmodule = {\n" -" PyModuleDef_HEAD_INIT,\n" -" \"keywdarg\",\n" -" NULL,\n" -" -1,\n" -" keywdarg_methods\n" +"static struct PyModuleDef keywdarg_module = {\n" +" .m_base = PyModuleDef_HEAD_INIT,\n" +" .m_name = \"keywdarg\",\n" +" .m_size = 0,\n" +" .m_methods = keywdarg_methods,\n" "};\n" "\n" "PyMODINIT_FUNC\n" "PyInit_keywdarg(void)\n" "{\n" -" return PyModule_Create(&keywdargmodule);\n" +" return PyModuleDef_Init(&keywdarg_module);\n" "}" msgstr "" @@ -1451,13 +1471,13 @@ msgstr "" msgid "" "The second case of problems with a borrowed reference is a variant involving " "threads. Normally, multiple threads in the Python interpreter can't get in " -"each other's way, because there is a global lock protecting Python's entire " -"object space. However, it is possible to temporarily release this lock " -"using the macro :c:macro:`Py_BEGIN_ALLOW_THREADS`, and to re-acquire it " -"using :c:macro:`Py_END_ALLOW_THREADS`. This is common around blocking I/O " -"calls, to let other threads use the processor while waiting for the I/O to " -"complete. Obviously, the following function has the same problem as the " -"previous one::" +"each other's way, because there is a :term:`global lock ` protecting Python's entire object space. However, it is possible to " +"temporarily release this lock using the macro :c:macro:" +"`Py_BEGIN_ALLOW_THREADS`, and to re-acquire it using :c:macro:" +"`Py_END_ALLOW_THREADS`. This is common around blocking I/O calls, to let " +"other threads use the processor while waiting for the I/O to complete. " +"Obviously, the following function has the same problem as the previous one::" msgstr "" msgid "" @@ -1732,27 +1752,18 @@ msgstr "" msgid "" "The ``#define`` is used to tell the header file that it is being included in " -"the exporting module, not a client module. Finally, the module's " -"initialization function must take care of initializing the C API pointer " -"array::" +"the exporting module, not a client module. Finally, the module's :c:data:" +"`mod_exec ` function must take care of initializing the C API " +"pointer array::" msgstr "" -"``#define`` jest używane aby przekazać plikowi nagłówkowemu że jest " -"załączany w module wystawianym na zewnątrz, nie w module któremu wszystko " -"służy. Ostatecznie zadanie inicjowania musi zadbać o zainicjowanie tabeli " -"wskaźników sprzęgu programowania aplikacji języka C." msgid "" -"PyMODINIT_FUNC\n" -"PyInit_spam(void)\n" +"static int\n" +"spam_module_exec(PyObject *m)\n" "{\n" -" PyObject *m;\n" " static void *PySpam_API[PySpam_API_pointers];\n" " PyObject *c_api_object;\n" "\n" -" m = PyModule_Create(&spammodule);\n" -" if (m == NULL)\n" -" return NULL;\n" -"\n" " /* Initialize the C API pointer array */\n" " PySpam_API[PySpam_System_NUM] = (void *)PySpam_System;\n" "\n" @@ -1761,11 +1772,10 @@ msgid "" "NULL);\n" "\n" " if (PyModule_Add(m, \"_C_API\", c_api_object) < 0) {\n" -" Py_DECREF(m);\n" -" return NULL;\n" +" return -1;\n" " }\n" "\n" -" return m;\n" +" return 0;\n" "}" msgstr "" @@ -1835,22 +1845,18 @@ msgstr "" msgid "" "All that a client module must do in order to have access to the function :c:" "func:`!PySpam_System` is to call the function (or rather macro) :c:func:`!" -"import_spam` in its initialization function::" +"import_spam` in its :c:data:`mod_exec ` function::" msgstr "" msgid "" -"PyMODINIT_FUNC\n" -"PyInit_client(void)\n" +"static int\n" +"client_module_exec(PyObject *m)\n" "{\n" -" PyObject *m;\n" -"\n" -" m = PyModule_Create(&clientmodule);\n" -" if (m == NULL)\n" -" return NULL;\n" -" if (import_spam() < 0)\n" -" return NULL;\n" +" if (import_spam() < 0) {\n" +" return -1;\n" +" }\n" " /* additional initialization can happen here */\n" -" return m;\n" +" return 0;\n" "}" msgstr "" diff --git a/extending/index.po b/extending/index.po index 26a42e560..bebb43889 100644 --- a/extending/index.po +++ b/extending/index.po @@ -6,16 +6,15 @@ # Translators: # Krzysztof Abramowicz, 2022 # Maciej Olko , 2022 -# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:52+0000\n" -"Last-Translator: Stan Ulbrych, 2025\n" +"Last-Translator: Maciej Olko , 2022\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -70,34 +69,10 @@ msgstr "Rekomendowane zewnętrzne narzędzia." msgid "" "This guide only covers the basic tools for creating extensions provided as " -"part of this version of CPython. Third party tools like `Cython `_, `cffi `_, `SWIG `_ and `Numba `_ offer both simpler and " -"more sophisticated approaches to creating C and C++ extensions for Python." +"part of this version of CPython. Some :ref:`third party tools ` " +"offer both simpler and more sophisticated approaches to creating C and C++ " +"extensions for Python." msgstr "" -"Ten przewodnik obejmuje jedynie podstawowe narzędzia do tworzenia rozszerzeń " -"w ramach tej wersji CPythona. Narzędzia innych firm, takie jak `Cython " -"`_, `cffi `_, `SWIG " -"`_ i `Numba `_ oferują " -"zarówno prostsze, jak i bardziej wyrafinowane podejścia do tworzenia " -"rozszerzeń C i C++ dla Python." - -msgid "" -"`Python Packaging User Guide: Binary Extensions `_" -msgstr "" -"Pakiety Pythona Podręcznik Użytkownika: Rozszerzenia Binarne\n" -"`_ enabled." +"Release, and :file:`pythonX.lib` for Release with the :ref:`Limited API " +"` enabled." msgstr "" msgid "" diff --git a/faq/design.po b/faq/design.po index 512563753..90900ea44 100644 --- a/faq/design.po +++ b/faq/design.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -13,9 +13,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:52+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/faq/extending.po b/faq/extending.po index 123565b98..b52c8372c 100644 --- a/faq/extending.po +++ b/faq/extending.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:52+0000\n" "Last-Translator: Stefan Ocetkiewicz , 2021\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -56,25 +56,9 @@ msgstr "" msgid "" "There are a number of alternatives to writing your own C extensions, " -"depending on what you're trying to do." -msgstr "" - -msgid "" -"`Cython `_ and its relative `Pyrex `_ are compilers that accept a " -"slightly modified form of Python and generate the corresponding C code. " -"Cython and Pyrex make it possible to write an extension without having to " -"learn Python's C API." -msgstr "" - -msgid "" -"If you need to interface to some C or C++ library for which no Python " -"extension currently exists, you can try wrapping the library's data types " -"and functions with a tool such as `SWIG `_. `SIP " -"`__, `CXX `_ `Boost `_, or `Weave " -"`_ are also alternatives for wrapping C++ " -"libraries." +"depending on what you're trying to do. :ref:`Recommended third party tools " +"` offer both simpler and more sophisticated approaches to " +"creating C and C++ extensions for Python." msgstr "" msgid "How can I execute arbitrary Python statements from C?" diff --git a/faq/general.po b/faq/general.po index dd46f11b3..43e9ba603 100644 --- a/faq/general.po +++ b/faq/general.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:52+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/faq/gui.po b/faq/gui.po index 96bbd9d8e..89e2b6fd9 100644 --- a/faq/gui.po +++ b/faq/gui.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -11,9 +11,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:52+0000\n" "Last-Translator: Rafael Fontenelle , 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/faq/index.po b/faq/index.po index 44298a09c..74eb447dc 100644 --- a/faq/index.po +++ b/faq/index.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:52+0000\n" "Last-Translator: Seweryn Piórkowski , 2021\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/faq/installed.po b/faq/installed.po index 1098fdd84..982a1b3f5 100644 --- a/faq/installed.po +++ b/faq/installed.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:52+0000\n" "Last-Translator: Krzysztof Abramowicz, 2022\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/faq/library.po b/faq/library.po index 7dda71267..078a842bf 100644 --- a/faq/library.po +++ b/faq/library.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:52+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/faq/programming.po b/faq/programming.po index a20f49409..74e1a7ab7 100644 --- a/faq/programming.po +++ b/faq/programming.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -13,9 +13,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:52+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/faq/windows.po b/faq/windows.po index 53e0d16d7..af9878e89 100644 --- a/faq/windows.po +++ b/faq/windows.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -12,9 +12,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:52+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/glossary.po b/glossary.po index 11b86e12b..ff5292ed3 100644 --- a/glossary.po +++ b/glossary.po @@ -17,7 +17,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:47+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -561,6 +561,17 @@ msgid "" "context whenever the task starts or resumes execution." msgstr "" +msgid "cyclic isolate" +msgstr "" + +msgid "" +"A subgroup of one or more objects that reference each other in a reference " +"cycle, but are not referenced by objects outside the group. The goal of " +"the :term:`cyclic garbage collector ` is to identify " +"these groups and break the reference cycles so that the memory can be " +"reclaimed." +msgstr "" + msgid "decorator" msgstr "dekorator" @@ -1951,6 +1962,22 @@ msgid "" "`specialnames`." msgstr "" +msgid "standard library" +msgstr "" + +msgid "" +"The collection of :term:`packages `, :term:`modules ` and :" +"term:`extension modules ` distributed as a part of the " +"official Python interpreter package. The exact membership of the collection " +"may vary based on platform, available system libraries, or other criteria. " +"Documentation can be found at :ref:`library-index`." +msgstr "" + +msgid "" +"See also :data:`sys.stdlib_module_names` for a list of all possible standard " +"library module names." +msgstr "" + msgid "statement" msgstr "instrukcja" @@ -1969,6 +1996,12 @@ msgid "" "mod:`typing` module." msgstr "" +msgid "stdlib" +msgstr "" + +msgid "An abbreviation of :term:`standard library`." +msgstr "" + msgid "strong reference" msgstr "" diff --git a/howto/annotations.po b/howto/annotations.po index 14c3b71f0..61da440f8 100644 --- a/howto/annotations.po +++ b/howto/annotations.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:52+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -333,5 +333,13 @@ msgid "" "`annotationlib.get_annotations` on Python 3.14+ or :func:`inspect." "get_annotations` on Python 3.10+. On earlier versions of Python, you can " "avoid these bugs by accessing the annotations from the class's :attr:`~type." -"__dict__` (e.g., ``cls.__dict__.get('__annotations__', None)``)." +"__dict__` (for example, ``cls.__dict__.get('__annotations__', None)``)." +msgstr "" + +msgid "" +"In some versions of Python, instances of classes may have an " +"``__annotations__`` attribute. However, this is not supported functionality. " +"If you need the annotations of an instance, you can use :func:`type` to " +"access its class (for example, ``annotationlib." +"get_annotations(type(myinstance))`` on Python 3.14+)." msgstr "" diff --git a/howto/argparse.po b/howto/argparse.po index 91ed6f712..256287aa0 100644 --- a/howto/argparse.po +++ b/howto/argparse.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:52+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/howto/clinic.po b/howto/clinic.po index 209a4131b..7c6acab95 100644 --- a/howto/clinic.po +++ b/howto/clinic.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:52+0000\n" "Last-Translator: Rafael Fontenelle , 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/howto/curses.po b/howto/curses.po index b42942cfd..b5be322ba 100644 --- a/howto/curses.po +++ b/howto/curses.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -11,9 +11,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:53+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/howto/descriptor.po b/howto/descriptor.po index 988495649..ed3ccd179 100644 --- a/howto/descriptor.po +++ b/howto/descriptor.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:53+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/howto/enum.po b/howto/enum.po index 30779f3b5..c1e1b5f53 100644 --- a/howto/enum.po +++ b/howto/enum.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:53+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/howto/free-threading-extensions.po b/howto/free-threading-extensions.po index 0b3efd35d..e3437a58a 100644 --- a/howto/free-threading-extensions.po +++ b/howto/free-threading-extensions.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2024-06-20 06:42+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -27,9 +27,9 @@ msgid "C API Extension Support for Free Threading" msgstr "" msgid "" -"Starting with the 3.13 release, CPython has experimental support for running " -"with the :term:`global interpreter lock` (GIL) disabled in a configuration " -"called :term:`free threading`. This document describes how to adapt C API " +"Starting with the 3.13 release, CPython has support for running with the :" +"term:`global interpreter lock` (GIL) disabled in a configuration called :" +"term:`free threading`. This document describes how to adapt C API " "extensions to support free threading." msgstr "" @@ -49,6 +49,13 @@ msgid "" "#endif" msgstr "" +msgid "" +"On Windows, this macro is not defined automatically, but must be specified " +"to the compiler when building. The :func:`sysconfig.get_config_var` function " +"can be used to determine whether the current running interpreter had the " +"macro defined." +msgstr "" + msgid "Module Initialization" msgstr "" @@ -247,10 +254,10 @@ msgid ":c:func:`PyImport_AddModuleRef`" msgstr ":c:func:`PyImport_AddModuleRef`" msgid ":c:func:`PyCell_GET`" -msgstr "" +msgstr ":c:func:`PyCell_GET`" msgid ":c:func:`PyCell_Get`" -msgstr "" +msgstr ":c:func:`PyCell_Get`" msgid "" "Not all APIs that return borrowed references are problematic. For example, :" @@ -535,8 +542,8 @@ msgstr "" msgid "" "`pypa/cibuildwheel `_ supports the " -"free-threaded build if you set `CIBW_FREE_THREADED_SUPPORT `_." +"free-threaded build if you set `CIBW_ENABLE to cpython-freethreading " +"`_." msgstr "" msgid "Limited C API and Stable ABI" diff --git a/howto/free-threading-python.po b/howto/free-threading-python.po index a87a87db9..ba3c9701b 100644 --- a/howto/free-threading-python.po +++ b/howto/free-threading-python.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2024-10-04 14:19+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -23,22 +23,25 @@ msgstr "" "(n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && " "n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" -msgid "Python experimental support for free threading" +msgid "Python support for free threading" msgstr "" msgid "" -"Starting with the 3.13 release, CPython has experimental support for a build " -"of Python called :term:`free threading` where the :term:`global interpreter " -"lock` (GIL) is disabled. Free-threaded execution allows for full " -"utilization of the available processing power by running threads in parallel " -"on available CPU cores. While not all software will benefit from this " -"automatically, programs designed with threading in mind will run faster on " -"multi-core hardware." +"Starting with the 3.13 release, CPython has support for a build of Python " +"called :term:`free threading` where the :term:`global interpreter lock` " +"(GIL) is disabled. Free-threaded execution allows for full utilization of " +"the available processing power by running threads in parallel on available " +"CPU cores. While not all software will benefit from this automatically, " +"programs designed with threading in mind will run faster on multi-core " +"hardware." msgstr "" msgid "" -"**The free-threaded mode is experimental** and work is ongoing to improve " -"it: expect some bugs and a substantial single-threaded performance hit." +"The free-threaded mode is working and continues to be improved, but there is " +"some additional overhead in single-threaded workloads compared to the " +"regular build. Additionally, third-party packages, in particular ones with " +"an :term:`extension module`, may not be ready for use in a free-threaded " +"build, and will re-enable the :term:`GIL`." msgstr "" msgid "" @@ -63,7 +66,7 @@ msgstr "" msgid "" "For information on other platforms, see the `Installing a Free-Threaded " -"Python `_, a " +"Python `_, a " "community-maintained installation guide for installing free-threaded Python." msgstr "" @@ -77,9 +80,9 @@ msgstr "" msgid "" "To check if the current interpreter supports free-threading, :option:`python " -"-VV <-V>` and :data:`sys.version` contain \"experimental free-threading " -"build\". The new :func:`sys._is_gil_enabled` function can be used to check " -"whether the GIL is actually disabled in the running process." +"-VV <-V>` and :data:`sys.version` contain \"free-threading build\". The new :" +"func:`sys._is_gil_enabled` function can be used to check whether the GIL is " +"actually disabled in the running process." msgstr "" msgid "" diff --git a/howto/functional.po b/howto/functional.po index eb35c10df..42e4b0afd 100644 --- a/howto/functional.po +++ b/howto/functional.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:53+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -726,7 +726,7 @@ msgid "" msgstr "" msgid "" -":meth:`~generator.close` raises a :exc:`GeneratorExit` exception inside the " +":meth:`~generator.close` sends a :exc:`GeneratorExit` exception to the " "generator to terminate the iteration. On receiving this exception, the " "generator's code must either raise :exc:`GeneratorExit` or :exc:" "`StopIteration`; catching the exception and doing anything else is illegal " @@ -1526,7 +1526,7 @@ msgid "" msgstr "" msgid "" -"https://www.defmacro.org/ramblings/fp.html: A general introduction to " +"https://defmacro.org/2006/06/19/fp.html: A general introduction to " "functional programming that uses Java examples and has a lengthy historical " "introduction." msgstr "" diff --git a/howto/gdb_helpers.po b/howto/gdb_helpers.po index f214c6eac..72c733c1c 100644 --- a/howto/gdb_helpers.po +++ b/howto/gdb_helpers.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2024-02-25 01:11+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -425,6 +425,43 @@ msgid "" "(gdb) py-down\n" "Unable to find a newer python frame" msgstr "" +"(gdb) py-down\n" +"#37 Frame 0x9420b04, for file /usr/lib/python2.6/site-packages/gnome_sudoku/" +"main.py, line 906, in start_game ()\n" +" u = UI()\n" +"(gdb) py-down\n" +"#34 (unable to read python frame information)\n" +"(gdb) py-down\n" +"#23 (unable to read python frame information)\n" +"(gdb) py-down\n" +"#19 (unable to read python frame information)\n" +"(gdb) py-down\n" +"#14 Frame 0x99262ac, for file /usr/lib/python2.6/site-packages/gnome_sudoku/" +"game_selector.py, line 201, in run_swallowed_dialog " +"(self=, puzzle=None, saved_games=[{'gsd.auto_fills': 0, 'tracking': {}, " +"'trackers': {}, 'notes': [], 'saved_at': 1270084485, 'game': '7 8 0 0 0 0 0 " +"5 6 0 0 9 0 8 0 1 0 0 0 4 6 0 0 0 0 7 0 6 5 0 0 0 4 7 9 2 0 0 0 9 0 1 0 0 0 " +"3 9 7 6 0 0 0 1 8 0 6 0 0 0 0 2 8 0 0 0 5 0 4 0 6 0 0 2 1 0 0 0 0 0 4 5\\n7 " +"8 0 0 0 0 0 5 6 0 0 9 0 8 0 1 0 0 0 4 6 0 0 0 0 7 0 6 5 1 8 3 4 7 9 2 0 0 0 " +"9 0 1 0 0 0 3 9 7 6 0 0 0 1 8 0 6 0 0 0 0 2 8 0 0 0 5 0 4 0 6 0 0 2 1 0 0 0 " +"0 0 4 5', 'gsd.impossible_hints': 0, 'timer.__absolute_start_time__': , 'gsd.hints': 0, 'timer.active_time': , 'timer.total_time': }], dialog=, saved_game_model=, sudoku_maker=, main_page=0) " +"at remote 0x98fa6e4>, d=)\n" +" gtk.main()\n" +"(gdb) py-down\n" +"#8 (unable to read python frame information)\n" +"(gdb) py-down\n" +"Unable to find a newer python frame" msgid "and we're at the bottom of the Python stack." msgstr "" @@ -504,6 +541,39 @@ msgid "" "0xb771b7f4>)\n" " main.start_game()" msgstr "" +"(gdb) py-bt\n" +"#8 (unable to read python frame information)\n" +"#11 Frame 0x9aead74, for file /usr/lib/python2.6/site-packages/gnome_sudoku/" +"dialog_swallower.py, line 48, in run_dialog " +"(self=, main_page=0) " +"at remote 0x98fa6e4>, d=)\n" +" gtk.main()\n" +"#14 Frame 0x99262ac, for file /usr/lib/python2.6/site-packages/gnome_sudoku/" +"game_selector.py, line 201, in run_swallowed_dialog " +"(self=, puzzle=None, saved_games=[{'gsd.auto_fills': 0, 'tracking': {}, " +"'trackers': {}, 'notes': [], 'saved_at': 1270084485, 'game': '7 8 0 0 0 0 0 " +"5 6 0 0 9 0 8 0 1 0 0 0 4 6 0 0 0 0 7 0 6 5 0 0 0 4 7 9 2 0 0 0 9 0 1 0 0 0 " +"3 9 7 6 0 0 0 1 8 0 6 0 0 0 0 2 8 0 0 0 5 0 4 0 6 0 0 2 1 0 0 0 0 0 4 5\\n7 " +"8 0 0 0 0 0 5 6 0 0 9 0 8 0 1 0 0 0 4 6 0 0 0 0 7 0 6 5 1 8 3 4 7 9 2 0 0 0 " +"9 0 1 0 0 0 3 9 7 6 0 0 0 1 8 0 6 0 0 0 0 2 8 0 0 0 5 0 4 0 6 0 0 2 1 0 0 0 " +"0 0 4 5', 'gsd.impossible_hints': 0, 'timer.__absolute_start_time__': , 'gsd.hints': 0, 'timer.active_time': , 'timer.total_time': }], dialog=, saved_game_model=, sudoku_maker=)\n" +" main.start_game()" msgid "" "The frame numbers correspond to those displayed by GDB's standard " @@ -705,3 +775,80 @@ msgid "" ", , _RLock__count=1) at remote " +"0xd7ff40>, count_owner=(1, 140737213728528), count=1, " +"owner=140737213728528)\n" +" self.__block.acquire()\n" +"#8 Frame 0x7fffac001640, for file /home/david/coding/python-svn/Lib/" +"threading.py, line 269, in wait " +"(self=<_Condition(_Condition__lock=<_RLock(_Verbose__verbose=False, " +"_RLock__owner=140737354016512, _RLock__block=, _RLock__count=1) at remote 0xd7ff40>, acquire=, _is_owned=, " +"_release_save=, release=, _acquire_restore=, " +"_Verbose__verbose=False, _Condition__waiters=[]) at remote 0xd7fd10>, " +"timeout=None, waiter=, saved_state=(1, " +"140737213728528))\n" +" self._acquire_restore(saved_state)\n" +"#12 Frame 0x7fffb8001a10, for file /home/david/coding/python-svn/Lib/test/" +"lock_tests.py, line 348, in f ()\n" +" cond.wait()\n" +"#16 Frame 0x7fffb8001c40, for file /home/david/coding/python-svn/Lib/test/" +"lock_tests.py, line 37, in task (tid=140737213728528)\n" +" f()\n" +"\n" +"Thread 104 (Thread 0x7fffdf5fe710 (LWP 10259)):\n" +"#5 Frame 0x7fffe4001580, for file /home/david/coding/python-svn/Lib/" +"threading.py, line 155, in _acquire_restore " +"(self=<_RLock(_Verbose__verbose=False, _RLock__owner=140737354016512, " +"_RLock__block=, _RLock__count=1) at remote " +"0xd7ff40>, count_owner=(1, 140736940992272), count=1, " +"owner=140736940992272)\n" +" self.__block.acquire()\n" +"#8 Frame 0x7fffc8002090, for file /home/david/coding/python-svn/Lib/" +"threading.py, line 269, in wait " +"(self=<_Condition(_Condition__lock=<_RLock(_Verbose__verbose=False, " +"_RLock__owner=140737354016512, _RLock__block=, _RLock__count=1) at remote 0xd7ff40>, acquire=, _is_owned=, " +"_release_save=, release=, _acquire_restore=, " +"_Verbose__verbose=False, _Condition__waiters=[]) at remote 0xd7fd10>, " +"timeout=None, waiter=, saved_state=(1, " +"140736940992272))\n" +" self._acquire_restore(saved_state)\n" +"#12 Frame 0x7fffac001c90, for file /home/david/coding/python-svn/Lib/test/" +"lock_tests.py, line 348, in f ()\n" +" cond.wait()\n" +"#16 Frame 0x7fffac0011c0, for file /home/david/coding/python-svn/Lib/test/" +"lock_tests.py, line 37, in task (tid=140736940992272)\n" +" f()\n" +"\n" +"Thread 1 (Thread 0x7ffff7fe2700 (LWP 10145)):\n" +"#5 Frame 0xcb5380, for file /home/david/coding/python-svn/Lib/test/" +"lock_tests.py, line 16, in _wait ()\n" +" time.sleep(0.01)\n" +"#8 Frame 0x7fffd00024a0, for file /home/david/coding/python-svn/Lib/test/" +"lock_tests.py, line 378, in _check_notify " +"(self=, skipped=[], _mirrorOutput=False, testsRun=39, " +"buffer=False, _original_stderr=, " +"_stdout_buffer=, " +"_stderr_buffer=, " +"_moduleSetUpFailed=False, expectedFailures=[], errors=[], " +"_previousTestClass=, unexpectedSuccesses=[], " +"failures=[], shouldStop=False, failfast=False) at remote 0xc185a0>, " +"_threads=(0,), _cleanups=[], _type_equality_funcs={: , : " +", : " +", : " +", , 2021 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:53+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -113,4 +113,4 @@ msgid ":ref:`perf_profiling`" msgstr ":ref:`perf_profiling`" msgid ":ref:`remote-debugging`" -msgstr "" +msgstr ":ref:`remote-debugging`" diff --git a/howto/instrumentation.po b/howto/instrumentation.po index ac112dc31..e528869f2 100644 --- a/howto/instrumentation.po +++ b/howto/instrumentation.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -11,9 +11,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:53+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/howto/ipaddress.po b/howto/ipaddress.po index c5d443fa2..d8531924c 100644 --- a/howto/ipaddress.po +++ b/howto/ipaddress.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:53+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/howto/isolating-extensions.po b/howto/isolating-extensions.po index 864ff8c45..dd9234d5d 100644 --- a/howto/isolating-extensions.po +++ b/howto/isolating-extensions.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2022-11-05 19:48+0000\n" "Last-Translator: Maciej Olko , 2022\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -225,8 +225,8 @@ msgstr "" msgid "" "If it is necessary to use process-global state, the simplest way to avoid " "issues with multiple interpreters is to explicitly prevent a module from " -"being loaded more than once per process—see `Opt-Out: Limiting to One Module " -"Object per Process`_." +"being loaded more than once per process—see :ref:`isolating-extensions-" +"optout`." msgstr "" msgid "Managing Per-Module State" @@ -286,21 +286,36 @@ msgid "" msgstr "" msgid "" +"// A process-wide flag\n" "static int loaded = 0;\n" "\n" +"// Mutex to provide thread safety (only needed for free-threaded Python)\n" +"static PyMutex modinit_mutex = {0};\n" +"\n" "static int\n" "exec_module(PyObject* module)\n" "{\n" +" PyMutex_Lock(&modinit_mutex);\n" " if (loaded) {\n" +" PyMutex_Unlock(&modinit_mutex);\n" " PyErr_SetString(PyExc_ImportError,\n" " \"cannot load module more than once per process\");\n" " return -1;\n" " }\n" " loaded = 1;\n" +" PyMutex_Unlock(&modinit_mutex);\n" " // ... rest of initialization\n" "}" msgstr "" +msgid "" +"If your module's :c:member:`PyModuleDef.m_clear` function is able to prepare " +"for future re-initialization, it should clear the ``loaded`` flag. In this " +"case, your module won't support multiple instances existing *concurrently*, " +"but it will, for example, support being loaded after Python runtime shutdown " +"(:c:func:`Py_FinalizeEx`) and re-initialization (:c:func:`Py_Initialize`)." +msgstr "" + msgid "Module State Access from Functions" msgstr "" @@ -561,7 +576,7 @@ msgstr "" msgid "GC-tracked objects need to be allocated using GC-aware functions." msgstr "" -msgid "If you use use :c:func:`PyObject_New` or :c:func:`PyObject_NewVar`:" +msgid "If you use :c:func:`PyObject_New` or :c:func:`PyObject_NewVar`:" msgstr "" msgid "" @@ -764,9 +779,8 @@ msgid "Several issues around per-module state and heap types are still open." msgstr "" msgid "" -"Discussions about improving the situation are best held on the `capi-sig " -"mailing list `__." +"Discussions about improving the situation are best held on the `discuss " +"forum under c-api tag `__." msgstr "" msgid "Per-Class Scope" diff --git a/howto/logging-cookbook.po b/howto/logging-cookbook.po index e6f55acf0..02715af19 100644 --- a/howto/logging-cookbook.po +++ b/howto/logging-cookbook.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:53+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -1789,6 +1789,100 @@ msgid "" " q.put(None)\n" " lp.join()" msgstr "" +"import logging\n" +"import logging.config\n" +"import logging.handlers\n" +"from multiprocessing import Process, Queue\n" +"import random\n" +"import threading\n" +"import time\n" +"\n" +"def logger_thread(q):\n" +" while True:\n" +" record = q.get()\n" +" if record is None:\n" +" break\n" +" logger = logging.getLogger(record.name)\n" +" logger.handle(record)\n" +"\n" +"\n" +"def worker_process(q):\n" +" qh = logging.handlers.QueueHandler(q)\n" +" root = logging.getLogger()\n" +" root.setLevel(logging.DEBUG)\n" +" root.addHandler(qh)\n" +" levels = [logging.DEBUG, logging.INFO, logging.WARNING, logging.ERROR,\n" +" logging.CRITICAL]\n" +" loggers = ['foo', 'foo.bar', 'foo.bar.baz',\n" +" 'spam', 'spam.ham', 'spam.ham.eggs']\n" +" for i in range(100):\n" +" lvl = random.choice(levels)\n" +" logger = logging.getLogger(random.choice(loggers))\n" +" logger.log(lvl, 'Message no. %d', i)\n" +"\n" +"if __name__ == '__main__':\n" +" q = Queue()\n" +" d = {\n" +" 'version': 1,\n" +" 'formatters': {\n" +" 'detailed': {\n" +" 'class': 'logging.Formatter',\n" +" 'format': '%(asctime)s %(name)-15s %(levelname)-8s " +"%(processName)-10s %(message)s'\n" +" }\n" +" },\n" +" 'handlers': {\n" +" 'console': {\n" +" 'class': 'logging.StreamHandler',\n" +" 'level': 'INFO',\n" +" },\n" +" 'file': {\n" +" 'class': 'logging.FileHandler',\n" +" 'filename': 'mplog.log',\n" +" 'mode': 'w',\n" +" 'formatter': 'detailed',\n" +" },\n" +" 'foofile': {\n" +" 'class': 'logging.FileHandler',\n" +" 'filename': 'mplog-foo.log',\n" +" 'mode': 'w',\n" +" 'formatter': 'detailed',\n" +" },\n" +" 'errors': {\n" +" 'class': 'logging.FileHandler',\n" +" 'filename': 'mplog-errors.log',\n" +" 'mode': 'w',\n" +" 'level': 'ERROR',\n" +" 'formatter': 'detailed',\n" +" },\n" +" },\n" +" 'loggers': {\n" +" 'foo': {\n" +" 'handlers': ['foofile']\n" +" }\n" +" },\n" +" 'root': {\n" +" 'level': 'DEBUG',\n" +" 'handlers': ['console', 'file', 'errors']\n" +" },\n" +" }\n" +" workers = []\n" +" for i in range(5):\n" +" wp = Process(target=worker_process, name='worker %d' % (i + 1), " +"args=(q,))\n" +" workers.append(wp)\n" +" wp.start()\n" +" logging.config.dictConfig(d)\n" +" lp = threading.Thread(target=logger_thread, args=(q,))\n" +" lp.start()\n" +" # W tym momencie główny proces mógłby wykonać jakąś pożyteczną pracę " +"samodzielnie\n" +" # Gdy już to zrobi, może poczekać, aż pracownicy zakończą pracę...\n" +" for wp in workers:\n" +" wp.join()\n" +" # A teraz powiedz wątkowi rejestrującemu, żeby zakończył działanie\n" +" q.put(None)\n" +" lp.join()" msgid "" "This variant shows how you can e.g. apply configuration for particular " @@ -4692,6 +4786,120 @@ msgid "" "WARNING:demo:ZeroDivisionError: division by zero" msgstr "" +msgid "How to uniformly handle newlines in logging output" +msgstr "" + +msgid "" +"Usually, messages that are logged (say to console or file) consist of a " +"single line of text. However, sometimes there is a need to handle messages " +"with multiple lines - whether because a logging format string contains " +"newlines, or logged data contains newlines. If you want to handle such " +"messages uniformly, so that each line in the logged message appears " +"uniformly formatted as if it was logged separately, you can do this using a " +"handler mixin, as in the following snippet:" +msgstr "" + +msgid "" +"# Assume this is in a module mymixins.py\n" +"import copy\n" +"\n" +"class MultilineMixin:\n" +" def emit(self, record):\n" +" s = record.getMessage()\n" +" if '\\n' not in s:\n" +" super().emit(record)\n" +" else:\n" +" lines = s.splitlines()\n" +" rec = copy.copy(record)\n" +" rec.args = None\n" +" for line in lines:\n" +" rec.msg = line\n" +" super().emit(rec)" +msgstr "" + +msgid "You can use the mixin as in the following script:" +msgstr "" + +msgid "" +"import logging\n" +"\n" +"from mymixins import MultilineMixin\n" +"\n" +"logger = logging.getLogger(__name__)\n" +"\n" +"class StreamHandler(MultilineMixin, logging.StreamHandler):\n" +" pass\n" +"\n" +"if __name__ == '__main__':\n" +" logging.basicConfig(level=logging.DEBUG, format='%(asctime)s " +"%(levelname)-9s %(message)s',\n" +" handlers = [StreamHandler()])\n" +" logger.debug('Single line')\n" +" logger.debug('Multiple lines:\\nfool me once ...')\n" +" logger.debug('Another single line')\n" +" logger.debug('Multiple lines:\\n%s', 'fool me ...\\ncan\\'t get fooled " +"again')" +msgstr "" + +msgid "The script, when run, prints something like:" +msgstr "" + +msgid "" +"2025-07-02 13:54:47,234 DEBUG Single line\n" +"2025-07-02 13:54:47,234 DEBUG Multiple lines:\n" +"2025-07-02 13:54:47,234 DEBUG fool me once ...\n" +"2025-07-02 13:54:47,234 DEBUG Another single line\n" +"2025-07-02 13:54:47,234 DEBUG Multiple lines:\n" +"2025-07-02 13:54:47,234 DEBUG fool me ...\n" +"2025-07-02 13:54:47,234 DEBUG can't get fooled again" +msgstr "" + +msgid "" +"If, on the other hand, you are concerned about `log injection `_, you can use a formatter which " +"escapes newlines, as per the following example:" +msgstr "" + +msgid "" +"import logging\n" +"\n" +"logger = logging.getLogger(__name__)\n" +"\n" +"class EscapingFormatter(logging.Formatter):\n" +" def format(self, record):\n" +" s = super().format(record)\n" +" return s.replace('\\n', r'\\n')\n" +"\n" +"if __name__ == '__main__':\n" +" h = logging.StreamHandler()\n" +" h.setFormatter(EscapingFormatter('%(asctime)s %(levelname)-9s " +"%(message)s'))\n" +" logging.basicConfig(level=logging.DEBUG, handlers = [h])\n" +" logger.debug('Single line')\n" +" logger.debug('Multiple lines:\\nfool me once ...')\n" +" logger.debug('Another single line')\n" +" logger.debug('Multiple lines:\\n%s', 'fool me ...\\ncan\\'t get fooled " +"again')" +msgstr "" + +msgid "" +"You can, of course, use whatever escaping scheme makes the most sense for " +"you. The script, when run, should produce output like this:" +msgstr "" + +msgid "" +"2025-07-09 06:47:33,783 DEBUG Single line\n" +"2025-07-09 06:47:33,783 DEBUG Multiple lines:\\nfool me once ...\n" +"2025-07-09 06:47:33,783 DEBUG Another single line\n" +"2025-07-09 06:47:33,783 DEBUG Multiple lines:\\nfool me ...\\ncan't get " +"fooled again" +msgstr "" + +msgid "" +"Escaping behaviour can't be the stdlib default , as it would break backwards " +"compatibility." +msgstr "" + msgid "Patterns to avoid" msgstr "" diff --git a/howto/logging.po b/howto/logging.po index 6b36d3a28..d951b0a90 100644 --- a/howto/logging.po +++ b/howto/logging.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:53+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/howto/mro.po b/howto/mro.po index f3f5a37cf..80e9f1c8f 100644 --- a/howto/mro.po +++ b/howto/mro.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2024-04-19 14:15+0000\n" "Last-Translator: Maciej Olko , 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/howto/perf_profiling.po b/howto/perf_profiling.po index 4d5063838..4f0117037 100644 --- a/howto/perf_profiling.po +++ b/howto/perf_profiling.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2023-05-24 13:07+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/howto/pyporting.po b/howto/pyporting.po index a74a24bae..025261408 100644 --- a/howto/pyporting.po +++ b/howto/pyporting.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:53+0000\n" "Last-Translator: Seweryn Piórkowski , 2021\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/howto/regex.po b/howto/regex.po index 4edac1bb6..962ccad84 100644 --- a/howto/regex.po +++ b/howto/regex.po @@ -15,7 +15,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:53+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -968,6 +968,9 @@ msgid "" " \"|[0-9]+\"\n" " \"|x[0-9a-fA-F]+);\")" msgstr "" +"charref = re.compile(\"&#(0[0-7]+\"\n" +" \"|[0-9]+\"\n" +" \"|x[0-9a-fA-F]+);\")" msgid "" "In the above example, Python's automatic concatenation of string literals " @@ -1061,6 +1064,12 @@ msgid "" ">>> print(re.search('}$', '{block}\\n'))\n" "" msgstr "" +">>> print(re.search('}$', '{block}'))\n" +"\n" +">>> print(re.search('}$', '{block} '))\n" +"None\n" +">>> print(re.search('}$', '{block}\\n'))\n" +"" msgid "" "To match a literal ``'$'``, use ``\\$`` or enclose it inside a character " @@ -1079,7 +1088,7 @@ msgid "" msgstr "" msgid "``\\z``" -msgstr "" +msgstr "``\\z``" msgid "Matches only at the end of the string." msgstr "" @@ -1132,6 +1141,11 @@ msgid "" ">>> print(p.search('\\b' + 'class' + '\\b'))\n" "" msgstr "" +">>> p = re.compile('\\bclass\\b')\n" +">>> print(p.search('no class at all'))\n" +"None\n" +">>> print(p.search('\\b' + 'class' + '\\b'))\n" +"" msgid "" "Second, inside a character class, where there's no use for this assertion, " @@ -1164,6 +1178,10 @@ msgid "" "MIME-Version: 1.0\n" "To: editor@example.com" msgstr "" +"From: author@example.com\n" +"User-Agent: Thunderbird 1.5.0.9 (X11/20061227)\n" +"MIME-Version: 1.0\n" +"To: editor@example.com" msgid "" "This can be handled by writing a regular expression which matches an entire " @@ -1208,6 +1226,12 @@ msgid "" ">>> m.group(0)\n" "'ab'" msgstr "" +">>> p = re.compile('(a)b')\n" +">>> m = p.match('ab')\n" +">>> m.group()\n" +"'ab'\n" +">>> m.group(0)\n" +"'ab'" msgid "" "Subgroups are numbered from left to right, from 1 upward. Groups can be " @@ -1225,6 +1249,14 @@ msgid "" ">>> m.group(2)\n" "'b'" msgstr "" +">>> p = re.compile('(a(b)c)d')\n" +">>> m = p.match('abcd')\n" +">>> m.group(0)\n" +"'abcd'\n" +">>> m.group(1)\n" +"'abc'\n" +">>> m.group(2)\n" +"'b'" msgid "" ":meth:`~re.Match.group` can be passed multiple group numbers at a time, in " @@ -1337,6 +1369,12 @@ msgid "" ">>> m.groups()\n" "()" msgstr "" +">>> m = re.match(\"([abc])+\", \"abc\")\n" +">>> m.groups()\n" +"('c',)\n" +">>> m = re.match(\"(?:[abc])+\", \"abc\")\n" +">>> m.groups()\n" +"()" msgid "" "Except for the fact that you can't retrieve the contents of what the group " @@ -1403,6 +1441,12 @@ msgid "" " r' (?P[-+])(?P[0-9][0-9])(?P[0-9][0-9])'\n" " r'\"')" msgstr "" +"InternalDate = re.compile(r'INTERNALDATE \"'\n" +" r'(?P[ 123][0-9])-(?P[A-Z][a-z][a-z])-'\n" +" r'(?P[0-9][0-9][0-9][0-9])'\n" +" r' (?P[0-9][0-9]):(?P[0-9][0-9]):(?P[0-9][0-9])'\n" +" r' (?P[-+])(?P[0-9][0-9])(?P[0-9][0-9])'\n" +" r'\"')" msgid "" "It's obviously much easier to retrieve ``m.group('zonem')``, instead of " @@ -1484,10 +1528,13 @@ msgid "" "filenames where the extension is not ``bat``? Some incorrect attempts:" msgstr "" +msgid "``.*[.][^b].*$``" +msgstr "``.*[.][^b].*$``" + msgid "" -"``.*[.][^b].*$`` The first attempt above tries to exclude ``bat`` by " -"requiring that the first character of the extension is not a ``b``. This is " -"wrong, because the pattern also doesn't match ``foo.bar``." +"The first attempt above tries to exclude ``bat`` by requiring that the first " +"character of the extension is not a ``b``. This is wrong, because the " +"pattern also doesn't match ``foo.bar``." msgstr "" msgid "``.*[.]([^b]..|.[^a].|..[^t])$``" @@ -1522,13 +1569,16 @@ msgstr "" msgid "A negative lookahead cuts through all this confusion:" msgstr "" +msgid "``.*[.](?!bat$)[^.]*$``" +msgstr "``.*[.](?!bat$)[^.]*$``" + msgid "" -"``.*[.](?!bat$)[^.]*$`` The negative lookahead means: if the expression " -"``bat`` doesn't match at this point, try the rest of the pattern; if " -"``bat$`` does match, the whole pattern will fail. The trailing ``$`` is " -"required to ensure that something like ``sample.batch``, where the extension " -"only starts with ``bat``, will be allowed. The ``[^.]*`` makes sure that " -"the pattern works when there are multiple dots in the filename." +"The negative lookahead means: if the expression ``bat`` doesn't match at " +"this point, try the rest of the pattern; if ``bat$`` does match, the whole " +"pattern will fail. The trailing ``$`` is required to ensure that something " +"like ``sample.batch``, where the extension only starts with ``bat``, will be " +"allowed. The ``[^.]*`` makes sure that the pattern works when there are " +"multiple dots in the filename." msgstr "" msgid "" @@ -1719,6 +1769,9 @@ msgid "" ">>> p.sub(r'subsection{\\1}','section{First} section{second}')\n" "'subsection{First} subsection{second}'" msgstr "" +">>> p = re.compile('section{ ( [^}]* ) }', re.VERBOSE)\n" +">>> p.sub(r'subsection{\\1}','section{First} section{second}')\n" +"'subsection{First} subsection{second}'" msgid "" "There's also a syntax for referring to named groups as defined by the ``(?" @@ -1899,6 +1952,13 @@ msgid "" ">>> print(re.match('<.*>', s).group())\n" "Codestin Search App" msgstr "" +">>> s = 'Codestin Search App'\n" +">>> len(s)\n" +"32\n" +">>> print(re.match('<.*>', s).span())\n" +"(0, 32)\n" +">>> print(re.match('<.*>', s).group())\n" +"Codestin Search App" msgid "" "The RE matches the ``'<'`` in ``''``, and the ``.*`` consumes the rest " @@ -1974,7 +2034,7 @@ msgid "This is far more readable than::" msgstr "Jest to o wiele bardziej czytelne niż::" msgid "pat = re.compile(r\"\\s*(?P
[^:]+)\\s*:(?P.*?)\\s*$\")" -msgstr "" +msgstr "pat = re.compile(r\"\\s*(?P
[^:]+)\\s*:(?P.*?)\\s*$\")" msgid "Feedback" msgstr "Feedback" diff --git a/howto/sockets.po b/howto/sockets.po index 094b63652..aa69e6371 100644 --- a/howto/sockets.po +++ b/howto/sockets.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:53+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/howto/sorting.po b/howto/sorting.po index 559567258..9268e0f7e 100644 --- a/howto/sorting.po +++ b/howto/sorting.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:53+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/howto/timerfd.po b/howto/timerfd.po index bd374184b..773404603 100644 --- a/howto/timerfd.po +++ b/howto/timerfd.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2024-05-11 01:08+0000\n" "Last-Translator: Maciej Olko , 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/howto/unicode.po b/howto/unicode.po index 26302fc84..8316c09fc 100644 --- a/howto/unicode.po +++ b/howto/unicode.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:53+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/howto/urllib2.po b/howto/urllib2.po index 9a6dd2a11..92b47ef00 100644 --- a/howto/urllib2.po +++ b/howto/urllib2.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:53+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -340,77 +340,32 @@ msgstr "" msgid "" ":attr:`http.server.BaseHTTPRequestHandler.responses` is a useful dictionary " -"of response codes in that shows all the response codes used by :rfc:`2616`. " -"The dictionary is reproduced here for convenience ::" +"of response codes that shows all the response codes used by :rfc:`2616`. An " +"excerpt from the dictionary is shown below ::" msgstr "" msgid "" -"# Table mapping response codes to messages; entries have the\n" -"# form {code: (shortmessage, longmessage)}.\n" "responses = {\n" -" 100: ('Continue', 'Request received, please continue'),\n" -" 101: ('Switching Protocols',\n" -" 'Switching to new protocol; obey Upgrade header'),\n" -"\n" -" 200: ('OK', 'Request fulfilled, document follows'),\n" -" 201: ('Created', 'Document created, URL follows'),\n" -" 202: ('Accepted',\n" -" 'Request accepted, processing continues off-line'),\n" -" 203: ('Non-Authoritative Information', 'Request fulfilled from cache'),\n" -" 204: ('No Content', 'Request fulfilled, nothing follows'),\n" -" 205: ('Reset Content', 'Clear input form for further input.'),\n" -" 206: ('Partial Content', 'Partial content follows.'),\n" -"\n" -" 300: ('Multiple Choices',\n" -" 'Object has several resources -- see URI list'),\n" -" 301: ('Moved Permanently', 'Object moved permanently -- see URI list'),\n" -" 302: ('Found', 'Object moved temporarily -- see URI list'),\n" -" 303: ('See Other', 'Object moved -- see Method and URL list'),\n" -" 304: ('Not Modified',\n" -" 'Document has not changed since given time'),\n" -" 305: ('Use Proxy',\n" -" 'You must use proxy specified in Location to access this '\n" -" 'resource.'),\n" -" 307: ('Temporary Redirect',\n" -" 'Object moved temporarily -- see URI list'),\n" -"\n" -" 400: ('Bad Request',\n" -" 'Bad request syntax or unsupported method'),\n" -" 401: ('Unauthorized',\n" -" 'No permission -- see authorization schemes'),\n" -" 402: ('Payment Required',\n" -" 'No payment -- see charging schemes'),\n" -" 403: ('Forbidden',\n" -" 'Request forbidden -- authorization will not help'),\n" -" 404: ('Not Found', 'Nothing matches the given URI'),\n" -" 405: ('Method Not Allowed',\n" -" 'Specified method is invalid for this server.'),\n" -" 406: ('Not Acceptable', 'URI not available in preferred format.'),\n" -" 407: ('Proxy Authentication Required', 'You must authenticate with '\n" -" 'this proxy before proceeding.'),\n" -" 408: ('Request Timeout', 'Request timed out; try again later.'),\n" -" 409: ('Conflict', 'Request conflict.'),\n" -" 410: ('Gone',\n" -" 'URI no longer exists and has been permanently removed.'),\n" -" 411: ('Length Required', 'Client must specify Content-Length.'),\n" -" 412: ('Precondition Failed', 'Precondition in headers is false.'),\n" -" 413: ('Request Entity Too Large', 'Entity is too large.'),\n" -" 414: ('Request-URI Too Long', 'URI is too long.'),\n" -" 415: ('Unsupported Media Type', 'Entity body in unsupported format.'),\n" -" 416: ('Requested Range Not Satisfiable',\n" -" 'Cannot satisfy request range.'),\n" -" 417: ('Expectation Failed',\n" -" 'Expect condition could not be satisfied.'),\n" -"\n" -" 500: ('Internal Server Error', 'Server got itself in trouble'),\n" -" 501: ('Not Implemented',\n" -" 'Server does not support this operation'),\n" -" 502: ('Bad Gateway', 'Invalid responses from another server/proxy.'),\n" -" 503: ('Service Unavailable',\n" -" 'The server cannot process the request due to a high load'),\n" -" 504: ('Gateway Timeout',\n" -" 'The gateway server did not receive a timely response'),\n" -" 505: ('HTTP Version Not Supported', 'Cannot fulfill request.'),\n" +" ...\n" +" : ('OK', 'Request fulfilled, document follows'),\n" +" ...\n" +" : ('Forbidden',\n" +" 'Request forbidden -- authorization will " +"'\n" +" 'not help'),\n" +" : ('Not Found',\n" +" 'Nothing matches the given URI'),\n" +" ...\n" +" : (\"I'm a Teapot\",\n" +" 'Server refuses to brew coffee because " +"'\n" +" 'it is a teapot'),\n" +" ...\n" +" : ('Service Unavailable',\n" +" 'The server cannot process the " +"'\n" +" 'request due to a high load'),\n" +" ...\n" " }" msgstr "" diff --git a/installing/index.po b/installing/index.po index ef08d81ec..73c101b8f 100644 --- a/installing/index.po +++ b/installing/index.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -11,9 +11,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:54+0000\n" "Last-Translator: Maciej Olko , 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/__future__.po b/library/__future__.po index 6cce2d926..64470c527 100644 --- a/library/__future__.po +++ b/library/__future__.po @@ -4,18 +4,17 @@ # FIRST AUTHOR , YEAR. # # Translators: -# Maciej Olko , 2023 # Rafael Fontenelle , 2024 -# Stan Ulbrych, 2025 +# Stan Ulbrych, 2024 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:54+0000\n" -"Last-Translator: Stan Ulbrych, 2025\n" +"Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -87,9 +86,6 @@ msgstr "obowiązkowe w" msgid "effect" msgstr "" -msgid "nested_scopes" -msgstr "nested_scopes" - msgid "2.1.0b1" msgstr "2.1.0b1" @@ -99,9 +95,6 @@ msgstr "2.2" msgid ":pep:`227`: *Statically Nested Scopes*" msgstr "" -msgid "generators" -msgstr "generatory" - msgid "2.2.0a1" msgstr "2.2.0a1" @@ -111,9 +104,6 @@ msgstr "2.3" msgid ":pep:`255`: *Simple Generators*" msgstr "" -msgid "division" -msgstr "podział" - msgid "2.2.0a2" msgstr "2.2.0a2" @@ -123,42 +113,27 @@ msgstr "3.0" msgid ":pep:`238`: *Changing the Division Operator*" msgstr ":pep:`238`: *Zmiana operatora podziału*" -msgid "absolute_import" -msgstr "absolute_import" - msgid "2.5.0a1" msgstr "2.5.0a1" msgid ":pep:`328`: *Imports: Multi-Line and Absolute/Relative*" msgstr "" -msgid "with_statement" -msgstr "with_statement" - msgid "2.6" msgstr "2.6" -msgid ":pep:`343`: *The \"with\" Statement*" +msgid ":pep:`343`: *The “with” Statement*" msgstr "" -msgid "print_function" -msgstr "print_function" - msgid "2.6.0a2" msgstr "2.6.0a2" msgid ":pep:`3105`: *Make print a function*" msgstr "" -msgid "unicode_literals" -msgstr "unicode_literals" - msgid ":pep:`3112`: *Bytes literals in Python 3000*" msgstr "" -msgid "generator_stop" -msgstr "generator_stop" - msgid "3.5.0b1" msgstr "3.5.0b1" @@ -168,9 +143,6 @@ msgstr "3.7" msgid ":pep:`479`: *StopIteration handling inside generators*" msgstr "" -msgid "annotations" -msgstr "anotacje" - msgid "3.7.0b1" msgstr "3.7.0b1" diff --git a/library/__main__.po b/library/__main__.po index 255053daa..a85f7e4db 100644 --- a/library/__main__.po +++ b/library/__main__.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:54+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/_thread.po b/library/_thread.po index 57857c278..8d34017ef 100644 --- a/library/_thread.po +++ b/library/_thread.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:54+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/abc.po b/library/abc.po index fafd26d61..b67aab0b9 100644 --- a/library/abc.po +++ b/library/abc.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:54+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/annotationlib.po b/library/annotationlib.po index 6890690e9..299888a4a 100644 --- a/library/annotationlib.po +++ b/library/annotationlib.po @@ -6,15 +6,16 @@ # Translators: # Maciej Olko , 2025 # Tomasz Rodzen , 2025 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-16 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2025-05-08 06:04+0000\n" -"Last-Translator: Tomasz Rodzen , 2025\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -28,7 +29,7 @@ msgid ":mod:`!annotationlib` --- Functionality for introspecting annotations" msgstr "" msgid "**Source code:** :source:`Lib/annotationlib.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/annotationlib.py`" msgid "" "The :mod:`!annotationlib` module provides tools for introspecting :term:" @@ -274,6 +275,12 @@ msgid "" "be necessary to evaluate them successfully." msgstr "" +msgid "" +"If no *owner*, *globals*, *locals*, or *type_params* are provided and the :" +"class:`~ForwardRef` does not contain information about its origin, empty " +"globals and locals dictionaries are used." +msgstr "" + msgid "Functions" msgstr "Zadania" @@ -655,10 +662,10 @@ msgid "The following are supported (sometimes with caveats):" msgstr "" msgid ":class:`ast.BinOp`" -msgstr "" +msgstr ":class:`ast.BinOp`" msgid ":class:`ast.UnaryOp`" -msgstr "" +msgstr ":class:`ast.UnaryOp`" msgid "" ":class:`ast.Invert` (``~``), :class:`ast.UAdd` (``+``), and :class:`ast." @@ -672,10 +679,10 @@ msgid ":class:`ast.Dict` (except when using ``**`` unpacking)" msgstr "" msgid ":class:`ast.Set`" -msgstr "" +msgstr ":class:`ast.Set`" msgid ":class:`ast.Compare`" -msgstr "" +msgstr ":class:`ast.Compare`" msgid ":class:`ast.Eq` and :class:`ast.NotEq` are supported" msgstr "" @@ -709,16 +716,16 @@ msgid ":class:`ast.Starred` (``*`` unpacking)" msgstr "" msgid ":class:`ast.Name`" -msgstr "" +msgstr ":class:`ast.Name`" msgid ":class:`ast.List`" -msgstr "" +msgstr ":class:`ast.List`" msgid ":class:`ast.Tuple`" -msgstr "" +msgstr ":class:`ast.Tuple`" msgid ":class:`ast.Slice`" -msgstr "" +msgstr ":class:`ast.Slice`" msgid "" "The following are unsupported, but throw an informative error when " @@ -740,38 +747,38 @@ msgid ":class:`ast.BoolOp` (``and`` and ``or``)" msgstr "" msgid ":class:`ast.IfExp`" -msgstr "" +msgstr ":class:`ast.IfExp`" msgid ":class:`ast.Lambda`" -msgstr "" +msgstr ":class:`ast.Lambda`" msgid ":class:`ast.ListComp`" -msgstr "" +msgstr ":class:`ast.ListComp`" msgid ":class:`ast.SetComp`" -msgstr "" +msgstr ":class:`ast.SetComp`" msgid ":class:`ast.DictComp`" -msgstr "" +msgstr ":class:`ast.DictComp`" msgid ":class:`ast.GeneratorExp`" -msgstr "" +msgstr ":class:`ast.GeneratorExp`" msgid "" "The following are disallowed in annotation scopes and therefore not relevant:" msgstr "" msgid ":class:`ast.NamedExpr` (``:=``)" -msgstr "" +msgstr ":class:`ast.NamedExpr` (``:=``)" msgid ":class:`ast.Await`" -msgstr "" +msgstr ":class:`ast.Await`" msgid ":class:`ast.Yield`" -msgstr "" +msgstr ":class:`ast.Yield`" msgid ":class:`ast.YieldFrom`" -msgstr "" +msgstr ":class:`ast.YieldFrom`" msgid "Limitations of the ``FORWARDREF`` format" msgstr "" diff --git a/library/argparse.po b/library/argparse.po index 199e2618b..d1da00360 100644 --- a/library/argparse.po +++ b/library/argparse.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:54+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -1075,30 +1075,13 @@ msgid "" "PROG 2.0" msgstr "" -msgid "" -"Only actions that consume command-line arguments (e.g. ``'store'``, " -"``'append'`` or ``'extend'``) can be used with positional arguments." -msgstr "" - msgid "" "You may also specify an arbitrary action by passing an :class:`Action` " -"subclass or other object that implements the same interface. The :class:`!" -"BooleanOptionalAction` is available in :mod:`!argparse` and adds support for " -"boolean actions such as ``--foo`` and ``--no-foo``::" -msgstr "" - -msgid "" -">>> import argparse\n" -">>> parser = argparse.ArgumentParser()\n" -">>> parser.add_argument('--foo', action=argparse.BooleanOptionalAction)\n" -">>> parser.parse_args(['--no-foo'])\n" -"Namespace(foo=False)" +"subclass (e.g. :class:`BooleanOptionalAction`) or other object that " +"implements the same interface. Only actions that consume command-line " +"arguments (e.g. ``'store'``, ``'append'``, ``'extend'``, or custom actions " +"with non-zero ``nargs``) can be used with positional arguments." msgstr "" -">>> import argparse\n" -">>> parser = argparse.ArgumentParser()\n" -">>> parser.add_argument('--foo', action=argparse.BooleanOptionalAction)\n" -">>> parser.parse_args(['--no-foo'])\n" -"Namespace(foo=False)" msgid "" "The recommended way to create a custom action is to extend :class:`Action`, " @@ -1218,9 +1201,9 @@ msgid "" msgstr "" msgid "" -"``'+'``. Just like ``'*'``, all command-line args present are gathered into " -"a list. Additionally, an error message will be generated if there wasn't at " -"least one command-line argument present. For example::" +"``'+'``. Just like ``'*'``, all command-line arguments present are gathered " +"into a list. Additionally, an error message will be generated if there " +"wasn't at least one command-line argument present. For example::" msgstr "" msgid "" @@ -1798,6 +1781,26 @@ msgid "" "will be used." msgstr "" +msgid "" +"A subclass of :class:`Action` for handling boolean flags with positive and " +"negative options. Adding a single argument such as ``--foo`` automatically " +"creates both ``--foo`` and ``--no-foo`` options, storing ``True`` and " +"``False`` respectively::" +msgstr "" + +msgid "" +">>> import argparse\n" +">>> parser = argparse.ArgumentParser()\n" +">>> parser.add_argument('--foo', action=argparse.BooleanOptionalAction)\n" +">>> parser.parse_args(['--no-foo'])\n" +"Namespace(foo=False)" +msgstr "" +">>> import argparse\n" +">>> parser = argparse.ArgumentParser()\n" +">>> parser.add_argument('--foo', action=argparse.BooleanOptionalAction)\n" +">>> parser.parse_args(['--no-foo'])\n" +"Namespace(foo=False)" + msgid "The parse_args() method" msgstr "" @@ -2617,13 +2620,17 @@ msgid "Partial parsing" msgstr "" msgid "" -"Sometimes a script may only parse a few of the command-line arguments, " -"passing the remaining arguments on to another script or program. In these " -"cases, the :meth:`~ArgumentParser.parse_known_args` method can be useful. " -"It works much like :meth:`~ArgumentParser.parse_args` except that it does " -"not produce an error when extra arguments are present. Instead, it returns " -"a two item tuple containing the populated namespace and the list of " -"remaining argument strings." +"Sometimes a script only needs to handle a specific set of command-line " +"arguments, leaving any unrecognized arguments for another script or program. " +"In these cases, the :meth:`~ArgumentParser.parse_known_args` method can be " +"useful." +msgstr "" + +msgid "" +"This method works similarly to :meth:`~ArgumentParser.parse_args`, but it " +"does not raise an error for extra, unrecognized arguments. Instead, it " +"parses the known arguments and returns a two item tuple that contains the " +"populated namespace and the list of any unrecognized arguments." msgstr "" msgid "" diff --git a/library/array.po b/library/array.po index e86ae38a9..79c889897 100644 --- a/library/array.po +++ b/library/array.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:54+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/ast.po b/library/ast.po index e170266ae..5da91567a 100644 --- a/library/ast.po +++ b/library/ast.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:54+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -487,9 +487,9 @@ msgstr "" msgid "" "A constant value. The ``value`` attribute of the ``Constant`` literal " "contains the Python object it represents. The values represented can be " -"simple types such as a number, string or ``None``, but also immutable " -"container types (tuples and frozensets) if all of their elements are " -"constant." +"instances of :class:`str`, :class:`bytes`, :class:`int`, :class:`float`, :" +"class:`complex`, and :class:`bool`, and the constants :data:`None` and :data:" +"`Ellipsis`." msgstr "" msgid "" @@ -2714,8 +2714,8 @@ msgid "" msgstr "" msgid "" -"If *show_empty* is ``False`` (the default), empty lists and fields that are " -"``None`` will be omitted from the output." +"If *show_empty* is false (the default), optional empty lists will be omitted " +"from the output. Optional ``None`` values are always omitted." msgstr "" msgid "Added the *indent* option." diff --git a/library/asyncio-api-index.po b/library/asyncio-api-index.po index 5e34ec60b..16f32c9eb 100644 --- a/library/asyncio-api-index.po +++ b/library/asyncio-api-index.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:54+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/asyncio-dev.po b/library/asyncio-dev.po index b68bcc17c..5e4a9df58 100644 --- a/library/asyncio-dev.po +++ b/library/asyncio-dev.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:54+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -79,12 +79,6 @@ msgstr "" msgid "When the debug mode is enabled:" msgstr "" -msgid "" -"asyncio checks for :ref:`coroutines that were not awaited ` and logs them; this mitigates the \"forgotten await\" " -"pitfall." -msgstr "" - msgid "" "Many non-threadsafe asyncio APIs (such as :meth:`loop.call_soon` and :meth:" "`loop.call_at` methods) raise an exception if they are called from a wrong " diff --git a/library/asyncio-eventloop.po b/library/asyncio-eventloop.po index 58ade7cfb..f26fb6e2b 100644 --- a/library/asyncio-eventloop.po +++ b/library/asyncio-eventloop.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:54+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -423,6 +423,12 @@ msgid "" "`Task`." msgstr "" +msgid "" +"The full function signature is largely the same as that of the :class:`Task` " +"constructor (or factory) - all of the keyword arguments to this function are " +"passed through to that interface." +msgstr "" + msgid "" "If the *name* argument is provided and not ``None``, it is set as the name " "of the task using :meth:`Task.set_name`." @@ -447,7 +453,20 @@ msgstr "" msgid "Added the *context* parameter." msgstr "" -msgid "Added the *eager_start* parameter." +msgid "" +"Added ``kwargs`` which passes on arbitrary extra parameters, including " +"``name`` and ``context``." +msgstr "" + +msgid "" +"Rolled back the change that passes on *name* and *context* (if it is None), " +"while still passing on other arbitrary keyword arguments (to avoid breaking " +"backwards compatibility with 3.13.3)." +msgstr "" + +msgid "" +"All *kwargs* are now passed on. The *eager_start* parameter works with eager " +"task factories." msgstr "" msgid "Set a task factory that will be used by :meth:`loop.create_task`." @@ -461,6 +480,19 @@ msgid "" "return a :class:`asyncio.Task`-compatible object." msgstr "" +msgid "Required that all *kwargs* are passed on to :class:`asyncio.Task`." +msgstr "" + +msgid "" +"*name* is no longer passed to task factories. *context* is no longer passed " +"to task factories if it is ``None``." +msgstr "" + +msgid "" +"*name* and *context* are now unconditionally passed on to task factories " +"again." +msgstr "" + msgid "Return a task factory or ``None`` if the default one is in use." msgstr "" diff --git a/library/asyncio-exceptions.po b/library/asyncio-exceptions.po index b35f22983..32070efca 100644 --- a/library/asyncio-exceptions.po +++ b/library/asyncio-exceptions.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:54+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/asyncio-future.po b/library/asyncio-future.po index 01bd81785..2e59d37d3 100644 --- a/library/asyncio-future.po +++ b/library/asyncio-future.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:55+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/asyncio-llapi-index.po b/library/asyncio-llapi-index.po index 7266dbabf..4485d8e6d 100644 --- a/library/asyncio-llapi-index.po +++ b/library/asyncio-llapi-index.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:55+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -301,13 +301,13 @@ msgid "Receive data from the :class:`~socket.socket` into a buffer." msgstr "" msgid "``await`` :meth:`loop.sock_recvfrom`" -msgstr "" +msgstr "``await`` :meth:`loop.sock_recvfrom`" msgid "Receive a datagram from the :class:`~socket.socket`." msgstr "" msgid "``await`` :meth:`loop.sock_recvfrom_into`" -msgstr "" +msgstr "``await`` :meth:`loop.sock_recvfrom_into`" msgid "Receive a datagram from the :class:`~socket.socket` into a buffer." msgstr "" @@ -319,7 +319,7 @@ msgid "Send data to the :class:`~socket.socket`." msgstr "" msgid "``await`` :meth:`loop.sock_sendto`" -msgstr "" +msgstr "``await`` :meth:`loop.sock_sendto`" msgid "Send a datagram via the :class:`~socket.socket` to the given address." msgstr "" @@ -741,14 +741,14 @@ msgid "Subprocess Protocols" msgstr "" msgid "``callback`` :meth:`~SubprocessProtocol.pipe_data_received`" -msgstr "" +msgstr "``callback`` :meth:`~SubprocessProtocol.pipe_data_received`" msgid "" "Called when the child process writes data into its *stdout* or *stderr* pipe." msgstr "" msgid "``callback`` :meth:`~SubprocessProtocol.pipe_connection_lost`" -msgstr "" +msgstr "``callback`` :meth:`~SubprocessProtocol.pipe_connection_lost`" msgid "" "Called when one of the pipes communicating with the child process is closed." diff --git a/library/asyncio-platforms.po b/library/asyncio-platforms.po index fcd1438e8..b43e46777 100644 --- a/library/asyncio-platforms.po +++ b/library/asyncio-platforms.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:55+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -114,7 +114,7 @@ msgid "" msgstr "" msgid "macOS" -msgstr "" +msgstr "macOS" msgid "Modern macOS versions are fully supported." msgstr "" diff --git a/library/asyncio-policy.po b/library/asyncio-policy.po index 2be039f07..1b7ff8259 100644 --- a/library/asyncio-policy.po +++ b/library/asyncio-policy.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:55+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/asyncio-protocol.po b/library/asyncio-protocol.po index b63ee74f1..e2662d001 100644 --- a/library/asyncio-protocol.po +++ b/library/asyncio-protocol.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -12,9 +12,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:55+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -271,7 +271,7 @@ msgid "" msgstr "" msgid "``'sslcontext'``: :class:`ssl.SSLContext` instance" -msgstr "" +msgstr "``'sslcontext'``: :class:`ssl.SSLContext` instance" msgid "" "``'ssl_object'``: :class:`ssl.SSLObject` or :class:`ssl.SSLSocket` instance" diff --git a/library/asyncio-queue.po b/library/asyncio-queue.po index 7a838ae45..0555e9bd0 100644 --- a/library/asyncio-queue.po +++ b/library/asyncio-queue.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -11,9 +11,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:55+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/asyncio-runner.po b/library/asyncio-runner.po index 0142f3149..bc3757f55 100644 --- a/library/asyncio-runner.po +++ b/library/asyncio-runner.po @@ -4,16 +4,16 @@ # FIRST AUTHOR , YEAR. # # Translators: -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2022-11-05 19:48+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,7 +27,7 @@ msgid "Runners" msgstr "" msgid "**Source code:** :source:`Lib/asyncio/runners.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/asyncio/runners.py`" msgid "" "This section outlines high-level asyncio primitives to run asyncio code." diff --git a/library/asyncio-stream.po b/library/asyncio-stream.po index 504283315..d23636773 100644 --- a/library/asyncio-stream.po +++ b/library/asyncio-stream.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:55+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -167,6 +167,12 @@ msgstr "" msgid "Similar to :func:`start_server` but works with Unix sockets." msgstr "" +msgid "" +"If *cleanup_socket* is true then the Unix socket will automatically be " +"removed from the filesystem when the server is closed, unless the socket has " +"been replaced after the server has been created." +msgstr "" + msgid "See also the documentation of :meth:`loop.create_unix_server`." msgstr "" @@ -175,6 +181,9 @@ msgid "" "parameter can now be a :term:`path-like object`." msgstr "" +msgid "Added the *cleanup_socket* parameter." +msgstr "" + msgid "StreamReader" msgstr "" diff --git a/library/asyncio-subprocess.po b/library/asyncio-subprocess.po index c335774b5..b46f3d5ac 100644 --- a/library/asyncio-subprocess.po +++ b/library/asyncio-subprocess.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:55+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/asyncio-sync.po b/library/asyncio-sync.po index 8dfd168a9..8967010cb 100644 --- a/library/asyncio-sync.po +++ b/library/asyncio-sync.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:55+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/asyncio-task.po b/library/asyncio-task.po index e3f8d3433..4376ca929 100644 --- a/library/asyncio-task.po +++ b/library/asyncio-task.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:55+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -312,8 +312,9 @@ msgid "" msgstr "" msgid "" -"If *name* is not ``None``, it is set as the name of the task using :meth:" -"`Task.set_name`." +"The full function signature is largely the same as that of the :class:`Task` " +"constructor (or factory) - all of the keyword arguments to this function are " +"passed through to that interface." msgstr "" msgid "" @@ -322,6 +323,13 @@ msgid "" "copy is created when no *context* is provided." msgstr "" +msgid "" +"An optional keyword-only *eager_start* argument allows specifying if the " +"task should execute eagerly during the call to create_task, or be scheduled " +"later. If *eager_start* is not passed the mode set by :meth:`loop." +"set_task_factory` will be used." +msgstr "" + msgid "" "The task is executed in the loop returned by :func:`get_running_loop`, :exc:" "`RuntimeError` is raised if there is no running loop in current thread." @@ -362,6 +370,9 @@ msgstr "" msgid "Added the *context* parameter." msgstr "" +msgid "Added the *eager_start* parameter by passing on all *kwargs*." +msgstr "" + msgid "Task Cancellation" msgstr "" @@ -412,6 +423,9 @@ msgstr "" msgid "Close the given coroutine if the task group is not active." msgstr "" +msgid "Passes on all *kwargs* to :meth:`loop.create_task`" +msgstr "" + msgid "Example::" msgstr "Przykład::" diff --git a/library/asyncio.po b/library/asyncio.po index d2dc19252..5d90139c4 100644 --- a/library/asyncio.po +++ b/library/asyncio.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:55+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/audit_events.po b/library/audit_events.po index bad94f3da..73e3e56a3 100644 --- a/library/audit_events.po +++ b/library/audit_events.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:55+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -55,7 +55,7 @@ msgid "Arguments" msgstr "" msgid "_winapi.CreateFile" -msgstr "" +msgstr "_winapi.CreateFile" msgid "" "``file_name``, ``desired_access``, ``share_mode``, ``creation_disposition``, " @@ -63,34 +63,34 @@ msgid "" msgstr "" msgid "_winapi.CreateJunction" -msgstr "" +msgstr "_winapi.CreateJunction" msgid "``src_path``, ``dst_path``" msgstr "" msgid "_winapi.CreateNamedPipe" -msgstr "" +msgstr "_winapi.CreateNamedPipe" msgid "``name``, ``open_mode``, ``pipe_mode``" msgstr "" msgid "_winapi.CreatePipe" -msgstr "" +msgstr "_winapi.CreatePipe" msgid "_winapi.CreateProcess" -msgstr "" +msgstr "_winapi.CreateProcess" msgid "``application_name``, ``command_line``, ``current_directory``" msgstr "" msgid "_winapi.OpenProcess" -msgstr "" +msgstr "_winapi.OpenProcess" msgid "``process_id``, ``desired_access``" msgstr "" msgid "_winapi.TerminateProcess" -msgstr "" +msgstr "_winapi.TerminateProcess" msgid "``handle``, ``exit_code``" msgstr "" @@ -102,7 +102,7 @@ msgid "``exec_list``, ``args``, ``env``" msgstr "" msgid "ctypes.PyObj_FromPtr" -msgstr "" +msgstr "ctypes.PyObj_FromPtr" msgid "``obj``" msgstr "``obj``" diff --git a/library/base64.po b/library/base64.po index 9801e014b..02f317b73 100644 --- a/library/base64.po +++ b/library/base64.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:55+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -32,17 +32,10 @@ msgstr "**Kod źródłowy:** :source:`Lib/base64.py`" msgid "" "This module provides functions for encoding binary data to printable ASCII " -"characters and decoding such encodings back to binary data. It provides " -"encoding and decoding functions for the encodings specified in :rfc:`4648`, " -"which defines the Base16, Base32, and Base64 algorithms, and for the de-" -"facto standard Ascii85 and Base85 encodings." -msgstr "" - -msgid "" -"The :rfc:`4648` encodings are suitable for encoding binary data so that it " -"can be safely sent by email, used as parts of URLs, or included as part of " -"an HTTP POST request. The encoding algorithm is not the same as the :" -"program:`uuencode` program." +"characters and decoding such encodings back to binary data. This includes " +"the :ref:`encodings specified in ` :rfc:`4648` (Base64, " +"Base32 and Base16) and the non-standard :ref:`Base85 encodings `." msgstr "" msgid "" @@ -54,12 +47,12 @@ msgid "" msgstr "" msgid "" -"The legacy interface does not support decoding from strings, but it does " -"provide functions for encoding and decoding to and from :term:`file objects " -"`. It only supports the Base64 standard alphabet, and it adds " -"newlines every 76 characters as per :rfc:`2045`. Note that if you are " -"looking for :rfc:`2045` support you probably want to be looking at the :mod:" -"`email` package instead." +"The :ref:`legacy interface ` does not support decoding from " +"strings, but it does provide functions for encoding and decoding to and " +"from :term:`file objects `. It only supports the Base64 " +"standard alphabet, and it adds newlines every 76 characters as per :rfc:" +"`2045`. Note that if you are looking for :rfc:`2045` support you probably " +"want to be looking at the :mod:`email` package instead." msgstr "" msgid "" @@ -73,8 +66,14 @@ msgid "" "added." msgstr "" -msgid "The modern interface provides:" -msgstr "W nowym interfejsie znajdują się:" +msgid "RFC 4648 Encodings" +msgstr "" + +msgid "" +"The :rfc:`4648` encodings are suitable for encoding binary data so that it " +"can be safely sent by email, used as parts of URLs, or included as part of " +"an HTTP POST request." +msgstr "" msgid "" "Encode the :term:`bytes-like object` *s* using Base64 and return the " @@ -207,6 +206,41 @@ msgid "" "return the decoded :class:`bytes`." msgstr "" +msgid "Base85 Encodings" +msgstr "" + +msgid "" +"Base85 encoding is not formally specified but rather a de facto standard, " +"thus different systems perform the encoding differently." +msgstr "" + +msgid "" +"The :func:`a85encode` and :func:`b85encode` functions in this module are two " +"implementations of the de facto standard. You should call the function with " +"the Base85 implementation used by the software you intend to work with." +msgstr "" + +msgid "" +"The two functions present in this module differ in how they handle the " +"following:" +msgstr "" + +msgid "Whether to include enclosing ``<~`` and ``~>`` markers" +msgstr "" + +msgid "Whether to include newline characters" +msgstr "" + +msgid "The set of ASCII characters used for encoding" +msgstr "" + +msgid "Handling of null bytes" +msgstr "" + +msgid "" +"Refer to the documentation of the individual functions for more information." +msgstr "" + msgid "" "Encode the :term:`bytes-like object` *b* using Ascii85 and return the " "encoded :class:`bytes`." @@ -285,8 +319,8 @@ msgid "" "zeromq.org/spec/32/>`_ for more information." msgstr "" -msgid "The legacy interface:" -msgstr "Przestarzały interfejs:" +msgid "Legacy Interface" +msgstr "" msgid "" "Decode the contents of the binary *input* file and write the resulting " diff --git a/library/binascii.po b/library/binascii.po index f1fb5c083..63e3bd930 100644 --- a/library/binascii.po +++ b/library/binascii.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:56+0000\n" "Last-Translator: Maciej Olko , 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/bisect.po b/library/bisect.po index a51e86dbc..919ccaaf9 100644 --- a/library/bisect.po +++ b/library/bisect.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:56+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/builtins.po b/library/builtins.po index 21f8dbb6d..f8f4dab5e 100644 --- a/library/builtins.po +++ b/library/builtins.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:56+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/bz2.po b/library/bz2.po index 52fe81b96..7c752dae7 100644 --- a/library/bz2.po +++ b/library/bz2.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:56+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/calendar.po b/library/calendar.po index 032fa65dd..bbcc3932f 100644 --- a/library/calendar.po +++ b/library/calendar.po @@ -1,19 +1,19 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: -# Transifex Bot <>, 2023 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.11\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-05-19 14:13+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:56+0000\n" -"Last-Translator: Transifex Bot <>, 2023\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -23,11 +23,11 @@ msgstr "" "(n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && " "n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" -msgid ":mod:`calendar` --- General calendar-related functions" +msgid ":mod:`!calendar` --- General calendar-related functions" msgstr "" msgid "**Source code:** :source:`Lib/calendar.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/calendar.py`" msgid "" "This module allows you to output calendars like the Unix :program:`cal` " @@ -61,13 +61,34 @@ msgid "" "formatting itself. This is the job of subclasses." msgstr "" -msgid ":class:`Calendar` instances have the following methods:" +msgid ":class:`Calendar` instances have the following methods and attributes:" +msgstr "" + +msgid "The first weekday as an integer (0--6)." +msgstr "" + +msgid "" +"This property can also be set and read using :meth:`~Calendar." +"setfirstweekday` and :meth:`~Calendar.getfirstweekday` respectively." +msgstr "" + +msgid "Return an :class:`int` for the current first weekday (0--6)." +msgstr "" + +msgid "Identical to reading the :attr:`~Calendar.firstweekday` property." +msgstr "" + +msgid "" +"Set the first weekday to *firstweekday*, passed as an :class:`int` (0--6)" +msgstr "" + +msgid "Identical to setting the :attr:`~Calendar.firstweekday` property." msgstr "" msgid "" "Return an iterator for the week day numbers that will be used for one week. " "The first value from the iterator will be the same as the value of the :attr:" -"`firstweekday` property." +"`~Calendar.firstweekday` property." msgstr "" msgid "" @@ -145,6 +166,31 @@ msgstr "" msgid ":class:`TextCalendar` instances have the following methods:" msgstr "" +msgid "" +"Return a string representing a single day formatted with the given *width*. " +"If *theday* is ``0``, return a string of spaces of the specified width, " +"representing an empty day. The *weekday* parameter is unused." +msgstr "" + +msgid "" +"Return a single week in a string with no newline. If *w* is provided, it " +"specifies the width of the date columns, which are centered. Depends on the " +"first weekday as specified in the constructor or set by the :meth:" +"`setfirstweekday` method." +msgstr "" + +msgid "" +"Return a string representing the name of a single weekday formatted to the " +"specified *width*. The *weekday* parameter is an integer representing the " +"day of the week, where ``0`` is Monday and ``6`` is Sunday." +msgstr "" + +msgid "" +"Return a string containing the header row of weekday names, formatted with " +"the given *width* for each column. The names depend on the locale settings " +"and are padded to the specified width." +msgstr "" + msgid "" "Return a month's calendar in a multi-line string. If *w* is provided, it " "specifies the width of the date columns, which are centered. If *l* is " @@ -153,6 +199,13 @@ msgid "" "`setfirstweekday` method." msgstr "" +msgid "" +"Return a string representing the month's name centered within the specified " +"*width*. If *withyear* is ``True``, include the year in the output. The " +"*theyear* and *themonth* parameters specify the year and month for the name " +"to be formatted respectively." +msgstr "" + msgid "Print a month's calendar as returned by :meth:`formatmonth`." msgstr "" @@ -193,6 +246,11 @@ msgid "" "(defaulting to the system default encoding)." msgstr "" +msgid "" +"Return a month name as an HTML table row. If *withyear* is true the year " +"will be included in the row, otherwise just the month name will be used." +msgstr "" + msgid "" ":class:`!HTMLCalendar` has the following attributes you can override to " "customize the CSS classes used by the calendar:" @@ -202,9 +260,18 @@ msgid "" "A list of CSS classes used for each weekday. The default class list is::" msgstr "" +msgid "" +"cssclasses = [\"mon\", \"tue\", \"wed\", \"thu\", \"fri\", \"sat\", \"sun\"]" +msgstr "" + msgid "more styles can be added for each day::" msgstr "" +msgid "" +"cssclasses = [\"mon text-bold\", \"tue\", \"wed\", \"thu\", \"fri\", " +"\"sat\", \"sun red\"]" +msgstr "" + msgid "Note that the length of this list must be seven items." msgstr "" @@ -242,9 +309,21 @@ msgid "" "single CSS class with a space separated list of CSS classes, for example::" msgstr "" +msgid "\"text-bold text-red\"" +msgstr "" + msgid "Here is an example how :class:`!HTMLCalendar` can be customized::" msgstr "" +msgid "" +"class CustomHTMLCal(calendar.HTMLCalendar):\n" +" cssclasses = [style + \" text-nowrap\" for style in\n" +" calendar.HTMLCalendar.cssclasses]\n" +" cssclass_month_head = \"text-center month-head\"\n" +" cssclass_month = \"text-center month\"\n" +" cssclass_year = \"text-italic lead\"" +msgstr "" + msgid "" "This subclass of :class:`TextCalendar` can be passed a locale name in the " "constructor and will return month and weekday names in the specified locale." @@ -256,7 +335,7 @@ msgid "" msgstr "" msgid "" -"The constructor, :meth:`formatweekday` and :meth:`formatmonthname` methods " +"The constructor, :meth:`!formatweekday` and :meth:`!formatmonthname` methods " "of these two classes temporarily change the ``LC_TIME`` locale to the given " "*locale*. Because the current locale is a process-wide setting, they are not " "thread-safe." @@ -272,6 +351,11 @@ msgid "" "provided for convenience. For example, to set the first weekday to Sunday::" msgstr "" +msgid "" +"import calendar\n" +"calendar.setfirstweekday(calendar.SUNDAY)" +msgstr "" + msgid "Returns the current setting for the weekday to start each week." msgstr "" @@ -313,7 +397,7 @@ msgstr "" msgid "" "Returns a month's calendar in a multi-line string using the :meth:" -"`formatmonth` of the :class:`TextCalendar` class." +"`~TextCalendar.formatmonth` of the :class:`TextCalendar` class." msgstr "" msgid "" @@ -322,7 +406,7 @@ msgstr "" msgid "" "Returns a 3-column calendar for an entire year as a multi-line string using " -"the :meth:`formatyear` of the :class:`TextCalendar` class." +"the :meth:`~TextCalendar.formatyear` of the :class:`TextCalendar` class." msgstr "" msgid "" @@ -336,28 +420,67 @@ msgstr "" msgid "The :mod:`calendar` module exports the following data attributes:" msgstr "" -msgid "An array that represents the days of the week in the current locale." +msgid "" +"A sequence that represents the days of the week in the current locale, where " +"Monday is day number 0." +msgstr "" + +msgid "" +"A sequence that represents the abbreviated days of the week in the current " +"locale, where Mon is day number 0." +msgstr "" + +msgid "" +"Aliases for the days of the week, where ``MONDAY`` is ``0`` and ``SUNDAY`` " +"is ``6``." msgstr "" msgid "" -"An array that represents the abbreviated days of the week in the current " -"locale." +"Enumeration defining days of the week as integer constants. The members of " +"this enumeration are exported to the module scope as :data:`MONDAY` through :" +"data:`SUNDAY`." msgstr "" msgid "" -"An array that represents the months of the year in the current locale. This " -"follows normal convention of January being month number 1, so it has a " -"length of 13 and ``month_name[0]`` is the empty string." +"A sequence that represents the months of the year in the current locale. " +"This follows normal convention of January being month number 1, so it has a " +"length of 13 and ``month_name[0]`` is the empty string." msgstr "" msgid "" -"An array that represents the abbreviated months of the year in the current " +"A sequence that represents the abbreviated months of the year in the current " "locale. This follows normal convention of January being month number 1, so " "it has a length of 13 and ``month_abbr[0]`` is the empty string." msgstr "" msgid "" -"Aliases for day numbers, where ``MONDAY`` is ``0`` and ``SUNDAY`` is ``6``." +"Aliases for the months of the year, where ``JANUARY`` is ``1`` and " +"``DECEMBER`` is ``12``." +msgstr "" + +msgid "" +"Enumeration defining months of the year as integer constants. The members of " +"this enumeration are exported to the module scope as :data:`JANUARY` " +"through :data:`DECEMBER`." +msgstr "" + +msgid "The :mod:`calendar` module defines the following exceptions:" +msgstr "" + +msgid "" +"A subclass of :exc:`ValueError`, raised when the given month number is " +"outside of the range 1-12 (inclusive)." +msgstr "" + +msgid "The invalid month number." +msgstr "" + +msgid "" +"A subclass of :exc:`ValueError`, raised when the given weekday number is " +"outside of the range 0-6 (inclusive)." +msgstr "" + +msgid "The invalid weekday number." msgstr "" msgid "Module :mod:`datetime`" @@ -373,3 +496,162 @@ msgstr "" msgid "Low-level time related functions." msgstr "" + +msgid "Command-line usage" +msgstr "" + +msgid "" +"The :mod:`calendar` module can be executed as a script from the command line " +"to interactively print a calendar." +msgstr "" + +msgid "" +"python -m calendar [-h] [-L LOCALE] [-e ENCODING] [-t {text,html}]\n" +" [-w WIDTH] [-l LINES] [-s SPACING] [-m MONTHS] [-c CSS]\n" +" [-f FIRST_WEEKDAY] [year] [month]" +msgstr "" + +msgid "For example, to print a calendar for the year 2000:" +msgstr "" + +msgid "" +"$ python -m calendar 2000\n" +" 2000\n" +"\n" +" January February March\n" +"Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su\n" +" 1 2 1 2 3 4 5 6 1 2 3 4 5\n" +" 3 4 5 6 7 8 9 7 8 9 10 11 12 13 6 7 8 9 10 11 12\n" +"10 11 12 13 14 15 16 14 15 16 17 18 19 20 13 14 15 16 17 18 19\n" +"17 18 19 20 21 22 23 21 22 23 24 25 26 27 20 21 22 23 24 25 26\n" +"24 25 26 27 28 29 30 28 29 27 28 29 30 31\n" +"31\n" +"\n" +" April May June\n" +"Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su\n" +" 1 2 1 2 3 4 5 6 7 1 2 3 4\n" +" 3 4 5 6 7 8 9 8 9 10 11 12 13 14 5 6 7 8 9 10 11\n" +"10 11 12 13 14 15 16 15 16 17 18 19 20 21 12 13 14 15 16 17 18\n" +"17 18 19 20 21 22 23 22 23 24 25 26 27 28 19 20 21 22 23 24 25\n" +"24 25 26 27 28 29 30 29 30 31 26 27 28 29 30\n" +"\n" +" July August September\n" +"Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su\n" +" 1 2 1 2 3 4 5 6 1 2 3\n" +" 3 4 5 6 7 8 9 7 8 9 10 11 12 13 4 5 6 7 8 9 10\n" +"10 11 12 13 14 15 16 14 15 16 17 18 19 20 11 12 13 14 15 16 17\n" +"17 18 19 20 21 22 23 21 22 23 24 25 26 27 18 19 20 21 22 23 24\n" +"24 25 26 27 28 29 30 28 29 30 31 25 26 27 28 29 30\n" +"31\n" +"\n" +" October November December\n" +"Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su\n" +" 1 1 2 3 4 5 1 2 3\n" +" 2 3 4 5 6 7 8 6 7 8 9 10 11 12 4 5 6 7 8 9 10\n" +" 9 10 11 12 13 14 15 13 14 15 16 17 18 19 11 12 13 14 15 16 17\n" +"16 17 18 19 20 21 22 20 21 22 23 24 25 26 18 19 20 21 22 23 24\n" +"23 24 25 26 27 28 29 27 28 29 30 25 26 27 28 29 30 31\n" +"30 31" +msgstr "" +"$ python -m calendar 2000\n" +" 2000\n" +"\n" +" January February March\n" +"Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su\n" +" 1 2 1 2 3 4 5 6 1 2 3 4 5\n" +" 3 4 5 6 7 8 9 7 8 9 10 11 12 13 6 7 8 9 10 11 12\n" +"10 11 12 13 14 15 16 14 15 16 17 18 19 20 13 14 15 16 17 18 19\n" +"17 18 19 20 21 22 23 21 22 23 24 25 26 27 20 21 22 23 24 25 26\n" +"24 25 26 27 28 29 30 28 29 27 28 29 30 31\n" +"31\n" +"\n" +" April May June\n" +"Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su\n" +" 1 2 1 2 3 4 5 6 7 1 2 3 4\n" +" 3 4 5 6 7 8 9 8 9 10 11 12 13 14 5 6 7 8 9 10 11\n" +"10 11 12 13 14 15 16 15 16 17 18 19 20 21 12 13 14 15 16 17 18\n" +"17 18 19 20 21 22 23 22 23 24 25 26 27 28 19 20 21 22 23 24 25\n" +"24 25 26 27 28 29 30 29 30 31 26 27 28 29 30\n" +"\n" +" July August September\n" +"Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su\n" +" 1 2 1 2 3 4 5 6 1 2 3\n" +" 3 4 5 6 7 8 9 7 8 9 10 11 12 13 4 5 6 7 8 9 10\n" +"10 11 12 13 14 15 16 14 15 16 17 18 19 20 11 12 13 14 15 16 17\n" +"17 18 19 20 21 22 23 21 22 23 24 25 26 27 18 19 20 21 22 23 24\n" +"24 25 26 27 28 29 30 28 29 30 31 25 26 27 28 29 30\n" +"31\n" +"\n" +" October November December\n" +"Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su\n" +" 1 1 2 3 4 5 1 2 3\n" +" 2 3 4 5 6 7 8 6 7 8 9 10 11 12 4 5 6 7 8 9 10\n" +" 9 10 11 12 13 14 15 13 14 15 16 17 18 19 11 12 13 14 15 16 17\n" +"16 17 18 19 20 21 22 20 21 22 23 24 25 26 18 19 20 21 22 23 24\n" +"23 24 25 26 27 28 29 27 28 29 30 25 26 27 28 29 30 31\n" +"30 31" + +msgid "The following options are accepted:" +msgstr "" + +msgid "Show the help message and exit." +msgstr "" + +msgid "The locale to use for month and weekday names. Defaults to English." +msgstr "" + +msgid "" +"The encoding to use for output. :option:`--encoding` is required if :option:" +"`--locale` is set." +msgstr "" + +msgid "Print the calendar to the terminal as text, or as an HTML document." +msgstr "" + +msgid "" +"The weekday to start each week. Must be a number between 0 (Monday) and 6 " +"(Sunday). Defaults to 0." +msgstr "" + +msgid "The year to print the calendar for. Defaults to the current year." +msgstr "" + +msgid "" +"The month of the specified :option:`year` to print the calendar for. Must be " +"a number between 1 and 12, and may only be used in text mode. Defaults to " +"printing a calendar for the full year." +msgstr "" + +msgid "*Text-mode options:*" +msgstr "" + +msgid "" +"The width of the date column in terminal columns. The date is printed " +"centred in the column. Any value lower than 2 is ignored. Defaults to 2." +msgstr "" + +msgid "" +"The number of lines for each week in terminal rows. The date is printed top-" +"aligned. Any value lower than 1 is ignored. Defaults to 1." +msgstr "" + +msgid "" +"The space between months in columns. Any value lower than 2 is ignored. " +"Defaults to 6." +msgstr "" + +msgid "The number of months printed per row. Defaults to 3." +msgstr "" + +msgid "" +"By default, today's date is highlighted in color and can be :ref:`controlled " +"using environment variables `." +msgstr "" + +msgid "*HTML-mode options:*" +msgstr "" + +msgid "" +"The path of a CSS stylesheet to use for the calendar. This must either be " +"relative to the generated HTML, or an absolute HTTP or ``file:///`` URL." +msgstr "" diff --git a/library/cmath.po b/library/cmath.po index f0a7911c9..7a857d5d3 100644 --- a/library/cmath.po +++ b/library/cmath.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:56+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -74,13 +74,13 @@ msgid "**Conversions to and from polar coordinates**" msgstr "" msgid ":func:`phase(z) `" -msgstr "" +msgstr ":func:`phase(z) `" msgid "Return the phase of *z*" msgstr "" msgid ":func:`polar(z) `" -msgstr "" +msgstr ":func:`polar(z) `" msgid "Return the representation of *z* in polar coordinates" msgstr "" @@ -95,7 +95,7 @@ msgid "**Power and logarithmic functions**" msgstr "" msgid ":func:`exp(z) `" -msgstr "" +msgstr ":func:`exp(z) `" msgid "Return *e* raised to the power *z*" msgstr "" @@ -107,13 +107,13 @@ msgid "Return the logarithm of *z* to the given *base* (*e* by default)" msgstr "" msgid ":func:`log10(z) `" -msgstr "" +msgstr ":func:`log10(z) `" msgid "Return the base-10 logarithm of *z*" msgstr "" msgid ":func:`sqrt(z) `" -msgstr "" +msgstr ":func:`sqrt(z) `" msgid "Return the square root of *z*" msgstr "" @@ -122,37 +122,37 @@ msgid "**Trigonometric functions**" msgstr "" msgid ":func:`acos(z) `" -msgstr "" +msgstr ":func:`acos(z) `" msgid "Return the arc cosine of *z*" msgstr "" msgid ":func:`asin(z) `" -msgstr "" +msgstr ":func:`asin(z) `" msgid "Return the arc sine of *z*" msgstr "" msgid ":func:`atan(z) `" -msgstr "" +msgstr ":func:`atan(z) `" msgid "Return the arc tangent of *z*" msgstr "" msgid ":func:`cos(z) `" -msgstr "" +msgstr ":func:`cos(z) `" msgid "Return the cosine of *z*" msgstr "" msgid ":func:`sin(z) `" -msgstr "" +msgstr ":func:`sin(z) `" msgid "Return the sine of *z*" msgstr "" msgid ":func:`tan(z) `" -msgstr "" +msgstr ":func:`tan(z) `" msgid "Return the tangent of *z*" msgstr "" @@ -161,37 +161,37 @@ msgid "**Hyperbolic functions**" msgstr "" msgid ":func:`acosh(z) `" -msgstr "" +msgstr ":func:`acosh(z) `" msgid "Return the inverse hyperbolic cosine of *z*" msgstr "" msgid ":func:`asinh(z) `" -msgstr "" +msgstr ":func:`asinh(z) `" msgid "Return the inverse hyperbolic sine of *z*" msgstr "" msgid ":func:`atanh(z) `" -msgstr "" +msgstr ":func:`atanh(z) `" msgid "Return the inverse hyperbolic tangent of *z*" msgstr "" msgid ":func:`cosh(z) `" -msgstr "" +msgstr ":func:`cosh(z) `" msgid "Return the hyperbolic cosine of *z*" msgstr "" msgid ":func:`sinh(z) `" -msgstr "" +msgstr ":func:`sinh(z) `" msgid "Return the hyperbolic sine of *z*" msgstr "" msgid ":func:`tanh(z) `" -msgstr "" +msgstr ":func:`tanh(z) `" msgid "Return the hyperbolic tangent of *z*" msgstr "" @@ -200,19 +200,19 @@ msgid "**Classification functions**" msgstr "" msgid ":func:`isfinite(z) `" -msgstr "" +msgstr ":func:`isfinite(z) `" msgid "Check if all components of *z* are finite" msgstr "" msgid ":func:`isinf(z) `" -msgstr "" +msgstr ":func:`isinf(z) `" msgid "Check if any component of *z* is infinite" msgstr "" msgid ":func:`isnan(z) `" -msgstr "" +msgstr ":func:`isnan(z) `" msgid "Check if any component of *z* is a NaN" msgstr "" @@ -251,7 +251,7 @@ msgid "Positive infinity" msgstr "" msgid ":data:`infj`" -msgstr "" +msgstr ":data:`infj`" msgid "Pure imaginary infinity" msgstr "" @@ -263,7 +263,7 @@ msgid "\"Not a number\" (NaN)" msgstr "" msgid ":data:`nanj`" -msgstr "" +msgstr ":data:`nanj`" msgid "Pure imaginary NaN" msgstr "" diff --git a/library/cmd.po b/library/cmd.po index 50f2afbf9..dcb99d7d9 100644 --- a/library/cmd.po +++ b/library/cmd.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:56+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/cmdline.po b/library/cmdline.po index cfe2e6c1c..ee4432955 100644 --- a/library/cmdline.po +++ b/library/cmdline.po @@ -4,16 +4,16 @@ # FIRST AUTHOR , YEAR. # # Translators: -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2023-10-13 14:16+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -30,31 +30,31 @@ msgid "The following modules have a command-line interface." msgstr "" msgid ":ref:`ast `" -msgstr "" +msgstr ":ref:`ast `" msgid ":ref:`asyncio `" -msgstr "" +msgstr ":ref:`asyncio `" msgid ":mod:`base64`" msgstr ":mod:`base64`" msgid ":ref:`calendar `" -msgstr "" +msgstr ":ref:`calendar `" msgid ":mod:`code`" msgstr ":mod:`code`" msgid ":ref:`compileall `" -msgstr "" +msgstr ":ref:`compileall `" msgid ":mod:`cProfile`: see :ref:`profile `" msgstr "" msgid ":ref:`dis `" -msgstr "" +msgstr ":ref:`dis `" msgid ":ref:`doctest `" -msgstr "" +msgstr ":ref:`doctest `" msgid ":mod:`!encodings.rot_13`" msgstr ":mod:`!encodings.rot_13`" @@ -72,46 +72,46 @@ msgid ":mod:`ftplib`" msgstr ":mod:`ftplib`" msgid ":ref:`gzip `" -msgstr "" +msgstr ":ref:`gzip `" msgid ":ref:`http.server `" -msgstr "" +msgstr ":ref:`http.server `" msgid ":mod:`!idlelib`" msgstr ":mod:`!idlelib`" msgid ":ref:`inspect `" -msgstr "" +msgstr ":ref:`inspect `" msgid ":ref:`json `" -msgstr "" +msgstr ":ref:`json `" msgid ":ref:`mimetypes `" -msgstr "" +msgstr ":ref:`mimetypes `" msgid ":mod:`pdb`" msgstr ":mod:`pdb`" msgid ":ref:`pickle `" -msgstr "" +msgstr ":ref:`pickle `" msgid ":ref:`pickletools `" -msgstr "" +msgstr ":ref:`pickletools `" msgid ":ref:`platform `" -msgstr "" +msgstr ":ref:`platform `" msgid ":mod:`poplib`" msgstr ":mod:`poplib`" msgid ":ref:`profile `" -msgstr "" +msgstr ":ref:`profile `" msgid ":mod:`pstats`" msgstr ":mod:`pstats`" msgid ":ref:`py_compile `" -msgstr "" +msgstr ":ref:`py_compile `" msgid ":mod:`pyclbr`" msgstr ":mod:`pyclbr`" @@ -123,49 +123,49 @@ msgid ":mod:`quopri`" msgstr ":mod:`quopri`" msgid ":ref:`random `" -msgstr "" +msgstr ":ref:`random `" msgid ":mod:`runpy`" msgstr ":mod:`runpy`" msgid ":ref:`site `" -msgstr "" +msgstr ":ref:`site `" msgid ":ref:`sqlite3 `" -msgstr "" +msgstr ":ref:`sqlite3 `" msgid ":ref:`symtable `" -msgstr "" +msgstr ":ref:`symtable `" msgid ":ref:`sysconfig `" -msgstr "" +msgstr ":ref:`sysconfig `" msgid ":mod:`tabnanny`" msgstr ":mod:`tabnanny`" msgid ":ref:`tarfile `" -msgstr "" +msgstr ":ref:`tarfile `" msgid ":mod:`!this`" msgstr ":mod:`!this`" msgid ":ref:`timeit `" -msgstr "" +msgstr ":ref:`timeit `" msgid ":ref:`tokenize `" -msgstr "" +msgstr ":ref:`tokenize `" msgid ":ref:`trace `" -msgstr "" +msgstr ":ref:`trace `" msgid ":mod:`turtledemo`" msgstr ":mod:`turtledemo`" msgid ":ref:`unittest `" -msgstr "" +msgstr ":ref:`unittest `" msgid ":ref:`uuid `" -msgstr "" +msgstr ":ref:`uuid `" msgid ":mod:`venv`" msgstr ":mod:`venv`" @@ -174,10 +174,10 @@ msgid ":mod:`webbrowser`" msgstr ":mod:`webbrowser`" msgid ":ref:`zipapp `" -msgstr "" +msgstr ":ref:`zipapp `" msgid ":ref:`zipfile `" -msgstr "" +msgstr ":ref:`zipfile `" msgid "See also the :ref:`Python command-line interface `." msgstr "" diff --git a/library/cmdlinelibs.po b/library/cmdlinelibs.po index eb48c0d48..f2ecf7a64 100644 --- a/library/cmdlinelibs.po +++ b/library/cmdlinelibs.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2024-12-27 14:18+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/code.po b/library/code.po index b5334d71f..1c799be5c 100644 --- a/library/code.po +++ b/library/code.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:56+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -44,6 +44,13 @@ msgid "" "``'__console__'`` and key ``'__doc__'`` set to ``None``." msgstr "" +msgid "" +"Note that functions and classes objects created under an :class:`!" +"InteractiveInterpreter` instance will belong to the namespace specified by " +"*locals*. They are only pickleable if *locals* is the namespace of an " +"existing module." +msgstr "" + msgid "" "Closely emulate the behavior of the interactive Python interpreter. This " "class builds on :class:`InteractiveInterpreter` and adds prompting using the " diff --git a/library/codecs.po b/library/codecs.po index 3c694482d..b9031f36b 100644 --- a/library/codecs.po +++ b/library/codecs.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:56+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -69,6 +69,14 @@ msgid "" "information on codec error handling." msgstr "" +msgid "" +"Return a mapping suitable for encoding with a custom single-byte encoding. " +"Given a :class:`str` *string* of up to 256 characters representing a " +"decoding table, returns either a compact internal mapping object " +"``EncodingMap`` or a :class:`dictionary ` mapping character ordinals " +"to byte values. Raises a :exc:`TypeError` on invalid input." +msgstr "" + msgid "The full details for each codec can also be looked up directly:" msgstr "" @@ -247,9 +255,9 @@ msgstr "" msgid "" "Uses an incremental encoder to iteratively encode the input provided by " -"*iterator*. This function is a :term:`generator`. The *errors* argument (as " -"well as any other keyword argument) is passed through to the incremental " -"encoder." +"*iterator*. *iterator* must yield :class:`str` objects. This function is a :" +"term:`generator`. The *errors* argument (as well as any other keyword " +"argument) is passed through to the incremental encoder." msgstr "" msgid "" @@ -260,9 +268,9 @@ msgstr "" msgid "" "Uses an incremental decoder to iteratively decode the input provided by " -"*iterator*. This function is a :term:`generator`. The *errors* argument (as " -"well as any other keyword argument) is passed through to the incremental " -"decoder." +"*iterator*. *iterator* must yield :class:`bytes` objects. This function is " +"a :term:`generator`. The *errors* argument (as well as any other keyword " +"argument) is passed through to the incremental decoder." msgstr "" msgid "" @@ -272,6 +280,20 @@ msgid "" "`iterencode`." msgstr "" +msgid "" +"Return a :class:`tuple` containing the raw bytes of *buffer*, a :ref:`buffer-" +"compatible object ` or :class:`str` (encoded to UTF-8 before " +"processing), and their length in bytes." +msgstr "" + +msgid "The *errors* argument is ignored." +msgstr "" + +msgid "" +">>> codecs.readbuffer_encode(b\"Zito\")\n" +"(b'Zito', 4)" +msgstr "" + msgid "" "The module also provides the following constants which are useful for " "reading and writing to platform dependent files:" @@ -403,7 +425,7 @@ msgid "``'surrogatepass'``" msgstr "``'surrogatepass'``" msgid "utf-8, utf-16, utf-32, utf-16-be, utf-16-le, utf-32-be, utf-32-le" -msgstr "" +msgstr "utf-8, utf-16, utf-32, utf-16-be, utf-16-le, utf-32-be, utf-32-le" msgid "" "Allow encoding and decoding surrogate code point (``U+D800`` - ``U+DFFF``) " @@ -1051,25 +1073,25 @@ msgid "``U-00000000`` ... ``U-0000007F``" msgstr "``U-00000000`` ... ``U-0000007F``" msgid "0xxxxxxx" -msgstr "" +msgstr "0xxxxxxx" msgid "``U-00000080`` ... ``U-000007FF``" msgstr "``U-00000080`` ... ``U-000007FF``" msgid "110xxxxx 10xxxxxx" -msgstr "" +msgstr "110xxxxx 10xxxxxx" msgid "``U-00000800`` ... ``U-0000FFFF``" msgstr "``U-00000800`` ... ``U-0000FFFF``" msgid "1110xxxx 10xxxxxx 10xxxxxx" -msgstr "" +msgstr "1110xxxx 10xxxxxx 10xxxxxx" msgid "``U-00010000`` ... ``U-0010FFFF``" msgstr "``U-00010000`` ... ``U-0010FFFF``" msgid "11110xxx 10xxxxxx 10xxxxxx 10xxxxxx" -msgstr "" +msgstr "11110xxx 10xxxxxx 10xxxxxx 10xxxxxx" msgid "" "The least significant bit of the Unicode character is the rightmost x bit." @@ -1095,13 +1117,13 @@ msgid "" msgstr "" msgid "LATIN SMALL LETTER I WITH DIAERESIS" -msgstr "" +msgstr "LATIN SMALL LETTER I WITH DIAERESIS" msgid "RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK" -msgstr "" +msgstr "RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK" msgid "INVERTED QUESTION MARK" -msgstr "" +msgstr "INVERTED QUESTION MARK" msgid "" "in iso-8859-1), this increases the probability that a ``utf-8-sig`` encoding " @@ -1177,657 +1199,659 @@ msgid "Languages" msgstr "" msgid "ascii" -msgstr "" +msgstr "ascii" msgid "646, us-ascii" -msgstr "" +msgstr "646, us-ascii" msgid "English" msgstr "" msgid "big5" -msgstr "" +msgstr "big5" msgid "big5-tw, csbig5" -msgstr "" +msgstr "big5-tw, csbig5" msgid "Traditional Chinese" msgstr "" msgid "big5hkscs" -msgstr "" +msgstr "big5hkscs" msgid "big5-hkscs, hkscs" -msgstr "" +msgstr "big5-hkscs, hkscs" msgid "cp037" -msgstr "" +msgstr "cp037" msgid "IBM037, IBM039" -msgstr "" +msgstr "IBM037, IBM039" msgid "cp273" -msgstr "" +msgstr "cp273" msgid "273, IBM273, csIBM273" -msgstr "" +msgstr "273, IBM273, csIBM273" msgid "German" msgstr "" msgid "cp424" -msgstr "" +msgstr "cp424" msgid "EBCDIC-CP-HE, IBM424" -msgstr "" +msgstr "EBCDIC-CP-HE, IBM424" msgid "Hebrew" msgstr "" msgid "cp437" -msgstr "" +msgstr "cp437" msgid "437, IBM437" -msgstr "" +msgstr "437, IBM437" msgid "cp500" -msgstr "" +msgstr "cp500" msgid "EBCDIC-CP-BE, EBCDIC-CP-CH, IBM500" -msgstr "" +msgstr "EBCDIC-CP-BE, EBCDIC-CP-CH, IBM500" msgid "Western Europe" msgstr "" msgid "cp720" -msgstr "" +msgstr "cp720" msgid "Arabic" msgstr "" msgid "cp737" -msgstr "" +msgstr "cp737" msgid "Greek" msgstr "" msgid "cp775" -msgstr "" +msgstr "cp775" msgid "IBM775" -msgstr "" +msgstr "IBM775" msgid "Baltic languages" msgstr "" msgid "cp850" -msgstr "" +msgstr "cp850" msgid "850, IBM850" -msgstr "" +msgstr "850, IBM850" msgid "cp852" -msgstr "" +msgstr "cp852" msgid "852, IBM852" -msgstr "" +msgstr "852, IBM852" msgid "Central and Eastern Europe" msgstr "" msgid "cp855" -msgstr "" +msgstr "cp855" msgid "855, IBM855" -msgstr "" +msgstr "855, IBM855" msgid "Belarusian, Bulgarian, Macedonian, Russian, Serbian" msgstr "" msgid "cp856" -msgstr "" +msgstr "cp856" msgid "cp857" -msgstr "" +msgstr "cp857" msgid "857, IBM857" -msgstr "" +msgstr "857, IBM857" msgid "Turkish" msgstr "" msgid "cp858" -msgstr "" +msgstr "cp858" msgid "858, IBM858" -msgstr "" +msgstr "858, IBM858" msgid "cp860" -msgstr "" +msgstr "cp860" msgid "860, IBM860" -msgstr "" +msgstr "860, IBM860" msgid "Portuguese" msgstr "" msgid "cp861" -msgstr "" +msgstr "cp861" msgid "861, CP-IS, IBM861" -msgstr "" +msgstr "861, CP-IS, IBM861" msgid "Icelandic" msgstr "" msgid "cp862" -msgstr "" +msgstr "cp862" msgid "862, IBM862" -msgstr "" +msgstr "862, IBM862" msgid "cp863" -msgstr "" +msgstr "cp863" msgid "863, IBM863" -msgstr "" +msgstr "863, IBM863" msgid "Canadian" msgstr "" msgid "cp864" -msgstr "" +msgstr "cp864" msgid "IBM864" -msgstr "" +msgstr "IBM864" msgid "cp865" -msgstr "" +msgstr "cp865" msgid "865, IBM865" -msgstr "" +msgstr "865, IBM865" msgid "Danish, Norwegian" msgstr "" msgid "cp866" -msgstr "" +msgstr "cp866" msgid "866, IBM866" -msgstr "" +msgstr "866, IBM866" msgid "Russian" msgstr "" msgid "cp869" -msgstr "" +msgstr "cp869" msgid "869, CP-GR, IBM869" -msgstr "" +msgstr "869, CP-GR, IBM869" msgid "cp874" -msgstr "" +msgstr "cp874" msgid "Thai" msgstr "" msgid "cp875" -msgstr "" +msgstr "cp875" msgid "cp932" -msgstr "" +msgstr "cp932" msgid "932, ms932, mskanji, ms-kanji, windows-31j" -msgstr "" +msgstr "932, ms932, mskanji, ms-kanji, windows-31j" msgid "Japanese" msgstr "" msgid "cp949" -msgstr "" +msgstr "cp949" msgid "949, ms949, uhc" -msgstr "" +msgstr "949, ms949, uhc" msgid "Korean" msgstr "" msgid "cp950" -msgstr "" +msgstr "cp950" msgid "950, ms950" -msgstr "" +msgstr "950, ms950" msgid "cp1006" -msgstr "" +msgstr "cp1006" msgid "Urdu" msgstr "" msgid "cp1026" -msgstr "" +msgstr "cp1026" msgid "ibm1026" -msgstr "" +msgstr "ibm1026" msgid "cp1125" -msgstr "" +msgstr "cp1125" msgid "1125, ibm1125, cp866u, ruscii" -msgstr "" +msgstr "1125, ibm1125, cp866u, ruscii" msgid "Ukrainian" msgstr "" msgid "cp1140" -msgstr "" +msgstr "cp1140" msgid "ibm1140" -msgstr "" +msgstr "ibm1140" msgid "cp1250" -msgstr "" +msgstr "cp1250" msgid "windows-1250" -msgstr "" +msgstr "windows-1250" msgid "cp1251" -msgstr "" +msgstr "cp1251" msgid "windows-1251" -msgstr "" +msgstr "windows-1251" msgid "cp1252" -msgstr "" +msgstr "cp1252" msgid "windows-1252" -msgstr "" +msgstr "windows-1252" msgid "cp1253" -msgstr "" +msgstr "cp1253" msgid "windows-1253" -msgstr "" +msgstr "windows-1253" msgid "cp1254" -msgstr "" +msgstr "cp1254" msgid "windows-1254" -msgstr "" +msgstr "windows-1254" msgid "cp1255" -msgstr "" +msgstr "cp1255" msgid "windows-1255" -msgstr "" +msgstr "windows-1255" msgid "cp1256" -msgstr "" +msgstr "cp1256" msgid "windows-1256" -msgstr "" +msgstr "windows-1256" msgid "cp1257" -msgstr "" +msgstr "cp1257" msgid "windows-1257" -msgstr "" +msgstr "windows-1257" msgid "cp1258" -msgstr "" +msgstr "cp1258" msgid "windows-1258" -msgstr "" +msgstr "windows-1258" msgid "Vietnamese" msgstr "" msgid "euc_jp" -msgstr "" +msgstr "euc_jp" msgid "eucjp, ujis, u-jis" -msgstr "" +msgstr "eucjp, ujis, u-jis" msgid "euc_jis_2004" -msgstr "" +msgstr "euc_jis_2004" msgid "jisx0213, eucjis2004" -msgstr "" +msgstr "jisx0213, eucjis2004" msgid "euc_jisx0213" -msgstr "" +msgstr "euc_jisx0213" msgid "eucjisx0213" -msgstr "" +msgstr "eucjisx0213" msgid "euc_kr" -msgstr "" +msgstr "euc_kr" msgid "euckr, korean, ksc5601, ks_c-5601, ks_c-5601-1987, ksx1001, ks_x-1001" -msgstr "" +msgstr "euckr, korean, ksc5601, ks_c-5601, ks_c-5601-1987, ksx1001, ks_x-1001" msgid "gb2312" -msgstr "" +msgstr "gb2312" msgid "" "chinese, csiso58gb231280, euc-cn, euccn, eucgb2312-cn, gb2312-1980, " "gb2312-80, iso-ir-58" msgstr "" +"chinese, csiso58gb231280, euc-cn, euccn, eucgb2312-cn, gb2312-1980, " +"gb2312-80, iso-ir-58" msgid "Simplified Chinese" msgstr "" msgid "gbk" -msgstr "" +msgstr "gbk" msgid "936, cp936, ms936" -msgstr "" +msgstr "936, cp936, ms936" msgid "Unified Chinese" msgstr "" msgid "gb18030" -msgstr "" +msgstr "gb18030" msgid "gb18030-2000" -msgstr "" +msgstr "gb18030-2000" msgid "hz" -msgstr "" +msgstr "hz" msgid "hzgb, hz-gb, hz-gb-2312" -msgstr "" +msgstr "hzgb, hz-gb, hz-gb-2312" msgid "iso2022_jp" -msgstr "" +msgstr "iso2022_jp" msgid "csiso2022jp, iso2022jp, iso-2022-jp" -msgstr "" +msgstr "csiso2022jp, iso2022jp, iso-2022-jp" msgid "iso2022_jp_1" -msgstr "" +msgstr "iso2022_jp_1" msgid "iso2022jp-1, iso-2022-jp-1" -msgstr "" +msgstr "iso2022jp-1, iso-2022-jp-1" msgid "iso2022_jp_2" -msgstr "" +msgstr "iso2022_jp_2" msgid "iso2022jp-2, iso-2022-jp-2" -msgstr "" +msgstr "iso2022jp-2, iso-2022-jp-2" msgid "Japanese, Korean, Simplified Chinese, Western Europe, Greek" msgstr "" msgid "iso2022_jp_2004" -msgstr "" +msgstr "iso2022_jp_2004" msgid "iso2022jp-2004, iso-2022-jp-2004" -msgstr "" +msgstr "iso2022jp-2004, iso-2022-jp-2004" msgid "iso2022_jp_3" -msgstr "" +msgstr "iso2022_jp_3" msgid "iso2022jp-3, iso-2022-jp-3" -msgstr "" +msgstr "iso2022jp-3, iso-2022-jp-3" msgid "iso2022_jp_ext" -msgstr "" +msgstr "iso2022_jp_ext" msgid "iso2022jp-ext, iso-2022-jp-ext" -msgstr "" +msgstr "iso2022jp-ext, iso-2022-jp-ext" msgid "iso2022_kr" -msgstr "" +msgstr "iso2022_kr" msgid "csiso2022kr, iso2022kr, iso-2022-kr" -msgstr "" +msgstr "csiso2022kr, iso2022kr, iso-2022-kr" msgid "latin_1" -msgstr "" +msgstr "latin_1" msgid "iso-8859-1, iso8859-1, 8859, cp819, latin, latin1, L1" -msgstr "" +msgstr "iso-8859-1, iso8859-1, 8859, cp819, latin, latin1, L1" msgid "iso8859_2" -msgstr "" +msgstr "iso8859_2" msgid "iso-8859-2, latin2, L2" -msgstr "" +msgstr "iso-8859-2, latin2, L2" msgid "iso8859_3" -msgstr "" +msgstr "iso8859_3" msgid "iso-8859-3, latin3, L3" -msgstr "" +msgstr "iso-8859-3, latin3, L3" msgid "Esperanto, Maltese" msgstr "" msgid "iso8859_4" -msgstr "" +msgstr "iso8859_4" msgid "iso-8859-4, latin4, L4" -msgstr "" +msgstr "iso-8859-4, latin4, L4" msgid "iso8859_5" -msgstr "" +msgstr "iso8859_5" msgid "iso-8859-5, cyrillic" -msgstr "" +msgstr "iso-8859-5, cyrillic" msgid "iso8859_6" -msgstr "" +msgstr "iso8859_6" msgid "iso-8859-6, arabic" -msgstr "" +msgstr "iso-8859-6, arabic" msgid "iso8859_7" -msgstr "" +msgstr "iso8859_7" msgid "iso-8859-7, greek, greek8" -msgstr "" +msgstr "iso-8859-7, greek, greek8" msgid "iso8859_8" -msgstr "" +msgstr "iso8859_8" msgid "iso-8859-8, hebrew" -msgstr "" +msgstr "iso-8859-8, hebrew" msgid "iso8859_9" -msgstr "" +msgstr "iso8859_9" msgid "iso-8859-9, latin5, L5" -msgstr "" +msgstr "iso-8859-9, latin5, L5" msgid "iso8859_10" -msgstr "" +msgstr "iso8859_10" msgid "iso-8859-10, latin6, L6" -msgstr "" +msgstr "iso-8859-10, latin6, L6" msgid "Nordic languages" msgstr "" msgid "iso8859_11" -msgstr "" +msgstr "iso8859_11" msgid "iso-8859-11, thai" -msgstr "" +msgstr "iso-8859-11, thai" msgid "Thai languages" msgstr "" msgid "iso8859_13" -msgstr "" +msgstr "iso8859_13" msgid "iso-8859-13, latin7, L7" -msgstr "" +msgstr "iso-8859-13, latin7, L7" msgid "iso8859_14" -msgstr "" +msgstr "iso8859_14" msgid "iso-8859-14, latin8, L8" -msgstr "" +msgstr "iso-8859-14, latin8, L8" msgid "Celtic languages" msgstr "" msgid "iso8859_15" -msgstr "" +msgstr "iso8859_15" msgid "iso-8859-15, latin9, L9" -msgstr "" +msgstr "iso-8859-15, latin9, L9" msgid "iso8859_16" -msgstr "" +msgstr "iso8859_16" msgid "iso-8859-16, latin10, L10" -msgstr "" +msgstr "iso-8859-16, latin10, L10" msgid "South-Eastern Europe" msgstr "" msgid "johab" -msgstr "" +msgstr "johab" msgid "cp1361, ms1361" -msgstr "" +msgstr "cp1361, ms1361" msgid "koi8_r" -msgstr "" +msgstr "koi8_r" msgid "koi8_t" -msgstr "" +msgstr "koi8_t" msgid "Tajik" msgstr "" msgid "koi8_u" -msgstr "" +msgstr "koi8_u" msgid "kz1048" -msgstr "" +msgstr "kz1048" msgid "kz_1048, strk1048_2002, rk1048" -msgstr "" +msgstr "kz_1048, strk1048_2002, rk1048" msgid "Kazakh" msgstr "" msgid "mac_cyrillic" -msgstr "" +msgstr "mac_cyrillic" msgid "maccyrillic" -msgstr "" +msgstr "maccyrillic" msgid "mac_greek" -msgstr "" +msgstr "mac_greek" msgid "macgreek" msgstr "" msgid "mac_iceland" -msgstr "" +msgstr "mac_iceland" msgid "maciceland" -msgstr "" +msgstr "maciceland" msgid "mac_latin2" -msgstr "" +msgstr "mac_latin2" msgid "maclatin2, maccentraleurope, mac_centeuro" -msgstr "" +msgstr "maclatin2, maccentraleurope, mac_centeuro" msgid "mac_roman" -msgstr "" +msgstr "mac_roman" msgid "macroman, macintosh" -msgstr "" +msgstr "macroman, macintosh" msgid "mac_turkish" -msgstr "" +msgstr "mac_turkish" msgid "macturkish" -msgstr "" +msgstr "macturkish" msgid "ptcp154" -msgstr "" +msgstr "ptcp154" msgid "csptcp154, pt154, cp154, cyrillic-asian" -msgstr "" +msgstr "csptcp154, pt154, cp154, cyrillic-asian" msgid "shift_jis" -msgstr "" +msgstr "shift_jis" msgid "csshiftjis, shiftjis, sjis, s_jis" -msgstr "" +msgstr "csshiftjis, shiftjis, sjis, s_jis" msgid "shift_jis_2004" -msgstr "" +msgstr "shift_jis_2004" msgid "shiftjis2004, sjis_2004, sjis2004" -msgstr "" +msgstr "shiftjis2004, sjis_2004, sjis2004" msgid "shift_jisx0213" -msgstr "" +msgstr "shift_jisx0213" msgid "shiftjisx0213, sjisx0213, s_jisx0213" -msgstr "" +msgstr "shiftjisx0213, sjisx0213, s_jisx0213" msgid "utf_32" -msgstr "" +msgstr "utf_32" msgid "U32, utf32" -msgstr "" +msgstr "U32, utf32" msgid "all languages" msgstr "" msgid "utf_32_be" -msgstr "" +msgstr "utf_32_be" msgid "UTF-32BE" -msgstr "" +msgstr "UTF-32BE" msgid "utf_32_le" -msgstr "" +msgstr "utf_32_le" msgid "UTF-32LE" -msgstr "" +msgstr "UTF-32LE" msgid "utf_16" -msgstr "" +msgstr "utf_16" msgid "U16, utf16" -msgstr "" +msgstr "U16, utf16" msgid "utf_16_be" -msgstr "" +msgstr "utf_16_be" msgid "UTF-16BE" -msgstr "" +msgstr "UTF-16BE" msgid "utf_16_le" -msgstr "" +msgstr "utf_16_le" msgid "UTF-16LE" -msgstr "" +msgstr "UTF-16LE" msgid "utf_7" -msgstr "" +msgstr "utf_7" msgid "U7, unicode-1-1-utf-7" -msgstr "" +msgstr "U7, unicode-1-1-utf-7" msgid "utf_8" -msgstr "" +msgstr "utf_8" msgid "U8, UTF, utf8, cp65001" -msgstr "" +msgstr "U8, UTF, utf8, cp65001" msgid "utf_8_sig" -msgstr "" +msgstr "utf_8_sig" msgid "" "The utf-16\\* and utf-32\\* encoders no longer allow surrogate code points " @@ -1863,7 +1887,7 @@ msgid "" msgstr "" msgid "idna" -msgstr "" +msgstr "idna" msgid "" "Implement :rfc:`3490`, see also :mod:`encodings.idna`. Only " @@ -1871,36 +1895,36 @@ msgid "" msgstr "" msgid "mbcs" -msgstr "" +msgstr "mbcs" msgid "ansi, dbcs" -msgstr "" +msgstr "ansi, dbcs" msgid "" "Windows only: Encode the operand according to the ANSI codepage (CP_ACP)." msgstr "" msgid "oem" -msgstr "" +msgstr "oem" msgid "" "Windows only: Encode the operand according to the OEM codepage (CP_OEMCP)." msgstr "" msgid "palmos" -msgstr "" +msgstr "palmos" msgid "Encoding of PalmOS 3.5." msgstr "" msgid "punycode" -msgstr "" +msgstr "punycode" msgid "Implement :rfc:`3492`. Stateful codecs are not supported." msgstr "" msgid "raw_unicode_escape" -msgstr "" +msgstr "raw_unicode_escape" msgid "" "Latin-1 encoding with :samp:`\\\\u{XXXX}` and :samp:`\\\\U{XXXXXXXX}` for " @@ -1911,13 +1935,16 @@ msgstr "" msgid "undefined" msgstr "" +msgid "This Codec should only be used for testing purposes." +msgstr "" + msgid "" "Raise an exception for all conversions, even empty strings. The error " "handler is ignored." msgstr "" msgid "unicode_escape" -msgstr "" +msgstr "unicode_escape" msgid "" "Encoding suitable as the contents of a Unicode literal in ASCII-encoded " @@ -1941,10 +1968,10 @@ msgid "Encoder / decoder" msgstr "" msgid "base64_codec [#b64]_" -msgstr "" +msgstr "base64_codec [#b64]_" msgid "base64, base_64" -msgstr "" +msgstr "base64, base_64" msgid "" "Convert the operand to multiline MIME base64 (the result always includes a " @@ -1956,38 +1983,38 @@ msgid "" msgstr "" msgid ":meth:`base64.encodebytes` / :meth:`base64.decodebytes`" -msgstr "" +msgstr ":meth:`base64.encodebytes` / :meth:`base64.decodebytes`" msgid "bz2_codec" -msgstr "" +msgstr "bz2_codec" msgid "bz2" -msgstr "" +msgstr "bz2" msgid "Compress the operand using bz2." msgstr "" msgid ":meth:`bz2.compress` / :meth:`bz2.decompress`" -msgstr "" +msgstr ":meth:`bz2.compress` / :meth:`bz2.decompress`" msgid "hex_codec" -msgstr "" +msgstr "hex_codec" msgid "hex" -msgstr "" +msgstr "hex" msgid "" "Convert the operand to hexadecimal representation, with two digits per byte." msgstr "" msgid ":meth:`binascii.b2a_hex` / :meth:`binascii.a2b_hex`" -msgstr "" +msgstr ":meth:`binascii.b2a_hex` / :meth:`binascii.a2b_hex`" msgid "quopri_codec" -msgstr "" +msgstr "quopri_codec" msgid "quopri, quotedprintable, quoted_printable" -msgstr "" +msgstr "quopri, quotedprintable, quoted_printable" msgid "Convert the operand to MIME quoted printable." msgstr "" @@ -1996,25 +2023,25 @@ msgid ":meth:`quopri.encode` with ``quotetabs=True`` / :meth:`quopri.decode`" msgstr "" msgid "uu_codec" -msgstr "" +msgstr "uu_codec" msgid "uu" -msgstr "" +msgstr "uu" msgid "Convert the operand using uuencode." msgstr "" msgid "zlib_codec" -msgstr "" +msgstr "zlib_codec" msgid "zip, zlib" -msgstr "" +msgstr "zip, zlib" msgid "Compress the operand using gzip." msgstr "" msgid ":meth:`zlib.compress` / :meth:`zlib.decompress`" -msgstr "" +msgstr ":meth:`zlib.compress` / :meth:`zlib.decompress`" msgid "" "In addition to :term:`bytes-like objects `, " @@ -2038,10 +2065,10 @@ msgid "" msgstr "" msgid "rot_13" -msgstr "" +msgstr "rot_13" msgid "rot13" -msgstr "" +msgstr "rot13" msgid "Return the Caesar-cypher encryption of the operand." msgstr "" @@ -2052,6 +2079,67 @@ msgstr "" msgid "Restoration of the ``rot13`` alias." msgstr "" +msgid ":mod:`encodings` --- Encodings package" +msgstr "" + +msgid "This module implements the following functions:" +msgstr "" + +msgid "Normalize encoding name *encoding*." +msgstr "" + +msgid "" +"Normalization works as follows: all non-alphanumeric characters except the " +"dot used for Python package names are collapsed and replaced with a single " +"underscore, leading and trailing underscores are removed. For example, ``' " +"-;#'`` becomes ``'_'``." +msgstr "" + +msgid "Note that *encoding* should be ASCII only." +msgstr "" + +msgid "" +"The following functions should not be used directly, except for testing " +"purposes; :func:`codecs.lookup` should be used instead." +msgstr "" + +msgid "" +"Search for the codec module corresponding to the given encoding name " +"*encoding*." +msgstr "" + +msgid "" +"This function first normalizes the *encoding* using :func:" +"`normalize_encoding`, then looks for a corresponding alias. It attempts to " +"import a codec module from the encodings package using either the alias or " +"the normalized name. If the module is found and defines a valid " +"``getregentry()`` function that returns a :class:`codecs.CodecInfo` object, " +"the codec is cached and returned." +msgstr "" + +msgid "" +"If the codec module defines a ``getaliases()`` function any returned aliases " +"are registered for future use." +msgstr "" + +msgid "" +"Search for a Windows code page encoding *encoding* of the form ``cpXXXX``." +msgstr "" + +msgid "" +"If the code page is valid and supported, return a :class:`codecs.CodecInfo` " +"object for it." +msgstr "" + +msgid "Availability" +msgstr "Dostępność" + +msgid "This module implements the following exception:" +msgstr "" + +msgid "Raised when a codec is invalid or incompatible." +msgstr "" + msgid "" ":mod:`encodings.idna` --- Internationalized Domain Names in Applications" msgstr "" @@ -2129,9 +2217,6 @@ msgstr "" msgid "This module implements the ANSI codepage (CP_ACP)." msgstr "" -msgid "Availability" -msgstr "Dostępność" - msgid "" "Before 3.2, the *errors* argument was ignored; ``'replace'`` was always used " "to encode, and ``'ignore'`` to decode." @@ -2197,13 +2282,13 @@ msgid "escape sequence" msgstr "" msgid "\\x" -msgstr "" +msgstr "\\x" msgid "\\u" -msgstr "" +msgstr "\\u" msgid "\\U" -msgstr "" +msgstr "\\U" msgid "xmlcharrefreplace" msgstr "" diff --git a/library/codeop.po b/library/codeop.po index f50ebfa8c..fdabaa8a4 100644 --- a/library/codeop.po +++ b/library/codeop.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:56+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/collections.abc.po b/library/collections.abc.po index 937265e94..86c1675f7 100644 --- a/library/collections.abc.po +++ b/library/collections.abc.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:56+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -169,13 +169,13 @@ msgid "Mixin Methods" msgstr "" msgid ":class:`Container` [1]_" -msgstr "" +msgstr ":class:`Container` [1]_" msgid "``__contains__``" msgstr "``__contains__``" msgid ":class:`Hashable` [1]_" -msgstr "" +msgstr ":class:`Hashable` [1]_" msgid "``__hash__``" msgstr "``__hash__``" @@ -187,7 +187,7 @@ msgid "``__iter__``" msgstr "``__iter__``" msgid ":class:`Iterator` [1]_" -msgstr "" +msgstr ":class:`Iterator` [1]_" msgid ":class:`Iterable`" msgstr ":class:`Iterable`" @@ -196,13 +196,13 @@ msgid "``__next__``" msgstr "``__next__``" msgid ":class:`Reversible` [1]_" -msgstr "" +msgstr ":class:`Reversible` [1]_" msgid "``__reversed__``" msgstr "``__reversed__``" msgid ":class:`Generator` [1]_" -msgstr "" +msgstr ":class:`Generator` [1]_" msgid ":class:`Iterator`" msgstr ":class:`Iterator`" @@ -214,22 +214,22 @@ msgid "``close``, ``__iter__``, ``__next__``" msgstr "``close``, ``__iter__``, ``__next__``" msgid ":class:`Sized` [1]_" -msgstr "" +msgstr ":class:`Sized` [1]_" msgid "``__len__``" msgstr "``__len__``" msgid ":class:`Callable` [1]_" -msgstr "" +msgstr ":class:`Callable` [1]_" msgid "``__call__``" msgstr "``__call__``" msgid ":class:`Collection` [1]_" -msgstr "" +msgstr ":class:`Collection` [1]_" msgid ":class:`Sized`, :class:`Iterable`, :class:`Container`" -msgstr "" +msgstr ":class:`Sized`, :class:`Iterable`, :class:`Container`" msgid "``__contains__``, ``__iter__``, ``__len__``" msgstr "``__contains__``, ``__iter__``, ``__len__``" @@ -333,13 +333,13 @@ msgid ":class:`MappingView`, :class:`Collection`" msgstr ":class:`MappingView`, :class:`Collection`" msgid ":class:`Awaitable` [1]_" -msgstr "" +msgstr ":class:`Awaitable` [1]_" msgid "``__await__``" msgstr "``__await__``" msgid ":class:`Coroutine` [1]_" -msgstr "" +msgstr ":class:`Coroutine` [1]_" msgid ":class:`Awaitable`" msgstr ":class:`Awaitable`" @@ -348,13 +348,13 @@ msgid "``close``" msgstr "``close``" msgid ":class:`AsyncIterable` [1]_" -msgstr "" +msgstr ":class:`AsyncIterable` [1]_" msgid "``__aiter__``" msgstr "``__aiter__``" msgid ":class:`AsyncIterator` [1]_" -msgstr "" +msgstr ":class:`AsyncIterator` [1]_" msgid ":class:`AsyncIterable`" msgstr ":class:`AsyncIterable`" @@ -363,7 +363,7 @@ msgid "``__anext__``" msgstr "``__anext__``" msgid ":class:`AsyncGenerator` [1]_" -msgstr "" +msgstr ":class:`AsyncGenerator` [1]_" msgid ":class:`AsyncIterator`" msgstr ":class:`AsyncIterator`" @@ -375,7 +375,7 @@ msgid "``aclose``, ``__aiter__``, ``__anext__``" msgstr "``aclose``, ``__aiter__``, ``__anext__``" msgid ":class:`Buffer` [1]_" -msgstr "" +msgstr ":class:`Buffer` [1]_" msgid "``__buffer__``" msgstr "``__buffer__``" diff --git a/library/collections.po b/library/collections.po index 74c9d3d79..525493448 100644 --- a/library/collections.po +++ b/library/collections.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:56+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/colorsys.po b/library/colorsys.po index 05e8a8725..4ed399a17 100644 --- a/library/colorsys.po +++ b/library/colorsys.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:57+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/compileall.po b/library/compileall.po index 159ff4c7a..6694e299c 100644 --- a/library/compileall.po +++ b/library/compileall.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 00:57+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -81,8 +81,19 @@ msgid "" msgstr "" msgid "" -"Remove (``-s``) or append (``-p``) the given prefix of paths recorded in the " -"``.pyc`` files. Cannot be combined with ``-d``." +"Remove the given prefix from paths recorded in the ``.pyc`` files. Paths are " +"made relative to the prefix." +msgstr "" + +msgid "This option can be used with ``-p`` but not with ``-d``." +msgstr "" + +msgid "" +"Prepend the given prefix to paths recorded in the ``.pyc`` files. Use ``-p /" +"`` to make the paths absolute." +msgstr "" + +msgid "This option can be used with ``-s`` but not with ``-d``." msgstr "" msgid "" diff --git a/library/compression.zstd.po b/library/compression.zstd.po new file mode 100644 index 000000000..2e4abacbb --- /dev/null +++ b/library/compression.zstd.po @@ -0,0 +1,968 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2001 Python Software Foundation +# This file is distributed under the same license as the Python package. +# FIRST AUTHOR , YEAR. +# +# Translators: +# Rafael Fontenelle , 2025 +# Maciej Olko , 2025 +# Stan Ulbrych, 2025 +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: Python 3.14\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" +"PO-Revision-Date: 2025-05-23 14:22+0000\n" +"Last-Translator: Stan Ulbrych, 2025\n" +"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: pl\n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && " +"(n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && " +"n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" + +msgid "" +":mod:`!compression.zstd` --- Compression compatible with the Zstandard format" +msgstr "" + +msgid "**Source code:** :source:`Lib/compression/zstd/__init__.py`" +msgstr "**Kod źródłowy:** :source:`Lib/compression/zstd/__init__.py`" + +msgid "" +"This module provides classes and functions for compressing and decompressing " +"data using the Zstandard (or *zstd*) compression algorithm. The `zstd manual " +"`__ describes " +"Zstandard as \"a fast lossless compression algorithm, targeting real-time " +"compression scenarios at zlib-level and better compression ratios.\" Also " +"included is a file interface that supports reading and writing the contents " +"of ``.zst`` files created by the :program:`zstd` utility, as well as raw " +"zstd compressed streams." +msgstr "" + +msgid "The :mod:`!compression.zstd` module contains:" +msgstr "" + +msgid "" +"The :func:`.open` function and :class:`ZstdFile` class for reading and " +"writing compressed files." +msgstr "" + +msgid "" +"The :class:`ZstdCompressor` and :class:`ZstdDecompressor` classes for " +"incremental (de)compression." +msgstr "" + +msgid "" +"The :func:`compress` and :func:`decompress` functions for one-shot " +"(de)compression." +msgstr "" + +msgid "" +"The :func:`train_dict` and :func:`finalize_dict` functions and the :class:" +"`ZstdDict` class to train and manage Zstandard dictionaries." +msgstr "" + +msgid "" +"The :class:`CompressionParameter`, :class:`DecompressionParameter`, and :" +"class:`Strategy` classes for setting advanced (de)compression parameters." +msgstr "" + +msgid "Exceptions" +msgstr "Wyjątki" + +msgid "" +"This exception is raised when an error occurs during compression or " +"decompression, or while initializing the (de)compressor state." +msgstr "" + +msgid "Reading and writing compressed files" +msgstr "" + +msgid "" +"Open a Zstandard-compressed file in binary or text mode, returning a :term:" +"`file object`." +msgstr "" + +msgid "" +"The *file* argument can be either a file name (given as a :class:`str`, :" +"class:`bytes` or :term:`path-like ` object), in which case " +"the named file is opened, or it can be an existing file object to read from " +"or write to." +msgstr "" + +msgid "" +"The mode argument can be either ``'rb'`` for reading (default), ``'wb'`` for " +"overwriting, ``'ab'`` for appending, or ``'xb'`` for exclusive creation. " +"These can equivalently be given as ``'r'``, ``'w'``, ``'a'``, and ``'x'`` " +"respectively. You may also open in text mode with ``'rt'``, ``'wt'``, " +"``'at'``, and ``'xt'`` respectively." +msgstr "" + +msgid "" +"When reading, the *options* argument can be a dictionary providing advanced " +"decompression parameters; see :class:`DecompressionParameter` for detailed " +"information about supported parameters. The *zstd_dict* argument is a :class:" +"`ZstdDict` instance to be used during decompression. When reading, if the " +"*level* argument is not None, a :exc:`!TypeError` will be raised." +msgstr "" + +msgid "" +"When writing, the *options* argument can be a dictionary providing advanced " +"decompression parameters; see :class:`CompressionParameter` for detailed " +"information about supported parameters. The *level* argument is the " +"compression level to use when writing compressed data. Only one of *level* " +"or *options* may be non-None. The *zstd_dict* argument is a :class:" +"`ZstdDict` instance to be used during compression." +msgstr "" + +msgid "" +"In binary mode, this function is equivalent to the :class:`ZstdFile` " +"constructor: ``ZstdFile(file, mode, ...)``. In this case, the *encoding*, " +"*errors*, and *newline* parameters must not be provided." +msgstr "" + +msgid "" +"In text mode, a :class:`ZstdFile` object is created, and wrapped in an :" +"class:`io.TextIOWrapper` instance with the specified encoding, error " +"handling behavior, and line endings." +msgstr "" + +msgid "Open a Zstandard-compressed file in binary mode." +msgstr "" + +msgid "" +"A :class:`ZstdFile` can wrap an already-open :term:`file object`, or operate " +"directly on a named file. The *file* argument specifies either the file " +"object to wrap, or the name of the file to open (as a :class:`str`, :class:" +"`bytes` or :term:`path-like ` object). If wrapping an " +"existing file object, the wrapped file will not be closed when the :class:" +"`ZstdFile` is closed." +msgstr "" + +msgid "" +"The *mode* argument can be either ``'rb'`` for reading (default), ``'wb'`` " +"for overwriting, ``'xb'`` for exclusive creation, or ``'ab'`` for appending. " +"These can equivalently be given as ``'r'``, ``'w'``, ``'x'`` and ``'a'`` " +"respectively." +msgstr "" + +msgid "" +"If *file* is a file object (rather than an actual file name), a mode of " +"``'w'`` does not truncate the file, and is instead equivalent to ``'a'``." +msgstr "" + +msgid "" +"When writing, the *options* argument can be a dictionary providing advanced " +"decompression parameters; see :class:`CompressionParameter` for detailed " +"information about supported parameters. The *level* argument is the " +"compression level to use when writing compressed data. Only one of *level* " +"or *options* may be passed. The *zstd_dict* argument is a :class:`ZstdDict` " +"instance to be used during compression." +msgstr "" + +msgid "" +":class:`!ZstdFile` supports all the members specified by :class:`io." +"BufferedIOBase`, except for :meth:`~io.BufferedIOBase.detach` and :meth:`~io." +"IOBase.truncate`. Iteration and the :keyword:`with` statement are supported." +msgstr "" + +msgid "The following method and attributes are also provided:" +msgstr "" + +msgid "" +"Return buffered data without advancing the file position. At least one byte " +"of data will be returned, unless EOF has been reached. The exact number of " +"bytes returned is unspecified (the *size* argument is ignored)." +msgstr "" + +msgid "" +"While calling :meth:`peek` does not change the file position of the :class:" +"`ZstdFile`, it may change the position of the underlying file object (for " +"example, if the :class:`ZstdFile` was constructed by passing a file object " +"for *file*)." +msgstr "" + +msgid "``'rb'`` for reading and ``'wb'`` for writing." +msgstr "" + +msgid "" +"The name of the Zstandard file. Equivalent to the :attr:`~io.FileIO.name` " +"attribute of the underlying :term:`file object`." +msgstr "" + +msgid "Compressing and decompressing data in memory" +msgstr "" + +msgid "" +"Compress *data* (a :term:`bytes-like object`), returning the compressed data " +"as a :class:`bytes` object." +msgstr "" + +msgid "" +"The *level* argument is an integer controlling the level of compression. " +"*level* is an alternative to setting :attr:`CompressionParameter." +"compression_level` in *options*. Use :meth:`~CompressionParameter.bounds` " +"on :attr:`~CompressionParameter.compression_level` to get the values that " +"can be passed for *level*. If advanced compression options are needed, the " +"*level* argument must be omitted and in the *options* dictionary the :attr:`!" +"CompressionParameter.compression_level` parameter should be set." +msgstr "" + +msgid "" +"The *options* argument is a Python dictionary containing advanced " +"compression parameters. The valid keys and values for compression parameters " +"are documented as part of the :class:`CompressionParameter` documentation." +msgstr "" + +msgid "" +"The *zstd_dict* argument is an instance of :class:`ZstdDict` containing " +"trained data to improve compression efficiency. The function :func:" +"`train_dict` can be used to generate a Zstandard dictionary." +msgstr "" + +msgid "" +"Decompress *data* (a :term:`bytes-like object`), returning the uncompressed " +"data as a :class:`bytes` object." +msgstr "" + +msgid "" +"The *options* argument is a Python dictionary containing advanced " +"decompression parameters. The valid keys and values for compression " +"parameters are documented as part of the :class:`DecompressionParameter` " +"documentation." +msgstr "" + +msgid "" +"The *zstd_dict* argument is an instance of :class:`ZstdDict` containing " +"trained data used during compression. This must be the same Zstandard " +"dictionary used during compression." +msgstr "" + +msgid "" +"If *data* is the concatenation of multiple distinct compressed frames, " +"decompress all of these frames, and return the concatenation of the results." +msgstr "" + +msgid "" +"Create a compressor object, which can be used to compress data incrementally." +msgstr "" + +msgid "" +"For a more convenient way of compressing a single chunk of data, see the " +"module-level function :func:`compress`." +msgstr "" + +msgid "" +"The *zstd_dict* argument is an optional instance of :class:`ZstdDict` " +"containing trained data to improve compression efficiency. The function :" +"func:`train_dict` can be used to generate a Zstandard dictionary." +msgstr "" + +msgid "" +"Compress *data* (a :term:`bytes-like object`), returning a :class:`bytes` " +"object with compressed data if possible, or otherwise an empty :class:`!" +"bytes` object. Some of *data* may be buffered internally, for use in later " +"calls to :meth:`!compress` and :meth:`~.flush`. The returned data should be " +"concatenated with the output of any previous calls to :meth:`~.compress`." +msgstr "" + +msgid "" +"The *mode* argument is a :class:`ZstdCompressor` attribute, either :attr:`~." +"CONTINUE`, :attr:`~.FLUSH_BLOCK`, or :attr:`~.FLUSH_FRAME`." +msgstr "" + +msgid "" +"When all data has been provided to the compressor, call the :meth:`~.flush` " +"method to finish the compression process. If :meth:`~.compress` is called " +"with *mode* set to :attr:`~.FLUSH_FRAME`, :meth:`~.flush` should not be " +"called, as it would write out a new empty frame." +msgstr "" + +msgid "" +"Finish the compression process, returning a :class:`bytes` object containing " +"any data stored in the compressor's internal buffers." +msgstr "" + +msgid "" +"The *mode* argument is a :class:`ZstdCompressor` attribute, either :attr:`~." +"FLUSH_BLOCK`, or :attr:`~.FLUSH_FRAME`." +msgstr "" + +msgid "" +"Specify the amount of uncompressed data *size* that will be provided for the " +"next frame. *size* will be written into the frame header of the next frame " +"unless :attr:`CompressionParameter.content_size_flag` is ``False`` or ``0``. " +"A size of ``0`` means that the frame is empty. If *size* is ``None``, the " +"frame header will omit the frame size. Frames that include the uncompressed " +"data size require less memory to decompress, especially at higher " +"compression levels." +msgstr "" + +msgid "" +"If :attr:`last_mode` is not :attr:`FLUSH_FRAME`, a :exc:`ValueError` is " +"raised as the compressor is not at the start of a frame. If the pledged size " +"does not match the actual size of data provided to :meth:`.compress`, future " +"calls to :meth:`!compress` or :meth:`flush` may raise :exc:`ZstdError` and " +"the last chunk of data may be lost." +msgstr "" + +msgid "" +"After :meth:`flush` or :meth:`.compress` are called with mode :attr:" +"`FLUSH_FRAME`, the next frame will not include the frame size into the " +"header unless :meth:`!set_pledged_input_size` is called again." +msgstr "" + +msgid "" +"Collect more data for compression, which may or may not generate output " +"immediately. This mode optimizes the compression ratio by maximizing the " +"amount of data per block and frame." +msgstr "" + +msgid "" +"Complete and write a block to the data stream. The data returned so far can " +"be immediately decompressed. Past data can still be referenced in future " +"blocks generated by calls to :meth:`~.compress`, improving compression." +msgstr "" + +msgid "" +"Complete and write out a frame. Future data provided to :meth:`~.compress` " +"will be written into a new frame and *cannot* reference past data." +msgstr "" + +msgid "" +"The last mode passed to either :meth:`~.compress` or :meth:`~.flush`. The " +"value can be one of :attr:`~.CONTINUE`, :attr:`~.FLUSH_BLOCK`, or :attr:`~." +"FLUSH_FRAME`. The initial value is :attr:`~.FLUSH_FRAME`, signifying that " +"the compressor is at the start of a new frame." +msgstr "" + +msgid "" +"Create a decompressor object, which can be used to decompress data " +"incrementally." +msgstr "" + +msgid "" +"For a more convenient way of decompressing an entire compressed stream at " +"once, see the module-level function :func:`decompress`." +msgstr "" + +msgid "" +"This class does not transparently handle inputs containing multiple " +"compressed frames, unlike the :func:`decompress` function and :class:" +"`ZstdFile` class. To decompress a multi-frame input, you should use :func:" +"`decompress`, :class:`ZstdFile` if working with a :term:`file object`, or " +"multiple :class:`!ZstdDecompressor` instances." +msgstr "" + +msgid "" +"Decompress *data* (a :term:`bytes-like object`), returning uncompressed data " +"as bytes. Some of *data* may be buffered internally, for use in later calls " +"to :meth:`!decompress`. The returned data should be concatenated with the " +"output of any previous calls to :meth:`!decompress`." +msgstr "" + +msgid "" +"If *max_length* is non-negative, the method returns at most *max_length* " +"bytes of decompressed data. If this limit is reached and further output can " +"be produced, the :attr:`~.needs_input` attribute will be set to ``False``. " +"In this case, the next call to :meth:`~.decompress` may provide *data* as " +"``b''`` to obtain more of the output." +msgstr "" + +msgid "" +"If all of the input data was decompressed and returned (either because this " +"was less than *max_length* bytes, or because *max_length* was negative), " +"the :attr:`~.needs_input` attribute will be set to ``True``." +msgstr "" + +msgid "" +"Attempting to decompress data after the end of a frame will raise a :exc:" +"`ZstdError`. Any data found after the end of the frame is ignored and saved " +"in the :attr:`~.unused_data` attribute." +msgstr "" + +msgid "``True`` if the end-of-stream marker has been reached." +msgstr "" + +msgid "Data found after the end of the compressed stream." +msgstr "" + +msgid "Before the end of the stream is reached, this will be ``b''``." +msgstr "" + +msgid "" +"``False`` if the :meth:`.decompress` method can provide more decompressed " +"data before requiring new compressed input." +msgstr "" + +msgid "Zstandard dictionaries" +msgstr "" + +msgid "" +"Train a Zstandard dictionary, returning a :class:`ZstdDict` instance. " +"Zstandard dictionaries enable more efficient compression of smaller sizes of " +"data, which is traditionally difficult to compress due to less repetition. " +"If you are compressing multiple similar groups of data (such as similar " +"files), Zstandard dictionaries can improve compression ratios and speed " +"significantly." +msgstr "" + +msgid "" +"The *samples* argument (an iterable of :class:`bytes` objects), is the " +"population of samples used to train the Zstandard dictionary." +msgstr "" + +msgid "" +"The *dict_size* argument, an integer, is the maximum size (in bytes) the " +"Zstandard dictionary should be. The Zstandard documentation suggests an " +"absolute maximum of no more than 100 KB, but the maximum can often be " +"smaller depending on the data. Larger dictionaries generally slow down " +"compression, but improve compression ratios. Smaller dictionaries lead to " +"faster compression, but reduce the compression ratio." +msgstr "" + +msgid "" +"An advanced function for converting a \"raw content\" Zstandard dictionary " +"into a regular Zstandard dictionary. \"Raw content\" dictionaries are a " +"sequence of bytes that do not need to follow the structure of a normal " +"Zstandard dictionary." +msgstr "" + +msgid "" +"The *zstd_dict* argument is a :class:`ZstdDict` instance with the :attr:" +"`~ZstdDict.dict_content` containing the raw dictionary contents." +msgstr "" + +msgid "" +"The *samples* argument (an iterable of :class:`bytes` objects), contains " +"sample data for generating the Zstandard dictionary." +msgstr "" + +msgid "" +"The *dict_size* argument, an integer, is the maximum size (in bytes) the " +"Zstandard dictionary should be. See :func:`train_dict` for suggestions on " +"the maximum dictionary size." +msgstr "" + +msgid "" +"The *level* argument (an integer) is the compression level expected to be " +"passed to the compressors using this dictionary. The dictionary information " +"varies for each compression level, so tuning for the proper compression " +"level can make compression more efficient." +msgstr "" + +msgid "" +"A wrapper around Zstandard dictionaries. Dictionaries can be used to improve " +"the compression of many small chunks of data. Use :func:`train_dict` if you " +"need to train a new dictionary from sample data." +msgstr "" + +msgid "" +"The *dict_content* argument (a :term:`bytes-like object`), is the already " +"trained dictionary information." +msgstr "" + +msgid "" +"The *is_raw* argument, a boolean, is an advanced parameter controlling the " +"meaning of *dict_content*. ``True`` means *dict_content* is a \"raw " +"content\" dictionary, without any format restrictions. ``False`` means " +"*dict_content* is an ordinary Zstandard dictionary, created from Zstandard " +"functions, for example, :func:`train_dict` or the external :program:`zstd` " +"CLI." +msgstr "" + +msgid "" +"When passing a :class:`!ZstdDict` to a function, the :attr:`!" +"as_digested_dict` and :attr:`!as_undigested_dict` attributes can control how " +"the dictionary is loaded by passing them as the ``zstd_dict`` argument, for " +"example, ``compress(data, zstd_dict=zd.as_digested_dict)``. Digesting a " +"dictionary is a costly operation that occurs when loading a Zstandard " +"dictionary. When making multiple calls to compression or decompression, " +"passing a digested dictionary will reduce the overhead of loading the " +"dictionary." +msgstr "" + +msgid "Difference for compression" +msgstr "" + +msgid "Digested dictionary" +msgstr "" + +msgid "Undigested dictionary" +msgstr "" + +msgid "" +"Advanced parameters of the compressor which may be overridden by the " +"dictionary's parameters" +msgstr "" + +msgid "" +"``window_log``, ``hash_log``, ``chain_log``, ``search_log``, ``min_match``, " +"``target_length``, ``strategy``, ``enable_long_distance_matching``, " +"``ldm_hash_log``, ``ldm_min_match``, ``ldm_bucket_size_log``, " +"``ldm_hash_rate_log``, and some non-public parameters." +msgstr "" + +msgid "None" +msgstr "" + +msgid ":class:`!ZstdDict` internally caches the dictionary" +msgstr "" + +msgid "" +"Yes. It's faster when loading a digested dictionary again with the same " +"compression level." +msgstr "" + +msgid "" +"No. If you wish to load an undigested dictionary multiple times, consider " +"reusing a compressor object." +msgstr "" + +msgid "" +"If passing a :class:`!ZstdDict` without any attribute, an undigested " +"dictionary is passed by default when compressing and a digested dictionary " +"is generated if necessary and passed by default when decompressing." +msgstr "" + +msgid "" +"The content of the Zstandard dictionary, a ``bytes`` object. It's the same " +"as the *dict_content* argument in the ``__init__`` method. It can be used " +"with other programs, such as the ``zstd`` CLI program." +msgstr "" + +msgid "Identifier of the Zstandard dictionary, a non-negative int value." +msgstr "" + +msgid "" +"Non-zero means the dictionary is ordinary, created by Zstandard functions " +"and following the Zstandard format." +msgstr "" + +msgid "" +"``0`` means a \"raw content\" dictionary, free of any format restriction, " +"used for advanced users." +msgstr "" + +msgid "" +"The meaning of ``0`` for :attr:`!ZstdDict.dict_id` is different from the " +"``dictionary_id`` attribute to the :func:`get_frame_info` function." +msgstr "" + +msgid "Load as a digested dictionary." +msgstr "" + +msgid "Load as an undigested dictionary." +msgstr "" + +msgid "Advanced parameter control" +msgstr "" + +msgid "" +"An :class:`~enum.IntEnum` containing the advanced compression parameter keys " +"that can be used when compressing data." +msgstr "" + +msgid "" +"The :meth:`~.bounds` method can be used on any attribute to get the valid " +"values for that parameter." +msgstr "" + +msgid "" +"Parameters are optional; any omitted parameter will have it's value selected " +"automatically." +msgstr "" + +msgid "" +"Example getting the lower and upper bound of :attr:`~.compression_level`::" +msgstr "" + +msgid "lower, upper = CompressionParameter.compression_level.bounds()" +msgstr "" + +msgid "Example setting the :attr:`~.window_log` to the maximum size::" +msgstr "" + +msgid "" +"_lower, upper = CompressionParameter.window_log.bounds()\n" +"options = {CompressionParameter.window_log: upper}\n" +"compress(b'venezuelan beaver cheese', options=options)" +msgstr "" + +msgid "" +"Return the tuple of int bounds, ``(lower, upper)``, of a compression " +"parameter. This method should be called on the attribute you wish to " +"retrieve the bounds of. For example, to get the valid values for :attr:`~." +"compression_level`, one may check the result of ``CompressionParameter." +"compression_level.bounds()``." +msgstr "" + +msgid "Both the lower and upper bounds are inclusive." +msgstr "" + +msgid "" +"A high-level means of setting other compression parameters that affect the " +"speed and ratio of compressing data." +msgstr "" + +msgid "" +"Regular compression levels are greater than ``0``. Values greater than " +"``20`` are considered \"ultra\" compression and require more memory than " +"other levels. Negative values can be used to trade off faster compression " +"for worse compression ratios." +msgstr "" + +msgid "Setting the level to zero uses :attr:`COMPRESSION_LEVEL_DEFAULT`." +msgstr "" + +msgid "" +"Maximum allowed back-reference distance the compressor can use when " +"compressing data, expressed as power of two, ``1 << window_log`` bytes. This " +"parameter greatly influences the memory usage of compression. Higher values " +"require more memory but gain better compression values." +msgstr "" + +msgid "A value of zero causes the value to be selected automatically." +msgstr "" + +msgid "" +"Size of the initial probe table, as a power of two. The resulting memory " +"usage is ``1 << (hash_log+2)`` bytes. Larger tables improve compression " +"ratio of strategies <= :attr:`~Strategy.dfast`, and improve compression " +"speed of strategies > :attr:`~Strategy.dfast`." +msgstr "" + +msgid "" +"Size of the multi-probe search table, as a power of two. The resulting " +"memory usage is ``1 << (chain_log+2)`` bytes. Larger tables result in better " +"and slower compression. This parameter has no effect for the :attr:" +"`~Strategy.fast` strategy. It's still useful when using :attr:`~Strategy." +"dfast` strategy, in which case it defines a secondary probe table." +msgstr "" + +msgid "" +"Number of search attempts, as a power of two. More attempts result in better " +"and slower compression. This parameter is useless for :attr:`~Strategy.fast` " +"and :attr:`~Strategy.dfast` strategies." +msgstr "" + +msgid "" +"Minimum size of searched matches. Larger values increase compression and " +"decompression speed, but decrease ratio. Note that Zstandard can still find " +"matches of smaller size, it just tweaks its search algorithm to look for " +"this size and larger. For all strategies < :attr:`~Strategy.btopt`, the " +"effective minimum is ``4``; for all strategies > :attr:`~Strategy.fast`, the " +"effective maximum is ``6``." +msgstr "" + +msgid "The impact of this field depends on the selected :class:`Strategy`." +msgstr "" + +msgid "" +"For strategies :attr:`~Strategy.btopt`, :attr:`~Strategy.btultra` and :attr:" +"`~Strategy.btultra2`, the value is the length of a match considered \"good " +"enough\" to stop searching. Larger values make compression ratios better, " +"but compresses slower." +msgstr "" + +msgid "" +"For strategy :attr:`~Strategy.fast`, it is the distance between match " +"sampling. Larger values make compression faster, but with a worse " +"compression ratio." +msgstr "" + +msgid "" +"The higher the value of selected strategy, the more complex the compression " +"technique used by zstd, resulting in higher compression ratios but slower " +"compression." +msgstr "" + +msgid ":class:`Strategy`" +msgstr ":class:`Strategy`" + +msgid "" +"Long distance matching can be used to improve compression for large inputs " +"by finding large matches at greater distances. It increases memory usage and " +"window size." +msgstr "" + +msgid "" +"``True`` or ``1`` enable long distance matching while ``False`` or ``0`` " +"disable it." +msgstr "" + +msgid "" +"Enabling this parameter increases default :attr:`~CompressionParameter." +"window_log` to 128 MiB except when expressly set to a different value. This " +"setting is enabled by default if :attr:`!window_log` >= 128 MiB and the " +"compression strategy >= :attr:`~Strategy.btopt` (compression level 16+)." +msgstr "" + +msgid "" +"Size of the table for long distance matching, as a power of two. Larger " +"values increase memory usage and compression ratio, but decrease compression " +"speed." +msgstr "" + +msgid "" +"Minimum match size for long distance matcher. Larger or too small values can " +"often decrease the compression ratio." +msgstr "" + +msgid "" +"Log size of each bucket in the long distance matcher hash table for " +"collision resolution. Larger values improve collision resolution but " +"decrease compression speed." +msgstr "" + +msgid "" +"Frequency of inserting/looking up entries into the long distance matcher " +"hash table. Larger values improve compression speed. Deviating far from the " +"default value will likely result in a compression ratio decrease." +msgstr "" + +msgid "" +"Write the size of the data to be compressed into the Zstandard frame header " +"when known prior to compressing." +msgstr "" + +msgid "This flag only takes effect under the following scenarios:" +msgstr "" + +msgid "Calling :func:`compress` for one-shot compression" +msgstr "" + +msgid "" +"Providing all of the data to be compressed in the frame in a single :meth:" +"`ZstdCompressor.compress` call, with the :attr:`ZstdCompressor.FLUSH_FRAME` " +"mode." +msgstr "" + +msgid "" +"Calling :meth:`ZstdCompressor.set_pledged_input_size` with the exact amount " +"of data that will be provided to the compressor prior to any calls to :meth:" +"`ZstdCompressor.compress` for the current frame. :meth:`!ZstdCompressor." +"set_pledged_input_size` must be called for each new frame." +msgstr "" + +msgid "" +"All other compression calls may not write the size information into the " +"frame header." +msgstr "" + +msgid "" +"``True`` or ``1`` enable the content size flag while ``False`` or ``0`` " +"disable it." +msgstr "" + +msgid "" +"A four-byte checksum using XXHash64 of the uncompressed content is written " +"at the end of each frame. Zstandard's decompression code verifies the " +"checksum. If there is a mismatch a :class:`ZstdError` exception is raised." +msgstr "" + +msgid "" +"``True`` or ``1`` enable checksum generation while ``False`` or ``0`` " +"disable it." +msgstr "" + +msgid "" +"When compressing with a :class:`ZstdDict`, the dictionary's ID is written " +"into the frame header." +msgstr "" + +msgid "" +"``True`` or ``1`` enable storing the dictionary ID while ``False`` or ``0`` " +"disable it." +msgstr "" + +msgid "" +"Select how many threads will be spawned to compress in parallel. When :attr:" +"`!nb_workers` > 0, enables multi-threaded compression, a value of ``1`` " +"means \"one-thread multi-threaded mode\". More workers improve speed, but " +"also increase memory usage and slightly reduce compression ratio." +msgstr "" + +msgid "A value of zero disables multi-threading." +msgstr "" + +msgid "" +"Size of a compression job, in bytes. This value is enforced only when :attr:" +"`~CompressionParameter.nb_workers` >= 1. Each compression job is completed " +"in parallel, so this value can indirectly impact the number of active " +"threads." +msgstr "" + +msgid "" +"Sets how much data is reloaded from previous jobs (threads) for new jobs to " +"be used by the look behind window during compression. This value is only " +"used when :attr:`~CompressionParameter.nb_workers` >= 1. Acceptable values " +"vary from 0 to 9." +msgstr "" + +msgid "0 means dynamically set the overlap amount" +msgstr "" + +msgid "1 means no overlap" +msgstr "" + +msgid "9 means use a full window size from the previous job" +msgstr "" + +msgid "" +"Each increment halves/doubles the overlap size. \"8\" means an overlap of " +"``window_size/2``, \"7\" means an overlap of ``window_size/4``, etc." +msgstr "" + +msgid "" +"An :class:`~enum.IntEnum` containing the advanced decompression parameter " +"keys that can be used when decompressing data. Parameters are optional; any " +"omitted parameter will have it's value selected automatically." +msgstr "" + +msgid "Example setting the :attr:`~.window_log_max` to the maximum size::" +msgstr "" + +msgid "" +"data = compress(b'Some very long buffer of bytes...')\n" +"\n" +"_lower, upper = DecompressionParameter.window_log_max.bounds()\n" +"\n" +"options = {DecompressionParameter.window_log_max: upper}\n" +"decompress(data, options=options)" +msgstr "" + +msgid "" +"Return the tuple of int bounds, ``(lower, upper)``, of a decompression " +"parameter. This method should be called on the attribute you wish to " +"retrieve the bounds of." +msgstr "" + +msgid "" +"The base-two logarithm of the maximum size of the window used during " +"decompression. This can be useful to limit the amount of memory used when " +"decompressing data. A larger maximum window size leads to faster " +"decompression." +msgstr "" + +msgid "" +"An :class:`~enum.IntEnum` containing strategies for compression. Higher-" +"numbered strategies correspond to more complex and slower compression." +msgstr "" + +msgid "" +"The values of attributes of :class:`!Strategy` are not necessarily stable " +"across zstd versions. Only the ordering of the attributes may be relied " +"upon. The attributes are listed below in order." +msgstr "" + +msgid "The following strategies are available:" +msgstr "" + +msgid "Miscellaneous" +msgstr "" + +msgid "" +"Retrieve a :class:`FrameInfo` object containing metadata about a Zstandard " +"frame. Frames contain metadata related to the compressed data they hold." +msgstr "" + +msgid "Metadata related to a Zstandard frame." +msgstr "" + +msgid "The size of the decompressed contents of the frame." +msgstr "" + +msgid "" +"An integer representing the Zstandard dictionary ID needed for decompressing " +"the frame. ``0`` means the dictionary ID was not recorded in the frame " +"header. This may mean that a Zstandard dictionary is not needed, or that the " +"ID of a required dictionary was not recorded." +msgstr "" + +msgid "The default compression level for Zstandard: ``3``." +msgstr "" + +msgid "" +"Version number of the runtime zstd library as a tuple of integers (major, " +"minor, release)." +msgstr "" + +msgid "Examples" +msgstr "Przykłady" + +msgid "Reading in a compressed file:" +msgstr "" + +msgid "" +"from compression import zstd\n" +"\n" +"with zstd.open(\"file.zst\") as f:\n" +" file_content = f.read()" +msgstr "" + +msgid "Creating a compressed file:" +msgstr "" + +msgid "" +"from compression import zstd\n" +"\n" +"data = b\"Insert Data Here\"\n" +"with zstd.open(\"file.zst\", \"w\") as f:\n" +" f.write(data)" +msgstr "" + +msgid "Compressing data in memory:" +msgstr "" + +msgid "" +"from compression import zstd\n" +"\n" +"data_in = b\"Insert Data Here\"\n" +"data_out = zstd.compress(data_in)" +msgstr "" + +msgid "Incremental compression:" +msgstr "" + +msgid "" +"from compression import zstd\n" +"\n" +"comp = zstd.ZstdCompressor()\n" +"out1 = comp.compress(b\"Some data\\n\")\n" +"out2 = comp.compress(b\"Another piece of data\\n\")\n" +"out3 = comp.compress(b\"Even more data\\n\")\n" +"out4 = comp.flush()\n" +"# Concatenate all the partial results:\n" +"result = b\"\".join([out1, out2, out3, out4])" +msgstr "" + +msgid "Writing compressed data to an already-open file:" +msgstr "" + +msgid "" +"from compression import zstd\n" +"\n" +"with open(\"myfile\", \"wb\") as f:\n" +" f.write(b\"This data will not be compressed\\n\")\n" +" with zstd.open(f, \"w\") as zstf:\n" +" zstf.write(b\"This *will* be compressed\\n\")\n" +" f.write(b\"Not compressed\\n\")" +msgstr "" + +msgid "Creating a compressed file using compression parameters:" +msgstr "" + +msgid "" +"from compression import zstd\n" +"\n" +"options = {\n" +" zstd.CompressionParameter.checksum_flag: 1\n" +"}\n" +"with zstd.open(\"file.zst\", \"w\", options=options) as f:\n" +" f.write(b\"Mind if I squeeze in?\")" +msgstr "" diff --git a/library/concurrent.futures.po b/library/concurrent.futures.po index 186542868..bb714a520 100644 --- a/library/concurrent.futures.po +++ b/library/concurrent.futures.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:57+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -333,7 +333,7 @@ msgid "" "Each worker's interpreter is isolated from all the other interpreters. " "\"Isolated\" means each interpreter has its own runtime state and operates " "completely independently. For example, if you redirect :data:`sys.stdout` " -"in one interpreter, it will not be automatically redirected any other " +"in one interpreter, it will not be automatically redirected to any other " "interpreter. If you import a module in one interpreter, it is not " "automatically imported in any other. You would need to import the module " "separately in interpreter where you need it. In fact, each module imported " @@ -376,24 +376,11 @@ msgid "" "when sending them to the worker's interpreter." msgstr "" -msgid "" -"Functions defined in the ``__main__`` module cannot be pickled and thus " -"cannot be used." -msgstr "" - msgid "" "The executor may replace uncaught exceptions from *initializer* with :class:" "`~concurrent.futures.interpreter.ExecutionFailed`." msgstr "" -msgid "" -"The optional *shared* argument is a :class:`dict` of objects that all " -"interpreters in the pool share. The *shared* items are added to each " -"interpreter's ``__main__`` module. Not all objects are shareable. Shareable " -"objects include the builtin singletons, :class:`str` and :class:`bytes`, " -"and :class:`memoryview`. See :pep:`734` for more info." -msgstr "" - msgid "Other caveats from parent :class:`ThreadPoolExecutor` apply here." msgstr "" diff --git a/library/concurrent.interpreters.po b/library/concurrent.interpreters.po new file mode 100644 index 000000000..07582cf40 --- /dev/null +++ b/library/concurrent.interpreters.po @@ -0,0 +1,444 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2001 Python Software Foundation +# This file is distributed under the same license as the Python package. +# FIRST AUTHOR , YEAR. +# +# Translators: +# Seweryn Piórkowski , 2025 +# Rafael Fontenelle , 2025 +# Maciej Olko , 2025 +# Stan Ulbrych, 2025 +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: Python 3.14\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" +"PO-Revision-Date: 2025-06-13 14:23+0000\n" +"Last-Translator: Stan Ulbrych, 2025\n" +"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: pl\n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && " +"(n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && " +"n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" + +msgid "" +":mod:`!concurrent.interpreters` --- Multiple interpreters in the same process" +msgstr "" + +msgid "**Source code:** :source:`Lib/concurrent/interpreters.py`" +msgstr "**Kod źródłowy:** :source:`Lib/concurrent/interpreters.py`" + +msgid "" +"The :mod:`!concurrent.interpreters` module constructs higher-level " +"interfaces on top of the lower level :mod:`!_interpreters` module." +msgstr "" + +msgid "" +"The module is primarily meant to provide a basic API for managing " +"interpreters (AKA \"subinterpreters\") and running things in them. Running " +"mostly involves switching to an interpreter (in the current thread) and " +"calling a function in that execution context." +msgstr "" + +msgid "" +"For concurrency, interpreters themselves (and this module) don't provide " +"much more than isolation, which on its own isn't useful. Actual concurrency " +"is available separately through :mod:`threads ` See `below " +"`_" +msgstr "" + +msgid ":class:`~concurrent.futures.InterpreterPoolExecutor`" +msgstr "" + +msgid "combines threads with interpreters in a familiar interface." +msgstr "" + +msgid ":ref:`isolating-extensions-howto`" +msgstr ":ref:`isolating-extensions-howto`" + +msgid "how to update an extension module to support multiple interpreters" +msgstr "" + +msgid ":pep:`554`" +msgstr ":pep:`554`" + +msgid ":pep:`734`" +msgstr ":pep:`734`" + +msgid ":pep:`684`" +msgstr ":pep:`684`" + +msgid "Availability" +msgstr "Dostępność" + +msgid "" +"This module does not work or is not available on WebAssembly. See :ref:`wasm-" +"availability` for more information." +msgstr "" + +msgid "Key details" +msgstr "" + +msgid "" +"Before we dive in further, there are a small number of details to keep in " +"mind about using multiple interpreters:" +msgstr "" + +msgid "`isolated `_, by default" +msgstr "" + +msgid "no implicit threads" +msgstr "" + +msgid "not all PyPI packages support use in multiple interpreters yet" +msgstr "" + +msgid "Introduction" +msgstr "Wprowadzenie" + +msgid "" +"An \"interpreter\" is effectively the execution context of the Python " +"runtime. It contains all of the state the runtime needs to execute a " +"program. This includes things like the import state and builtins. (Each " +"thread, even if there's only the main thread, has some extra runtime state, " +"in addition to the current interpreter, related to the current exception and " +"the bytecode eval loop.)" +msgstr "" + +msgid "" +"The concept and functionality of the interpreter have been a part of Python " +"since version 2.2, but the feature was only available through the C-API and " +"not well known, and the `isolation `_ was relatively " +"incomplete until version 3.12." +msgstr "" + +msgid "Multiple Interpreters and Isolation" +msgstr "" + +msgid "" +"A Python implementation may support using multiple interpreters in the same " +"process. CPython has this support. Each interpreter is effectively " +"isolated from the others (with a limited number of carefully managed process-" +"global exceptions to the rule)." +msgstr "" + +msgid "" +"That isolation is primarily useful as a strong separation between distinct " +"logical components of a program, where you want to have careful control of " +"how those components interact." +msgstr "" + +msgid "" +"Interpreters in the same process can technically never be strictly isolated " +"from one another since there are few restrictions on memory access within " +"the same process. The Python runtime makes a best effort at isolation but " +"extension modules may easily violate that. Therefore, do not use multiple " +"interpreters in security-sensitive situations, where they shouldn't have " +"access to each other's data." +msgstr "" + +msgid "Running in an Interpreter" +msgstr "" + +msgid "" +"Running in a different interpreter involves switching to it in the current " +"thread and then calling some function. The runtime will execute the " +"function using the current interpreter's state. The :mod:`!concurrent." +"interpreters` module provides a basic API for creating and managing " +"interpreters, as well as the switch-and-call operation." +msgstr "" + +msgid "" +"No other threads are automatically started for the operation. There is `a " +"helper `_ for that though. There is another " +"dedicated helper for calling the builtin :func:`exec` in an interpreter." +msgstr "" + +msgid "" +"When :func:`exec` (or :func:`eval`) are called in an interpreter, they run " +"using the interpreter's :mod:`!__main__` module as the \"globals\" " +"namespace. The same is true for functions that aren't associated with any " +"module. This is the same as how scripts invoked from the command-line run " +"in the :mod:`!__main__` module." +msgstr "" + +msgid "Concurrency and Parallelism" +msgstr "" + +msgid "" +"As noted earlier, interpreters do not provide any concurrency on their own. " +"They strictly represent the isolated execution context the runtime will use " +"*in the current thread*. That isolation makes them similar to processes, " +"but they still enjoy in-process efficiency, like threads." +msgstr "" + +msgid "" +"All that said, interpreters do naturally support certain flavors of " +"concurrency, as a powerful side effect of that isolation. There's a powerful " +"side effect of that isolation. It enables a different approach to " +"concurrency than you can take with async or threads. It's a similar " +"concurrency model to CSP or the actor model, a model which is relatively " +"easy to reason about." +msgstr "" + +msgid "" +"You can take advantage of that concurrency model in a single thread, " +"switching back and forth between interpreters, Stackless-style. However, " +"this model is more useful when you combine interpreters with multiple " +"threads. This mostly involves starting a new thread, where you switch to " +"another interpreter and run what you want there." +msgstr "" + +msgid "" +"Each actual thread in Python, even if you're only running in the main " +"thread, has its own *current* execution context. Multiple threads can use " +"the same interpreter or different ones." +msgstr "" + +msgid "" +"At a high level, you can think of the combination of threads and " +"interpreters as threads with opt-in sharing." +msgstr "" + +msgid "" +"As a significant bonus, interpreters are sufficiently isolated that they do " +"not share the :term:`GIL`, which means combining threads with multiple " +"interpreters enables full multi-core parallelism. (This has been the case " +"since Python 3.12.)" +msgstr "" + +msgid "Communication Between Interpreters" +msgstr "" + +msgid "" +"In practice, multiple interpreters are useful only if we have a way to " +"communicate between them. This usually involves some form of message " +"passing, but can even mean sharing data in some carefully managed way." +msgstr "" + +msgid "" +"With this in mind, the :mod:`!concurrent.interpreters` module provides a :" +"class:`queue.Queue` implementation, available through :func:`create_queue`." +msgstr "" + +msgid "\"Sharing\" Objects" +msgstr "" + +msgid "" +"Any data actually shared between interpreters loses the thread-safety " +"provided by the :term:`GIL`. There are various options for dealing with " +"this in extension modules. However, from Python code the lack of thread-" +"safety means objects can't actually be shared, with a few exceptions. " +"Instead, a copy must be created, which means mutable objects won't stay in " +"sync." +msgstr "" + +msgid "" +"By default, most objects are copied with :mod:`pickle` when they are passed " +"to another interpreter. Nearly all of the immutable builtin objects are " +"either directly shared or copied efficiently. For example:" +msgstr "" + +msgid ":const:`None`" +msgstr ":const:`None`" + +msgid ":class:`bool` (:const:`True` and :const:`False`)" +msgstr "" + +msgid ":class:`bytes`" +msgstr ":class:`bytes`" + +msgid ":class:`str`" +msgstr ":class:`str`" + +msgid ":class:`int`" +msgstr ":class:`int`" + +msgid ":class:`float`" +msgstr ":class:`float`" + +msgid ":class:`tuple` (of similarly supported objects)" +msgstr "" + +msgid "" +"There is a small number of Python types that actually share mutable data " +"between interpreters:" +msgstr "" + +msgid ":class:`memoryview`" +msgstr ":class:`memoryview`" + +msgid ":class:`Queue`" +msgstr ":class:`Queue`" + +msgid "Reference" +msgstr "" + +msgid "This module defines the following functions:" +msgstr "" + +msgid "" +"Return a :class:`list` of :class:`Interpreter` objects, one for each " +"existing interpreter." +msgstr "" + +msgid "" +"Return an :class:`Interpreter` object for the currently running interpreter." +msgstr "" + +msgid "" +"Return an :class:`Interpreter` object for the main interpreter. This is the " +"interpreter the runtime created to run the :term:`REPL` or the script given " +"at the command-line. It is usually the only one." +msgstr "" + +msgid "" +"Initialize a new (idle) Python interpreter and return a :class:`Interpreter` " +"object for it." +msgstr "" + +msgid "" +"Initialize a new cross-interpreter queue and return a :class:`Queue` object " +"for it." +msgstr "" + +msgid "Interpreter objects" +msgstr "" + +msgid "A single interpreter in the current process." +msgstr "" + +msgid "" +"Generally, :class:`Interpreter` shouldn't be called directly. Instead, use :" +"func:`create` or one of the other module functions." +msgstr "" + +msgid "(read-only)" +msgstr "" + +msgid "The underlying interpreter's ID." +msgstr "" + +msgid "A string describing where the interpreter came from." +msgstr "" + +msgid "" +"Return ``True`` if the interpreter is currently executing code in its :mod:`!" +"__main__` module and ``False`` otherwise." +msgstr "" + +msgid "Finalize and destroy the interpreter." +msgstr "" + +msgid "Bind objects in the interpreter's :mod:`!__main__` module." +msgstr "" + +msgid "" +"Some objects are actually shared and some are copied efficiently, but most " +"are copied via :mod:`pickle`. See :ref:`interp-object-sharing`." +msgstr "" + +msgid "Run the given source code in the interpreter (in the current thread)." +msgstr "" + +msgid "" +"Return the result of calling running the given function in the interpreter " +"(in the current thread)." +msgstr "" + +msgid "Run the given function in the interpreter (in a new thread)." +msgstr "" + +msgid "Exceptions" +msgstr "Wyjątki" + +msgid "" +"This exception, a subclass of :exc:`Exception`, is raised when an " +"interpreter-related error happens." +msgstr "" + +msgid "" +"This exception, a subclass of :exc:`InterpreterError`, is raised when the " +"targeted interpreter no longer exists." +msgstr "" + +msgid "" +"This exception, a subclass of :exc:`InterpreterError`, is raised when the " +"running code raised an uncaught exception." +msgstr "" + +msgid "A basic snapshot of the exception raised in the other interpreter." +msgstr "" + +msgid "" +"This exception, a subclass of :exc:`TypeError`, is raised when an object " +"cannot be sent to another interpreter." +msgstr "" + +msgid "Communicating Between Interpreters" +msgstr "" + +msgid "" +"A wrapper around a low-level, cross-interpreter queue, which implements the :" +"class:`queue.Queue` interface. The underlying queue can only be created " +"through :func:`create_queue`." +msgstr "" + +msgid "The queue's ID." +msgstr "" + +msgid "" +"This exception, a subclass of :exc:`queue.Empty`, is raised from :meth:`!" +"Queue.get` and :meth:`!Queue.get_nowait` when the queue is empty." +msgstr "" + +msgid "" +"This exception, a subclass of :exc:`queue.Full`, is raised from :meth:`!" +"Queue.put` and :meth:`!Queue.put_nowait` when the queue is full." +msgstr "" + +msgid "Basic usage" +msgstr "" + +msgid "Creating an interpreter and running code in it::" +msgstr "" + +msgid "" +"from concurrent import interpreters\n" +"\n" +"interp = interpreters.create()\n" +"\n" +"# Run in the current OS thread.\n" +"\n" +"interp.exec('print(\"spam!\")')\n" +"\n" +"interp.exec(\"\"\"if True:\n" +" print('spam!')\n" +" \"\"\")\n" +"\n" +"from textwrap import dedent\n" +"interp.exec(dedent(\"\"\"\n" +" print('spam!')\n" +" \"\"\"))\n" +"\n" +"def run(arg):\n" +" return arg\n" +"\n" +"res = interp.call(run, 'spam!')\n" +"print(res)\n" +"\n" +"def run():\n" +" print('spam!')\n" +"\n" +"interp.call(run)\n" +"\n" +"# Run in new OS thread.\n" +"\n" +"t = interp.call_in_thread(run)\n" +"t.join()" +msgstr "" diff --git a/library/configparser.po b/library/configparser.po index c80748b0b..6be3766e8 100644 --- a/library/configparser.po +++ b/library/configparser.po @@ -15,7 +15,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:57+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -31,7 +31,7 @@ msgid ":mod:`!configparser` --- Configuration file parser" msgstr "" msgid "**Source code:** :source:`Lib/configparser.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/configparser.py`" msgid "" "This module provides the :class:`ConfigParser` class which implements a " diff --git a/library/constants.po b/library/constants.po index 85862c062..9c1646f88 100644 --- a/library/constants.po +++ b/library/constants.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:57+0000\n" "Last-Translator: Wiktor Matuszewski , 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/contextlib.po b/library/contextlib.po index c6a422160..e6e7fe340 100644 --- a/library/contextlib.po +++ b/library/contextlib.po @@ -1,20 +1,20 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Maciej Olko , 2021 -# Transifex Bot <>, 2023 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.11\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-05-19 14:13+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:57+0000\n" -"Last-Translator: Transifex Bot <>, 2023\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -29,7 +29,7 @@ msgid "" msgstr "" msgid "**Source code:** :source:`Lib/contextlib.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/contextlib.py`" msgid "" "This module provides utilities for common tasks involving the :keyword:" @@ -62,14 +62,15 @@ msgstr "" msgid "" "This function is a :term:`decorator` that can be used to define a factory " "function for :keyword:`with` statement context managers, without needing to " -"create a class or separate :meth:`__enter__` and :meth:`__exit__` methods." +"create a class or separate :meth:`~object.__enter__` and :meth:`~object." +"__exit__` methods." msgstr "" msgid "" "While many objects natively support use in with statements, sometimes a " "resource needs to be managed that isn't a context manager in its own right, " "and doesn't implement a ``close()`` method for use with ``contextlib." -"closing``" +"closing``." msgstr "" msgid "" @@ -77,9 +78,29 @@ msgid "" "management::" msgstr "" +msgid "" +"from contextlib import contextmanager\n" +"\n" +"@contextmanager\n" +"def managed_resource(*args, **kwds):\n" +" # Code to acquire resource, e.g.:\n" +" resource = acquire_resource(*args, **kwds)\n" +" try:\n" +" yield resource\n" +" finally:\n" +" # Code to release resource, e.g.:\n" +" release_resource(resource)" +msgstr "" + msgid "The function can then be used like this::" msgstr "" +msgid "" +">>> with managed_resource(timeout=3600) as resource:\n" +"... # Resource is released at the end of this block,\n" +"... # even if code in the block raises an exception" +msgstr "" + msgid "" "The function being decorated must return a :term:`generator`-iterator when " "called. This iterator must yield exactly one value, which will be bound to " @@ -122,19 +143,52 @@ msgstr "" msgid "" "This function is a :term:`decorator` that can be used to define a factory " "function for :keyword:`async with` statement asynchronous context managers, " -"without needing to create a class or separate :meth:`__aenter__` and :meth:" -"`__aexit__` methods. It must be applied to an :term:`asynchronous generator` " -"function." +"without needing to create a class or separate :meth:`~object.__aenter__` " +"and :meth:`~object.__aexit__` methods. It must be applied to an :term:" +"`asynchronous generator` function." msgstr "" msgid "A simple example::" msgstr "" +msgid "" +"from contextlib import asynccontextmanager\n" +"\n" +"@asynccontextmanager\n" +"async def get_connection():\n" +" conn = await acquire_db_connection()\n" +" try:\n" +" yield conn\n" +" finally:\n" +" await release_db_connection(conn)\n" +"\n" +"async def get_all_users():\n" +" async with get_connection() as conn:\n" +" return conn.query('SELECT ...')" +msgstr "" + msgid "" "Context managers defined with :func:`asynccontextmanager` can be used either " "as decorators or with :keyword:`async with` statements::" msgstr "" +msgid "" +"import time\n" +"from contextlib import asynccontextmanager\n" +"\n" +"@asynccontextmanager\n" +"async def timeit():\n" +" now = time.monotonic()\n" +" try:\n" +" yield\n" +" finally:\n" +" print(f'it took {time.monotonic() - now}s to run')\n" +"\n" +"@timeit()\n" +"async def main():\n" +" # ... async code ..." +msgstr "" + msgid "" "When used as a decorator, a new generator instance is implicitly created on " "each function call. This allows the otherwise \"one-shot\" context managers " @@ -152,25 +206,73 @@ msgid "" "This is basically equivalent to::" msgstr "" +msgid "" +"from contextlib import contextmanager\n" +"\n" +"@contextmanager\n" +"def closing(thing):\n" +" try:\n" +" yield thing\n" +" finally:\n" +" thing.close()" +msgstr "" + msgid "And lets you write code like this::" msgstr "" +msgid "" +"from contextlib import closing\n" +"from urllib.request import urlopen\n" +"\n" +"with closing(urlopen('https://www.python.org')) as page:\n" +" for line in page:\n" +" print(line)" +msgstr "" + msgid "" "without needing to explicitly close ``page``. Even if an error occurs, " "``page.close()`` will be called when the :keyword:`with` block is exited." msgstr "" +msgid "" +"Most types managing resources support the :term:`context manager` protocol, " +"which closes *thing* on leaving the :keyword:`with` statement. As such, :" +"func:`!closing` is most useful for third party types that don't support " +"context managers. This example is purely for illustration purposes, as :func:" +"`~urllib.request.urlopen` would normally be used in a context manager." +msgstr "" + msgid "" "Return an async context manager that calls the ``aclose()`` method of " "*thing* upon completion of the block. This is basically equivalent to::" msgstr "" +msgid "" +"from contextlib import asynccontextmanager\n" +"\n" +"@asynccontextmanager\n" +"async def aclosing(thing):\n" +" try:\n" +" yield thing\n" +" finally:\n" +" await thing.aclose()" +msgstr "" + msgid "" "Significantly, ``aclosing()`` supports deterministic cleanup of async " "generators when they happen to exit early by :keyword:`break` or an " "exception. For example::" msgstr "" +msgid "" +"from contextlib import aclosing\n" +"\n" +"async with aclosing(my_generator()) as values:\n" +" async for value in values:\n" +" if value == 42:\n" +" break" +msgstr "" + msgid "" "This pattern ensures that the generator's async exit code is executed in the " "same context as its iterations (so that exceptions and context variables " @@ -184,14 +286,52 @@ msgid "" "optional context manager, for example::" msgstr "" +msgid "" +"def myfunction(arg, ignore_exceptions=False):\n" +" if ignore_exceptions:\n" +" # Use suppress to ignore all exceptions.\n" +" cm = contextlib.suppress(Exception)\n" +" else:\n" +" # Do not ignore any exceptions, cm has no effect.\n" +" cm = contextlib.nullcontext()\n" +" with cm:\n" +" # Do something" +msgstr "" + msgid "An example using *enter_result*::" msgstr "" +msgid "" +"def process_file(file_or_path):\n" +" if isinstance(file_or_path, str):\n" +" # If string, open file\n" +" cm = open(file_or_path)\n" +" else:\n" +" # Caller is responsible for closing file\n" +" cm = nullcontext(file_or_path)\n" +"\n" +" with cm as file:\n" +" # Perform processing on the file" +msgstr "" + msgid "" "It can also be used as a stand-in for :ref:`asynchronous context managers " "`::" msgstr "" +msgid "" +"async def send_http(session=None):\n" +" if not session:\n" +" # If no http session, create it with aiohttp\n" +" cm = aiohttp.ClientSession()\n" +" else:\n" +" # Caller is responsible for closing the session\n" +" cm = nullcontext(session)\n" +"\n" +" async with cm as session:\n" +" # Send http requests with session" +msgstr "" + msgid ":term:`asynchronous context manager` support was added." msgstr "" @@ -212,12 +352,47 @@ msgstr "" msgid "For example::" msgstr "Dla przykładu::" +msgid "" +"from contextlib import suppress\n" +"\n" +"with suppress(FileNotFoundError):\n" +" os.remove('somefile.tmp')\n" +"\n" +"with suppress(FileNotFoundError):\n" +" os.remove('someotherfile.tmp')" +msgstr "" + msgid "This code is equivalent to::" msgstr "" +msgid "" +"try:\n" +" os.remove('somefile.tmp')\n" +"except FileNotFoundError:\n" +" pass\n" +"\n" +"try:\n" +" os.remove('someotherfile.tmp')\n" +"except FileNotFoundError:\n" +" pass" +msgstr "" + msgid "This context manager is :ref:`reentrant `." msgstr "" +msgid "" +"If the code within the :keyword:`!with` block raises a :exc:" +"`BaseExceptionGroup`, suppressed exceptions are removed from the group. Any " +"exceptions of the group which are not suppressed are re-raised in a new " +"group which is created using the original group's :meth:`~BaseExceptionGroup." +"derive` method." +msgstr "" + +msgid "" +"``suppress`` now supports suppressing exceptions raised as part of a :exc:" +"`BaseExceptionGroup`." +msgstr "" + msgid "" "Context manager for temporarily redirecting :data:`sys.stdout` to another " "file or file-like object." @@ -236,14 +411,31 @@ msgid "" "`with` statement::" msgstr "" +msgid "" +"with redirect_stdout(io.StringIO()) as f:\n" +" help(pow)\n" +"s = f.getvalue()" +msgstr "" + msgid "" "To send the output of :func:`help` to a file on disk, redirect the output to " "a regular file::" msgstr "" +msgid "" +"with open('help.txt', 'w') as f:\n" +" with redirect_stdout(f):\n" +" help(pow)" +msgstr "" + msgid "To send the output of :func:`help` to *sys.stderr*::" msgstr "" +msgid "" +"with redirect_stdout(sys.stderr):\n" +" help(pow)" +msgstr "" + msgid "" "Note that the global side effect on :data:`sys.stdout` means that this " "context manager is not suitable for use in library code and most threaded " @@ -288,16 +480,59 @@ msgstr "" msgid "Example of ``ContextDecorator``::" msgstr "" +msgid "" +"from contextlib import ContextDecorator\n" +"\n" +"class mycontext(ContextDecorator):\n" +" def __enter__(self):\n" +" print('Starting')\n" +" return self\n" +"\n" +" def __exit__(self, *exc):\n" +" print('Finishing')\n" +" return False" +msgstr "" + msgid "The class can then be used like this::" msgstr "" +msgid "" +">>> @mycontext()\n" +"... def function():\n" +"... print('The bit in the middle')\n" +"...\n" +">>> function()\n" +"Starting\n" +"The bit in the middle\n" +"Finishing\n" +"\n" +">>> with mycontext():\n" +"... print('The bit in the middle')\n" +"...\n" +"Starting\n" +"The bit in the middle\n" +"Finishing" +msgstr "" + msgid "" "This change is just syntactic sugar for any construct of the following form::" msgstr "" +msgid "" +"def f():\n" +" with cm():\n" +" # Do stuff" +msgstr "" + msgid "``ContextDecorator`` lets you instead write::" msgstr "" +msgid "" +"@cm()\n" +"def f():\n" +" # Do stuff" +msgstr "" + msgid "" "It makes it clear that the ``cm`` applies to the whole function, rather than " "just a piece of it (and saving an indentation level is nice, too)." @@ -308,6 +543,17 @@ msgid "" "using ``ContextDecorator`` as a mixin class::" msgstr "" +msgid "" +"from contextlib import ContextDecorator\n" +"\n" +"class mycontext(ContextBaseClass, ContextDecorator):\n" +" def __enter__(self):\n" +" return self\n" +"\n" +" def __exit__(self, *exc):\n" +" return False" +msgstr "" + msgid "" "As the decorated function must be able to be called multiple times, the " "underlying context manager must support use in multiple :keyword:`with` " @@ -322,6 +568,40 @@ msgstr "" msgid "Example of ``AsyncContextDecorator``::" msgstr "" +msgid "" +"from asyncio import run\n" +"from contextlib import AsyncContextDecorator\n" +"\n" +"class mycontext(AsyncContextDecorator):\n" +" async def __aenter__(self):\n" +" print('Starting')\n" +" return self\n" +"\n" +" async def __aexit__(self, *exc):\n" +" print('Finishing')\n" +" return False" +msgstr "" + +msgid "" +">>> @mycontext()\n" +"... async def function():\n" +"... print('The bit in the middle')\n" +"...\n" +">>> run(function())\n" +"Starting\n" +"The bit in the middle\n" +"Finishing\n" +"\n" +">>> async def function():\n" +"... async with mycontext():\n" +"... print('The bit in the middle')\n" +"...\n" +">>> run(function())\n" +"Starting\n" +"The bit in the middle\n" +"Finishing" +msgstr "" + msgid "" "A context manager that is designed to make it easy to programmatically " "combine other context managers and cleanup functions, especially those that " @@ -334,8 +614,16 @@ msgid "" msgstr "" msgid "" -"The :meth:`__enter__` method returns the :class:`ExitStack` instance, and " -"performs no additional operations." +"with ExitStack() as stack:\n" +" files = [stack.enter_context(open(fname)) for fname in filenames]\n" +" # All opened files will automatically be closed at the end of\n" +" # the with statement, even if attempts to open files later\n" +" # in the list raise an exception" +msgstr "" + +msgid "" +"The :meth:`~object.__enter__` method returns the :class:`ExitStack` " +"instance, and performs no additional operations." msgstr "" msgid "" @@ -368,9 +656,9 @@ msgid "" msgstr "" msgid "" -"Enters a new context manager and adds its :meth:`__exit__` method to the " -"callback stack. The return value is the result of the context manager's own :" -"meth:`__enter__` method." +"Enters a new context manager and adds its :meth:`~object.__exit__` method to " +"the callback stack. The return value is the result of the context manager's " +"own :meth:`~object.__enter__` method." msgstr "" msgid "" @@ -383,24 +671,26 @@ msgid "" "context manager." msgstr "" -msgid "Adds a context manager's :meth:`__exit__` method to the callback stack." +msgid "" +"Adds a context manager's :meth:`~object.__exit__` method to the callback " +"stack." msgstr "" msgid "" "As ``__enter__`` is *not* invoked, this method can be used to cover part of " -"an :meth:`__enter__` implementation with a context manager's own :meth:" -"`__exit__` method." +"an :meth:`~object.__enter__` implementation with a context manager's own :" +"meth:`~object.__exit__` method." msgstr "" msgid "" "If passed an object that is not a context manager, this method assumes it is " -"a callback with the same signature as a context manager's :meth:`__exit__` " -"method and adds it directly to the callback stack." +"a callback with the same signature as a context manager's :meth:`~object." +"__exit__` method and adds it directly to the callback stack." msgstr "" msgid "" "By returning true values, these callbacks can suppress exceptions the same " -"way context manager :meth:`__exit__` methods can." +"way context manager :meth:`~object.__exit__` methods can." msgstr "" msgid "" @@ -435,6 +725,17 @@ msgid "" "operation as follows::" msgstr "" +msgid "" +"with ExitStack() as stack:\n" +" files = [stack.enter_context(open(fname)) for fname in filenames]\n" +" # Hold onto the close method, but don't call it yet.\n" +" close_files = stack.pop_all().close\n" +" # If opening any file fails, all previously opened files will be\n" +" # closed automatically. If all files are opened successfully,\n" +" # they will remain open even after the with statement ends.\n" +" # close_files() can then be invoked explicitly to close them all." +msgstr "" + msgid "" "Immediately unwinds the callback stack, invoking callbacks in the reverse " "order of registration. For any context managers and exit callbacks " @@ -448,12 +749,13 @@ msgid "" msgstr "" msgid "" -"The :meth:`close` method is not implemented, :meth:`aclose` must be used " -"instead." +"The :meth:`~ExitStack.close` method is not implemented; :meth:`aclose` must " +"be used instead." msgstr "" msgid "" -"Similar to :meth:`enter_context` but expects an asynchronous context manager." +"Similar to :meth:`ExitStack.enter_context` but expects an asynchronous " +"context manager." msgstr "" msgid "" @@ -462,19 +764,28 @@ msgid "" msgstr "" msgid "" -"Similar to :meth:`push` but expects either an asynchronous context manager " -"or a coroutine function." +"Similar to :meth:`ExitStack.push` but expects either an asynchronous context " +"manager or a coroutine function." msgstr "" -msgid "Similar to :meth:`callback` but expects a coroutine function." +msgid "Similar to :meth:`ExitStack.callback` but expects a coroutine function." msgstr "" -msgid "Similar to :meth:`close` but properly handles awaitables." +msgid "Similar to :meth:`ExitStack.close` but properly handles awaitables." msgstr "" msgid "Continuing the example for :func:`asynccontextmanager`::" msgstr "" +msgid "" +"async with AsyncExitStack() as stack:\n" +" connections = [await stack.enter_async_context(get_connection())\n" +" for i in range(5)]\n" +" # All opened connections will automatically be released at the end of\n" +" # the async with statement, even if attempts to open a connection\n" +" # later in the list raise an exception." +msgstr "" + msgid "Examples and Recipes" msgstr "" @@ -495,6 +806,16 @@ msgid "" "of the context managers being optional::" msgstr "" +msgid "" +"with ExitStack() as stack:\n" +" for resource in resources:\n" +" stack.enter_context(resource)\n" +" if need_special_resource():\n" +" special = acquire_special_resource()\n" +" stack.callback(release_special_resource, special)\n" +" # Perform operations that use the acquired resources" +msgstr "" + msgid "" "As shown, :class:`ExitStack` also makes it quite easy to use :keyword:`with` " "statements to manage arbitrary resources that don't natively support the " @@ -512,6 +833,17 @@ msgid "" "be separated slightly in order to allow this::" msgstr "" +msgid "" +"stack = ExitStack()\n" +"try:\n" +" x = stack.enter_context(cm)\n" +"except Exception:\n" +" # handle __enter__ exception\n" +"else:\n" +" with stack:\n" +" # Handle normal case" +msgstr "" + msgid "" "Actually needing to do this is likely to indicate that the underlying API " "should be providing a direct resource management interface for use with :" @@ -528,7 +860,7 @@ msgstr "" msgid "" "As noted in the documentation of :meth:`ExitStack.push`, this method can be " "useful in cleaning up an already allocated resource if later steps in the :" -"meth:`__enter__` implementation fail." +"meth:`~object.__enter__` implementation fail." msgstr "" msgid "" @@ -537,6 +869,43 @@ msgid "" "function, and maps them to the context management protocol::" msgstr "" +msgid "" +"from contextlib import contextmanager, AbstractContextManager, ExitStack\n" +"\n" +"class ResourceManager(AbstractContextManager):\n" +"\n" +" def __init__(self, acquire_resource, release_resource, " +"check_resource_ok=None):\n" +" self.acquire_resource = acquire_resource\n" +" self.release_resource = release_resource\n" +" if check_resource_ok is None:\n" +" def check_resource_ok(resource):\n" +" return True\n" +" self.check_resource_ok = check_resource_ok\n" +"\n" +" @contextmanager\n" +" def _cleanup_on_error(self):\n" +" with ExitStack() as stack:\n" +" stack.push(self)\n" +" yield\n" +" # The validation check passed and didn't raise an exception\n" +" # Accordingly, we want to keep the resource, and pass it\n" +" # back to our caller\n" +" stack.pop_all()\n" +"\n" +" def __enter__(self):\n" +" resource = self.acquire_resource()\n" +" with self._cleanup_on_error():\n" +" if not self.check_resource_ok(resource):\n" +" msg = \"Failed validation for {!r}\"\n" +" raise RuntimeError(msg.format(resource))\n" +" return resource\n" +"\n" +" def __exit__(self, *exc_details):\n" +" # We don't need to duplicate any of our resource release logic\n" +" self.release_resource()" +msgstr "" + msgid "Replacing any use of ``try-finally`` and flag variables" msgstr "" @@ -547,6 +916,17 @@ msgid "" "by using an ``except`` clause instead), it looks something like this::" msgstr "" +msgid "" +"cleanup_needed = True\n" +"try:\n" +" result = perform_operation()\n" +" if result:\n" +" cleanup_needed = False\n" +"finally:\n" +" if cleanup_needed:\n" +" cleanup_resources()" +msgstr "" + msgid "" "As with any ``try`` statement based code, this can cause problems for " "development and review, because the setup code and the cleanup code can end " @@ -560,7 +940,17 @@ msgid "" msgstr "" msgid "" -"This allows the intended cleanup up behaviour to be made explicit up front, " +"from contextlib import ExitStack\n" +"\n" +"with ExitStack() as stack:\n" +" stack.callback(cleanup_resources)\n" +" result = perform_operation()\n" +" if result:\n" +" stack.pop_all()" +msgstr "" + +msgid "" +"This allows the intended cleanup behaviour to be made explicit up front, " "rather than requiring a separate flag variable." msgstr "" @@ -569,12 +959,41 @@ msgid "" "even further by means of a small helper class::" msgstr "" +msgid "" +"from contextlib import ExitStack\n" +"\n" +"class Callback(ExitStack):\n" +" def __init__(self, callback, /, *args, **kwds):\n" +" super().__init__()\n" +" self.callback(callback, *args, **kwds)\n" +"\n" +" def cancel(self):\n" +" self.pop_all()\n" +"\n" +"with Callback(cleanup_resources) as cb:\n" +" result = perform_operation()\n" +" if result:\n" +" cb.cancel()" +msgstr "" + msgid "" "If the resource cleanup isn't already neatly bundled into a standalone " "function, then it is still possible to use the decorator form of :meth:" "`ExitStack.callback` to declare the resource cleanup in advance::" msgstr "" +msgid "" +"from contextlib import ExitStack\n" +"\n" +"with ExitStack() as stack:\n" +" @stack.callback\n" +" def cleanup_resources():\n" +" ...\n" +" result = perform_operation()\n" +" if result:\n" +" stack.pop_all()" +msgstr "" + msgid "" "Due to the way the decorator protocol works, a callback function declared " "this way cannot take any parameters. Instead, any resources to be released " @@ -597,17 +1016,47 @@ msgid "" "in a single definition::" msgstr "" +msgid "" +"from contextlib import ContextDecorator\n" +"import logging\n" +"\n" +"logging.basicConfig(level=logging.INFO)\n" +"\n" +"class track_entry_and_exit(ContextDecorator):\n" +" def __init__(self, name):\n" +" self.name = name\n" +"\n" +" def __enter__(self):\n" +" logging.info('Entering: %s', self.name)\n" +"\n" +" def __exit__(self, exc_type, exc, exc_tb):\n" +" logging.info('Exiting: %s', self.name)" +msgstr "" + msgid "Instances of this class can be used as both a context manager::" msgstr "" +msgid "" +"with track_entry_and_exit('widget loader'):\n" +" print('Some time consuming activity goes here')\n" +" load_widget()" +msgstr "" + msgid "And also as a function decorator::" msgstr "" +msgid "" +"@track_entry_and_exit('widget loader')\n" +"def activity():\n" +" print('Some time consuming activity goes here')\n" +" load_widget()" +msgstr "" + msgid "" "Note that there is one additional limitation when using context managers as " "function decorators: there's no way to access the return value of :meth:" -"`__enter__`. If that value is needed, then it is still necessary to use an " -"explicit ``with`` statement." +"`~object.__enter__`. If that value is needed, then it is still necessary to " +"use an explicit ``with`` statement." msgstr "" msgid ":pep:`343` - The \"with\" statement" @@ -646,6 +1095,28 @@ msgid "" "to yield if an attempt is made to use them a second time::" msgstr "" +msgid "" +">>> from contextlib import contextmanager\n" +">>> @contextmanager\n" +"... def singleuse():\n" +"... print(\"Before\")\n" +"... yield\n" +"... print(\"After\")\n" +"...\n" +">>> cm = singleuse()\n" +">>> with cm:\n" +"... pass\n" +"...\n" +"Before\n" +"After\n" +">>> with cm:\n" +"... pass\n" +"...\n" +"Traceback (most recent call last):\n" +" ...\n" +"RuntimeError: generator didn't yield" +msgstr "" + msgid "Reentrant context managers" msgstr "" @@ -662,6 +1133,23 @@ msgid "" "very simple example of reentrant use::" msgstr "" +msgid "" +">>> from contextlib import redirect_stdout\n" +">>> from io import StringIO\n" +">>> stream = StringIO()\n" +">>> write_to_stream = redirect_stdout(stream)\n" +">>> with write_to_stream:\n" +"... print(\"This is written to the stream rather than stdout\")\n" +"... with write_to_stream:\n" +"... print(\"This is also written to the stream\")\n" +"...\n" +">>> print(\"This is written directly to stdout\")\n" +"This is written directly to stdout\n" +">>> print(stream.getvalue())\n" +"This is written to the stream rather than stdout\n" +"This is also written to the stream" +msgstr "" + msgid "" "Real world examples of reentrancy are more likely to involve multiple " "functions calling each other and hence be far more complicated than this " @@ -699,6 +1187,34 @@ msgid "" "any with statement, regardless of where those callbacks were added::" msgstr "" +msgid "" +">>> from contextlib import ExitStack\n" +">>> stack = ExitStack()\n" +">>> with stack:\n" +"... stack.callback(print, \"Callback: from first context\")\n" +"... print(\"Leaving first context\")\n" +"...\n" +"Leaving first context\n" +"Callback: from first context\n" +">>> with stack:\n" +"... stack.callback(print, \"Callback: from second context\")\n" +"... print(\"Leaving second context\")\n" +"...\n" +"Leaving second context\n" +"Callback: from second context\n" +">>> with stack:\n" +"... stack.callback(print, \"Callback: from outer context\")\n" +"... with stack:\n" +"... stack.callback(print, \"Callback: from inner context\")\n" +"... print(\"Leaving inner context\")\n" +"... print(\"Leaving outer context\")\n" +"...\n" +"Leaving inner context\n" +"Callback: from inner context\n" +"Callback: from outer context\n" +"Leaving outer context" +msgstr "" + msgid "" "As the output from the example shows, reusing a single stack object across " "multiple with statements works correctly, but attempting to nest them will " @@ -710,3 +1226,18 @@ msgid "" "Using separate :class:`ExitStack` instances instead of reusing a single " "instance avoids that problem::" msgstr "" + +msgid "" +">>> from contextlib import ExitStack\n" +">>> with ExitStack() as outer_stack:\n" +"... outer_stack.callback(print, \"Callback: from outer context\")\n" +"... with ExitStack() as inner_stack:\n" +"... inner_stack.callback(print, \"Callback: from inner context\")\n" +"... print(\"Leaving inner context\")\n" +"... print(\"Leaving outer context\")\n" +"...\n" +"Leaving inner context\n" +"Callback: from inner context\n" +"Leaving outer context\n" +"Callback: from outer context" +msgstr "" diff --git a/library/contextvars.po b/library/contextvars.po index 1bdba6d85..e5a72f0de 100644 --- a/library/contextvars.po +++ b/library/contextvars.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:57+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/copy.po b/library/copy.po index 44f5d05eb..2cf072f41 100644 --- a/library/copy.po +++ b/library/copy.po @@ -1,20 +1,20 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Maciej Olko , 2023 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:03+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -28,7 +28,7 @@ msgid ":mod:`!copy` --- Shallow and deep copy operations" msgstr "" msgid "**Source code:** :source:`Lib/copy.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/copy.py`" msgid "" "Assignment statements in Python do not copy objects, they create bindings " diff --git a/library/copyreg.po b/library/copyreg.po index e9b4f809f..a6fcd0e2a 100644 --- a/library/copyreg.po +++ b/library/copyreg.po @@ -1,20 +1,20 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Maciej Olko , 2023 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:03+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -28,7 +28,7 @@ msgid ":mod:`!copyreg` --- Register :mod:`!pickle` support functions" msgstr "" msgid "**Source code:** :source:`Lib/copyreg.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/copyreg.py`" msgid "" "The :mod:`copyreg` module offers a way to define functions used while " diff --git a/library/csv.po b/library/csv.po index 43927b19d..aaccc4eee 100644 --- a/library/csv.po +++ b/library/csv.po @@ -1,20 +1,20 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Maciej Olko , 2021 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:03+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -28,7 +28,7 @@ msgid ":mod:`!csv` --- CSV File Reading and Writing" msgstr "" msgid "**Source code:** :source:`Lib/csv.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/csv.py`" msgid "" "The so-called CSV (Comma Separated Values) format is the most common import " @@ -86,9 +86,9 @@ msgstr "" msgid "" "Each row read from the csv file is returned as a list of strings. No " -"automatic data type conversion is performed unless the ``QUOTE_NONNUMERIC`` " -"format option is specified (in which case unquoted fields are transformed " -"into floats)." +"automatic data type conversion is performed unless the :data:" +"`QUOTE_NONNUMERIC` format option is specified (in which case unquoted fields " +"are transformed into floats)." msgstr "" msgid "A short usage example::" @@ -342,23 +342,32 @@ msgstr "" msgid "" "Instructs :class:`writer` objects to only quote those fields which contain " -"special characters such as *delimiter*, *quotechar* or any of the characters " -"in *lineterminator*." +"special characters such as *delimiter*, *quotechar*, ``'\\r'``, ``'\\n'`` or " +"any of the characters in *lineterminator*." msgstr "" msgid "Instructs :class:`writer` objects to quote all non-numeric fields." msgstr "" msgid "" -"Instructs :class:`reader` objects to convert all non-quoted fields to type " -"*float*." +"Instructs :class:`reader` objects to convert all non-quoted fields to type :" +"class:`float`." +msgstr "" + +msgid "" +"Some numeric types, such as :class:`bool`, :class:`~fractions.Fraction`, or :" +"class:`~enum.IntEnum`, have a string representation that cannot be converted " +"to :class:`float`. They cannot be read in the :data:`QUOTE_NONNUMERIC` and :" +"data:`QUOTE_STRINGS` modes." msgstr "" msgid "" -"Instructs :class:`writer` objects to never quote fields. When the current " -"*delimiter* occurs in output data it is preceded by the current *escapechar* " -"character. If *escapechar* is not set, the writer will raise :exc:`Error` " -"if any characters that require escaping are encountered." +"Instructs :class:`writer` objects to never quote fields. When the current " +"*delimiter*, *quotechar*, *escapechar*, ``'\\r'``, ``'\\n'`` or any of the " +"characters in *lineterminator* occurs in output data it is preceded by the " +"current *escapechar* character. If *escapechar* is not set, the writer will " +"raise :exc:`Error` if any characters that require escaping are encountered. " +"Set *quotechar* to ``None`` to prevent its escaping." msgstr "" msgid "" @@ -429,11 +438,25 @@ msgid "" msgstr "" msgid "" -"A one-character string used by the writer to escape the *delimiter* if " -"*quoting* is set to :const:`QUOTE_NONE` and the *quotechar* if *doublequote* " -"is :const:`False`. On reading, the *escapechar* removes any special meaning " -"from the following character. It defaults to :const:`None`, which disables " -"escaping." +"A one-character string used by the writer to escape characters that require " +"escaping:" +msgstr "" + +msgid "" +"the *delimiter*, the *quotechar*, ``'\\r'``, ``'\\n'`` and any of the " +"characters in *lineterminator* are escaped if *quoting* is set to :const:" +"`QUOTE_NONE`;" +msgstr "" + +msgid "the *quotechar* is escaped if *doublequote* is :const:`False`;" +msgstr "" + +msgid "the *escapechar* itself." +msgstr "" + +msgid "" +"On reading, the *escapechar* removes any special meaning from the following " +"character. It defaults to :const:`None`, which disables escaping." msgstr "" msgid "An empty *escapechar* is not allowed." @@ -452,8 +475,10 @@ msgstr "" msgid "" "A one-character string used to quote fields containing special characters, " -"such as the *delimiter* or *quotechar*, or which contain new-line " -"characters. It defaults to ``'\"'``." +"such as the *delimiter* or the *quotechar*, or which contain new-line " +"characters (``'\\r'``, ``'\\n'`` or any of the characters in " +"*lineterminator*). It defaults to ``'\"'``. Can be set to ``None`` to " +"prevent escaping ``'\"'`` if *quoting* is set to :const:`QUOTE_NONE`." msgstr "" msgid "An empty *quotechar* is not allowed." @@ -462,7 +487,8 @@ msgstr "" msgid "" "Controls when quotes should be generated by the writer and recognised by the " "reader. It can take on any of the :ref:`QUOTE_\\* constants ` and defaults to :const:`QUOTE_MINIMAL`." +"constants>` and defaults to :const:`QUOTE_MINIMAL` if *quotechar* is not " +"``None``, and :const:`QUOTE_NONE` otherwise." msgstr "" msgid "" @@ -637,7 +663,7 @@ msgid "" " for row in reader:\n" " print(row)\n" " except csv.Error as e:\n" -" sys.exit('file {}, line {}: {}'.format(filename, reader.line_num, e))" +" sys.exit(f'file {filename}, line {reader.line_num}: {e}')" msgstr "" msgid "" diff --git a/library/ctypes.po b/library/ctypes.po index c0a4ce716..eb9b860d8 100644 --- a/library/ctypes.po +++ b/library/ctypes.po @@ -5,17 +5,17 @@ # # Translators: # Maciej Olko , 2021 -# Stan Ulbrych, 2025 # Rafael Fontenelle , 2025 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:03+0000\n" -"Last-Translator: Rafael Fontenelle , 2025\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -29,7 +29,7 @@ msgid ":mod:`!ctypes` --- A foreign function library for Python" msgstr "" msgid "**Source code:** :source:`Lib/ctypes`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/ctypes`" msgid "" ":mod:`ctypes` is a foreign function library for Python. It provides C " @@ -332,7 +332,7 @@ msgid ":class:`c_ubyte`" msgstr ":class:`c_ubyte`" msgid ":c:expr:`unsigned char`" -msgstr "" +msgstr ":c:expr:`unsigned char`" msgid ":class:`c_short`" msgstr ":class:`c_short`" @@ -344,7 +344,7 @@ msgid ":class:`c_ushort`" msgstr ":class:`c_ushort`" msgid ":c:expr:`unsigned short`" -msgstr "" +msgstr ":c:expr:`unsigned short`" msgid ":class:`c_int`" msgstr ":class:`c_int`" @@ -356,7 +356,7 @@ msgid ":class:`c_uint`" msgstr ":class:`c_uint`" msgid ":c:expr:`unsigned int`" -msgstr "" +msgstr ":c:expr:`unsigned int`" msgid ":class:`c_long`" msgstr ":class:`c_long`" @@ -368,7 +368,7 @@ msgid ":class:`c_ulong`" msgstr ":class:`c_ulong`" msgid ":c:expr:`unsigned long`" -msgstr "" +msgstr ":c:expr:`unsigned long`" msgid ":class:`c_longlong`" msgstr ":class:`c_longlong`" @@ -419,7 +419,7 @@ msgid ":class:`c_longdouble`" msgstr ":class:`c_longdouble`" msgid ":c:expr:`long double`" -msgstr "" +msgstr ":c:expr:`long double`" msgid ":class:`c_char_p`" msgstr ":class:`c_char_p`" @@ -443,7 +443,7 @@ msgid ":class:`c_void_p`" msgstr ":class:`c_void_p`" msgid ":c:expr:`void *`" -msgstr "" +msgstr ":c:expr:`void *`" msgid "int or ``None``" msgstr "" @@ -458,22 +458,22 @@ msgid "" msgstr "" msgid ":class:`c_float_complex`" -msgstr "" +msgstr ":class:`c_float_complex`" msgid ":c:expr:`float complex`" -msgstr "" +msgstr ":c:expr:`float complex`" msgid "complex" msgstr "" msgid ":class:`c_double_complex`" -msgstr "" +msgstr ":class:`c_double_complex`" msgid ":c:expr:`double complex`" -msgstr "" +msgstr ":c:expr:`double complex`" msgid ":class:`c_longdouble_complex`" -msgstr "" +msgstr ":class:`c_longdouble_complex`" msgid ":c:expr:`long double complex`" msgstr "" @@ -1013,10 +1013,17 @@ msgid "" "... (\"second_16\", c_int, 16)]\n" "...\n" ">>> print(Int.first_16)\n" -"\n" +"\n" ">>> print(Int.second_16)\n" -"\n" -">>>" +"" +msgstr "" + +msgid "" +"It is important to note that bit field allocation and layout in memory are " +"not defined as a C standard; their implementation is compiler-specific. By " +"default, Python will attempt to match the behavior of a \"native\" compiler " +"for the current platform. See the :attr:`~Structure._layout_` attribute for " +"details on the default behavior and how to change it." msgstr "" msgid "Arrays" @@ -1247,7 +1254,7 @@ msgid "Thread safety without the GIL" msgstr "" msgid "" -"In Python 3.13, the :term:`GIL` may be disabled on :term:`experimental free " +"From Python 3.13 onward, the :term:`GIL` can be disabled on :term:`free " "threaded ` builds. In ctypes, reads and writes to a single " "object concurrently is safe, but not across multiple objects:" msgstr "" @@ -2595,16 +2602,46 @@ msgid "" msgstr "" msgid "" -"*init_or_size* must be an integer which specifies the size of the array, or " -"a bytes object which will be used to initialize the array items." +"If *size* is given (and not ``None``), it must be an :class:`int`. It " +"specifies the size of the returned array." msgstr "" msgid "" -"If a bytes object is specified as first argument, the buffer is made one " -"item larger than its length so that the last element in the array is a NUL " -"termination character. An integer can be passed as second argument which " -"allows specifying the size of the array if the length of the bytes should " -"not be used." +"If the *init* argument is given, it must be :class:`bytes`. It is used to " +"initialize the array items. Bytes not initialized this way are set to zero " +"(NUL)." +msgstr "" + +msgid "" +"If *size* is not given (or if it is ``None``), the buffer is made one " +"element larger than *init*, effectively adding a NUL terminator." +msgstr "" + +msgid "" +"If both arguments are given, *size* must not be less than ``len(init)``." +msgstr "" + +msgid "" +"If *size* is equal to ``len(init)``, a NUL terminator is not added. Do not " +"treat such a buffer as a C string." +msgstr "" + +msgid "For example::" +msgstr "Dla przykładu::" + +msgid "" +">>> bytes(create_string_buffer(2))\n" +"b'\\x00\\x00'\n" +">>> bytes(create_string_buffer(b'ab'))\n" +"b'ab\\x00'\n" +">>> bytes(create_string_buffer(b'ab', 2))\n" +"b'ab'\n" +">>> bytes(create_string_buffer(b'ab', 4))\n" +"b'ab\\x00\\x00'\n" +">>> bytes(create_string_buffer(b'abcdef', 2))\n" +"Traceback (most recent call last):\n" +" ...\n" +"ValueError: byte string too long" msgstr "" msgid "" @@ -2618,16 +2655,8 @@ msgid "" msgstr "" msgid "" -"*init_or_size* must be an integer which specifies the size of the array, or " -"a string which will be used to initialize the array items." -msgstr "" - -msgid "" -"If a string is specified as first argument, the buffer is made one item " -"larger than the length of the string so that the last element in the array " -"is a NUL termination character. An integer can be passed as second argument " -"which allows specifying the size of the array if the length of the string " -"should not be used." +"The function takes the same arguments as :func:`~create_string_buffer` " +"except *init* must be a string and *size* counts :class:`c_wchar`." msgstr "" msgid "" @@ -3471,7 +3500,7 @@ msgstr "" msgid "" "True if this field is anonymous, that is, it contains nested sub-fields that " -"should be be merged into a containing structure or union." +"should be merged into a containing structure or union." msgstr "" msgid "Arrays and pointers" diff --git a/library/curses.ascii.po b/library/curses.ascii.po index e523a7bcb..1c6763dd9 100644 --- a/library/curses.ascii.po +++ b/library/curses.ascii.po @@ -1,19 +1,20 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Maciej Olko , 2021 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:03+0000\n" -"Last-Translator: Maciej Olko , 2021\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,7 +28,7 @@ msgid ":mod:`!curses.ascii` --- Utilities for ASCII characters" msgstr "" msgid "**Source code:** :source:`Lib/curses/ascii.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/curses/ascii.py`" msgid "" "The :mod:`curses.ascii` module supplies name constants for ASCII characters " diff --git a/library/curses.panel.po b/library/curses.panel.po index bdbfcf718..0e928ec70 100644 --- a/library/curses.panel.po +++ b/library/curses.panel.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:03+0000\n" "Last-Translator: Maciej Olko , 2021\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/curses.po b/library/curses.po index 775ac067d..1d548b8ad 100644 --- a/library/curses.po +++ b/library/curses.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:03+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -29,7 +29,7 @@ msgid ":mod:`!curses` --- Terminal handling for character-cell displays" msgstr "" msgid "**Source code:** :source:`Lib/curses`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/curses`" msgid "" "The :mod:`curses` module provides an interface to the curses library, the de-" @@ -967,7 +967,11 @@ msgid "" msgstr "" msgid "" -"Read a bytes object from the user, with primitive line editing capacity." +"Read a bytes object from the user, with primitive line editing capacity. The " +"maximum value for *n* is 2047." +msgstr "" + +msgid "The maximum value for *n* was increased from 1023 to 2047." msgstr "" msgid "" @@ -1043,7 +1047,8 @@ msgid "" "Return a bytes object of characters, extracted from the window starting at " "the current cursor position, or at *y*, *x* if specified. Attributes are " "stripped from the characters. If *n* is specified, :meth:`instr` returns a " -"string at most *n* characters long (exclusive of the trailing NUL)." +"string at most *n* characters long (exclusive of the trailing NUL). The " +"maximum value for *n* is 2047." msgstr "" msgid "" diff --git a/library/datatypes.po b/library/datatypes.po index 75891a727..d1b1ebafc 100644 --- a/library/datatypes.po +++ b/library/datatypes.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:04+0000\n" "Last-Translator: Maciej Olko , 2022\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/datetime.po b/library/datetime.po index b4a3d6e8c..f8461c689 100644 --- a/library/datetime.po +++ b/library/datetime.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-16 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:04+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -30,7 +30,7 @@ msgid ":mod:`!datetime` --- Basic date and time types" msgstr "" msgid "**Source code:** :source:`Lib/datetime.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/datetime.py`" msgid "" "The :mod:`!datetime` module supplies classes for manipulating dates and " @@ -2916,7 +2916,7 @@ msgid "``strptime``" msgstr "``strptime``" msgid "Usage" -msgstr "" +msgstr "Użytek" msgid "Convert object to a string according to a given format" msgstr "" @@ -3019,7 +3019,7 @@ msgid "01, 02, ..., 31" msgstr "" msgid "\\(9)" -msgstr "" +msgstr "\\(9)" msgid "``%b``" msgstr "``%b``" @@ -3144,7 +3144,7 @@ msgid "(empty), +0000, -0400, +1030, +063415, -030712.345216" msgstr "" msgid "\\(6)" -msgstr "" +msgstr "\\(6)" msgid "``%Z``" msgstr "``%Z``" @@ -3250,7 +3250,7 @@ msgid "" msgstr "" msgid "\\(8)" -msgstr "" +msgstr "\\(8)" msgid "``%u``" msgstr "``%u``" diff --git a/library/dbm.po b/library/dbm.po index 9586781b0..6030d915b 100644 --- a/library/dbm.po +++ b/library/dbm.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:04+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!dbm` --- Interfaces to Unix \"databases\"" msgstr "" msgid "**Source code:** :source:`Lib/dbm/__init__.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/dbm/__init__.py`" msgid ":mod:`dbm` is a generic interface to variants of the DBM database:" msgstr "" @@ -109,13 +109,13 @@ msgid "``'r'`` (default): |flag_r|" msgstr "" msgid "``'w'``: |flag_w|" -msgstr "" +msgstr "``'w'``: |flag_w|" msgid "``'c'``: |flag_c|" -msgstr "" +msgstr "``'c'``: |flag_c|" msgid "``'n'``: |flag_n|" -msgstr "" +msgstr "``'n'``: |flag_n|" msgid "|mode_param_doc|" msgstr "" @@ -201,7 +201,7 @@ msgid ":mod:`dbm.sqlite3` --- SQLite backend for dbm" msgstr "" msgid "**Source code:** :source:`Lib/dbm/sqlite3.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/dbm/sqlite3.py`" msgid "" "This module uses the standard library :mod:`sqlite3` module to provide an " @@ -236,7 +236,7 @@ msgid ":mod:`dbm.gnu` --- GNU database manager" msgstr "" msgid "**Source code:** :source:`Lib/dbm/gnu.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/dbm/gnu.py`" msgid "" "The :mod:`dbm.gnu` module provides an interface to the :abbr:`GDBM (GNU " @@ -357,7 +357,7 @@ msgid ":mod:`dbm.ndbm` --- New Database Manager" msgstr "" msgid "**Source code:** :source:`Lib/dbm/ndbm.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/dbm/ndbm.py`" msgid "" "The :mod:`dbm.ndbm` module provides an interface to the :abbr:`NDBM (New " @@ -408,7 +408,7 @@ msgid ":mod:`dbm.dumb` --- Portable DBM implementation" msgstr "" msgid "**Source code:** :source:`Lib/dbm/dumb.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/dbm/dumb.py`" msgid "" "The :mod:`dbm.dumb` module is intended as a last resort fallback for the :" @@ -461,7 +461,7 @@ msgid "" msgstr "" msgid "``'r'``: |flag_r|" -msgstr "" +msgstr "``'r'``: |flag_r|" msgid "``'c'`` (default): |flag_c|" msgstr "" diff --git a/library/debug.po b/library/debug.po index 28bfb6699..7c19f29bd 100644 --- a/library/debug.po +++ b/library/debug.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:04+0000\n" "Last-Translator: Stefan Ocetkiewicz , 2021\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/decimal.po b/library/decimal.po index d9ee37dc2..4ae71d0f0 100644 --- a/library/decimal.po +++ b/library/decimal.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:04+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -29,7 +29,7 @@ msgid ":mod:`!decimal` --- Decimal fixed-point and floating-point arithmetic" msgstr "" msgid "**Source code:** :source:`Lib/decimal.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/decimal.py`" msgid "" "The :mod:`decimal` module provides support for fast correctly rounded " @@ -136,7 +136,7 @@ msgid "" "Arithmetic Specification `_." msgstr "" -msgid "Quick-start Tutorial" +msgid "Quick-start tutorial" msgstr "" msgid "" @@ -1204,43 +1204,40 @@ msgid "" msgstr "" msgid "" -"*prec* is an integer in the range [``1``, :const:`MAX_PREC`] that sets the " -"precision for arithmetic operations in the context." +"An integer in the range [``1``, :const:`MAX_PREC`] that sets the precision " +"for arithmetic operations in the context." msgstr "" -msgid "" -"The *rounding* option is one of the constants listed in the section " -"`Rounding Modes`_." +msgid "One of the constants listed in the section `Rounding Modes`_." msgstr "" msgid "" -"The *traps* and *flags* fields list any signals to be set. Generally, new " -"contexts should only set traps and leave the flags clear." +"Lists of any signals to be set. Generally, new contexts should only set " +"traps and leave the flags clear." msgstr "" msgid "" -"The *Emin* and *Emax* fields are integers specifying the outer limits " -"allowable for exponents. *Emin* must be in the range [:const:`MIN_EMIN`, " -"``0``], *Emax* in the range [``0``, :const:`MAX_EMAX`]." +"Integers specifying the outer limits allowable for exponents. *Emin* must be " +"in the range [:const:`MIN_EMIN`, ``0``], *Emax* in the range [``0``, :const:" +"`MAX_EMAX`]." msgstr "" msgid "" -"The *capitals* field is either ``0`` or ``1`` (the default). If set to " -"``1``, exponents are printed with a capital ``E``; otherwise, a lowercase " -"``e`` is used: ``Decimal('6.02e+23')``." +"Either ``0`` or ``1`` (the default). If set to ``1``, exponents are printed " +"with a capital ``E``; otherwise, a lowercase ``e`` is used: " +"``Decimal('6.02e+23')``." msgstr "" msgid "" -"The *clamp* field is either ``0`` (the default) or ``1``. If set to ``1``, " -"the exponent ``e`` of a :class:`Decimal` instance representable in this " -"context is strictly limited to the range ``Emin - prec + 1 <= e <= Emax - " -"prec + 1``. If *clamp* is ``0`` then a weaker condition holds: the adjusted " -"exponent of the :class:`Decimal` instance is at most :attr:`~Context.Emax`. " -"When *clamp* is ``1``, a large normal number will, where possible, have its " -"exponent reduced and a corresponding number of zeros added to its " -"coefficient, in order to fit the exponent constraints; this preserves the " -"value of the number but loses information about significant trailing zeros. " -"For example::" +"Either ``0`` (the default) or ``1``. If set to ``1``, the exponent ``e`` of " +"a :class:`Decimal` instance representable in this context is strictly " +"limited to the range ``Emin - prec + 1 <= e <= Emax - prec + 1``. If *clamp* " +"is ``0`` then a weaker condition holds: the adjusted exponent of the :class:" +"`Decimal` instance is at most :attr:`~Context.Emax`. When *clamp* is ``1``, " +"a large normal number will, where possible, have its exponent reduced and a " +"corresponding number of zeros added to its coefficient, in order to fit the " +"exponent constraints; this preserves the value of the number but loses " +"information about significant trailing zeros. For example::" msgstr "" msgid "" @@ -1577,10 +1574,10 @@ msgid "" msgstr "" msgid "32-bit" -msgstr "" +msgstr "32-bit" msgid "64-bit" -msgstr "" +msgstr "64-bit" msgid "``425000000``" msgstr "``425000000``" @@ -1601,10 +1598,10 @@ msgid "``-1999999999999999997``" msgstr "``-1999999999999999997``" msgid "``256``" -msgstr "" +msgstr "``256``" msgid "``512``" -msgstr "" +msgstr "``512``" msgid "" "The value is ``True``. Deprecated, because Python now always has threads." @@ -1791,7 +1788,7 @@ msgid "" " FloatOperation(DecimalException, exceptions.TypeError)" msgstr "" -msgid "Floating-Point Notes" +msgid "Floating-point notes" msgstr "" msgid "Mitigating round-off error with increased precision" diff --git a/library/devmode.po b/library/devmode.po index b158ea98e..7d749a226 100644 --- a/library/devmode.po +++ b/library/devmode.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:04+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/difflib.po b/library/difflib.po index bfc3e48ad..74ea281b7 100644 --- a/library/difflib.po +++ b/library/difflib.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:04+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!difflib` --- Helpers for computing deltas" msgstr "" msgid "**Source code:** :source:`Lib/difflib.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/difflib.py`" msgid "" "This module provides classes and functions for comparing sequences. It can " diff --git a/library/dis.po b/library/dis.po index 18238e30b..eb005d34f 100644 --- a/library/dis.po +++ b/library/dis.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:04+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -29,7 +29,7 @@ msgid ":mod:`!dis` --- Disassembler for Python bytecode" msgstr "" msgid "**Source code:** :source:`Lib/dis.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/dis.py`" msgid "" "The :mod:`dis` module supports the analysis of CPython :term:`bytecode` by " @@ -981,11 +981,6 @@ msgid "" "Pushes the integer ``i`` onto the stack. ``i`` must be in ``range(256)``" msgstr "" -msgid "" -"Pushes ``co_consts[consti]`` onto the stack. Can be used when the constant " -"value is known to be immortal." -msgstr "" - msgid "" "Pushes the value associated with ``co_names[namei]`` onto the stack. The " "name is looked up within the locals, then the globals, then the builtins." diff --git a/library/doctest.po b/library/doctest.po index 76730639c..996755b08 100644 --- a/library/doctest.po +++ b/library/doctest.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:04+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -29,7 +29,7 @@ msgid ":mod:`!doctest` --- Test interactive Python examples" msgstr "" msgid "**Source code:** :source:`Lib/doctest.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/doctest.py`" msgid "" "The :mod:`doctest` module searches for pieces of text that look like " @@ -227,8 +227,8 @@ msgstr "" msgid "" "You can force verbose mode by passing ``verbose=True`` to :func:`testmod`, " -"or prohibit it by passing ``verbose=False``. In either of those cases, " -"``sys.argv`` is not examined by :func:`testmod` (so passing ``-v`` or not " +"or prohibit it by passing ``verbose=False``. In either of those cases, :" +"data:`sys.argv` is not examined by :func:`testmod` (so passing ``-v`` or not " "has no effect)." msgstr "" @@ -299,7 +299,7 @@ msgid "" "As with :func:`testmod`, :func:`testfile` won't display anything unless an " "example fails. If an example does fail, then the failing example(s) and the " "cause(s) of the failure(s) are printed to stdout, using the same format as :" -"func:`testmod`." +"func:`!testmod`." msgstr "" msgid "" @@ -669,7 +669,7 @@ msgid "" "The interactive shell omits the traceback header line for some :exc:" "`SyntaxError`\\ s. But doctest uses the traceback header line to " "distinguish exceptions from non-exceptions. So in the rare case where you " -"need to test a :exc:`SyntaxError` that omits the traceback header, you will " +"need to test a :exc:`!SyntaxError` that omits the traceback header, you will " "need to manually add the traceback header line to your test example." msgstr "" @@ -1022,17 +1022,17 @@ msgstr "" msgid "" "Floating-point numbers are also subject to small output variations across " -"platforms, because Python defers to the platform C library for float " -"formatting, and C libraries vary widely in quality here. ::" +"platforms, because Python defers to the platform C library for some floating-" +"point calculations, and C libraries vary widely in quality here. ::" msgstr "" msgid "" -">>> 1./7 # risky\n" -"0.14285714285714285\n" -">>> print(1./7) # safer\n" -"0.142857142857\n" -">>> print(round(1./7, 6)) # much safer\n" -"0.142857" +">>> 1000**0.1 # risky\n" +"1.9952623149688797\n" +">>> round(1000**0.1, 9) # safer\n" +"1.995262315\n" +">>> print(f'{1000**0.1:.4f}') # much safer\n" +"1.9953" msgstr "" msgid "" @@ -1125,7 +1125,7 @@ msgstr "" msgid "" "Optional argument *verbose* prints lots of stuff if true, and prints only " "failures if false; by default, or if ``None``, it's true if and only if ``'-" -"v'`` is in ``sys.argv``." +"v'`` is in :data:`sys.argv`." msgstr "" msgid "" @@ -1135,8 +1135,8 @@ msgid "" msgstr "" msgid "" -"Optional argument *optionflags* (default value 0) takes the :ref:`bitwise OR " -"` of option flags. See section :ref:`doctest-options`." +"Optional argument *optionflags* (default value ``0``) takes the :ref:" +"`bitwise OR ` of option flags. See section :ref:`doctest-options`." msgstr "" msgid "" @@ -1270,8 +1270,8 @@ msgstr "" msgid "" "The returned :class:`unittest.TestSuite` is to be run by the unittest " "framework and runs the interactive examples in each file. If an example in " -"any file fails, then the synthesized unit test fails, and a :exc:" -"`failureException` exception is raised showing the name of the file " +"any file fails, then the synthesized unit test fails, and a :exc:`~unittest." +"TestCase.failureException` exception is raised showing the name of the file " "containing the test and a (sometimes approximate) line number. If all the " "examples in a file are skipped, then the synthesized unit test is also " "marked as skipped." @@ -1316,15 +1316,16 @@ msgstr "" msgid "" "Optional argument *setUp* specifies a set-up function for the test suite. " "This is called before running the tests in each file. The *setUp* function " -"will be passed a :class:`DocTest` object. The setUp function can access the " -"test globals as the *globs* attribute of the test passed." +"will be passed a :class:`DocTest` object. The *setUp* function can access " +"the test globals as the :attr:`~DocTest.globs` attribute of the test passed." msgstr "" msgid "" "Optional argument *tearDown* specifies a tear-down function for the test " "suite. This is called after running the tests in each file. The *tearDown* " -"function will be passed a :class:`DocTest` object. The setUp function can " -"access the test globals as the *globs* attribute of the test passed." +"function will be passed a :class:`DocTest` object. The *tearDown* function " +"can access the test globals as the :attr:`~DocTest.globs` attribute of the " +"test passed." msgstr "" msgid "" @@ -1350,11 +1351,12 @@ msgstr "" msgid "" "The returned :class:`unittest.TestSuite` is to be run by the unittest " -"framework and runs each doctest in the module. If any of the doctests fail, " -"then the synthesized unit test fails, and a :exc:`failureException` " -"exception is raised showing the name of the file containing the test and a " -"(sometimes approximate) line number. If all the examples in a docstring are " -"skipped, then the synthesized unit test is also marked as skipped." +"framework and runs each doctest in the module. Each docstring is run as a " +"separate unit test. If any of the doctests fail, then the synthesized unit " +"test fails, and a :exc:`unittest.TestCase.failureException` exception is " +"raised showing the name of the file containing the test and a (sometimes " +"approximate) line number. If all the examples in a docstring are skipped, " +"then the" msgstr "" msgid "" @@ -1363,6 +1365,12 @@ msgid "" "module calling this function is used." msgstr "" +msgid "" +"Optional argument *globs* is a dictionary containing the initial global " +"variables for the tests. A new copy of this dictionary is created for each " +"test. By default, *globs* is the module's :attr:`~module.__dict__`." +msgstr "" + msgid "" "Optional argument *extraglobs* specifies an extra set of global variables, " "which is merged into *globs*. By default, no extra globals are used." @@ -1375,7 +1383,8 @@ msgstr "" msgid "" "Optional arguments *setUp*, *tearDown*, and *optionflags* are the same as " -"for function :func:`DocFileSuite` above." +"for function :func:`DocFileSuite` above, but they are called for each " +"docstring." msgstr "" msgid "This function uses the same search technique as :func:`testmod`." @@ -1386,13 +1395,6 @@ msgid "" "*module* contains no docstrings instead of raising :exc:`ValueError`." msgstr "" -msgid "" -"When doctests which have been converted to unit tests by :func:" -"`DocFileSuite` or :func:`DocTestSuite` fail, this exception is raised " -"showing the name of the file containing the test and a (sometimes " -"approximate) line number." -msgstr "" - msgid "" "Under the covers, :func:`DocTestSuite` creates a :class:`unittest.TestSuite` " "out of :class:`!doctest.DocTestCase` instances, and :class:`!DocTestCase` is " @@ -1410,17 +1412,17 @@ msgstr "" msgid "" "So both ways of creating a :class:`unittest.TestSuite` run instances of :" "class:`!DocTestCase`. This is important for a subtle reason: when you run :" -"mod:`doctest` functions yourself, you can control the :mod:`doctest` options " -"in use directly, by passing option flags to :mod:`doctest` functions. " -"However, if you're writing a :mod:`unittest` framework, :mod:`unittest` " -"ultimately controls when and how tests get run. The framework author " -"typically wants to control :mod:`doctest` reporting options (perhaps, e.g., " -"specified by command line options), but there's no way to pass options " -"through :mod:`unittest` to :mod:`doctest` test runners." +"mod:`doctest` functions yourself, you can control the :mod:`!doctest` " +"options in use directly, by passing option flags to :mod:`!doctest` " +"functions. However, if you're writing a :mod:`unittest` framework, :mod:`!" +"unittest` ultimately controls when and how tests get run. The framework " +"author typically wants to control :mod:`!doctest` reporting options " +"(perhaps, e.g., specified by command line options), but there's no way to " +"pass options through :mod:`!unittest` to :mod:`!doctest` test runners." msgstr "" msgid "" -"For this reason, :mod:`doctest` also supports a notion of :mod:`doctest` " +"For this reason, :mod:`doctest` also supports a notion of :mod:`!doctest` " "reporting flags specific to :mod:`unittest` support, via this function:" msgstr "" @@ -1437,12 +1439,12 @@ msgid "" "module :mod:`unittest`: the :meth:`!runTest` method of :class:`!" "DocTestCase` looks at the option flags specified for the test case when the :" "class:`!DocTestCase` instance was constructed. If no reporting flags were " -"specified (which is the typical and expected case), :mod:`!doctest`'s :mod:" -"`unittest` reporting flags are :ref:`bitwise ORed ` into the option " +"specified (which is the typical and expected case), :mod:`!doctest`'s :mod:`!" +"unittest` reporting flags are :ref:`bitwise ORed ` into the option " "flags, and the option flags so augmented are passed to the :class:" "`DocTestRunner` instance created to run the doctest. If any reporting flags " "were specified when the :class:`!DocTestCase` instance was constructed, :mod:" -"`!doctest`'s :mod:`unittest` reporting flags are ignored." +"`!doctest`'s :mod:`!unittest` reporting flags are ignored." msgstr "" msgid "" @@ -1550,7 +1552,7 @@ msgstr "" msgid "" "The name of the file that this :class:`DocTest` was extracted from; or " -"``None`` if the filename is unknown, or if the :class:`DocTest` was not " +"``None`` if the filename is unknown, or if the :class:`!DocTest` was not " "extracted from a file." msgstr "" @@ -1696,10 +1698,10 @@ msgstr "" msgid "" "The globals for each :class:`DocTest` is formed by combining *globs* and " "*extraglobs* (bindings in *extraglobs* override bindings in *globs*). A new " -"shallow copy of the globals dictionary is created for each :class:`DocTest`. " -"If *globs* is not specified, then it defaults to the module's *__dict__*, if " -"specified, or ``{}`` otherwise. If *extraglobs* is not specified, then it " -"defaults to ``{}``." +"shallow copy of the globals dictionary is created for each :class:`!" +"DocTest`. If *globs* is not specified, then it defaults to the module's :" +"attr:`~module.__dict__`, if specified, or ``{}`` otherwise. If *extraglobs* " +"is not specified, then it defaults to ``{}``." msgstr "" msgid "DocTestParser objects" @@ -1720,7 +1722,7 @@ msgstr "" msgid "" "*globs*, *name*, *filename*, and *lineno* are attributes for the new :class:" -"`DocTest` object. See the documentation for :class:`DocTest` for more " +"`!DocTest` object. See the documentation for :class:`DocTest` for more " "information." msgstr "" @@ -1734,7 +1736,7 @@ msgstr "" msgid "" "Divide the given string into examples and intervening text, and return them " "as a list of alternating :class:`Example`\\ s and strings. Line numbers for " -"the :class:`Example`\\ s are 0-based. The optional argument *name* is a " +"the :class:`!Example`\\ s are 0-based. The optional argument *name* is a " "name identifying this string, and is only used for error messages." msgstr "" @@ -1763,7 +1765,7 @@ msgid "" "class:`OutputChecker`. This comparison may be customized with a number of " "option flags; see section :ref:`doctest-options` for more information. If " "the option flags are insufficient, then the comparison may also be " -"customized by passing a subclass of :class:`OutputChecker` to the " +"customized by passing a subclass of :class:`!OutputChecker` to the " "constructor." msgstr "" @@ -1815,7 +1817,7 @@ msgstr "" msgid "" "*example* is the example about to be processed. *test* is the test " -"*containing example*. *out* is the output function that was passed to :meth:" +"containing *example*. *out* is the output function that was passed to :meth:" "`DocTestRunner.run`." msgstr "" @@ -2249,8 +2251,8 @@ msgid "" msgstr "" msgid "" -"Define a ``__test__`` dictionary mapping from regression test topics to " -"docstrings containing test cases." +"Define a :attr:`~module.__test__` dictionary mapping from regression test " +"topics to docstrings containing test cases." msgstr "" msgid "" diff --git a/library/email.contentmanager.po b/library/email.contentmanager.po index 63ebe7cf7..ef22c15d1 100644 --- a/library/email.contentmanager.po +++ b/library/email.contentmanager.po @@ -1,19 +1,20 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Maciej Olko , 2021 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:04+0000\n" -"Last-Translator: Maciej Olko , 2021\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,10 +28,10 @@ msgid ":mod:`!email.contentmanager`: Managing MIME Content" msgstr "" msgid "**Source code:** :source:`Lib/email/contentmanager.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/email/contentmanager.py`" msgid "[1]_" -msgstr "" +msgstr "[1]_" msgid "" "Base class for content managers. Provides the standard registry mechanisms " diff --git a/library/email.encoders.po b/library/email.encoders.po index b58bac171..91b054f9b 100644 --- a/library/email.encoders.po +++ b/library/email.encoders.po @@ -1,19 +1,20 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Maciej Olko , 2021 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:04+0000\n" -"Last-Translator: Maciej Olko , 2021\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,7 +28,7 @@ msgid ":mod:`!email.encoders`: Encoders" msgstr "" msgid "**Source code:** :source:`Lib/email/encoders.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/email/encoders.py`" msgid "" "This module is part of the legacy (``Compat32``) email API. In the new API " diff --git a/library/email.examples.po b/library/email.examples.po index e41b6d6f6..7143649b9 100644 --- a/library/email.examples.po +++ b/library/email.examples.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:05+0000\n" "Last-Translator: Maciej Olko , 2021\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/email.generator.po b/library/email.generator.po index cd23a9822..f462944b1 100644 --- a/library/email.generator.po +++ b/library/email.generator.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:05+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!email.generator`: Generating MIME documents" msgstr "" msgid "**Source code:** :source:`Lib/email/generator.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/email/generator.py`" msgid "" "One of the most common tasks is to generate the flat (serialized) version of " diff --git a/library/email.header.po b/library/email.header.po index a6007542b..7b586a604 100644 --- a/library/email.header.po +++ b/library/email.header.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:05+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -27,7 +27,7 @@ msgid ":mod:`!email.header`: Internationalized headers" msgstr "" msgid "**Source code:** :source:`Lib/email/header.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/email/header.py`" msgid "" "This module is part of the legacy (``Compat32``) email API. In the current " @@ -237,24 +237,38 @@ msgid "" "header value is in *header*." msgstr "" +msgid "For historical reasons, this function may return either:" +msgstr "" + +msgid "" +"A list of pairs containing each of the decoded parts of the header, " +"``(decoded_bytes, charset)``, where *decoded_bytes* is always an instance " +"of :class:`bytes`, and *charset* is either:" +msgstr "" + +msgid "A lower case string containing the name of the character set specified." +msgstr "" + +msgid "``None`` for non-encoded parts of the header." +msgstr "" + +msgid "" +"A list of length 1 containing a pair ``(string, None)``, where *string* is " +"always an instance of :class:`str`." +msgstr "" + msgid "" -"This function returns a list of ``(decoded_string, charset)`` pairs " -"containing each of the decoded parts of the header. *charset* is ``None`` " -"for non-encoded parts of the header, otherwise a lower case string " -"containing the name of the character set specified in the encoded string." +"An :exc:`email.errors.HeaderParseError` may be raised when certain decoding " +"errors occur (e.g. a base64 decoding exception)." msgstr "" -msgid "Here's an example::" +msgid "Here are examples:" msgstr "" msgid "" -">>> from email.header import decode_header\n" -">>> decode_header('=?iso-8859-1?q?p=F6stal?=')\n" -"[(b'p\\xf6stal', 'iso-8859-1')]" +"This function exists for backwards compatibility only. For new code, we " +"recommend using :class:`email.headerregistry.HeaderRegistry`." msgstr "" -">>> from email.header import decode_header\n" -">>> decode_header('=?iso-8859-1?q?p=F6stal?=')\n" -"[(b'p\\xf6stal', 'iso-8859-1')]" msgid "" "Create a :class:`Header` instance from a sequence of pairs as returned by :" @@ -272,3 +286,8 @@ msgid "" "`Header` instance. Optional *maxlinelen*, *header_name*, and " "*continuation_ws* are as in the :class:`Header` constructor." msgstr "" + +msgid "" +"This function exists for backwards compatibility only, and is not " +"recommended for use in new code." +msgstr "" diff --git a/library/email.headerregistry.po b/library/email.headerregistry.po index c988af643..2cd597622 100644 --- a/library/email.headerregistry.po +++ b/library/email.headerregistry.po @@ -1,20 +1,21 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Maciej Olko , 2021 # Seweryn Piórkowski , 2021 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:05+0000\n" -"Last-Translator: Seweryn Piórkowski , 2021\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -28,10 +29,10 @@ msgid ":mod:`!email.headerregistry`: Custom Header Objects" msgstr "" msgid "**Source code:** :source:`Lib/email/headerregistry.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/email/headerregistry.py`" msgid "[1]_" -msgstr "" +msgstr "[1]_" msgid "" "Headers are represented by customized subclasses of :class:`str`. The " @@ -397,7 +398,7 @@ msgid "resent-cc" msgstr "" msgid "bcc" -msgstr "" +msgstr "bcc" msgid "resent-bcc" msgstr "" diff --git a/library/email.message.po b/library/email.message.po index dec623003..a89e88809 100644 --- a/library/email.message.po +++ b/library/email.message.po @@ -1,19 +1,20 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Maciej Olko , 2021 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:05+0000\n" -"Last-Translator: Maciej Olko , 2021\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,10 +28,10 @@ msgid ":mod:`!email.message`: Representing an email message" msgstr "" msgid "**Source code:** :source:`Lib/email/message.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/email/message.py`" msgid "[1]_" -msgstr "" +msgstr "[1]_" msgid "" "The central class in the :mod:`email` package is the :class:`EmailMessage` " diff --git a/library/email.mime.po b/library/email.mime.po index 3ab18d1a5..a38975f42 100644 --- a/library/email.mime.po +++ b/library/email.mime.po @@ -1,19 +1,19 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: -# Transifex Bot <>, 2023 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.11\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-05-19 14:13+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:05+0000\n" -"Last-Translator: Transifex Bot <>, 2023\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -23,11 +23,11 @@ msgstr "" "(n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && " "n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" -msgid ":mod:`email.mime`: Creating email and MIME objects from scratch" +msgid ":mod:`!email.mime`: Creating email and MIME objects from scratch" msgstr "" msgid "**Source code:** :source:`Lib/email/mime/`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/email/mime/`" msgid "" "This module is part of the legacy (``Compat32``) email API. Its " @@ -138,7 +138,7 @@ msgid "" msgstr "" msgid "Module: :mod:`email.mime.application`" -msgstr "" +msgstr "Moduł: :mod:`email.mime.application`" msgid "" "A subclass of :class:`~email.mime.nonmultipart.MIMENonMultipart`, the :class:" diff --git a/library/email.parser.po b/library/email.parser.po index be98cfbb2..f718b16af 100644 --- a/library/email.parser.po +++ b/library/email.parser.po @@ -1,19 +1,19 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: -# Maciej Olko , 2025 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-01-24 14:16+0000\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:05+0000\n" -"Last-Translator: Maciej Olko , 2025\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,7 +27,7 @@ msgid ":mod:`!email.parser`: Parsing email messages" msgstr "" msgid "**Source code:** :source:`Lib/email/parser.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/email/parser.py`" msgid "" "Message object structures can be created in one of two ways: they can be " @@ -78,10 +78,10 @@ msgid "FeedParser API" msgstr "" msgid "" -"The :class:`BytesFeedParser`, imported from the :mod:`email.feedparser` " -"module, provides an API that is conducive to incremental parsing of email " -"messages, such as would be necessary when reading the text of an email " -"message from a source that can block (such as a socket). The :class:" +"The :class:`BytesFeedParser`, imported from the :mod:`email.parser." +"FeedParser` module, provides an API that is conducive to incremental parsing " +"of email messages, such as would be necessary when reading the text of an " +"email message from a source that can block (such as a socket). The :class:" "`BytesFeedParser` can of course be used to parse an email message fully " "contained in a :term:`bytes-like object`, string, or file, but the :class:" "`BytesParser` API may be more convenient for such use cases. The semantics " @@ -150,7 +150,7 @@ msgid "" "Works like :class:`BytesFeedParser` except that the input to the :meth:" "`~BytesFeedParser.feed` method must be a string. This is of limited " "utility, since the only way for such a message to be valid is for it to " -"contain only ASCII text or, if :attr:`~email.policy.Policy.utf8` is " +"contain only ASCII text or, if :attr:`~email.policy.EmailPolicy.utf8` is " "``True``, no binary attachments." msgstr "" @@ -187,16 +187,16 @@ msgstr "" msgid "" "Read all the data from the binary file-like object *fp*, parse the resulting " "bytes, and return the message object. *fp* must support both the :meth:`~io." -"IOBase.readline` and the :meth:`~io.IOBase.read` methods." +"IOBase.readline` and the :meth:`~io.TextIOBase.read` methods." msgstr "" msgid "" "The bytes contained in *fp* must be formatted as a block of :rfc:`5322` (or, " -"if :attr:`~email.policy.Policy.utf8` is ``True``, :rfc:`6532`) style headers " -"and header continuation lines, optionally preceded by an envelope header. " -"The header block is terminated either by the end of the data or by a blank " -"line. Following the header block is the body of the message (which may " -"contain MIME-encoded subparts, including subparts with a :mailheader:" +"if :attr:`~email.policy.EmailPolicy.utf8` is ``True``, :rfc:`6532`) style " +"headers and header continuation lines, optionally preceded by an envelope " +"header. The header block is terminated either by the end of the data or by " +"a blank line. Following the header block is the body of the message (which " +"may contain MIME-encoded subparts, including subparts with a :mailheader:" "`Content-Transfer-Encoding` of ``8bit``)." msgstr "" @@ -290,10 +290,8 @@ msgstr "" msgid "" ">>> import email\n" -">>> msg = email.message_from_bytes(myBytes) " -msgstr "" -">>> import email\n" ">>> msg = email.message_from_bytes(myBytes)" +msgstr "" msgid "Additional notes" msgstr "" diff --git a/library/email.policy.po b/library/email.policy.po index 1b7739784..fa2567059 100644 --- a/library/email.policy.po +++ b/library/email.policy.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:05+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!email.policy`: Policy Objects" msgstr "" msgid "**Source code:** :source:`Lib/email/policy.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/email/policy.py`" msgid "" "The :mod:`email` package's prime focus is the handling of email messages as " @@ -444,7 +444,7 @@ msgid "" msgstr "" msgid "[1]_" -msgstr "" +msgstr "[1]_" msgid "" "If ``False``, follow :rfc:`5322`, supporting non-ASCII characters in headers " diff --git a/library/email.utils.po b/library/email.utils.po index e72ea9651..a490e492c 100644 --- a/library/email.utils.po +++ b/library/email.utils.po @@ -5,15 +5,16 @@ # # Translators: # Maciej Olko , 2021 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:05+0000\n" -"Last-Translator: Maciej Olko , 2021\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,7 +28,7 @@ msgid ":mod:`!email.utils`: Miscellaneous utilities" msgstr "" msgid "**Source code:** :source:`Lib/email/utils.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/email/utils.py`" msgid "" "There are a couple of useful utilities provided in the :mod:`email.utils` " diff --git a/library/ensurepip.po b/library/ensurepip.po index 5d03b24fb..02dd98949 100644 --- a/library/ensurepip.po +++ b/library/ensurepip.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:05+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!ensurepip` --- Bootstrapping the ``pip`` installer" msgstr "" msgid "**Source code:** :source:`Lib/ensurepip`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/ensurepip`" msgid "" "The :mod:`ensurepip` package provides support for bootstrapping the ``pip`` " diff --git a/library/enum.po b/library/enum.po index 75e169b84..cda86767f 100644 --- a/library/enum.po +++ b/library/enum.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:05+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -176,7 +176,7 @@ msgid "" msgstr "" msgid ":class:`EnumDict`" -msgstr "" +msgstr ":class:`EnumDict`" msgid "A subclass of :class:`dict` for use when subclassing :class:`EnumType`." msgstr "" diff --git a/library/exceptions.po b/library/exceptions.po index 49d76f631..cf60262ff 100644 --- a/library/exceptions.po +++ b/library/exceptions.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:05+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -225,10 +225,14 @@ msgid "" msgstr "" msgid "" -"The :attr:`name` and :attr:`obj` attributes can be set using keyword-only " -"arguments to the constructor. When set they represent the name of the " -"attribute that was attempted to be accessed and the object that was accessed " -"for said attribute, respectively." +"The optional *name* and *obj* keyword-only arguments set the corresponding " +"attributes:" +msgstr "" + +msgid "The name of the attribute that was attempted to be accessed." +msgstr "" + +msgid "The object that was accessed for the named attribute." msgstr "" msgid "Added the :attr:`name` and :attr:`obj` attributes." @@ -236,7 +240,7 @@ msgstr "" msgid "" "Raised when the :func:`input` function hits an end-of-file condition (EOF) " -"without reading any data. (N.B.: the :meth:`io.IOBase.read` and :meth:`io." +"without reading any data. (Note: the :meth:`!io.IOBase.read` and :meth:`io." "IOBase.readline` methods return an empty string when they hit EOF.)" msgstr "" @@ -319,10 +323,10 @@ msgid "" "the name that could not be found." msgstr "" -msgid "" -"The :attr:`name` attribute can be set using a keyword-only argument to the " -"constructor. When set it represent the name of the variable that was " -"attempted to be accessed." +msgid "The optional *name* keyword-only argument sets the attribute:" +msgstr "" + +msgid "The name of the variable that was attempted to be accessed." msgstr "" msgid "Added the :attr:`name` attribute." @@ -387,8 +391,8 @@ msgstr "" msgid "" "The corresponding error message, as provided by the operating system. It is " -"formatted by the C functions :c:func:`perror` under POSIX, and :c:func:" -"`FormatMessage` under Windows." +"formatted by the C functions :c:func:`!perror` under POSIX, and :c:func:`!" +"FormatMessage` under Windows." msgstr "" msgid "" @@ -401,8 +405,8 @@ msgstr "" msgid "" ":exc:`EnvironmentError`, :exc:`IOError`, :exc:`WindowsError`, :exc:`socket." -"error`, :exc:`select.error` and :exc:`mmap.error` have been merged into :exc:" -"`OSError`, and the constructor may return a subclass." +"error`, :exc:`select.error` and :exc:`!mmap.error` have been merged into :" +"exc:`OSError`, and the constructor may return a subclass." msgstr "" msgid "" @@ -597,7 +601,7 @@ msgid "" "it is not handled, the Python interpreter exits; no stack traceback is " "printed. The constructor accepts the same optional argument passed to :func:" "`sys.exit`. If the value is an integer, it specifies the system exit status " -"(passed to C's :c:func:`exit` function); if it is ``None``, the exit status " +"(passed to C's :c:func:`!exit` function); if it is ``None``, the exit status " "is zero; if it has another type (such as a string), the object's value is " "printed and the exit status is one." msgstr "" @@ -1032,7 +1036,7 @@ msgid "" "Note that :exc:`BaseExceptionGroup` defines :meth:`~object.__new__`, so " "subclasses that need a different constructor signature need to override that " "rather than :meth:`~object.__init__`. For example, the following defines an " -"exception group subclass which accepts an exit_code and and constructs the " +"exception group subclass which accepts an exit_code and constructs the " "group's message from it. ::" msgstr "" diff --git a/library/faulthandler.po b/library/faulthandler.po index a7eba80b7..6f1d6b147 100644 --- a/library/faulthandler.po +++ b/library/faulthandler.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:05+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -138,8 +138,8 @@ msgstr "" msgid "" "Additionally, some compilers do not support :term:`CPython's ` " "implementation of C stack dumps. As a result, a different error may be " -"printed instead of the stack, even if the the operating system supports " -"dumping stacks." +"printed instead of the stack, even if the operating system supports dumping " +"stacks." msgstr "" msgid "" @@ -273,8 +273,53 @@ msgid "" "Fatal Python error: Segmentation fault\n" "\n" "Current thread 0x00007fb899f39700 (most recent call first):\n" -" File \"/home/python/cpython/Lib/ctypes/__init__.py\", line 486 in " -"string_at\n" +" File \"/opt/python/Lib/ctypes/__init__.py\", line 486 in string_at\n" " File \"\", line 1 in \n" +"\n" +"Current thread's C stack trace (most recent call first):\n" +" Binary file \"/opt/python/python\", at _Py_DumpStack+0x42 " +"[0x5b27f7d7147e]\n" +" Binary file \"/opt/python/python\", at +0x32dcbd [0x5b27f7d85cbd]\n" +" Binary file \"/opt/python/python\", at +0x32df8a [0x5b27f7d85f8a]\n" +" Binary file \"/usr/lib/libc.so.6\", at +0x3def0 [0x77b73226bef0]\n" +" Binary file \"/usr/lib/libc.so.6\", at +0x17ef9c [0x77b7323acf9c]\n" +" Binary file \"/opt/python/build/lib.linux-x86_64-3.14/_ctypes.cpython-314d-" +"x86_64-linux-gnu.so\", at +0xcdf6 [0x77b7315dddf6]\n" +" Binary file \"/usr/lib/libffi.so.8\", at +0x7976 [0x77b73158f976]\n" +" Binary file \"/usr/lib/libffi.so.8\", at +0x413c [0x77b73158c13c]\n" +" Binary file \"/usr/lib/libffi.so.8\", at ffi_call+0x12e [0x77b73158ef0e]\n" +" Binary file \"/opt/python/build/lib.linux-x86_64-3.14/_ctypes.cpython-314d-" +"x86_64-linux-gnu.so\", at +0x15a33 [0x77b7315e6a33]\n" +" Binary file \"/opt/python/build/lib.linux-x86_64-3.14/_ctypes.cpython-314d-" +"x86_64-linux-gnu.so\", at +0x164fa [0x77b7315e74fa]\n" +" Binary file \"/opt/python/build/lib.linux-x86_64-3.14/_ctypes.cpython-314d-" +"x86_64-linux-gnu.so\", at +0xc624 [0x77b7315dd624]\n" +" Binary file \"/opt/python/python\", at _PyObject_MakeTpCall+0xce " +"[0x5b27f7b73883]\n" +" Binary file \"/opt/python/python\", at +0x11bab6 [0x5b27f7b73ab6]\n" +" Binary file \"/opt/python/python\", at PyObject_Vectorcall+0x23 " +"[0x5b27f7b73b04]\n" +" Binary file \"/opt/python/python\", at _PyEval_EvalFrameDefault+0x490c " +"[0x5b27f7cbb302]\n" +" Binary file \"/opt/python/python\", at +0x2818e6 [0x5b27f7cd98e6]\n" +" Binary file \"/opt/python/python\", at +0x281aab [0x5b27f7cd9aab]\n" +" Binary file \"/opt/python/python\", at PyEval_EvalCode+0xc5 " +"[0x5b27f7cd9ba3]\n" +" Binary file \"/opt/python/python\", at +0x255957 [0x5b27f7cad957]\n" +" Binary file \"/opt/python/python\", at +0x255ab4 [0x5b27f7cadab4]\n" +" Binary file \"/opt/python/python\", at _PyEval_EvalFrameDefault+0x6c3e " +"[0x5b27f7cbd634]\n" +" Binary file \"/opt/python/python\", at +0x2818e6 [0x5b27f7cd98e6]\n" +" Binary file \"/opt/python/python\", at +0x281aab [0x5b27f7cd9aab]\n" +" Binary file \"/opt/python/python\", at +0x11b6e1 [0x5b27f7b736e1]\n" +" Binary file \"/opt/python/python\", at +0x11d348 [0x5b27f7b75348]\n" +" Binary file \"/opt/python/python\", at +0x11d626 [0x5b27f7b75626]\n" +" Binary file \"/opt/python/python\", at PyObject_Call+0x20 " +"[0x5b27f7b7565e]\n" +" Binary file \"/opt/python/python\", at +0x32a67a [0x5b27f7d8267a]\n" +" Binary file \"/opt/python/python\", at +0x32a7f8 [0x5b27f7d827f8]\n" +" Binary file \"/opt/python/python\", at +0x32ac1b [0x5b27f7d82c1b]\n" +" Binary file \"/opt/python/python\", at Py_RunMain+0x31 [0x5b27f7d82ebe]\n" +" \n" "Segmentation fault" msgstr "" diff --git a/library/fcntl.po b/library/fcntl.po index 753afc04b..6d7c0fb11 100644 --- a/library/fcntl.po +++ b/library/fcntl.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:06+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/fnmatch.po b/library/fnmatch.po index 49ea74b9e..ee602fe25 100644 --- a/library/fnmatch.po +++ b/library/fnmatch.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:06+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!fnmatch` --- Unix filename pattern matching" msgstr "" msgid "**Source code:** :source:`Lib/fnmatch.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/fnmatch.py`" msgid "" "This module provides support for Unix shell-style wildcards, which are *not* " diff --git a/library/ftplib.po b/library/ftplib.po index ecca64085..0771bccff 100644 --- a/library/ftplib.po +++ b/library/ftplib.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:06+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!ftplib` --- FTP protocol client" msgstr "" msgid "**Source code:** :source:`Lib/ftplib.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/ftplib.py`" msgid "" "This module defines the class :class:`FTP` and a few related items. The :" diff --git a/library/functional.po b/library/functional.po index 46f1c6b25..b3a2e0be3 100644 --- a/library/functional.po +++ b/library/functional.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:06+0000\n" "Last-Translator: Krzysztof Abramowicz, 2022\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/functions.po b/library/functions.po index b6ed3c484..30b256c96 100644 --- a/library/functions.po +++ b/library/functions.po @@ -16,7 +16,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:06+0000\n" "Last-Translator: Maciej Olko , 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/functools.po b/library/functools.po index de1daf28c..3d0112779 100644 --- a/library/functools.po +++ b/library/functools.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:06+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -30,7 +30,7 @@ msgid "" msgstr "" msgid "**Source code:** :source:`Lib/functools.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/functools.py`" msgid "" "The :mod:`functools` module is for higher-order functions: functions that " diff --git a/library/getpass.po b/library/getpass.po index 002428bc9..f9a29cf26 100644 --- a/library/getpass.po +++ b/library/getpass.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:06+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -27,7 +27,7 @@ msgid ":mod:`!getpass` --- Portable password input" msgstr "" msgid "**Source code:** :source:`Lib/getpass.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/getpass.py`" msgid "Availability" msgstr "Dostępność" diff --git a/library/gettext.po b/library/gettext.po index 43657c0d5..7838fcc78 100644 --- a/library/gettext.po +++ b/library/gettext.po @@ -1,20 +1,20 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Maciej Olko , 2021 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:06+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -28,7 +28,7 @@ msgid ":mod:`!gettext` --- Multilingual internationalization services" msgstr "" msgid "**Source code:** :source:`Lib/gettext.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/gettext.py`" msgid "" "The :mod:`gettext` module provides internationalization (I18N) and " diff --git a/library/glob.po b/library/glob.po index 8d7e35032..abec563d2 100644 --- a/library/glob.po +++ b/library/glob.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -11,9 +11,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:06+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -29,7 +29,7 @@ msgid ":mod:`!glob` --- Unix style pathname pattern expansion" msgstr "" msgid "**Source code:** :source:`Lib/glob.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/glob.py`" msgid "" "The :mod:`glob` module finds all the pathnames matching a specified pattern " diff --git a/library/graphlib.po b/library/graphlib.po index da545162a..bdb729aa6 100644 --- a/library/graphlib.po +++ b/library/graphlib.po @@ -5,15 +5,16 @@ # # Translators: # Igor Zubrycki , 2021 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:06+0000\n" -"Last-Translator: Igor Zubrycki , 2021\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -28,7 +29,7 @@ msgid "" msgstr "" msgid "**Source code:** :source:`Lib/graphlib.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/graphlib.py`" msgid "" "Provides functionality to topologically sort a graph of :term:`hashable` " diff --git a/library/grp.po b/library/grp.po index bbd5f3d1e..1dda73d10 100644 --- a/library/grp.po +++ b/library/grp.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:07+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -26,7 +26,7 @@ msgstr "" "n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" msgid ":mod:`!grp` --- The group database" -msgstr "" +msgstr ":mod:`!grp` --- Baza danych grup" msgid "" "This module provides access to the Unix group database. It is available on " @@ -43,7 +43,7 @@ msgid "" msgstr "" msgid "Index" -msgstr "" +msgstr "Indeks" msgid "Attribute" msgstr "atrybut" @@ -55,7 +55,7 @@ msgid "0" msgstr "0" msgid "gr_name" -msgstr "" +msgstr "gr_name" msgid "the name of the group" msgstr "" @@ -64,7 +64,7 @@ msgid "1" msgstr "1" msgid "gr_passwd" -msgstr "" +msgstr "gr_passwd" msgid "the (encrypted) group password; often empty" msgstr "" @@ -73,7 +73,7 @@ msgid "2" msgstr "2" msgid "gr_gid" -msgstr "" +msgstr "gr_gid" msgid "the numerical group ID" msgstr "" @@ -82,7 +82,7 @@ msgid "3" msgstr "3" msgid "gr_mem" -msgstr "" +msgstr "gr_mem" msgid "all the group member's user names" msgstr "" @@ -118,7 +118,7 @@ msgid "Return a list of all available group entries, in arbitrary order." msgstr "" msgid "Module :mod:`pwd`" -msgstr "" +msgstr "Moduł :mod:`pwd`" msgid "An interface to the user database, similar to this." msgstr "" diff --git a/library/gzip.po b/library/gzip.po index 705522a6a..b91148caa 100644 --- a/library/gzip.po +++ b/library/gzip.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:07+0000\n" "Last-Translator: Waldemar Stoczkowski, 2023\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/hashlib.po b/library/hashlib.po index aaa5bb142..3f91d3c3f 100644 --- a/library/hashlib.po +++ b/library/hashlib.po @@ -6,16 +6,16 @@ # Translators: # Maciej Olko , 2021 # Michał Biliński , 2021 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:07+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -29,7 +29,7 @@ msgid ":mod:`!hashlib` --- Secure hashes and message digests" msgstr "" msgid "**Source code:** :source:`Lib/hashlib.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/hashlib.py`" msgid "" "This module implements a common interface to many different hash algorithms. " @@ -111,7 +111,7 @@ msgid "" msgstr "" msgid "Usage" -msgstr "" +msgstr "Użytek" msgid "" "To obtain the digest of the byte string ``b\"Nobody inspects the spammish " @@ -130,6 +130,16 @@ msgid "" ">>> m.hexdigest()\n" "'031edd7d41651593c5fe5c006fa5752b37fddff7bc4e843aa6af0c950f4b9406'" msgstr "" +">>> import hashlib\n" +">>> m = hashlib.sha256()\n" +">>> m.update(b\"Nobody inspects\")\n" +">>> m.update(b\" the spammish repetition\")\n" +">>> m.digest()\n" +"b'\\x03\\x1e\\xdd}Ae\\x15\\x93\\xc5\\xfe\\\\" +"\\x00o\\xa5u+7\\xfd\\xdf\\xf7\\xbcN\\x84:" +"\\xa6\\xaf\\x0c\\x95\\x0fK\\x94\\x06'\n" +">>> m.hexdigest()\n" +"'031edd7d41651593c5fe5c006fa5752b37fddff7bc4e843aa6af0c950f4b9406'" msgid "More condensed:" msgstr "" @@ -357,7 +367,7 @@ msgid "" msgstr "" msgid "BLAKE2" -msgstr "" +msgstr "BLAKE2" msgid "" "BLAKE2_ is a cryptographic hash function defined in :rfc:`7693` that comes " @@ -428,28 +438,28 @@ msgid "digest_size" msgstr "" msgid "len(key)" -msgstr "" +msgstr "len(key)" msgid "len(salt)" -msgstr "" +msgstr "len(salt)" msgid "len(person)" -msgstr "" +msgstr "len(person)" msgid "BLAKE2b" -msgstr "" +msgstr "BLAKE2b" msgid "64" -msgstr "" +msgstr "64" msgid "16" -msgstr "" +msgstr "16" msgid "BLAKE2s" -msgstr "" +msgstr "BLAKE2s" msgid "32" -msgstr "" +msgstr "32" msgid "8" msgstr "8" @@ -736,6 +746,9 @@ msgid "" " / \\\n" "00 01" msgstr "" +" 10\n" +" / \\\n" +"00 01" msgid "" "This example uses 64-byte internal digests, and returns the 32-byte final " @@ -887,4 +900,4 @@ msgid "(use in module hashlib)" msgstr "" msgid "blake2b, blake2s" -msgstr "" +msgstr "blake2b, blake2s" diff --git a/library/heapq.po b/library/heapq.po index 5e1138e00..ab64d2991 100644 --- a/library/heapq.po +++ b/library/heapq.po @@ -5,16 +5,16 @@ # # Translators: # Maciej Olko , 2021 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:07+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -25,21 +25,26 @@ msgstr "" "n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" msgid ":mod:`!heapq` --- Heap queue algorithm" -msgstr "" +msgstr ":mod:`!heapq` --- Algorytm kolejki kopcowej" msgid "**Source code:** :source:`Lib/heapq.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/heapq.py`" msgid "" "This module provides an implementation of the heap queue algorithm, also " "known as the priority queue algorithm." msgstr "" +"Ten moduł zawiera implementację algorytmu kolejki kopcowej, znanego również " +"jako algorytm kolejki priorytetowej." msgid "" "Min-heaps are binary trees for which every parent node has a value less than " "or equal to any of its children. We refer to this condition as the heap " "invariant." msgstr "" +"Min-kopce to drzewa binarne, w których każdy węzeł nadrzędny ma wartość " +"mniejszą lub równą dowolnemu z jego dzieci. Warunek ten nazywamy " +"niezmiennikiem kopca." msgid "" "For min-heaps, this implementation uses lists for which ``heap[k] <= " @@ -48,6 +53,11 @@ msgid "" "property of a min-heap is that its smallest element is always the root, " "``heap[0]``." msgstr "" +"Dla min-kopców, ta implementacja używa list, w których ``kopiec[k] <= " +"kopiec[2*k+1]`` i ``kopiec[k] <= kopiec[2*k+2]`` dla wszystkich *k* dla " +"których istnieją porównywane elementy. Elementy są indeksowane od zera. " +"Interesującą właściwość min-kopców jest to, że ich najmniejszy element jest " +"zawsze korzeniem, ``kopiec[0]``." msgid "" "Max-heaps satisfy the reverse invariant: every parent node has a value " @@ -229,7 +239,7 @@ msgid "" msgstr "" msgid "Basic Examples" -msgstr "" +msgstr "Podstawowe przykłady" msgid "" "A `heapsort `_ can be implemented by " @@ -247,6 +257,14 @@ msgid "" ">>> heapsort([1, 3, 5, 7, 9, 2, 4, 6, 8, 0])\n" "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]" msgstr "" +">>> def heapsort(iterable):\n" +"... h = []\n" +"... for value in iterable:\n" +"... heappush(h, value)\n" +"... return [heappop(h) for i in range(len(h))]\n" +"...\n" +">>> heapsort([1, 3, 5, 7, 9, 2, 4, 6, 8, 0])\n" +"[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]" msgid "" "This is similar to ``sorted(iterable)``, but unlike :func:`sorted`, this " @@ -319,6 +337,13 @@ msgid "" " priority: int\n" " item: Any=field(compare=False)" msgstr "" +"from dataclasses import dataclass, field\n" +"from typing import Any\n" +"\n" +"@dataclass(order=True)\n" +"class PrioritizedItem:\n" +" priority: int\n" +" item: Any=field(compare=False)" msgid "" "The remaining challenges revolve around finding a pending task and making " @@ -363,7 +388,7 @@ msgid "" msgstr "" msgid "Theory" -msgstr "" +msgstr "Teoria" msgid "" "Heaps are arrays for which ``a[k] <= a[2*k+1]`` and ``a[k] <= a[2*k+2]`` for " @@ -388,6 +413,15 @@ msgid "" "\n" "15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30" msgstr "" +" 0\n" +"\n" +" 1 2\n" +"\n" +" 3 4 5 6\n" +"\n" +" 7 8 9 10 11 12 13 14\n" +"\n" +"15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30" msgid "" "In the tree above, each cell *k* is topping ``2*k+1`` and ``2*k+2``. In a " diff --git a/library/html.entities.po b/library/html.entities.po index e5d6cb375..47a7cf5b6 100644 --- a/library/html.entities.po +++ b/library/html.entities.po @@ -1,19 +1,20 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Maciej Olko , 2021 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:07+0000\n" -"Last-Translator: Maciej Olko , 2021\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,7 +28,7 @@ msgid ":mod:`!html.entities` --- Definitions of HTML general entities" msgstr "" msgid "**Source code:** :source:`Lib/html/entities.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/html/entities.py`" msgid "" "This module defines four dictionaries, :data:`html5`, :data:" diff --git a/library/html.parser.po b/library/html.parser.po index 32e7dad2c..47c951b76 100644 --- a/library/html.parser.po +++ b/library/html.parser.po @@ -1,19 +1,20 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Maciej Olko , 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 03:57+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:07+0000\n" -"Last-Translator: Maciej Olko , 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,7 +28,7 @@ msgid ":mod:`!html.parser` --- Simple HTML and XHTML parser" msgstr "" msgid "**Source code:** :source:`Lib/html/parser.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/html/parser.py`" msgid "" "This module defines a class :class:`HTMLParser` which serves as the basis " diff --git a/library/http.client.po b/library/http.client.po index c0f65d1cf..8bbd62a22 100644 --- a/library/http.client.po +++ b/library/http.client.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:07+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!http.client` --- HTTP protocol client" msgstr "" msgid "**Source code:** :source:`Lib/http/client.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/http/client.py`" msgid "" "This module defines classes that implement the client side of the HTTP and " diff --git a/library/http.cookiejar.po b/library/http.cookiejar.po index a9ba92886..b73f6e41f 100644 --- a/library/http.cookiejar.po +++ b/library/http.cookiejar.po @@ -1,20 +1,20 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Maciej Olko , 2021 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:07+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -28,7 +28,7 @@ msgid ":mod:`!http.cookiejar` --- Cookie handling for HTTP clients" msgstr "" msgid "**Source code:** :source:`Lib/http/cookiejar.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/http/cookiejar.py`" msgid "" "The :mod:`http.cookiejar` module defines classes for automatic handling of " @@ -636,8 +636,8 @@ msgid "Don't allow setting cookies whose path doesn't path-match request URI." msgstr "" msgid "" -":attr:`strict_ns_domain` is a collection of flags. Its value is constructed " -"by or-ing together (for example, ``DomainStrictNoDots|" +":attr:`~DefaultCookiePolicy.strict_ns_domain` is a collection of flags. Its " +"value is constructed by or-ing together (for example, ``DomainStrictNoDots|" "DomainStrictNonDomain`` means both flags are set)." msgstr "" diff --git a/library/http.cookies.po b/library/http.cookies.po index f10dd9f47..d8e1bf658 100644 --- a/library/http.cookies.po +++ b/library/http.cookies.po @@ -4,16 +4,16 @@ # FIRST AUTHOR , YEAR. # # Translators: -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:07+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,7 +27,7 @@ msgid ":mod:`!http.cookies` --- HTTP state management" msgstr "" msgid "**Source code:** :source:`Lib/http/cookies.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/http/cookies.py`" msgid "" "The :mod:`http.cookies` module defines classes for abstracting the concept " diff --git a/library/http.po b/library/http.po index f1fe1d0f4..b99411011 100644 --- a/library/http.po +++ b/library/http.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:07+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!http` --- HTTP modules" msgstr "" msgid "**Source code:** :source:`Lib/http/__init__.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/http/__init__.py`" msgid "" ":mod:`http` is a package that collects several modules for working with the " @@ -212,7 +212,7 @@ msgid "``208``" msgstr "``208``" msgid "``ALREADY_REPORTED``" -msgstr "" +msgstr "``ALREADY_REPORTED``" msgid "WebDAV Binding Extensions :rfc:`5842`, Section 7.1 (Experimental)" msgstr "" @@ -230,7 +230,7 @@ msgid "``300``" msgstr "``300``" msgid "``MULTIPLE_CHOICES``" -msgstr "" +msgstr "``MULTIPLE_CHOICES``" msgid "HTTP Semantics :rfc:`9110`, Section 15.4.1" msgstr "" @@ -239,7 +239,7 @@ msgid "``301``" msgstr "``301``" msgid "``MOVED_PERMANENTLY``" -msgstr "" +msgstr "``MOVED_PERMANENTLY``" msgid "HTTP Semantics :rfc:`9110`, Section 15.4.2" msgstr "" @@ -257,7 +257,7 @@ msgid "``303``" msgstr "``303``" msgid "``SEE_OTHER``" -msgstr "" +msgstr "``SEE_OTHER``" msgid "HTTP Semantics :rfc:`9110`, Section 15.4.4" msgstr "" @@ -356,7 +356,7 @@ msgid "``406``" msgstr "``406``" msgid "``NOT_ACCEPTABLE``" -msgstr "" +msgstr "``NOT_ACCEPTABLE``" msgid "HTTP Semantics :rfc:`9110`, Section 15.5.7" msgstr "" @@ -401,7 +401,7 @@ msgid "``411``" msgstr "``411``" msgid "``LENGTH_REQUIRED``" -msgstr "" +msgstr "``LENGTH_REQUIRED``" msgid "HTTP Semantics :rfc:`9110`, Section 15.5.12" msgstr "" @@ -473,7 +473,7 @@ msgid "``421``" msgstr "``421``" msgid "``MISDIRECTED_REQUEST``" -msgstr "" +msgstr "``MISDIRECTED_REQUEST``" msgid "HTTP Semantics :rfc:`9110`, Section 15.5.20" msgstr "" @@ -518,7 +518,7 @@ msgid "``426``" msgstr "``426``" msgid "``UPGRADE_REQUIRED``" -msgstr "" +msgstr "``UPGRADE_REQUIRED``" msgid "HTTP Semantics :rfc:`9110`, Section 15.5.22" msgstr "" @@ -611,7 +611,7 @@ msgid "``506``" msgstr "``506``" msgid "``VARIANT_ALSO_NEGOTIATES``" -msgstr "" +msgstr "``VARIANT_ALSO_NEGOTIATES``" msgid "" "Transparent Content Negotiation in HTTP :rfc:`2295`, Section 8.1 " @@ -622,7 +622,7 @@ msgid "``507``" msgstr "``507``" msgid "``INSUFFICIENT_STORAGE``" -msgstr "" +msgstr "``INSUFFICIENT_STORAGE``" msgid "WebDAV :rfc:`4918`, Section 11.5" msgstr "" @@ -776,55 +776,55 @@ msgid "Method" msgstr "" msgid "``GET``" -msgstr "" +msgstr "``GET``" msgid "HTTP Semantics :rfc:`9110`, Section 9.3.1" msgstr "" msgid "``HEAD``" -msgstr "" +msgstr "``HEAD``" msgid "HTTP Semantics :rfc:`9110`, Section 9.3.2" msgstr "" msgid "``POST``" -msgstr "" +msgstr "``POST``" msgid "HTTP Semantics :rfc:`9110`, Section 9.3.3" msgstr "" msgid "``PUT``" -msgstr "" +msgstr "``PUT``" msgid "HTTP Semantics :rfc:`9110`, Section 9.3.4" msgstr "" msgid "``DELETE``" -msgstr "" +msgstr "``DELETE``" msgid "HTTP Semantics :rfc:`9110`, Section 9.3.5" msgstr "" msgid "``CONNECT``" -msgstr "" +msgstr "``CONNECT``" msgid "HTTP Semantics :rfc:`9110`, Section 9.3.6" msgstr "" msgid "``OPTIONS``" -msgstr "" +msgstr "``OPTIONS``" msgid "HTTP Semantics :rfc:`9110`, Section 9.3.7" msgstr "" msgid "``TRACE``" -msgstr "" +msgstr "``TRACE``" msgid "HTTP Semantics :rfc:`9110`, Section 9.3.8" msgstr "" msgid "``PATCH``" -msgstr "" +msgstr "``PATCH``" msgid "HTTP/1.1 :rfc:`5789`" msgstr "" diff --git a/library/http.server.po b/library/http.server.po index 8168c9333..9d31012c9 100644 --- a/library/http.server.po +++ b/library/http.server.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:07+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!http.server` --- HTTP servers" msgstr "" msgid "**Source code:** :source:`Lib/http/server.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/http/server.py`" msgid "This module defines classes for implementing HTTP servers." msgstr "" @@ -458,8 +458,7 @@ msgstr "" msgid "" "Then follows a blank line signifying the end of the headers, and then the " -"contents of the file are output. If the file's MIME type starts with ``text/" -"`` the file is opened in text mode; otherwise binary mode is used." +"contents of the file are output." msgstr "" msgid "" diff --git a/library/idle.po b/library/idle.po index fb48c44af..889e6f155 100644 --- a/library/idle.po +++ b/library/idle.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:07+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid "IDLE --- Python editor and shell" msgstr "IDLE --- Python edytor i powłoka" msgid "**Source code:** :source:`Lib/idlelib/`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/idlelib/`" msgid "IDLE is Python's Integrated Development and Learning Environment." msgstr "" @@ -1372,7 +1372,7 @@ msgid "idlelib --- implementation of IDLE application" msgstr "" msgid "**Source code:** :source:`Lib/idlelib`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/idlelib`" msgid "" "The Lib/idlelib package implements the IDLE application. See the rest of " diff --git a/library/imaplib.po b/library/imaplib.po index fbba6ce0b..f591bee9c 100644 --- a/library/imaplib.po +++ b/library/imaplib.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:07+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -27,7 +27,7 @@ msgid ":mod:`!imaplib` --- IMAP4 protocol client" msgstr "" msgid "**Source code:** :source:`Lib/imaplib.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/imaplib.py`" msgid "" "This module defines three classes, :class:`IMAP4`, :class:`IMAP4_SSL` and :" diff --git a/library/importlib.metadata.po b/library/importlib.metadata.po index 6ca8c0ea2..6db674b0b 100644 --- a/library/importlib.metadata.po +++ b/library/importlib.metadata.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:08+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -31,7 +31,7 @@ msgid "``importlib.metadata`` is no longer provisional." msgstr "" msgid "**Source code:** :source:`Lib/importlib/metadata/__init__.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/importlib/metadata/__init__.py`" msgid "" "``importlib.metadata`` is a library that provides access to the metadata of " diff --git a/library/importlib.po b/library/importlib.po index 425dd9d79..1e9841fab 100644 --- a/library/importlib.po +++ b/library/importlib.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:08+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -29,7 +29,7 @@ msgid ":mod:`!importlib` --- The implementation of :keyword:`!import`" msgstr "" msgid "**Source code:** :source:`Lib/importlib/__init__.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/importlib/__init__.py`" msgid "Introduction" msgstr "Wprowadzenie" @@ -310,7 +310,7 @@ msgid ":mod:`importlib.abc` -- Abstract base classes related to import" msgstr "" msgid "**Source code:** :source:`Lib/importlib/abc.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/importlib/abc.py`" msgid "" "The :mod:`importlib.abc` module contains all of the core abstract base " @@ -846,7 +846,7 @@ msgid ":mod:`importlib.machinery` -- Importers and path hooks" msgstr "" msgid "**Source code:** :source:`Lib/importlib/machinery.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/importlib/machinery.py`" msgid "" "This module contains the various objects that help :keyword:`import` find " @@ -1268,7 +1268,7 @@ msgid ":mod:`importlib.util` -- Utility code for importers" msgstr "" msgid "**Source code:** :source:`Lib/importlib/util.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/importlib/util.py`" msgid "" "This module contains the various objects that help in the construction of " diff --git a/library/index.po b/library/index.po index 699599222..723a45951 100644 --- a/library/index.po +++ b/library/index.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:08+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/inspect.po b/library/inspect.po index a776dd484..2ae86760b 100644 --- a/library/inspect.po +++ b/library/inspect.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:08+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -30,7 +30,7 @@ msgid ":mod:`!inspect` --- Inspect live objects" msgstr "" msgid "**Source code:** :source:`Lib/inspect.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/inspect.py`" msgid "" "The :mod:`inspect` module provides several useful functions to help get " @@ -180,19 +180,19 @@ msgid "traceback" msgstr "" msgid "tb_frame" -msgstr "" +msgstr "tb_frame" msgid "frame object at this level" msgstr "" msgid "tb_lasti" -msgstr "" +msgstr "tb_lasti" msgid "index of last attempted instruction in bytecode" msgstr "" msgid "tb_lineno" -msgstr "" +msgstr "tb_lineno" msgid "current line number in Python source code" msgstr "" @@ -207,25 +207,25 @@ msgid "frame" msgstr "" msgid "f_back" -msgstr "" +msgstr "f_back" msgid "next outer frame object (this frame's caller)" msgstr "" msgid "f_builtins" -msgstr "" +msgstr "f_builtins" msgid "builtins namespace seen by this frame" msgstr "" msgid "f_code" -msgstr "" +msgstr "f_code" msgid "code object being executed in this frame" msgstr "" msgid "f_globals" -msgstr "" +msgstr "f_globals" msgid "global namespace seen by this frame" msgstr "" @@ -234,10 +234,10 @@ msgid "f_lasti" msgstr "" msgid "f_lineno" -msgstr "" +msgstr "f_lineno" msgid "f_locals" -msgstr "" +msgstr "f_locals" msgid "local namespace seen by this frame" msgstr "" @@ -279,7 +279,7 @@ msgid "code" msgstr "" msgid "co_argcount" -msgstr "" +msgstr "co_argcount" msgid "" "number of arguments (not including keyword only arguments, \\* or \\*\\* " @@ -287,7 +287,7 @@ msgid "" msgstr "" msgid "co_code" -msgstr "" +msgstr "co_code" msgid "string of raw compiled bytecode" msgstr "" @@ -299,7 +299,7 @@ msgid "tuple of names of cell variables (referenced by containing scopes)" msgstr "" msgid "co_consts" -msgstr "" +msgstr "co_consts" msgid "tuple of constants used in the bytecode" msgstr "" @@ -311,13 +311,13 @@ msgid "name of file in which this code object was created" msgstr "" msgid "co_firstlineno" -msgstr "" +msgstr "co_firstlineno" msgid "number of first line in Python source code" msgstr "" msgid "co_flags" -msgstr "" +msgstr "co_flags" msgid "" "bitmap of ``CO_*`` flags, read more :ref:`here `" @@ -336,19 +336,19 @@ msgid "tuple of names of free variables (referenced via a function's closure)" msgstr "" msgid "co_posonlyargcount" -msgstr "" +msgstr "co_posonlyargcount" msgid "number of positional only arguments" msgstr "" msgid "co_kwonlyargcount" -msgstr "" +msgstr "co_kwonlyargcount" msgid "number of keyword only arguments (not including \\*\\* arg)" msgstr "" msgid "co_name" -msgstr "" +msgstr "co_name" msgid "name with which this code object was defined" msgstr "" @@ -366,13 +366,13 @@ msgid "tuple of names other than arguments and function locals" msgstr "" msgid "co_nlocals" -msgstr "" +msgstr "co_nlocals" msgid "number of local variables" msgstr "" msgid "co_stacksize" -msgstr "" +msgstr "co_stacksize" msgid "virtual machine stack space required" msgstr "" @@ -409,10 +409,10 @@ msgid "name" msgstr "nazwa" msgid "gi_frame" -msgstr "" +msgstr "gi_frame" msgid "gi_running" -msgstr "" +msgstr "gi_running" msgid "is the generator running?" msgstr "" @@ -448,10 +448,10 @@ msgid "coroutine" msgstr "" msgid "cr_await" -msgstr "" +msgstr "cr_await" msgid "cr_frame" -msgstr "" +msgstr "cr_frame" msgid "cr_running" msgstr "" @@ -460,7 +460,7 @@ msgid "is the coroutine running?" msgstr "" msgid "cr_code" -msgstr "" +msgstr "cr_code" msgid "cr_origin" msgstr "" diff --git a/library/internet.po b/library/internet.po index 943aaf530..c03370288 100644 --- a/library/internet.po +++ b/library/internet.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:08+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/intro.po b/library/intro.po index 5c71d60f9..48f6caa0c 100644 --- a/library/intro.po +++ b/library/intro.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:08+0000\n" "Last-Translator: Seweryn Piórkowski , 2021\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/io.po b/library/io.po index 4031087ae..e8ead887e 100644 --- a/library/io.po +++ b/library/io.po @@ -6,17 +6,17 @@ # Translators: # Stefan Ocetkiewicz , 2021 # Maciej Olko , 2021 -# Stan Ulbrych, 2024 # Rafael Fontenelle , 2025 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:08+0000\n" -"Last-Translator: Rafael Fontenelle , 2025\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -30,7 +30,7 @@ msgid ":mod:`!io` --- Core tools for working with streams" msgstr "" msgid "**Source code:** :source:`Lib/io.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/io.py`" msgid "Overview" msgstr "Skorowidz" @@ -656,15 +656,14 @@ msgstr "" msgid "" "The main difference with :class:`RawIOBase` is that methods :meth:`read`, :" "meth:`readinto` and :meth:`write` will try (respectively) to read as much " -"input as requested or to consume all given output, at the expense of making " -"perhaps more than one system call." +"input as requested or to emit all provided data." msgstr "" msgid "" -"In addition, those methods can raise :exc:`BlockingIOError` if the " -"underlying raw stream is in non-blocking mode and cannot take or give enough " -"data; unlike their :class:`RawIOBase` counterparts, they will never return " -"``None``." +"In addition, if the underlying raw stream is in non-blocking mode, when the " +"system returns would block :meth:`write` will raise :exc:`BlockingIOError` " +"with :attr:`BlockingIOError.characters_written` and :meth:`read` will return " +"data read so far or ``None`` if no data is available." msgstr "" msgid "" @@ -702,34 +701,37 @@ msgid "" msgstr "" msgid "" -"Read and return up to *size* bytes. If the argument is omitted, ``None``, " -"or negative, data is read and returned until EOF is reached. An empty :" -"class:`bytes` object is returned if the stream is already at EOF." +"Read and return up to *size* bytes. If the argument is omitted, ``None``, or " +"negative read as much as possible." msgstr "" msgid "" -"If the argument is positive, and the underlying raw stream is not " -"interactive, multiple raw reads may be issued to satisfy the byte count " -"(unless EOF is reached first). But for interactive raw streams, at most one " -"raw read will be issued, and a short result does not imply that EOF is " -"imminent." +"Fewer bytes may be returned than requested. An empty :class:`bytes` object " +"is returned if the stream is already at EOF. More than one read may be made " +"and calls may be retried if specific errors are encountered, see :meth:`os." +"read` and :pep:`475` for more details. Less than size bytes being returned " +"does not imply that EOF is imminent." msgstr "" msgid "" -"A :exc:`BlockingIOError` is raised if the underlying raw stream is in non " -"blocking-mode, and has no data available at the moment." +"When reading as much as possible the default implementation will use ``raw." +"readall`` if available (which should implement :meth:`RawIOBase.readall`), " +"otherwise will read in a loop until read returns ``None``, an empty :class:" +"`bytes`, or a non-retryable error. For most streams this is to EOF, but for " +"non-blocking streams more data may become available." msgstr "" msgid "" -"Read and return up to *size* bytes, with at most one call to the underlying " -"raw stream's :meth:`~RawIOBase.read` (or :meth:`~RawIOBase.readinto`) " -"method. This can be useful if you are implementing your own buffering on " -"top of a :class:`BufferedIOBase` object." +"When the underlying raw stream is non-blocking, implementations may either " +"raise :exc:`BlockingIOError` or return ``None`` if no data is available. :" +"mod:`io` implementations return ``None``." msgstr "" msgid "" -"If *size* is ``-1`` (the default), an arbitrary number of bytes are returned " -"(more than zero unless EOF is reached)." +"Read and return up to *size* bytes, calling :meth:`~RawIOBase.readinto` " +"which may retry if :py:const:`~errno.EINTR` is encountered per :pep:`475`. " +"If *size* is ``-1`` or not provided, the implementation will choose an " +"arbitrary value for *size*." msgstr "" msgid "" @@ -743,6 +745,11 @@ msgid "" "stream, unless the latter is interactive." msgstr "" +msgid "" +"A :exc:`BlockingIOError` is raised if the underlying raw stream is in non " +"blocking-mode, and has no data available at the moment." +msgstr "" + msgid "" "Read bytes into a pre-allocated, writable :term:`bytes-like object` *b*, " "using at most one call to the underlying raw stream's :meth:`~RawIOBase." @@ -924,25 +931,18 @@ msgid "" msgstr "" msgid "" -"Return bytes from the stream without advancing the position. At most one " -"single read on the raw stream is done to satisfy the call. The number of " -"bytes returned may be less or more than requested." -msgstr "" - -msgid "" -"Read and return *size* bytes, or if *size* is not given or negative, until " -"EOF or if the read call would block in non-blocking mode." +"Return bytes from the stream without advancing the position. The number of " +"bytes returned may be less or more than requested. If the underlying raw " +"stream is non-blocking and the operation would block, returns empty bytes." msgstr "" msgid "" -"When the underlying raw stream is non-blocking, a :exc:`BlockingIOError` may " -"be raised if a read operation cannot be completed immediately." +"In :class:`BufferedReader` this is the same as :meth:`io.BufferedIOBase.read`" msgstr "" msgid "" -"Read and return up to *size* bytes with only one call on the raw stream. If " -"at least one byte is buffered, only buffered bytes are returned. Otherwise, " -"one raw stream read call is made." +"In :class:`BufferedReader` this is the same as :meth:`io.BufferedIOBase." +"read1`" msgstr "" msgid "" @@ -989,8 +989,9 @@ msgstr "" msgid "" "Write the :term:`bytes-like object`, *b*, and return the number of bytes " -"written. When in non-blocking mode, a :exc:`BlockingIOError` is raised if " -"the buffer needs to be written out but the raw stream blocks." +"written. When in non-blocking mode, a :exc:`BlockingIOError` with :attr:" +"`BlockingIOError.characters_written` set is raised if the buffer needs to be " +"written out but the raw stream blocks." msgstr "" msgid "" @@ -1060,9 +1061,9 @@ msgid "" msgstr "" msgid "" -"The underlying binary buffer (a :class:`BufferedIOBase` instance) that :" -"class:`TextIOBase` deals with. This is not part of the :class:`TextIOBase` " -"API and may not exist in some implementations." +"The underlying binary buffer (a :class:`BufferedIOBase` or :class:" +"`RawIOBase` instance) that :class:`TextIOBase` deals with. This is not part " +"of the :class:`TextIOBase` API and may not exist in some implementations." msgstr "" msgid "" @@ -1212,6 +1213,11 @@ msgid "" "The *encoding* argument now supports the ``\"locale\"`` dummy encoding name." msgstr "" +msgid "" +"When the underlying raw stream is non-blocking, a :exc:`BlockingIOError` may " +"be raised if a read operation cannot be completed immediately." +msgstr "" + msgid "" ":class:`TextIOWrapper` provides these data attributes and methods in " "addition to those from :class:`TextIOBase` and :class:`IOBase`:" diff --git a/library/ipaddress.po b/library/ipaddress.po index fcfef66c8..e89afd528 100644 --- a/library/ipaddress.po +++ b/library/ipaddress.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:08+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -27,7 +27,7 @@ msgid ":mod:`!ipaddress` --- IPv4/IPv6 manipulation library" msgstr "" msgid "**Source code:** :source:`Lib/ipaddress.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/ipaddress.py`" msgid "" ":mod:`ipaddress` provides the capabilities to create, manipulate and operate " diff --git a/library/itertools.po b/library/itertools.po index 626ca07bb..5127a5769 100644 --- a/library/itertools.po +++ b/library/itertools.po @@ -5,16 +5,16 @@ # # Translators: # Maciej Olko , 2021 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:08+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -78,7 +78,7 @@ msgid ":func:`cycle`" msgstr ":func:`cycle`" msgid "p" -msgstr "" +msgstr "p" msgid "p0, p1, ... plast, p0, p1, ..." msgstr "" @@ -294,19 +294,19 @@ msgid "Examples" msgstr "Przykłady" msgid "``product('ABCD', repeat=2)``" -msgstr "" +msgstr "``product('ABCD', repeat=2)``" msgid "``AA AB AC AD BA BB BC BD CA CB CC CD DA DB DC DD``" msgstr "" msgid "``permutations('ABCD', 2)``" -msgstr "" +msgstr "``permutations('ABCD', 2)``" msgid "``AB AC AD BA BC BD CA CB CD DA DB DC``" msgstr "" msgid "``combinations('ABCD', 2)``" -msgstr "" +msgstr "``combinations('ABCD', 2)``" msgid "``AB AC AD BC BD CD``" msgstr "" diff --git a/library/json.po b/library/json.po index 08d09d732..d07d283a1 100644 --- a/library/json.po +++ b/library/json.po @@ -15,7 +15,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:08+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -31,7 +31,7 @@ msgid ":mod:`!json` --- JSON encoder and decoder" msgstr "" msgid "**Source code:** :source:`Lib/json/__init__.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/json/__init__.py`" msgid "" "`JSON (JavaScript Object Notation) `_, specified by :rfc:" @@ -42,6 +42,12 @@ msgid "" "strict subset of JavaScript [#rfc-errata]_ )." msgstr "" +msgid "" +"The term \"object\" in the context of JSON processing in Python can be " +"ambiguous. All values in Python are objects. In JSON, an object refers to " +"any data wrapped in curly braces, similar to a Python dictionary." +msgstr "" + msgid "" "Be cautious when parsing JSON data from untrusted sources. A malicious JSON " "string may cause the decoder to consume considerable CPU and memory " @@ -49,7 +55,7 @@ msgid "" msgstr "" msgid "" -":mod:`json` exposes an API familiar to users of the standard library :mod:" +"This module exposes an API familiar to users of the standard library :mod:" "`marshal` and :mod:`pickle` modules." msgstr "" @@ -96,7 +102,7 @@ msgid "" "}" msgstr "" -msgid "Specializing JSON object encoding::" +msgid "Customizing JSON object encoding::" msgstr "" msgid "" @@ -126,7 +132,7 @@ msgid "" "['streaming API']" msgstr "" -msgid "Specializing JSON object decoding::" +msgid "Customizing JSON object decoding::" msgstr "" msgid "" @@ -315,7 +321,7 @@ msgid "" msgstr "" msgid "" -"If set, a function that is called with the result of any object literal " +"If set, a function that is called with the result of any JSON object literal " "decoded (a :class:`dict`). The return value of this function will be used " "instead of the :class:`dict`. This feature can be used to implement custom " "decoders, for example `JSON-RPC `_ class hinting. " @@ -323,7 +329,7 @@ msgid "" msgstr "" msgid "" -"If set, a function that is called with the result of any object literal " +"If set, a function that is called with the result of any JSON object literal " "decoded with an ordered list of pairs. The return value of this function " "will be used instead of the :class:`dict`. This feature can be used to " "implement custom decoders. If *object_hook* is also set, *object_pairs_hook* " @@ -406,7 +412,7 @@ msgid "JSON" msgstr "" msgid "Python" -msgstr "" +msgstr "Python" msgid "object" msgstr "obiekt" @@ -855,7 +861,7 @@ msgid "Command-line interface" msgstr "" msgid "**Source code:** :source:`Lib/json/tool.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/json/tool.py`" msgid "" "The :mod:`json` module can be invoked as a script via ``python -m json`` to " diff --git a/library/linecache.po b/library/linecache.po index 0df88c764..32732f7cc 100644 --- a/library/linecache.po +++ b/library/linecache.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:08+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!linecache` --- Random access to text lines" msgstr "" msgid "**Source code:** :source:`Lib/linecache.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/linecache.py`" msgid "" "The :mod:`linecache` module allows one to get any line from a Python source " diff --git a/library/locale.po b/library/locale.po index bdc21cf58..8134a1af0 100644 --- a/library/locale.po +++ b/library/locale.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:08+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!locale` --- Internationalization services" msgstr "" msgid "**Source code:** :source:`Lib/locale.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/locale.py`" msgid "" "The :mod:`locale` module opens access to the POSIX locale database and " diff --git a/library/logging.config.po b/library/logging.config.po index fae34957a..a54bfdc04 100644 --- a/library/logging.config.po +++ b/library/logging.config.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:09+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!logging.config` --- Logging configuration" msgstr "" msgid "**Source code:** :source:`Lib/logging/config.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/logging/config.py`" msgid "" "This page contains only reference information. For tutorials, please see" @@ -669,10 +669,10 @@ msgid "" msgstr "" msgid "" -"You can also specify a special key ``'.'`` whose value is a dictionary is a " -"mapping of attribute names to values. If found, the specified attributes " -"will be set on the user-defined object before it is returned. Thus, with the " -"following configuration::" +"You can also specify a special key ``'.'`` whose value is a mapping of " +"attribute names to values. If found, the specified attributes will be set on " +"the user-defined object before it is returned. Thus, with the following " +"configuration::" msgstr "" msgid "" @@ -712,7 +712,7 @@ msgid "" "handler has been configured) it points to the configured handler instance. " "Thus, ``cfg://handlers.foo`` could resolve to either a dictionary or a " "handler instance. In general, it is wise to name handlers in a way such that " -"dependent handlers are configured _after_ any handlers they depend on; that " +"dependent handlers are configured *after* any handlers they depend on; that " "allows something like ``cfg://handlers.foo`` to be used in configuring a " "handler that depends on handler ``foo``. If that dependent handler were " "named ``bar``, problems would result, because the configuration of ``bar`` " diff --git a/library/logging.handlers.po b/library/logging.handlers.po index 7a3a8e5e2..26cb77cc5 100644 --- a/library/logging.handlers.po +++ b/library/logging.handlers.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:09+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!logging.handlers` --- Logging handlers" msgstr "" msgid "**Source code:** :source:`Lib/logging/handlers.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/logging/handlers.py`" msgid "" "This page contains only reference information. For tutorials, please see" @@ -363,9 +363,14 @@ msgid "" "previously." msgstr "" -msgid "TimedRotatingFileHandler" +msgid "" +"See if the supplied record would cause the file to exceed the configured " +"size limit." msgstr "" +msgid "TimedRotatingFileHandler" +msgstr "TimedRotatingFileHandler" + msgid "" "The :class:`TimedRotatingFileHandler` class, located in the :mod:`logging." "handlers` module, supports rotation of disk log files at certain timed " @@ -508,8 +513,12 @@ msgstr "" msgid "" "Returns a list of filenames which should be deleted as part of rollover. " -"These are the absolute paths of the oldest backup log files written by the " -"handler." +"These" +msgstr "" + +msgid "" +"See if enough time has passed for a rollover to occur and if it has, compute " +"the next rollover time." msgstr "" msgid "SocketHandler" @@ -781,7 +790,7 @@ msgid "``alert``" msgstr "" msgid "LOG_ALERT" -msgstr "" +msgstr "LOG_ALERT" msgid "``crit`` or ``critical``" msgstr "" @@ -793,19 +802,19 @@ msgid "``debug``" msgstr "" msgid "LOG_DEBUG" -msgstr "" +msgstr "LOG_DEBUG" msgid "``emerg`` or ``panic``" msgstr "" msgid "LOG_EMERG" -msgstr "" +msgstr "LOG_EMERG" msgid "``err`` or ``error``" msgstr "" msgid "LOG_ERR" -msgstr "" +msgstr "LOG_ERR" msgid "``info``" msgstr "``info``" @@ -817,13 +826,13 @@ msgid "``notice``" msgstr "" msgid "LOG_NOTICE" -msgstr "" +msgstr "LOG_NOTICE" msgid "``warn`` or ``warning``" msgstr "" msgid "LOG_WARNING" -msgstr "" +msgstr "LOG_WARNING" msgid "**Facilities**" msgstr "" @@ -832,25 +841,25 @@ msgid "``auth``" msgstr "``auth``" msgid "LOG_AUTH" -msgstr "" +msgstr "LOG_AUTH" msgid "``authpriv``" msgstr "``authpriv``" msgid "LOG_AUTHPRIV" -msgstr "" +msgstr "LOG_AUTHPRIV" msgid "``cron``" msgstr "``cron``" msgid "LOG_CRON" -msgstr "" +msgstr "LOG_CRON" msgid "``daemon``" msgstr "" msgid "LOG_DAEMON" -msgstr "" +msgstr "LOG_DAEMON" msgid "``ftp``" msgstr "``ftp``" @@ -874,7 +883,7 @@ msgid "``mail``" msgstr "``mail``" msgid "LOG_MAIL" -msgstr "" +msgstr "LOG_MAIL" msgid "``news``" msgstr "``news``" @@ -886,19 +895,19 @@ msgid "``syslog``" msgstr "" msgid "LOG_SYSLOG" -msgstr "" +msgstr "LOG_SYSLOG" msgid "``user``" msgstr "" msgid "LOG_USER" -msgstr "" +msgstr "LOG_USER" msgid "``uucp``" msgstr "``uucp``" msgid "LOG_UUCP" -msgstr "" +msgstr "LOG_UUCP" msgid "``local0``" msgstr "``local0``" @@ -910,13 +919,13 @@ msgid "``local1``" msgstr "``local1``" msgid "LOG_LOCAL1" -msgstr "" +msgstr "LOG_LOCAL1" msgid "``local2``" msgstr "" msgid "LOG_LOCAL2" -msgstr "" +msgstr "LOG_LOCAL2" msgid "``local3``" msgstr "``local3``" @@ -934,7 +943,7 @@ msgid "``local5``" msgstr "``local5``" msgid "LOG_LOCAL5" -msgstr "" +msgstr "LOG_LOCAL5" msgid "``local6``" msgstr "``local6``" @@ -946,7 +955,7 @@ msgid "``local7``" msgstr "``local7``" msgid "LOG_LOCAL7" -msgstr "" +msgstr "LOG_LOCAL7" msgid "" "Maps a logging level name to a syslog priority name. You may need to " @@ -1018,7 +1027,7 @@ msgid "" msgstr "" msgid "SMTPHandler" -msgstr "" +msgstr "SMTPHandler" msgid "" "The :class:`SMTPHandler` class, located in the :mod:`logging.handlers` " @@ -1130,7 +1139,7 @@ msgid "Checks for buffer full or a record at the *flushLevel* or higher." msgstr "" msgid "HTTPHandler" -msgstr "" +msgstr "HTTPHandler" msgid "" "The :class:`HTTPHandler` class, located in the :mod:`logging.handlers` " @@ -1209,6 +1218,15 @@ msgid "" "`~queue.SimpleQueue` and instead use :class:`multiprocessing.Queue`." msgstr "" +msgid "" +"The :mod:`multiprocessing` module uses an internal logger created and " +"accessed via :meth:`~multiprocessing.get_logger`. :class:`multiprocessing." +"Queue` will log ``DEBUG`` level messages upon items being queued. If those " +"log messages are processed by a :class:`QueueHandler` using the same :class:" +"`multiprocessing.Queue` instance, it will cause a deadlock or infinite " +"recursion." +msgstr "" + msgid "" "Enqueues the result of preparing the LogRecord. Should an exception occur (e." "g. because a bounded queue has filled up), the :meth:`~logging.Handler." diff --git a/library/logging.po b/library/logging.po index a1efb7d0d..0e77cd38a 100644 --- a/library/logging.po +++ b/library/logging.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:09+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!logging` --- Logging facility for Python" msgstr "" msgid "**Source code:** :source:`Lib/logging/__init__.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/logging/__init__.py`" msgid "" "This page contains the API reference information. For tutorial information " diff --git a/library/lzma.po b/library/lzma.po index b5792379a..3a7c61fce 100644 --- a/library/lzma.po +++ b/library/lzma.po @@ -1,20 +1,20 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Maciej Olko , 2021 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:09+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -28,7 +28,7 @@ msgid ":mod:`!lzma` --- Compression using the LZMA algorithm" msgstr "" msgid "**Source code:** :source:`Lib/lzma.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/lzma.py`" msgid "" "This module provides classes and convenience functions for compressing and " diff --git a/library/mailbox.po b/library/mailbox.po index c3e54e666..6111439b4 100644 --- a/library/mailbox.po +++ b/library/mailbox.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -11,9 +11,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:09+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -29,7 +29,7 @@ msgid ":mod:`!mailbox` --- Manipulate mailboxes in various formats" msgstr "" msgid "**Source code:** :source:`Lib/mailbox.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/mailbox.py`" msgid "" "This module defines two classes, :class:`Mailbox` and :class:`Message`, for " diff --git a/library/marshal.po b/library/marshal.po index 3d8c2dacf..4f2d92bd7 100644 --- a/library/marshal.po +++ b/library/marshal.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:09+0000\n" "Last-Translator: Maciej Olko , 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/math.po b/library/math.po index fdecd47cc..8bb3a9036 100644 --- a/library/math.po +++ b/library/math.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-16 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:09+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -29,8 +29,8 @@ msgid ":mod:`!math` --- Mathematical functions" msgstr "" msgid "" -"This module provides access to the mathematical functions defined by the C " -"standard." +"This module provides access to common mathematical functions and constants, " +"including those defined by the C standard." msgstr "" msgid "" @@ -61,25 +61,25 @@ msgid "" msgstr "" msgid ":func:`factorial(n) `" -msgstr "" +msgstr ":func:`factorial(n) `" msgid "*n* factorial" msgstr "" msgid ":func:`gcd(*integers) `" -msgstr "" +msgstr ":func:`gcd(*integers) `" msgid "Greatest common divisor of the integer arguments" msgstr "" msgid ":func:`isqrt(n) `" -msgstr "" +msgstr ":func:`isqrt(n) `" msgid "Integer square root of a nonnegative integer *n*" msgstr "" msgid ":func:`lcm(*integers) `" -msgstr "" +msgstr ":func:`lcm(*integers) `" msgid "Least common multiple of the integer arguments" msgstr "" @@ -96,19 +96,19 @@ msgid "**Floating point arithmetic**" msgstr "" msgid ":func:`ceil(x) `" -msgstr "" +msgstr ":func:`ceil(x) `" msgid "Ceiling of *x*, the smallest integer greater than or equal to *x*" msgstr "" msgid ":func:`fabs(x) `" -msgstr "" +msgstr ":func:`fabs(x) `" msgid "Absolute value of *x*" msgstr "" msgid ":func:`floor(x) `" -msgstr "" +msgstr ":func:`floor(x) `" msgid "Floor of *x*, the largest integer less than or equal to *x*" msgstr "" @@ -126,7 +126,7 @@ msgid "Remainder of division ``x / y``" msgstr "" msgid ":func:`modf(x) `" -msgstr "" +msgstr ":func:`modf(x) `" msgid "Fractional and integer parts of *x*" msgstr "" @@ -138,7 +138,7 @@ msgid "Remainder of *x* with respect to *y*" msgstr "" msgid ":func:`trunc(x) `" -msgstr "" +msgstr ":func:`trunc(x) `" msgid "Integer part of *x*" msgstr "" @@ -153,7 +153,7 @@ msgid "Magnitude (absolute value) of *x* with the sign of *y*" msgstr "" msgid ":func:`frexp(x) `" -msgstr "" +msgstr ":func:`frexp(x) `" msgid "Mantissa and exponent of *x*" msgstr "" @@ -165,19 +165,19 @@ msgid "Check if the values *a* and *b* are close to each other" msgstr "" msgid ":func:`isfinite(x) `" -msgstr "" +msgstr ":func:`isfinite(x) `" msgid "Check if *x* is neither an infinity nor a NaN" msgstr "" msgid ":func:`isinf(x) `" -msgstr "" +msgstr ":func:`isinf(x) `" msgid "Check if *x* is a positive or negative infinity" msgstr "" msgid ":func:`isnan(x) `" -msgstr "" +msgstr ":func:`isnan(x) `" msgid "Check if *x* is a NaN (not a number)" msgstr "" @@ -195,7 +195,7 @@ msgid "Floating-point value *steps* steps after *x* towards *y*" msgstr "" msgid ":func:`ulp(x) `" -msgstr "" +msgstr ":func:`ulp(x) `" msgid "Value of the least significant bit of *x*" msgstr "" @@ -204,25 +204,25 @@ msgid "**Power, exponential and logarithmic functions**" msgstr "" msgid ":func:`cbrt(x) `" -msgstr "" +msgstr ":func:`cbrt(x) `" msgid "Cube root of *x*" msgstr "" msgid ":func:`exp(x) `" -msgstr "" +msgstr ":func:`exp(x) `" msgid "*e* raised to the power *x*" msgstr "" msgid ":func:`exp2(x) `" -msgstr "" +msgstr ":func:`exp2(x) `" msgid "*2* raised to the power *x*" msgstr "" msgid ":func:`expm1(x) `" -msgstr "" +msgstr ":func:`expm1(x) `" msgid "*e* raised to the power *x*, minus 1" msgstr "" @@ -234,19 +234,19 @@ msgid "Logarithm of *x* to the given base (*e* by default)" msgstr "" msgid ":func:`log1p(x) `" -msgstr "" +msgstr ":func:`log1p(x) `" msgid "Natural logarithm of *1+x* (base *e*)" msgstr "" msgid ":func:`log2(x) `" -msgstr "" +msgstr ":func:`log2(x) `" msgid "Base-2 logarithm of *x*" msgstr "" msgid ":func:`log10(x) `" -msgstr "" +msgstr ":func:`log10(x) `" msgid "Base-10 logarithm of *x*" msgstr "" @@ -258,7 +258,7 @@ msgid "*x* raised to the power *y*" msgstr "" msgid ":func:`sqrt(x) `" -msgstr "" +msgstr ":func:`sqrt(x) `" msgid "Square root of *x*" msgstr "" @@ -275,13 +275,13 @@ msgid "" msgstr "" msgid ":func:`fsum(iterable) `" -msgstr "" +msgstr ":func:`fsum(iterable) `" msgid "Sum of values in the input *iterable*" msgstr "" msgid ":func:`hypot(*coordinates) `" -msgstr "" +msgstr ":func:`hypot(*coordinates) `" msgid "Euclidean norm of an iterable of coordinates" msgstr "" @@ -302,13 +302,13 @@ msgid "**Angular conversion**" msgstr "" msgid ":func:`degrees(x) `" -msgstr "" +msgstr ":func:`degrees(x) `" msgid "Convert angle *x* from radians to degrees" msgstr "" msgid ":func:`radians(x) `" -msgstr "" +msgstr ":func:`radians(x) `" msgid "Convert angle *x* from degrees to radians" msgstr "" @@ -317,19 +317,19 @@ msgid "**Trigonometric functions**" msgstr "" msgid ":func:`acos(x) `" -msgstr "" +msgstr ":func:`acos(x) `" msgid "Arc cosine of *x*" msgstr "" msgid ":func:`asin(x) `" -msgstr "" +msgstr ":func:`asin(x) `" msgid "Arc sine of *x*" msgstr "" msgid ":func:`atan(x) `" -msgstr "" +msgstr ":func:`atan(x) `" msgid "Arc tangent of *x*" msgstr "" @@ -341,19 +341,19 @@ msgid "``atan(y / x)``" msgstr "``atan(y / x)``" msgid ":func:`cos(x) `" -msgstr "" +msgstr ":func:`cos(x) `" msgid "Cosine of *x*" msgstr "" msgid ":func:`sin(x) `" -msgstr "" +msgstr ":func:`sin(x) `" msgid "Sine of *x*" msgstr "" msgid ":func:`tan(x) `" -msgstr "" +msgstr ":func:`tan(x) `" msgid "Tangent of *x*" msgstr "" @@ -362,37 +362,37 @@ msgid "**Hyperbolic functions**" msgstr "" msgid ":func:`acosh(x) `" -msgstr "" +msgstr ":func:`acosh(x) `" msgid "Inverse hyperbolic cosine of *x*" msgstr "" msgid ":func:`asinh(x) `" -msgstr "" +msgstr ":func:`asinh(x) `" msgid "Inverse hyperbolic sine of *x*" msgstr "" msgid ":func:`atanh(x) `" -msgstr "" +msgstr ":func:`atanh(x) `" msgid "Inverse hyperbolic tangent of *x*" msgstr "" msgid ":func:`cosh(x) `" -msgstr "" +msgstr ":func:`cosh(x) `" msgid "Hyperbolic cosine of *x*" msgstr "" msgid ":func:`sinh(x) `" -msgstr "" +msgstr ":func:`sinh(x) `" msgid "Hyperbolic sine of *x*" msgstr "" msgid ":func:`tanh(x) `" -msgstr "" +msgstr ":func:`tanh(x) `" msgid "Hyperbolic tangent of *x*" msgstr "" @@ -401,13 +401,13 @@ msgid "**Special functions**" msgstr "" msgid ":func:`erf(x) `" -msgstr "" +msgstr ":func:`erf(x) `" msgid "`Error function `_ at *x*" msgstr "" msgid ":func:`erfc(x) `" -msgstr "" +msgstr ":func:`erfc(x) `" msgid "" "`Complementary error function `" -msgstr "" +msgstr ":func:`gamma(x) `" msgid "`Gamma function `_ at *x*" msgstr "" msgid ":func:`lgamma(x) `" -msgstr "" +msgstr ":func:`lgamma(x) `" msgid "" "Natural logarithm of the absolute value of the `Gamma function `_, and start " -"celebrating `Tau day `_ by eating twice as much pie!" +"(still) Wrong `_, and start celebrating `Tau " +"day `_ by eating twice as much pie!" msgstr "" msgid "" diff --git a/library/mimetypes.po b/library/mimetypes.po index 7e7395d16..e25a53fef 100644 --- a/library/mimetypes.po +++ b/library/mimetypes.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:09+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!mimetypes` --- Map filenames to MIME types" msgstr "" msgid "**Source code:** :source:`Lib/mimetypes.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/mimetypes.py`" msgid "" "The :mod:`mimetypes` module converts between a filename or URL and the MIME " diff --git a/library/mmap.po b/library/mmap.po index 1ec344757..25c0bec8f 100644 --- a/library/mmap.po +++ b/library/mmap.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:09+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -319,7 +319,7 @@ msgstr "" msgid "" "Resizing a map created with *access* of :const:`ACCESS_READ` or :const:" "`ACCESS_COPY`, will raise a :exc:`TypeError` exception. Resizing a map " -"created with with *trackfd* set to ``False``, will raise a :exc:`ValueError` " +"created with *trackfd* set to ``False``, will raise a :exc:`ValueError` " "exception." msgstr "" diff --git a/library/multiprocessing.po b/library/multiprocessing.po index 731b00a1a..f2c5d5afb 100644 --- a/library/multiprocessing.po +++ b/library/multiprocessing.po @@ -15,7 +15,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:10+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -31,7 +31,7 @@ msgid ":mod:`!multiprocessing` --- Process-based parallelism" msgstr "" msgid "**Source code:** :source:`Lib/multiprocessing/`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/multiprocessing/`" msgid "Availability" msgstr "Dostępność" @@ -1255,7 +1255,7 @@ msgid "" msgstr "" msgid ":func:`os.cpu_count` :func:`os.process_cpu_count`" -msgstr "" +msgstr ":func:`os.cpu_count` :func:`os.process_cpu_count`" msgid "" "The return value can also be overridden using the :option:`-X cpu_count <-" @@ -1278,7 +1278,7 @@ msgstr "" msgid "" "Add support for when a program which uses :mod:`multiprocessing` has been " -"frozen to produce a Windows executable. (Has been tested with **py2exe**, " +"frozen to produce an executable. (Has been tested with **py2exe**, " "**PyInstaller** and **cx_Freeze**.)" msgstr "" @@ -1304,10 +1304,10 @@ msgid "" msgstr "" msgid "" -"Calling ``freeze_support()`` has no effect when invoked on any operating " -"system other than Windows. In addition, if the module is being run normally " -"by the Python interpreter on Windows (the program has not been frozen), then " -"``freeze_support()`` has no effect." +"Calling ``freeze_support()`` has no effect when the start method is not " +"*spawn*. In addition, if the module is being run normally by the Python " +"interpreter (the program has not been frozen), then ``freeze_support()`` has " +"no effect." msgstr "" msgid "" @@ -1323,19 +1323,21 @@ msgid "" msgstr "" msgid "" -"If *method* is ``None`` then the default context is returned. Otherwise " -"*method* should be ``'fork'``, ``'spawn'``, ``'forkserver'``. :exc:" -"`ValueError` is raised if the specified start method is not available. See :" -"ref:`multiprocessing-start-methods`." +"If *method* is ``None`` then the default context is returned. Note that if " +"the global start method has not been set, this will set it to the default " +"method. Otherwise *method* should be ``'fork'``, ``'spawn'``, " +"``'forkserver'``. :exc:`ValueError` is raised if the specified start method " +"is not available. See :ref:`multiprocessing-start-methods`." msgstr "" msgid "Return the name of start method used for starting processes." msgstr "" msgid "" -"If the start method has not been fixed and *allow_none* is false, then the " -"start method is fixed to the default and the name is returned. If the start " -"method has not been fixed and *allow_none* is true then ``None`` is returned." +"If the global start method has not been set and *allow_none* is ``False``, " +"then the start method is set to the default and the name is returned. If the " +"start method has not been set and *allow_none* is ``True`` then ``None`` is " +"returned." msgstr "" msgid "" diff --git a/library/multiprocessing.shared_memory.po b/library/multiprocessing.shared_memory.po index fa5b940b1..ed53eaedb 100644 --- a/library/multiprocessing.shared_memory.po +++ b/library/multiprocessing.shared_memory.po @@ -1,20 +1,20 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Maciej Olko , 2024 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:10+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -30,7 +30,7 @@ msgid "" msgstr "" msgid "**Source code:** :source:`Lib/multiprocessing/shared_memory.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/multiprocessing/shared_memory.py`" msgid "" "This module provides a class, :class:`SharedMemory`, for the allocation and " diff --git a/library/numeric.po b/library/numeric.po index faa7ab834..658dc0d33 100644 --- a/library/numeric.po +++ b/library/numeric.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:10+0000\n" "Last-Translator: Krzysztof Abramowicz, 2022\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/operator.po b/library/operator.po index 105a30b45..2333467dc 100644 --- a/library/operator.po +++ b/library/operator.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:10+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -29,7 +29,7 @@ msgid ":mod:`!operator` --- Standard operators as functions" msgstr "" msgid "**Source code:** :source:`Lib/operator.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/operator.py`" msgid "" "The :mod:`operator` module exports a set of efficient functions " @@ -331,7 +331,7 @@ msgid "Concatenation" msgstr "" msgid "``seq1 + seq2``" -msgstr "" +msgstr "``seq1 + seq2``" msgid "``concat(seq1, seq2)``" msgstr "``concat(seq1, seq2)``" @@ -340,7 +340,7 @@ msgid "Containment Test" msgstr "" msgid "``obj in seq``" -msgstr "" +msgstr "``obj in seq``" msgid "``contains(seq, obj)``" msgstr "``contains(seq, obj)``" @@ -424,13 +424,13 @@ msgid "``a is None``" msgstr "" msgid "``is_none(a)``" -msgstr "" +msgstr "``is_none(a)``" msgid "``a is not None``" msgstr "" msgid "``is_not_none(a)``" -msgstr "" +msgstr "``is_not_none(a)``" msgid "Indexed Assignment" msgstr "" diff --git a/library/optparse.po b/library/optparse.po index 42d70c3d6..6d079d5f0 100644 --- a/library/optparse.po +++ b/library/optparse.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -13,9 +13,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:10+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -31,7 +31,7 @@ msgid ":mod:`!optparse` --- Parser for command line options" msgstr "" msgid "**Source code:** :source:`Lib/optparse.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/optparse.py`" msgid "Choosing an argument parsing library" msgstr "" diff --git a/library/os.path.po b/library/os.path.po index 074859c1c..3741e4d73 100644 --- a/library/os.path.po +++ b/library/os.path.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -11,9 +11,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:10+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -266,9 +266,11 @@ msgid "" "different device than *path*, or whether :file:`{path}/..` and *path* point " "to the same i-node on the same device --- this should detect mount points " "for all Unix and POSIX variants. It is not able to reliably detect bind " -"mounts on the same filesystem. On Windows, a drive letter root and a share " -"UNC are always mount points, and for any other path ``GetVolumePathName`` is " -"called to see if it is different from the input path." +"mounts on the same filesystem. On Linux systems, it will always return " +"``True`` for btrfs subvolumes, even if they aren't mount points. On Windows, " +"a drive letter root and a share UNC are always mount points, and for any " +"other path ``GetVolumePathName`` is called to see if it is different from " +"the input path." msgstr "" msgid "Added support for detecting non-root mount points on Windows." @@ -369,9 +371,33 @@ msgid "" msgstr "" msgid "" -"If a path doesn't exist or a symlink loop is encountered, and *strict* is " -"``True``, :exc:`OSError` is raised. If *strict* is ``False`` these errors " -"are ignored, and so the result might be missing or otherwise inaccessible." +"By default, the path is evaluated up to the first component that does not " +"exist, is a symlink loop, or whose evaluation raises :exc:`OSError`. All " +"such components are appended unchanged to the existing part of the path." +msgstr "" + +msgid "" +"Some errors that are handled this way include \"access denied\", \"not a " +"directory\", or \"bad argument to internal function\". Thus, the resulting " +"path may be missing or inaccessible, may still contain links or loops, and " +"may traverse non-directories." +msgstr "" + +msgid "This behavior can be modified by keyword arguments:" +msgstr "" + +msgid "" +"If *strict* is ``True``, the first error encountered when evaluating the " +"path is re-raised. In particular, :exc:`FileNotFoundError` is raised if " +"*path* does not exist, or another :exc:`OSError` if it is otherwise " +"inaccessible." +msgstr "" + +msgid "" +"If *strict* is :py:data:`os.path.ALLOW_MISSING`, errors other than :exc:" +"`FileNotFoundError` are re-raised (as with ``strict=True``). Thus, the " +"returned path will not contain any symbolic links, but the named file and " +"some of its parent directories may be missing." msgstr "" msgid "" @@ -391,6 +417,14 @@ msgstr "" msgid "The *strict* parameter was added." msgstr "Parametr *strict* został dodany." +msgid "" +"The :py:data:`~os.path.ALLOW_MISSING` value for the *strict* parameter was " +"added." +msgstr "" + +msgid "Special value used for the *strict* argument in :func:`realpath`." +msgstr "" + msgid "" "Return a relative filepath to *path* either from the current directory or " "from an optional *start* directory. This is a path computation: the " diff --git a/library/os.po b/library/os.po index d27fe7bba..76b097857 100644 --- a/library/os.po +++ b/library/os.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:10+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -29,7 +29,7 @@ msgid ":mod:`!os` --- Miscellaneous operating system interfaces" msgstr "" msgid "**Source code:** :source:`Lib/os.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/os.py`" msgid "" "This module provides a portable way of using operating system dependent " diff --git a/library/pathlib.po b/library/pathlib.po index 6c4bcf24c..f23c8d72f 100644 --- a/library/pathlib.po +++ b/library/pathlib.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:11+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -29,7 +29,7 @@ msgid ":mod:`!pathlib` --- Object-oriented filesystem paths" msgstr "" msgid "**Source code:** :source:`Lib/pathlib/`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/pathlib/`" msgid "" "This module offers classes representing filesystem paths with semantics " @@ -2205,13 +2205,19 @@ msgstr "" msgid "``[seq]``" msgstr "``[seq]``" -msgid "Matches one character in *seq*." +msgid "" +"Matches one character in *seq*, where *seq* is a sequence of characters. " +"Range expressions are supported; for example, ``[a-z]`` matches any " +"lowercase ASCII letter. Multiple ranges can be combined: ``[a-zA-Z0-9_]`` " +"matches any ASCII letter, digit, or underscore." msgstr "" msgid "``[!seq]``" msgstr "``[!seq]``" -msgid "Matches one character not in *seq*." +msgid "" +"Matches one character not in *seq*, where *seq* follows the same rules as " +"above." msgstr "" msgid "" @@ -2241,13 +2247,13 @@ msgid "Any path with a final segment ending \"``.py``\"." msgstr "" msgid "\"``assets/**``\"" -msgstr "" +msgstr "\"``assets/**``\"" msgid "Any path starting with \"``assets/``\"." msgstr "" msgid "\"``assets/**/*``\"" -msgstr "" +msgstr "\"``assets/**/*``\"" msgid "" "Any path starting with \"``assets/``\", excluding \"``assets/``\" itself." @@ -2419,13 +2425,13 @@ msgid ":func:`os.path.relpath`" msgstr ":func:`os.path.relpath`" msgid ":meth:`PurePath.relative_to` [1]_" -msgstr "" +msgstr ":meth:`PurePath.relative_to` [1]_" msgid ":func:`os.path.expanduser`" msgstr ":func:`os.path.expanduser`" msgid ":meth:`Path.expanduser` [2]_" -msgstr "" +msgstr ":meth:`Path.expanduser` [2]_" msgid ":func:`os.path.realpath`" msgstr ":func:`os.path.realpath`" @@ -2437,7 +2443,7 @@ msgid ":func:`os.path.abspath`" msgstr ":func:`os.path.abspath`" msgid ":meth:`Path.absolute` [3]_" -msgstr "" +msgstr ":meth:`Path.absolute` [3]_" msgid ":func:`os.path.exists`" msgstr ":func:`os.path.exists`" @@ -2509,10 +2515,10 @@ msgid ":func:`os.walk`" msgstr ":func:`os.walk`" msgid ":meth:`Path.walk` [4]_" -msgstr "" +msgstr ":meth:`Path.walk` [4]_" msgid ":func:`os.mkdir`, :func:`os.makedirs`" -msgstr "" +msgstr ":func:`os.mkdir`, :func:`os.makedirs`" msgid ":meth:`Path.mkdir`" msgstr ":meth:`Path.mkdir`" @@ -2548,7 +2554,7 @@ msgid ":meth:`Path.replace`" msgstr ":meth:`Path.replace`" msgid ":func:`os.remove`, :func:`os.unlink`" -msgstr "" +msgstr ":func:`os.remove`, :func:`os.unlink`" msgid ":meth:`Path.unlink`" msgstr ":meth:`Path.unlink`" @@ -2643,7 +2649,7 @@ msgstr "" msgid "" "If *follow_symlinks* is ``False``, return ``True`` only if the path is a " "file (without following symlinks); return ``False`` if the path is a " -"directory or other other non-file, or if it doesn't exist." +"directory or other non-file, or if it doesn't exist." msgstr "" msgid "" diff --git a/library/pdb.po b/library/pdb.po index 1c66ee36d..7232fa3d4 100644 --- a/library/pdb.po +++ b/library/pdb.po @@ -6,16 +6,16 @@ # Translators: # Maciej Olko , 2023 # haaritsubaki, 2023 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:11+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -29,7 +29,7 @@ msgid ":mod:`pdb` --- The Python Debugger" msgstr "" msgid "**Source code:** :source:`Lib/pdb.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/pdb.py`" msgid "" "The module :mod:`pdb` defines an interactive source code debugger for Python " @@ -118,7 +118,7 @@ msgid "" "scripts. For example::" msgstr "" -msgid "python -m pdb [-c command] (-m module | pyfile) [args ...]" +msgid "python -m pdb [-c command] (-m module | -p pid | pyfile) [args ...]" msgstr "" msgid "" @@ -145,6 +145,23 @@ msgstr "" msgid "Added the ``-m`` option." msgstr "" +msgid "Attach to the process with the specified PID." +msgstr "" + +msgid "" +"To attach to a running Python process for remote debugging, use the ``-p`` " +"or ``--pid`` option with the target process's PID::" +msgstr "" + +msgid "python -m pdb -p 1234" +msgstr "" + +msgid "" +"Attaching to a process that is blocked in a system call or waiting for I/O " +"will only work once the next bytecode instruction is executed or when the " +"process receives a signal." +msgstr "" + msgid "Typical usage to execute a statement under control of the debugger is::" msgstr "" diff --git a/library/pickle.po b/library/pickle.po index eacaf1de0..623f0db44 100644 --- a/library/pickle.po +++ b/library/pickle.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:11+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -29,7 +29,7 @@ msgid ":mod:`!pickle` --- Python object serialization" msgstr "" msgid "**Source code:** :source:`Lib/pickle.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/pickle.py`" msgid "" "The :mod:`pickle` module implements binary protocols for serializing and de-" diff --git a/library/pickletools.po b/library/pickletools.po index 774bc79b2..caa3dd233 100644 --- a/library/pickletools.po +++ b/library/pickletools.po @@ -1,19 +1,19 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: -# Waldemar Stoczkowski, 2023 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-04 14:18+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:11+0000\n" -"Last-Translator: Waldemar Stoczkowski, 2023\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,7 +27,7 @@ msgid ":mod:`!pickletools` --- Tools for pickle developers" msgstr "" msgid "**Source code:** :source:`Lib/pickletools.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/pickletools.py`" msgid "" "This module contains various constants relating to the intimate details of " @@ -38,7 +38,7 @@ msgid "" "the :mod:`pickletools` module relevant." msgstr "" -msgid "Command line usage" +msgid "Command-line usage" msgstr "" msgid "" @@ -67,8 +67,8 @@ msgid "" "highest protocol among opcodes = 2" msgstr "" -msgid "Command line options" -msgstr "Opcje wiersza poleceń" +msgid "Command-line options" +msgstr "" msgid "Annotate each line with a short opcode description." msgstr "" @@ -84,11 +84,15 @@ msgid "" msgstr "" msgid "" -"When more than one pickle file are specified, print given preamble before " +"When more than one pickle file is specified, print given preamble before " "each disassembly." msgstr "" -msgid "Programmatic Interface" +msgid "" +"A pickle file to read, or ``-`` to indicate reading from standard input." +msgstr "" + +msgid "Programmatic interface" msgstr "" msgid "" diff --git a/library/pkgutil.po b/library/pkgutil.po index cb9867ab1..f921d19bd 100644 --- a/library/pkgutil.po +++ b/library/pkgutil.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:11+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -27,7 +27,7 @@ msgid ":mod:`!pkgutil` --- Package extension utility" msgstr "" msgid "**Source code:** :source:`Lib/pkgutil.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/pkgutil.py`" msgid "" "This module provides utilities for the import system, in particular package " @@ -100,9 +100,10 @@ msgid "Yield :term:`finder` objects for the given module name." msgstr "" msgid "" -"If fullname contains a ``'.'``, the finders will be for the package " -"containing fullname, otherwise they will be all registered top level finders " -"(i.e. those on both :data:`sys.meta_path` and :data:`sys.path_hooks`)." +"If *fullname* contains a ``'.'``, the finders will be for the package " +"containing *fullname*, otherwise they will be all registered top level " +"finders (i.e. those on both :data:`sys.meta_path` and :data:`sys." +"path_hooks`)." msgstr "" msgid "" diff --git a/library/platform.po b/library/platform.po index 0fdb3ccc8..189603fec 100644 --- a/library/platform.po +++ b/library/platform.po @@ -4,16 +4,16 @@ # FIRST AUTHOR , YEAR. # # Translators: -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:11+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,7 +27,7 @@ msgid ":mod:`!platform` --- Access to underlying platform's identifying data" msgstr "" msgid "**Source code:** :source:`Lib/platform.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/platform.py`" msgid "" "Specific platforms listed alphabetically, with Linux included in the Unix " diff --git a/library/plistlib.po b/library/plistlib.po index fa439f771..167b4e268 100644 --- a/library/plistlib.po +++ b/library/plistlib.po @@ -6,15 +6,16 @@ # Translators: # Maciej Olko , 2021 # haaritsubaki, 2023 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:11+0000\n" -"Last-Translator: haaritsubaki, 2023\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -28,7 +29,7 @@ msgid ":mod:`!plistlib` --- Generate and parse Apple ``.plist`` files" msgstr "" msgid "**Source code:** :source:`Lib/plistlib.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/plistlib.py`" msgid "" "This module provides an interface for reading and writing the \"property " diff --git a/library/poplib.po b/library/poplib.po index 2edf7e57e..9ec724082 100644 --- a/library/poplib.po +++ b/library/poplib.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:11+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -27,7 +27,7 @@ msgid ":mod:`!poplib` --- POP3 protocol client" msgstr "" msgid "**Source code:** :source:`Lib/poplib.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/poplib.py`" msgid "" "This module defines a class, :class:`POP3`, which encapsulates a connection " diff --git a/library/posix.po b/library/posix.po index 91b2cd3a0..6cfa1ca2d 100644 --- a/library/posix.po +++ b/library/posix.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -11,9 +11,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:11+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/pprint.po b/library/pprint.po index 2560c0dff..81d842984 100644 --- a/library/pprint.po +++ b/library/pprint.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -7,16 +7,16 @@ # haaritsubaki, 2023 # Maciej Olko , 2024 # Wiktor Matuszewski , 2024 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:11+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -30,7 +30,7 @@ msgid ":mod:`!pprint` --- Data pretty printer" msgstr "" msgid "**Source code:** :source:`Lib/pprint.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/pprint.py`" msgid "" "The :mod:`pprint` module provides a capability to \"pretty-print\" arbitrary " diff --git a/library/profile.po b/library/profile.po index d160ffeac..fc19683a6 100644 --- a/library/profile.po +++ b/library/profile.po @@ -1,20 +1,20 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Maciej Olko , 2021 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:11+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -28,7 +28,7 @@ msgid "The Python Profilers" msgstr "" msgid "**Source code:** :source:`Lib/profile.py` and :source:`Lib/pstats.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/profile.py`" msgid "Introduction to the profilers" msgstr "" diff --git a/library/pty.po b/library/pty.po index 7ba2c30ae..215d0903f 100644 --- a/library/pty.po +++ b/library/pty.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:11+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -27,7 +27,7 @@ msgid ":mod:`!pty` --- Pseudo-terminal utilities" msgstr "" msgid "**Source code:** :source:`Lib/pty.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/pty.py`" msgid "" "The :mod:`pty` module defines operations for handling the pseudo-terminal " diff --git a/library/pwd.po b/library/pwd.po index 42c6f0dc7..6565ca5fe 100644 --- a/library/pwd.po +++ b/library/pwd.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -11,9 +11,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:11+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -43,7 +43,7 @@ msgid "" msgstr "" msgid "Index" -msgstr "" +msgstr "Indeks" msgid "Attribute" msgstr "atrybut" diff --git a/library/py_compile.po b/library/py_compile.po index c87c45af9..4d0e5d627 100644 --- a/library/py_compile.po +++ b/library/py_compile.po @@ -1,19 +1,20 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # haaritsubaki, 2023 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:11+0000\n" -"Last-Translator: haaritsubaki, 2023\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,7 +28,7 @@ msgid ":mod:`!py_compile` --- Compile Python source files" msgstr "" msgid "**Source code:** :source:`Lib/py_compile.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/py_compile.py`" msgid "" "The :mod:`py_compile` module provides a function to generate a byte-code " diff --git a/library/pyclbr.po b/library/pyclbr.po index 88609302b..25fb2d897 100644 --- a/library/pyclbr.po +++ b/library/pyclbr.po @@ -1,20 +1,21 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Waldemar Stoczkowski, 2023 # Maciej Olko , 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:11+0000\n" -"Last-Translator: Maciej Olko , 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -28,7 +29,7 @@ msgid ":mod:`!pyclbr` --- Python module browser support" msgstr "" msgid "**Source code:** :source:`Lib/pyclbr.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/pyclbr.py`" msgid "" "The :mod:`pyclbr` module provides limited information about the functions, " diff --git a/library/pydoc.po b/library/pydoc.po index c492cbf29..58158d1c2 100644 --- a/library/pydoc.po +++ b/library/pydoc.po @@ -1,19 +1,19 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:12+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,7 +27,7 @@ msgid ":mod:`!pydoc` --- Documentation generator and online help system" msgstr "" msgid "**Source code:** :source:`Lib/pydoc.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/pydoc.py`" msgid "" "The :mod:`!pydoc` module automatically generates documentation from Python " diff --git a/library/pyexpat.po b/library/pyexpat.po index 03b34ec8b..4d8906959 100644 --- a/library/pyexpat.po +++ b/library/pyexpat.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:12+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,9 +28,8 @@ msgid ":mod:`!xml.parsers.expat` --- Fast XML parsing using Expat" msgstr "" msgid "" -"The :mod:`pyexpat` module is not secure against maliciously constructed " -"data. If you need to parse untrusted or unauthenticated data see :ref:`xml-" -"vulnerabilities`." +"If you need to parse untrusted or unauthenticated data, see :ref:`xml-" +"security`." msgstr "" msgid "" diff --git a/library/queue.po b/library/queue.po index 483edd9b5..42b0bc720 100644 --- a/library/queue.po +++ b/library/queue.po @@ -1,19 +1,19 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: -# Transifex Bot <>, 2023 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.11\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-05-19 14:13+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:12+0000\n" -"Last-Translator: Transifex Bot <>, 2023\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -23,11 +23,11 @@ msgstr "" "(n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && " "n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" -msgid ":mod:`queue` --- A synchronized queue class" +msgid ":mod:`!queue` --- A synchronized queue class" msgstr "" msgid "**Source code:** :source:`Lib/queue.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/queue.py`" msgid "" "The :mod:`queue` module implements multi-producer, multi-consumer queues. It " @@ -96,6 +96,23 @@ msgid "" "class that ignores the data item and only compares the priority number::" msgstr "" +msgid "" +"from dataclasses import dataclass, field\n" +"from typing import Any\n" +"\n" +"@dataclass(order=True)\n" +"class PrioritizedItem:\n" +" priority: int\n" +" item: Any=field(compare=False)" +msgstr "" +"from dataclasses import dataclass, field\n" +"from typing import Any\n" +"\n" +"@dataclass(order=True)\n" +"class PrioritizedItem:\n" +" priority: int\n" +" item: Any=field(compare=False)" + msgid "" "Constructor for an unbounded :abbr:`FIFO (first-in, first-out)` queue. " "Simple queues lack advanced functionality such as task tracking." @@ -111,6 +128,11 @@ msgid "" "put_nowait`) is called on a :class:`Queue` object which is full." msgstr "" +msgid "" +"Exception raised when :meth:`~Queue.put` or :meth:`~Queue.get` is called on " +"a :class:`Queue` object which has been shut down." +msgstr "" + msgid "Queue Objects" msgstr "" @@ -149,6 +171,9 @@ msgid "" "(*timeout* is ignored in that case)." msgstr "" +msgid "Raises :exc:`ShutDown` if the queue has been shut down." +msgstr "" + msgid "Equivalent to ``put(item, block=False)``." msgstr "" @@ -170,6 +195,11 @@ msgid "" "`KeyboardInterrupt`." msgstr "" +msgid "" +"Raises :exc:`ShutDown` if the queue has been shut down and is empty, or if " +"the queue has been shut down immediately." +msgstr "" + msgid "Equivalent to ``get(False)``." msgstr "" @@ -190,6 +220,11 @@ msgid "" "item that had been :meth:`put` into the queue)." msgstr "" +msgid "" +"``shutdown(immediate=True)`` calls :meth:`task_done` for each remaining item " +"in the queue." +msgstr "" + msgid "" "Raises a :exc:`ValueError` if called more times than there were items placed " "in the queue." @@ -209,6 +244,57 @@ msgstr "" msgid "Example of how to wait for enqueued tasks to be completed::" msgstr "" +msgid "" +"import threading\n" +"import queue\n" +"\n" +"q = queue.Queue()\n" +"\n" +"def worker():\n" +" while True:\n" +" item = q.get()\n" +" print(f'Working on {item}')\n" +" print(f'Finished {item}')\n" +" q.task_done()\n" +"\n" +"# Turn-on the worker thread.\n" +"threading.Thread(target=worker, daemon=True).start()\n" +"\n" +"# Send thirty task requests to the worker.\n" +"for item in range(30):\n" +" q.put(item)\n" +"\n" +"# Block until all tasks are done.\n" +"q.join()\n" +"print('All work completed')" +msgstr "" + +msgid "Terminating queues" +msgstr "" + +msgid "" +":class:`Queue` objects can be made to prevent further interaction by " +"shutting them down." +msgstr "" + +msgid "" +"Shut down the queue, making :meth:`~Queue.get` and :meth:`~Queue.put` raise :" +"exc:`ShutDown`." +msgstr "" + +msgid "" +"By default, :meth:`~Queue.get` on a shut down queue will only raise once the " +"queue is empty. Set *immediate* to true to make :meth:`~Queue.get` raise " +"immediately instead." +msgstr "" + +msgid "" +"All blocked callers of :meth:`~Queue.put` and :meth:`~Queue.get` will be " +"unblocked. If *immediate* is true, a task will be marked as done for each " +"remaining item in the queue, which may unblock callers of :meth:`~Queue." +"join`." +msgstr "" + msgid "SimpleQueue Objects" msgstr "" diff --git a/library/random.po b/library/random.po index 94b79b7eb..2cb6f3422 100644 --- a/library/random.po +++ b/library/random.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:12+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!random` --- Generate pseudo-random numbers" msgstr "" msgid "**Source code:** :source:`Lib/random.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/random.py`" msgid "" "This module implements pseudo-random number generators for various " @@ -501,6 +501,11 @@ msgid "" "getrandbits` behaviour of :class:`!Random` instances." msgstr "" +msgid "" +"Override this method in subclasses to customise the :meth:`~random." +"randbytes` behaviour of :class:`!Random` instances." +msgstr "" + msgid "" "Class that uses the :func:`os.urandom` function for generating random " "numbers from sources provided by the operating system. Not available on all " diff --git a/library/re.po b/library/re.po index d4cdc3b28..a87931345 100644 --- a/library/re.po +++ b/library/re.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:12+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -30,7 +30,7 @@ msgid ":mod:`!re` --- Regular expression operations" msgstr "" msgid "**Source code:** :source:`Lib/re/`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/re/`" msgid "" "This module provides regular expression matching operations similar to those " @@ -801,7 +801,7 @@ msgid "" msgstr "" msgid "``\\z``" -msgstr "" +msgstr "``\\z``" msgid "Matches only at the end of the string." msgstr "" @@ -1132,8 +1132,8 @@ msgid "" msgstr "" msgid "" -"Empty matches for the pattern split the string only when not adjacent to a " -"previous empty match." +"Adjacent empty matches are not possible, but an empty match can occur " +"immediately after a non-empty match." msgstr "" msgid "" @@ -1232,9 +1232,13 @@ msgstr "" msgid "" "The optional argument *count* is the maximum number of pattern occurrences " "to be replaced; *count* must be a non-negative integer. If omitted or zero, " -"all occurrences will be replaced. Empty matches for the pattern are replaced " -"only when not adjacent to a previous empty match, so ``sub('x*', '-', " -"'abxd')`` returns ``'-a-b--d-'``." +"all occurrences will be replaced." +msgstr "" + +msgid "" +"Adjacent empty matches are not possible, but an empty match can occur " +"immediately after a non-empty match. As a result, ``sub('x*', '-', 'abxd')`` " +"returns ``'-a-b--d-'`` instead of ``'-a-b-d-'``." msgstr "" msgid "" @@ -1259,8 +1263,7 @@ msgstr "" msgid "" "Unknown escapes in *repl* consisting of ``'\\'`` and an ASCII letter now are " -"errors. Empty matches for the pattern are replaced when adjacent to a " -"previous non-empty match." +"errors. An empty match can occur immediately after a non-empty match." msgstr "" msgid "" @@ -2311,7 +2314,7 @@ msgid "\\A" msgstr "" msgid "\\b" -msgstr "" +msgstr "\\b" msgid "\\B" msgstr "" @@ -2341,34 +2344,34 @@ msgid "\\Z" msgstr "" msgid "\\a" -msgstr "" +msgstr "\\a" msgid "\\f" -msgstr "" +msgstr "\\f" msgid "\\n" -msgstr "" +msgstr "\\n" msgid "\\r" -msgstr "" +msgstr "\\r" msgid "\\t" -msgstr "" +msgstr "\\t" msgid "\\u" -msgstr "" +msgstr "\\u" msgid "\\U" -msgstr "" +msgstr "\\U" msgid "\\v" -msgstr "" +msgstr "\\v" msgid "\\x" -msgstr "" +msgstr "\\x" msgid "\\\\" -msgstr "" +msgstr "\\\\" msgid "# (hash)" msgstr "# (kratka)" diff --git a/library/readline.po b/library/readline.po index 3d99ba9b3..aabb46457 100644 --- a/library/readline.po +++ b/library/readline.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:12+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/reprlib.po b/library/reprlib.po index 865b674c0..81b6df503 100644 --- a/library/reprlib.po +++ b/library/reprlib.po @@ -1,19 +1,20 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Wiktor Matuszewski , 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:12+0000\n" -"Last-Translator: Wiktor Matuszewski , 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,7 +28,7 @@ msgid ":mod:`!reprlib` --- Alternate :func:`repr` implementation" msgstr "" msgid "**Source code:** :source:`Lib/reprlib.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/reprlib.py`" msgid "" "The :mod:`!reprlib` module provides a means for producing object " diff --git a/library/resource.po b/library/resource.po index 640921449..46a862853 100644 --- a/library/resource.po +++ b/library/resource.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:12+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -286,7 +286,7 @@ msgid "" msgstr "" msgid "Index" -msgstr "" +msgstr "Indeks" msgid "Field" msgstr "Pole" diff --git a/library/rlcompleter.po b/library/rlcompleter.po index 1941c8677..c709b7909 100644 --- a/library/rlcompleter.po +++ b/library/rlcompleter.po @@ -1,19 +1,19 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:12+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,7 +27,7 @@ msgid ":mod:`!rlcompleter` --- Completion function for GNU readline" msgstr "" msgid "**Source code:** :source:`Lib/rlcompleter.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/rlcompleter.py`" msgid "" "The :mod:`!rlcompleter` module defines a completion function suitable to be " diff --git a/library/runpy.po b/library/runpy.po index 900ad93d3..8b85d88ab 100644 --- a/library/runpy.po +++ b/library/runpy.po @@ -1,20 +1,20 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Maciej Olko , 2023 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:12+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -28,7 +28,7 @@ msgid ":mod:`!runpy` --- Locating and executing Python modules" msgstr "" msgid "**Source code:** :source:`Lib/runpy.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/runpy.py`" msgid "" "The :mod:`runpy` module is used to locate and run Python modules without " diff --git a/library/sched.po b/library/sched.po index e32ec4814..b18204327 100644 --- a/library/sched.po +++ b/library/sched.po @@ -1,19 +1,19 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:12+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,7 +27,7 @@ msgid ":mod:`!sched` --- Event scheduler" msgstr "" msgid "**Source code:** :source:`Lib/sched.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/sched.py`" msgid "" "The :mod:`sched` module defines a class which implements a general purpose " diff --git a/library/secrets.po b/library/secrets.po index d3f8087d8..87b109248 100644 --- a/library/secrets.po +++ b/library/secrets.po @@ -1,19 +1,19 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:12+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,7 +27,7 @@ msgid ":mod:`!secrets` --- Generate secure random numbers for managing secrets" msgstr "" msgid "**Source code:** :source:`Lib/secrets.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/secrets.py`" msgid "" "The :mod:`secrets` module is used for generating cryptographically strong " diff --git a/library/select.po b/library/select.po index d6ce19b34..2b67f055d 100644 --- a/library/select.po +++ b/library/select.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:12+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -381,7 +381,7 @@ msgid "Ignored." msgstr "" msgid ":const:`EPOLLWAKEUP`" -msgstr "" +msgstr ":const:`EPOLLWAKEUP`" msgid "Prevents sleep during event waiting." msgstr "" diff --git a/library/selectors.po b/library/selectors.po index ae9c0c8c7..2f41e8d35 100644 --- a/library/selectors.po +++ b/library/selectors.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -12,9 +12,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:12+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -30,7 +30,7 @@ msgid ":mod:`!selectors` --- High-level I/O multiplexing" msgstr "" msgid "**Source code:** :source:`Lib/selectors.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/selectors.py`" msgid "Introduction" msgstr "Wprowadzenie" diff --git a/library/shelve.po b/library/shelve.po index 9c2922120..2481d9d1c 100644 --- a/library/shelve.po +++ b/library/shelve.po @@ -1,21 +1,21 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Maciej Olko , 2023 -# Stan Ulbrych, 2024 # Rafael Fontenelle , 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:12+0000\n" -"Last-Translator: Rafael Fontenelle , 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -29,7 +29,7 @@ msgid ":mod:`!shelve` --- Python object persistence" msgstr "" msgid "**Source code:** :source:`Lib/shelve.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/shelve.py`" msgid "" "A \"shelf\" is a persistent, dictionary-like object. The difference with " diff --git a/library/shutil.po b/library/shutil.po index ddd6fd12f..e37e960fe 100644 --- a/library/shutil.po +++ b/library/shutil.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-16 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:13+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!shutil` --- High-level file operations" msgstr "" msgid "**Source code:** :source:`Lib/shutil.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/shutil.py`" msgid "" "The :mod:`shutil` module offers a number of high-level operations on files " @@ -63,6 +63,16 @@ msgid "" "current file position to the end of the file will be copied." msgstr "" +msgid "" +":func:`copyfileobj` will *not* guarantee that the destination stream has " +"been flushed on completion of the copy. If you want to read from the " +"destination at the completion of the copy operation (for example, reading " +"the contents of a temporary file that has been copied from a HTTP stream), " +"you must ensure that you have called :func:`~io.IOBase.flush` or :func:`~io." +"IOBase.close` on the file-like object before attempting to read the " +"destination file." +msgstr "" + msgid "" "Copy the contents (no metadata) of the file named *src* to a file named " "*dst* and return *dst* in the most efficient way possible. *src* and *dst* " @@ -361,6 +371,11 @@ msgid "" "parameter it receives is the tuple returned from :func:`sys.exc_info`." msgstr "" +msgid "" +":ref:`shutil-rmtree-example` for an example of handling the removal of a " +"directory tree that contains read-only files." +msgstr "" + msgid "" "Raises an :ref:`auditing event ` ``shutil.rmtree`` with arguments " "``path``, ``dir_fd``." @@ -674,8 +689,9 @@ msgstr "" msgid "" "*format* is the archive format: one of \"zip\" (if the :mod:`zlib` module is " "available), \"tar\", \"gztar\" (if the :mod:`zlib` module is available), " -"\"bztar\" (if the :mod:`bz2` module is available), or \"xztar\" (if the :mod:" -"`lzma` module is available)." +"\"bztar\" (if the :mod:`bz2` module is available), \"xztar\" (if the :mod:" +"`lzma` module is available), or \"zstdtar\" (if the :mod:`compression.zstd` " +"module is available)." msgstr "" msgid "" @@ -758,6 +774,11 @@ msgstr "" msgid "*xztar*: xz'ed tar-file (if the :mod:`lzma` module is available)." msgstr "" +msgid "" +"*zstdtar*: Zstandard compressed tar-file (if the :mod:`compression.zstd` " +"module is available)." +msgstr "" + msgid "" "You can register new formats or provide your own archiver for any existing " "formats, by using :func:`register_archive_format`." @@ -808,10 +829,10 @@ msgstr "" msgid "" "*format* is the archive format: one of \"zip\", \"tar\", \"gztar\", " -"\"bztar\", or \"xztar\". Or any other format registered with :func:" -"`register_unpack_format`. If not provided, :func:`unpack_archive` will use " -"the archive file name extension and see if an unpacker was registered for " -"that extension. In case none is found, a :exc:`ValueError` is raised." +"\"bztar\", \"xztar\", or \"zstdtar\". Or any other format registered with :" +"func:`register_unpack_format`. If not provided, :func:`unpack_archive` will " +"use the archive file name extension and see if an unpacker was registered " +"for that extension. In case none is found, a :exc:`ValueError` is raised." msgstr "" msgid "" diff --git a/library/signal.po b/library/signal.po index 9e7eef10f..e69e7e5bd 100644 --- a/library/signal.po +++ b/library/signal.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:13+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!signal` --- Set handlers for asynchronous events" msgstr "" msgid "**Source code:** :source:`Lib/signal.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/signal.py`" msgid "This module provides mechanisms to use signal handlers in Python." msgstr "" diff --git a/library/site.po b/library/site.po index 1c318979a..a44b30e4c 100644 --- a/library/site.po +++ b/library/site.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:13+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -30,7 +30,7 @@ msgid ":mod:`!site` --- Site-specific configuration hook" msgstr "" msgid "**Source code:** :source:`Lib/site.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/site.py`" msgid "" "**This module is automatically imported during initialization.** The " diff --git a/library/smtplib.po b/library/smtplib.po index 32770bda1..15dc169fa 100644 --- a/library/smtplib.po +++ b/library/smtplib.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:13+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!smtplib` --- SMTP protocol client" msgstr "" msgid "**Source code:** :source:`Lib/smtplib.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/smtplib.py`" msgid "" "The :mod:`smtplib` module defines an SMTP client session object that can be " diff --git a/library/socket.po b/library/socket.po index e6fbc0cb6..54d832272 100644 --- a/library/socket.po +++ b/library/socket.po @@ -15,7 +15,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:13+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -31,7 +31,7 @@ msgid ":mod:`!socket` --- Low-level networking interface" msgstr "" msgid "**Source code:** :source:`Lib/socket.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/socket.py`" msgid "" "This module provides access to the BSD *socket* interface. It is available " @@ -1399,6 +1399,11 @@ msgid "" "recvmsg` for the documentation of these parameters." msgstr "" +msgid "" +"Unix platforms supporting :meth:`~socket.recvmsg` and :const:`SCM_RIGHTS` " +"mechanism." +msgstr "" + msgid "Any truncated integers at the end of the list of file descriptors." msgstr "" diff --git a/library/socketserver.po b/library/socketserver.po index 813bf6c6a..39a2df2b3 100644 --- a/library/socketserver.po +++ b/library/socketserver.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:13+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!socketserver` --- A framework for network servers" msgstr "" msgid "**Source code:** :source:`Lib/socketserver.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/socketserver.py`" msgid "" "The :mod:`socketserver` module simplifies the task of writing network " @@ -550,7 +550,7 @@ msgstr "" msgid "" "The difference is that the ``readline()`` call in the second handler will " "call ``recv()`` multiple times until it encounters a newline character, " -"while the the first handler had to use a ``recv()`` loop to accumulate data " +"while the first handler had to use a ``recv()`` loop to accumulate data " "until a newline itself. If it had just used a single ``recv()`` without the " "loop it would just have returned what has been received so far from the " "client. TCP is stream based: data arrives in the order it was sent, but " diff --git a/library/sqlite3.po b/library/sqlite3.po index 6000c4379..a1dd20c6a 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -15,7 +15,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:13+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -31,7 +31,7 @@ msgid ":mod:`!sqlite3` --- DB-API 2.0 interface for SQLite databases" msgstr "" msgid "**Source code:** :source:`Lib/sqlite3/`" -msgstr "" +msgstr "**Kod źródłowy:**. :source:`Lib/sqlite3/`" msgid "" "SQLite is a C library that provides a lightweight disk-based database that " @@ -107,6 +107,8 @@ msgid "" "import sqlite3\n" "con = sqlite3.connect(\"tutorial.db\")" msgstr "" +"import sqlite3\n" +"con = sqlite3.connect(\"tutorial.db\")" msgid "" "The returned :class:`Connection` object ``con`` represents the connection to " @@ -997,6 +999,23 @@ msgid "" " print(row)\n" "con.close()" msgstr "" +"def collate_reverse(string1, string2):\n" +" if string1 == string2:\n" +" return 0\n" +" elif string1 < string2:\n" +" return 1\n" +" else:\n" +" return -1\n" +"\n" +"con = sqlite3.connect(\":memory:\")\n" +"con.create_collation(\"reverse\", collate_reverse)\n" +"\n" +"cur = con.execute(\"CREATE TABLE test(x)\")\n" +"cur.executemany(\"INSERT INTO test(x) VALUES(?)\", [(\"a\",), (\"b\",)])\n" +"cur.execute(\"SELECT x FROM test ORDER BY x COLLATE reverse\")\n" +"for row in cur:\n" +" print(row)\n" +"con.close()" msgid "Remove a collation function by setting *callable* to ``None``." msgstr "" @@ -1507,7 +1526,10 @@ msgid "" "See :ref:`sqlite3-placeholders`." msgstr "" -msgid "If *sql* contains more than one SQL statement." +msgid "" +"When *sql* contains more than one SQL statement. When :ref:`named " +"placeholders ` are used and *parameters* is a sequence " +"instead of a :class:`dict`." msgstr "" msgid "" @@ -1518,10 +1540,9 @@ msgid "" msgstr "" msgid "" -":exc:`DeprecationWarning` is emitted if :ref:`named placeholders ` are used and *parameters* is a sequence instead of a :class:" -"`dict`. Starting with Python 3.14, :exc:`ProgrammingError` will be raised " -"instead." +"`dict`." msgstr "" msgid "Use :meth:`executescript` to execute multiple SQL statements." @@ -1545,7 +1566,9 @@ msgid "" msgstr "" msgid "" -"If *sql* contains more than one SQL statement, or is not a DML statement." +"When *sql* contains more than one SQL statement or is not a DML statement, " +"When :ref:`named placeholders ` are used and the items " +"in *parameters* are sequences instead of :class:`dict`\\s." msgstr "" msgid "" @@ -1563,10 +1586,9 @@ msgid "" msgstr "" msgid "" -":exc:`DeprecationWarning` is emitted if :ref:`named placeholders ` are used and the items in *parameters* are sequences instead " -"of :class:`dict`\\s. Starting with Python 3.14, :exc:`ProgrammingError` will " -"be raised instead." +"of :class:`dict`\\s." msgstr "" msgid "" @@ -2258,7 +2280,7 @@ msgid "" "\n" "def adapt_datetime_iso(val):\n" " \"\"\"Adapt datetime.datetime to timezone-naive ISO 8601 date.\"\"\"\n" -" return val.isoformat()\n" +" return val.replace(tzinfo=None).isoformat()\n" "\n" "def adapt_datetime_epoch(val):\n" " \"\"\"Adapt datetime.datetime to Unix timestamp.\"\"\"\n" diff --git a/library/ssl.po b/library/ssl.po index 02a93d378..8a84c8532 100644 --- a/library/ssl.po +++ b/library/ssl.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:13+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -30,7 +30,7 @@ msgid ":mod:`!ssl` --- TLS/SSL wrapper for socket objects" msgstr "" msgid "**Source code:** :source:`Lib/ssl.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/ssl.py`" msgid "" "This module provides access to Transport Layer Security (often known as " @@ -990,10 +990,10 @@ msgid ":meth:`~socket.socket.fileno`" msgstr ":meth:`~socket.socket.fileno`" msgid ":meth:`~socket.socket.getpeername`, :meth:`~socket.socket.getsockname`" -msgstr "" +msgstr ":meth:`~socket.socket.getpeername`, :meth:`~socket.socket.getsockname`" msgid ":meth:`~socket.socket.getsockopt`, :meth:`~socket.socket.setsockopt`" -msgstr "" +msgstr ":meth:`~socket.socket.getsockopt`, :meth:`~socket.socket.setsockopt`" msgid "" ":meth:`~socket.socket.gettimeout`, :meth:`~socket.socket.settimeout`, :meth:" diff --git a/library/stat.po b/library/stat.po index c144bba4c..bbcb5963a 100644 --- a/library/stat.po +++ b/library/stat.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:13+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -27,7 +27,7 @@ msgid ":mod:`!stat` --- Interpreting :func:`~os.stat` results" msgstr "" msgid "**Source code:** :source:`Lib/stat.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/stat.py`" msgid "" "The :mod:`stat` module defines constants and functions for interpreting the " diff --git a/library/statistics.po b/library/statistics.po index 4f4f9e627..94459970c 100644 --- a/library/statistics.po +++ b/library/statistics.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -11,9 +11,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:13+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -29,7 +29,7 @@ msgid ":mod:`!statistics` --- Mathematical statistics functions" msgstr "" msgid "**Source code:** :source:`Lib/statistics.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/statistics.py`" msgid "" "This module provides functions for calculating mathematical statistics of " diff --git a/library/stdtypes.po b/library/stdtypes.po index a47500fbc..2021094d2 100644 --- a/library/stdtypes.po +++ b/library/stdtypes.po @@ -18,7 +18,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-16 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:13+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -117,7 +117,7 @@ msgid "\\(1)" msgstr "\\(1)" msgid "``x and y``" -msgstr "" +msgstr "``x and y``" msgid "if *x* is false, then *x*, else *y*" msgstr "" @@ -403,7 +403,7 @@ msgid "" msgstr "" msgid "\\(6)" -msgstr "" +msgstr "\\(6)" msgid ":func:`complex`" msgstr ":func:`complex`" @@ -485,13 +485,13 @@ msgid "" msgstr "" msgid ":func:`math.trunc(\\ x) `" -msgstr "" +msgstr ":func:`math.trunc(\\ x) `" msgid "*x* truncated to :class:`~numbers.Integral`" msgstr "" msgid ":func:`round(x[, n]) `" -msgstr "" +msgstr ":func:`round(x[, n]) `" msgid "" "*x* rounded to *n* digits, rounding half to even. If *n* is omitted, it " @@ -499,7 +499,7 @@ msgid "" msgstr "" msgid ":func:`math.floor(\\ x) `" -msgstr "" +msgstr ":func:`math.floor(\\ x) `" msgid "the greatest :class:`~numbers.Integral` <= *x*" msgstr "" @@ -1166,7 +1166,7 @@ msgid "" msgstr "" msgid "``x in s``" -msgstr "" +msgstr "``x in s``" msgid "``True`` if an item of *s* is equal to *x*, else ``False``" msgstr "" @@ -1201,6 +1201,9 @@ msgstr "``s[i]``" msgid "*i*\\ th item of *s*, origin 0" msgstr "" +msgid "(3)(9)" +msgstr "" + msgid "``s[i:j]``" msgstr "``s[i:j]``" @@ -1246,7 +1249,7 @@ msgid "" msgstr "" msgid "\\(8)" -msgstr "" +msgstr "\\(8)" msgid "``s.count(x)``" msgstr "``s.count(x)``" @@ -1388,6 +1391,9 @@ msgid "" "start of the sequence rather than the start of the slice." msgstr "" +msgid "An :exc:`IndexError` is raised if *i* is outside the sequence range." +msgstr "" + msgid "Immutable Sequence Types" msgstr "" @@ -1430,9 +1436,15 @@ msgstr "``s[i] = x``" msgid "item *i* of *s* is replaced by *x*" msgstr "" -msgid "``s[i:j] = t``" +msgid "``del s[i]``" +msgstr "``del s[i]``" + +msgid "removes item *i* of *s*" msgstr "" +msgid "``s[i:j] = t``" +msgstr "``s[i:j] = t``" + msgid "" "slice of *s* from *i* to *j* is replaced by the contents of the iterable *t*" msgstr "" @@ -1444,7 +1456,7 @@ msgid "same as ``s[i:j] = []``" msgstr "" msgid "``s[i:j:k] = t``" -msgstr "" +msgstr "``s[i:j:k] = t``" msgid "the elements of ``s[i:j:k]`` are replaced by those of *t*" msgstr "" @@ -1850,7 +1862,7 @@ msgid "Category" msgstr "" msgid ":class:`str` methods" -msgstr "" +msgstr ":class:`str` methods" msgid ":class:`bytes` and :class:`bytearray` methods" msgstr "" @@ -1859,10 +1871,10 @@ msgid "Formatting" msgstr "" msgid ":meth:`str.format`" -msgstr "" +msgstr ":meth:`str.format`" msgid ":meth:`str.format_map`" -msgstr "" +msgstr ":meth:`str.format_map`" msgid ":ref:`f-strings`" msgstr ":ref:`f-strings`" @@ -1871,256 +1883,256 @@ msgid ":ref:`old-string-formatting`" msgstr ":ref:`old-string-formatting`" msgid ":ref:`bytes-formatting`" -msgstr "" +msgstr ":ref:`bytes-formatting`" msgid "Searching and Replacing" msgstr "" msgid ":meth:`str.find`" -msgstr "" +msgstr ":meth:`str.find`" msgid ":meth:`str.rfind`" -msgstr "" +msgstr ":meth:`str.rfind`" msgid ":meth:`bytes.find`" -msgstr "" +msgstr ":meth:`bytes.find`" msgid ":meth:`bytes.rfind`" -msgstr "" +msgstr ":meth:`bytes.rfind`" msgid ":meth:`str.index`" -msgstr "" +msgstr ":meth:`str.index`" msgid ":meth:`str.rindex`" -msgstr "" +msgstr ":meth:`str.rindex`" msgid ":meth:`bytes.index`" -msgstr "" +msgstr ":meth:`bytes.index`" msgid ":meth:`bytes.rindex`" -msgstr "" +msgstr ":meth:`bytes.rindex`" msgid ":meth:`str.startswith`" -msgstr "" +msgstr ":meth:`str.startswith`" msgid ":meth:`bytes.startswith`" -msgstr "" +msgstr ":meth:`bytes.startswith`" msgid ":meth:`str.endswith`" -msgstr "" +msgstr ":meth:`str.endswith`" msgid ":meth:`bytes.endswith`" -msgstr "" +msgstr ":meth:`bytes.endswith`" msgid ":meth:`str.count`" -msgstr "" +msgstr ":meth:`str.count`" msgid ":meth:`bytes.count`" -msgstr "" +msgstr ":meth:`bytes.count`" msgid ":meth:`str.replace`" -msgstr "" +msgstr ":meth:`str.replace`" msgid ":meth:`bytes.replace`" -msgstr "" +msgstr ":meth:`bytes.replace`" msgid "Splitting and Joining" msgstr "" msgid ":meth:`str.split`" -msgstr "" +msgstr ":meth:`str.split`" msgid ":meth:`str.rsplit`" -msgstr "" +msgstr ":meth:`str.rsplit`" msgid ":meth:`bytes.split`" -msgstr "" +msgstr ":meth:`bytes.split`" msgid ":meth:`bytes.rsplit`" -msgstr "" +msgstr ":meth:`bytes.rsplit`" msgid ":meth:`str.splitlines`" -msgstr "" +msgstr ":meth:`str.splitlines`" msgid ":meth:`bytes.splitlines`" -msgstr "" +msgstr ":meth:`bytes.splitlines`" msgid ":meth:`str.partition`" -msgstr "" +msgstr ":meth:`str.partition`" msgid ":meth:`bytes.partition`" -msgstr "" +msgstr ":meth:`bytes.partition`" msgid ":meth:`str.rpartition`" -msgstr "" +msgstr ":meth:`str.rpartition`" msgid ":meth:`bytes.rpartition`" -msgstr "" +msgstr ":meth:`bytes.rpartition`" msgid ":meth:`str.join`" -msgstr "" +msgstr ":meth:`str.join`" msgid ":meth:`bytes.join`" -msgstr "" +msgstr ":meth:`bytes.join`" msgid "String Classification" msgstr "" msgid ":meth:`str.isalpha`" -msgstr "" +msgstr ":meth:`str.isalpha`" msgid ":meth:`bytes.isalpha`" -msgstr "" +msgstr ":meth:`bytes.isalpha`" msgid ":meth:`str.isdecimal`" -msgstr "" +msgstr ":meth:`str.isdecimal`" msgid ":meth:`str.isdigit`" -msgstr "" +msgstr ":meth:`str.isdigit`" msgid ":meth:`bytes.isdigit`" -msgstr "" +msgstr ":meth:`bytes.isdigit`" msgid ":meth:`str.isnumeric`" -msgstr "" +msgstr ":meth:`str.isnumeric`" msgid ":meth:`str.isalnum`" -msgstr "" +msgstr ":meth:`str.isalnum`" msgid ":meth:`bytes.isalnum`" -msgstr "" +msgstr ":meth:`bytes.isalnum`" msgid ":meth:`str.isidentifier`" -msgstr "" +msgstr ":meth:`str.isidentifier`" msgid ":meth:`str.islower`" -msgstr "" +msgstr ":meth:`str.islower`" msgid ":meth:`bytes.islower`" -msgstr "" +msgstr ":meth:`bytes.islower`" msgid ":meth:`str.isupper`" -msgstr "" +msgstr ":meth:`str.isupper`" msgid ":meth:`bytes.isupper`" -msgstr "" +msgstr ":meth:`bytes.isupper`" msgid ":meth:`str.istitle`" -msgstr "" +msgstr ":meth:`str.istitle`" msgid ":meth:`bytes.istitle`" -msgstr "" +msgstr ":meth:`bytes.istitle`" msgid ":meth:`str.isspace`" -msgstr "" +msgstr ":meth:`str.isspace`" msgid ":meth:`bytes.isspace`" -msgstr "" +msgstr ":meth:`bytes.isspace`" msgid ":meth:`str.isprintable`" -msgstr "" +msgstr ":meth:`str.isprintable`" msgid "Case Manipulation" msgstr "" msgid ":meth:`str.lower`" -msgstr "" +msgstr ":meth:`str.lower`" msgid ":meth:`bytes.lower`" -msgstr "" +msgstr ":meth:`bytes.lower`" msgid ":meth:`str.upper`" -msgstr "" +msgstr ":meth:`str.upper`" msgid ":meth:`bytes.upper`" -msgstr "" +msgstr ":meth:`bytes.upper`" msgid ":meth:`str.casefold`" -msgstr "" +msgstr ":meth:`str.casefold`" msgid ":meth:`str.capitalize`" -msgstr "" +msgstr ":meth:`str.capitalize`" msgid ":meth:`bytes.capitalize`" -msgstr "" +msgstr ":meth:`bytes.capitalize`" msgid ":meth:`str.title`" -msgstr "" +msgstr ":meth:`str.title`" msgid ":meth:`bytes.title`" -msgstr "" +msgstr ":meth:`bytes.title`" msgid ":meth:`str.swapcase`" -msgstr "" +msgstr ":meth:`str.swapcase`" msgid ":meth:`bytes.swapcase`" -msgstr "" +msgstr ":meth:`bytes.swapcase`" msgid "Padding and Stripping" msgstr "" msgid ":meth:`str.ljust`" -msgstr "" +msgstr ":meth:`str.ljust`" msgid ":meth:`str.rjust`" -msgstr "" +msgstr ":meth:`str.rjust`" msgid ":meth:`bytes.ljust`" -msgstr "" +msgstr ":meth:`bytes.ljust`" msgid ":meth:`bytes.rjust`" -msgstr "" +msgstr ":meth:`bytes.rjust`" msgid ":meth:`str.center`" -msgstr "" +msgstr ":meth:`str.center`" msgid ":meth:`bytes.center`" -msgstr "" +msgstr ":meth:`bytes.center`" msgid ":meth:`str.expandtabs`" -msgstr "" +msgstr ":meth:`str.expandtabs`" msgid ":meth:`bytes.expandtabs`" -msgstr "" +msgstr ":meth:`bytes.expandtabs`" msgid ":meth:`str.strip`" -msgstr "" +msgstr ":meth:`str.strip`" msgid ":meth:`bytes.strip`" -msgstr "" +msgstr ":meth:`bytes.strip`" msgid ":meth:`str.lstrip`" -msgstr "" +msgstr ":meth:`str.lstrip`" msgid ":meth:`str.rstrip`" -msgstr "" +msgstr ":meth:`str.rstrip`" msgid ":meth:`bytes.lstrip`" -msgstr "" +msgstr ":meth:`bytes.lstrip`" msgid ":meth:`bytes.rstrip`" -msgstr "" +msgstr ":meth:`bytes.rstrip`" msgid "Translation and Encoding" msgstr "" msgid ":meth:`str.translate`" -msgstr "" +msgstr ":meth:`str.translate`" msgid ":meth:`bytes.translate`" -msgstr "" +msgstr ":meth:`bytes.translate`" msgid ":meth:`str.maketrans`" -msgstr "" +msgstr ":meth:`str.maketrans`" msgid ":meth:`bytes.maketrans`" -msgstr "" +msgstr ":meth:`bytes.maketrans`" msgid ":meth:`str.encode`" -msgstr "" +msgstr ":meth:`str.encode`" msgid ":meth:`bytes.decode`" -msgstr "" +msgstr ":meth:`bytes.decode`" msgid "Text Sequence Type --- :class:`str`" msgstr "" @@ -2284,7 +2296,16 @@ msgstr "" msgid "" "Return centered in a string of length *width*. Padding is done using the " "specified *fillchar* (default is an ASCII space). The original string is " -"returned if *width* is less than or equal to ``len(s)``." +"returned if *width* is less than or equal to ``len(s)``. For example::" +msgstr "" + +msgid "" +">>> 'Python'.center(10)\n" +"' Python '\n" +">>> 'Python'.center(10, '-')\n" +"'--Python--'\n" +">>> 'Python'.center(4)\n" +"'Python'" msgstr "" msgid "" @@ -2295,7 +2316,20 @@ msgstr "" msgid "" "If *sub* is empty, returns the number of empty strings between characters " -"which is the length of the string plus one." +"which is the length of the string plus one. For example::" +msgstr "" + +msgid "" +">>> 'spam, spam, spam'.count('spam')\n" +"3\n" +">>> 'spam, spam, spam'.count('spam', 5)\n" +"2\n" +">>> 'spam, spam, spam'.count('spam', 5, 10)\n" +"1\n" +">>> 'spam, spam, spam'.count('eggs')\n" +"0\n" +">>> 'spam, spam, spam'.count('')\n" +"17" msgstr "" msgid "Return the string encoded to :class:`bytes`." @@ -2317,7 +2351,15 @@ msgstr "" msgid "" "For performance reasons, the value of *errors* is not checked for validity " "unless an encoding error actually occurs, :ref:`devmode` is enabled or a :" -"ref:`debug build ` is used." +"ref:`debug build ` is used. For example::" +msgstr "" + +msgid "" +">>> encoded_str_to_bytes = 'Python'.encode()\n" +">>> type(encoded_str_to_bytes)\n" +"\n" +">>> encoded_str_to_bytes\n" +"b'Python'" msgstr "" msgid "Added support for keyword arguments." @@ -2332,7 +2374,22 @@ msgid "" "Return ``True`` if the string ends with the specified *suffix*, otherwise " "return ``False``. *suffix* can also be a tuple of suffixes to look for. " "With optional *start*, test beginning at that position. With optional " -"*end*, stop comparing at that position." +"*end*, stop comparing at that position. Using *start* and *end* is " +"equivalent to ``str[start:end].endswith(suffix)``. For example::" +msgstr "" + +msgid "" +">>> 'Python'.endswith('on')\n" +"True\n" +">>> 'a tuple of suffixes'.endswith(('at', 'in'))\n" +"False\n" +">>> 'a tuple of suffixes'.endswith(('at', 'es'))\n" +"True\n" +">>> 'Python is amazing'.endswith('is', 0, 9)\n" +"True" +msgstr "" + +msgid "See also :meth:`startswith` and :meth:`removesuffix`." msgstr "" msgid "" @@ -2347,7 +2404,17 @@ msgid "" "(``\\n``) or return (``\\r``), it is copied and the current column is reset " "to zero. Any other character is copied unchanged and the current column is " "incremented by one regardless of how the character is represented when " -"printed." +"printed. For example::" +msgstr "" + +msgid "" +">>> '01\\t012\\t0123\\t01234'.expandtabs()\n" +"'01 012 0123 01234'\n" +">>> '01\\t012\\t0123\\t01234'.expandtabs(4)\n" +"'01 012 0123 01234'\n" +">>> print('01\\t012\\n0123\\t01234'.expandtabs(4))\n" +"01 012\n" +"0123 01234" msgstr "" msgid "" @@ -3145,22 +3212,22 @@ msgid "Conversion" msgstr "" msgid "``!a``" -msgstr "" +msgstr "``!a``" msgid ":func:`ascii`" msgstr ":func:`ascii`" msgid "``!r``" -msgstr "" +msgstr "``!r``" msgid ":func:`repr`" msgstr ":func:`repr`" msgid "``!s``" -msgstr "" +msgstr "``!s``" msgid ":func:`str`" -msgstr "" +msgstr ":func:`str`" msgid "For example:" msgstr "Na przykład::" @@ -4535,7 +4602,7 @@ msgid "" msgstr "" msgid "\\(7)" -msgstr "" +msgstr "\\(7)" msgid "``b'%s'`` is deprecated, but will not be removed during the 3.x series." msgstr "" @@ -6022,10 +6089,10 @@ msgid ":class:`type`" msgstr ":class:`type`" msgid ":class:`asyncio.Future`" -msgstr "" +msgstr ":class:`asyncio.Future`" msgid ":class:`asyncio.Task`" -msgstr "" +msgstr ":class:`asyncio.Task`" msgid ":class:`collections.deque`" msgstr ":class:`collections.deque`" @@ -6727,7 +6794,7 @@ msgid ":func:`int.from_bytes` and :func:`int.to_bytes`." msgstr "" msgid ":func:`hex`, :func:`oct`, :func:`bin`." -msgstr "" +msgstr ":func:`hex`, :func:`oct`, :func:`bin`." msgid ":ref:`formatspec` for hex, octal, and binary numbers." msgstr "" diff --git a/library/string.po b/library/string.po index 113c095fe..ad609ab0c 100644 --- a/library/string.po +++ b/library/string.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:14+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!string` --- Common string operations" msgstr "" msgid "**Source code:** :source:`Lib/string.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/string.py`" msgid ":ref:`textseq`" msgstr ":ref:`textseq`" @@ -501,7 +501,7 @@ msgid "" msgstr "" msgid "``','``" -msgstr "" +msgstr "``','``" msgid "" "Inserts a comma every 3 digits for integer presentation type ``'d'`` and " @@ -510,7 +510,7 @@ msgid "" msgstr "" msgid "``'_'``" -msgstr "" +msgstr "``'_'``" msgid "" "Inserts an underscore every 3 digits for integer presentation type ``'d'`` " diff --git a/library/struct.po b/library/struct.po index f3b5e3b66..46f6dd7d5 100644 --- a/library/struct.po +++ b/library/struct.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:14+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -30,7 +30,7 @@ msgid ":mod:`!struct` --- Interpret bytes as packed binary data" msgstr "" msgid "**Source code:** :source:`Lib/struct.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/struct.py`" msgid "" "This module converts between Python values and C structs represented as " @@ -297,7 +297,7 @@ msgid "no value" msgstr "" msgid "\\(7)" -msgstr "" +msgstr "\\(7)" msgid "``c``" msgstr "``c``" @@ -315,7 +315,7 @@ msgid "``b``" msgstr "``b``" msgid ":c:expr:`signed char`" -msgstr "" +msgstr ":c:expr:`signed char`" msgid "integer" msgstr "" @@ -327,7 +327,7 @@ msgid "``B``" msgstr "``B``" msgid ":c:expr:`unsigned char`" -msgstr "" +msgstr ":c:expr:`unsigned char`" msgid "\\(2)" msgstr "\\(2)" @@ -357,7 +357,7 @@ msgid "``H``" msgstr "``H``" msgid ":c:expr:`unsigned short`" -msgstr "" +msgstr ":c:expr:`unsigned short`" msgid "``i``" msgstr "``i``" @@ -372,7 +372,7 @@ msgid "``I``" msgstr "``I``" msgid ":c:expr:`unsigned int`" -msgstr "" +msgstr ":c:expr:`unsigned int`" msgid "``l``" msgstr "``l``" @@ -384,13 +384,13 @@ msgid "``L``" msgstr "``L``" msgid ":c:expr:`unsigned long`" -msgstr "" +msgstr ":c:expr:`unsigned long`" msgid "``q``" msgstr "``q``" msgid ":c:expr:`long long`" -msgstr "" +msgstr ":c:expr:`long long`" msgid "8" msgstr "8" @@ -420,7 +420,7 @@ msgid "``e``" msgstr "``e``" msgid "\\(6)" -msgstr "" +msgstr "\\(6)" msgid "float" msgstr "typ (float) zmiennoprzecinkowy pojedynczej precyzji" @@ -441,10 +441,10 @@ msgid ":c:expr:`double`" msgstr ":c:expr:`double`" msgid "``F``" -msgstr "" +msgstr "``F``" msgid ":c:expr:`float complex`" -msgstr "" +msgstr ":c:expr:`float complex`" msgid "complex" msgstr "" @@ -453,13 +453,13 @@ msgid "\\(10)" msgstr "" msgid "``D``" -msgstr "" +msgstr "``D``" msgid ":c:expr:`double complex`" -msgstr "" +msgstr ":c:expr:`double complex`" msgid "16" -msgstr "" +msgstr "16" msgid "``s``" msgstr "``s``" @@ -471,19 +471,19 @@ msgid "bytes" msgstr "" msgid "\\(9)" -msgstr "" +msgstr "\\(9)" msgid "``p``" msgstr "``p``" msgid "\\(8)" -msgstr "" +msgstr "\\(8)" msgid "``P``" msgstr "``P``" msgid ":c:expr:`void \\*`" -msgstr "" +msgstr ":c:expr:`void \\*`" msgid "\\(5)" msgstr "\\(5)" diff --git a/library/subprocess.po b/library/subprocess.po index 0860d689d..ad1c77261 100644 --- a/library/subprocess.po +++ b/library/subprocess.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:14+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -29,7 +29,7 @@ msgid ":mod:`!subprocess` --- Subprocess management" msgstr "" msgid "**Source code:** :source:`Lib/subprocess.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/subprocess.py`" msgid "" "The :mod:`subprocess` module allows you to spawn new processes, connect to " @@ -1690,7 +1690,7 @@ msgid "" msgstr "" msgid "``_USE_POSIX_SPAWN``" -msgstr "" +msgstr "``_USE_POSIX_SPAWN``" msgid "universal newlines" msgstr "uniwersalne nowe linie" diff --git a/library/symtable.po b/library/symtable.po index f719f10f9..2c0435740 100644 --- a/library/symtable.po +++ b/library/symtable.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:14+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -29,7 +29,7 @@ msgid ":mod:`!symtable` --- Access to the compiler's symbol tables" msgstr "" msgid "**Source code:** :source:`Lib/symtable.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/symtable.py`" msgid "" "Symbol tables are generated by the compiler from AST just before bytecode is " diff --git a/library/sys.monitoring.po b/library/sys.monitoring.po index 7b2c16266..951b9a2ee 100644 --- a/library/sys.monitoring.po +++ b/library/sys.monitoring.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2023-09-08 14:16+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -167,7 +167,10 @@ msgstr "" msgid "A Python function is resumed by a ``throw()`` call." msgstr "" -msgid "Exit from a Python function during exception unwinding." +msgid "" +"Exit from a Python function during exception unwinding. This includes " +"exceptions raised directly within the function and that are allowed to " +"continue to propagate." msgstr "" msgid "" @@ -211,7 +214,7 @@ msgstr "" "if get_events(DEBUGGER_ID) == NO_EVENTS:\n" " ..." -msgid "Events are divided into three groups:" +msgid "Setting this event deactivates all events." msgstr "" msgid "Local events" @@ -248,10 +251,10 @@ msgid ":monitoring-event:`JUMP`" msgstr ":monitoring-event:`JUMP`" msgid ":monitoring-event:`BRANCH_LEFT`" -msgstr "" +msgstr ":monitoring-event:`BRANCH_LEFT`" msgid ":monitoring-event:`BRANCH_RIGHT`" -msgstr "" +msgstr ":monitoring-event:`BRANCH_RIGHT`" msgid ":monitoring-event:`STOP_ITERATION`" msgstr ":monitoring-event:`STOP_ITERATION`" @@ -260,7 +263,7 @@ msgid "Deprecated event" msgstr "" msgid "``BRANCH``" -msgstr "" +msgstr "``BRANCH``" msgid "" "The ``BRANCH`` event is deprecated in 3.14. Using :monitoring-event:" @@ -344,7 +347,8 @@ msgstr "" msgid "" "In order to monitor an event, it must be turned on and a corresponding " "callback must be registered. Events can be turned on or off by setting the " -"events either globally or for a particular code object." +"events either globally and/or for a particular code object. An event will " +"trigger only once, even if it is turned on both globally and locally." msgstr "" msgid "Setting events globally" @@ -384,11 +388,6 @@ msgid "" "Raises a :exc:`ValueError` if *tool_id* is not in use." msgstr "" -msgid "" -"Local events add to global events, but do not mask them. In other words, all " -"global events will trigger for a code object, regardless of the local events." -msgstr "" - msgid "Disabling events" msgstr "" @@ -418,9 +417,6 @@ msgstr "" msgid "Registering callback functions" msgstr "" -msgid "To register a callable for events call" -msgstr "" - msgid "Registers the callable *func* for the *event* with the given *tool_id*" msgstr "" @@ -438,6 +434,13 @@ msgstr "" msgid "Callback functions can be registered and unregistered at any time." msgstr "" +msgid "" +"Callbacks are called only once regardless if the event is turned on both " +"globally and locally. As such, if an event could be turned on for both " +"global and local events by your code then the callback needs to be written " +"to handle either trigger." +msgstr "" + msgid "" "Registering or unregistering a callback function will generate a :func:`sys." "audit` event." @@ -453,36 +456,44 @@ msgstr "" msgid "" "When an active event occurs, the registered callback function is called. " -"Different events will provide the callback function with different " -"arguments, as follows:" +"Callback functions returning an object other than :data:`DISABLE` will have " +"no effect. Different events will provide the callback function with " +"different arguments, as follows:" msgstr "" msgid ":monitoring-event:`PY_START` and :monitoring-event:`PY_RESUME`::" msgstr "" -msgid "func(code: CodeType, instruction_offset: int) -> DISABLE | Any" +msgid "func(code: CodeType, instruction_offset: int) -> object" msgstr "" msgid ":monitoring-event:`PY_RETURN` and :monitoring-event:`PY_YIELD`::" msgstr "" -msgid "" -"func(code: CodeType, instruction_offset: int, retval: object) -> DISABLE | " -"Any" +msgid "func(code: CodeType, instruction_offset: int, retval: object) -> object" msgstr "" msgid "" ":monitoring-event:`CALL`, :monitoring-event:`C_RAISE` and :monitoring-event:" -"`C_RETURN`::" +"`C_RETURN` (*arg0* can be :data:`MISSING` specifically)::" +msgstr "" + +msgid "" +"func(code: CodeType, instruction_offset: int, callable: object, arg0: " +"object) -> object" msgstr "" msgid "" -"func(code: CodeType, instruction_offset: int, callable: object, arg0: object " -"| MISSING) -> DISABLE | Any" +"*code* represents the code object where the call is being made, while " +"*callable* is the object that is about to be called (and thus triggered the " +"event). If there are no arguments, *arg0* is set to :data:`sys.monitoring." +"MISSING`." msgstr "" msgid "" -"If there are no arguments, *arg0* is set to :data:`sys.monitoring.MISSING`." +"For instance methods, *callable* will be the function object as found on the " +"class with *arg0* set to the instance (i.e. the ``self`` argument to the " +"method)." msgstr "" msgid "" @@ -493,13 +504,13 @@ msgstr "" msgid "" "func(code: CodeType, instruction_offset: int, exception: BaseException) -> " -"DISABLE | Any" +"object" msgstr "" msgid ":monitoring-event:`LINE`::" msgstr ":monitoring-event:`LINE`::" -msgid "func(code: CodeType, line_number: int) -> DISABLE | Any" +msgid "func(code: CodeType, line_number: int) -> object" msgstr "" msgid "" @@ -509,7 +520,7 @@ msgstr "" msgid "" "func(code: CodeType, instruction_offset: int, destination_offset: int) -> " -"DISABLE | Any" +"object" msgstr "" msgid "Note that the *destination_offset* is where the code will next execute." diff --git a/library/sys.po b/library/sys.po index c7d3033a7..49b38bb63 100644 --- a/library/sys.po +++ b/library/sys.po @@ -15,7 +15,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:14+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -1087,19 +1087,19 @@ msgid "Meaning" msgstr "Znaczenie" msgid "``1`` (VER_NT_WORKSTATION)" -msgstr "" +msgstr "``1`` (VER_NT_WORKSTATION)" msgid "The system is a workstation." msgstr "" msgid "``2`` (VER_NT_DOMAIN_CONTROLLER)" -msgstr "" +msgstr "``2`` (VER_NT_DOMAIN_CONTROLLER)" msgid "The system is a domain controller." msgstr "" msgid "``3`` (VER_NT_SERVER)" -msgstr "" +msgstr "``3`` (VER_NT_SERVER)" msgid "The system is a server, but not a domain controller." msgstr "" @@ -1252,6 +1252,16 @@ msgid "" "set to ``None``, it indicates that module caching should be disabled." msgstr "" +msgid "" +"*supports_isolated_interpreters* is a boolean value, whether this " +"implementation supports multiple isolated interpreters. It is ``True`` for " +"CPython on most platforms. Platforms with this support implement the low-" +"level :mod:`!_interpreters` module." +msgstr "" + +msgid ":pep:`684`, :pep:`734`, and :mod:`concurrent.interpreters`." +msgstr "" + msgid "" ":data:`sys.implementation` may contain additional attributes specific to the " "Python implementation. These non-standard attributes must start with an " @@ -1261,6 +1271,9 @@ msgid "" "versions, however.) See :pep:`421` for more information." msgstr "" +msgid "Added ``supports_isolated_interpreters`` field." +msgstr "" + msgid "" "The addition of new required attributes must go through the normal PEP " "process. See :pep:`421` for more information." @@ -1588,13 +1601,13 @@ msgid "Emscripten" msgstr "" msgid "``'emscripten'``" -msgstr "" +msgstr "``'emscripten'``" msgid "FreeBSD" msgstr "" msgid "``'freebsd'``" -msgstr "" +msgstr "``'freebsd'``" msgid "iOS" msgstr "" @@ -1609,7 +1622,7 @@ msgid "``'linux'``" msgstr "``'linux'``" msgid "macOS" -msgstr "" +msgstr "macOS" msgid "``'darwin'``" msgstr "" @@ -1624,7 +1637,7 @@ msgid "Windows/Cygwin" msgstr "" msgid "``'cygwin'``" -msgstr "" +msgstr "``'cygwin'``" msgid "WASI" msgstr "" @@ -2062,6 +2075,20 @@ msgid "" "local and remote interpreters must be the same exact version." msgstr "" +msgid "" +"When the code is executed in the remote process, an :ref:`auditing event " +"` ``sys.remote_exec`` is raised with the *pid* and the path to the " +"script file. This event is raised in the process that called :func:`sys." +"remote_exec`." +msgstr "" + +msgid "" +"When the script is executed in the remote process, an :ref:`auditing event " +"` ``cpython.remote_debugger_script`` is raised with the path in " +"the remote process. This event is raised in the remote process, not the one " +"that called :func:`sys.remote_exec`." +msgstr "" + msgid "" "Changes the :term:`filesystem encoding and error handler` to 'mbcs' and " "'replace' respectively, for consistency with versions of Python prior to 3.6." diff --git a/library/sysconfig.po b/library/sysconfig.po index 4c74100fd..33e6c7602 100644 --- a/library/sysconfig.po +++ b/library/sysconfig.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:14+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid "" msgstr "" msgid "**Source code:** :source:`Lib/sysconfig`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/sysconfig`" msgid "" "The :mod:`sysconfig` module provides access to Python's configuration " diff --git a/library/syslog.po b/library/syslog.po index 125783560..fa151b172 100644 --- a/library/syslog.po +++ b/library/syslog.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:14+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/tarfile.po b/library/tarfile.po index 7d8b4d402..f5ac7e9f2 100644 --- a/library/tarfile.po +++ b/library/tarfile.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:14+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -29,7 +29,7 @@ msgid ":mod:`!tarfile` --- Read and write tar archive files" msgstr "" msgid "**Source code:** :source:`Lib/tarfile.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/tarfile.py`" msgid "" "The :mod:`tarfile` module makes it possible to read and write tar archives, " @@ -42,8 +42,8 @@ msgid "Some facts and figures:" msgstr "" msgid "" -"reads and writes :mod:`gzip`, :mod:`bz2` and :mod:`lzma` compressed archives " -"if the respective modules are available." +"reads and writes :mod:`gzip`, :mod:`bz2`, :mod:`compression.zstd`, and :mod:" +"`lzma` compressed archives if the respective modules are available." msgstr "" msgid "read/write support for the POSIX.1-1988 (ustar) format." @@ -80,6 +80,9 @@ msgid "" "to :func:`fully_trusted `." msgstr "" +msgid "Added support for Zstandard compression using :mod:`compression.zstd`." +msgstr "" + msgid "" "Return a :class:`TarFile` object for the pathname *name*. For detailed " "information on :class:`TarFile` objects and the keyword arguments that are " @@ -97,7 +100,7 @@ msgstr "" msgid "action" msgstr "" -msgid "``'r' or 'r:*'``" +msgid "``'r'`` or ``'r:*'``" msgstr "" msgid "Open for reading with transparent compression (recommended)." @@ -127,9 +130,15 @@ msgstr "``'r:xz'``" msgid "Open for reading with lzma compression." msgstr "" -msgid "``'x'`` or ``'x:'``" +msgid "``'r:zst'``" +msgstr "" + +msgid "Open for reading with Zstandard compression." msgstr "" +msgid "``'x'`` or ``'x:'``" +msgstr "``'x'`` or ``'x:'``" + msgid "" "Create a tarfile exclusively without compression. Raise a :exc:" "`FileExistsError` exception if it already exists." @@ -159,7 +168,15 @@ msgid "" "exception if it already exists." msgstr "" -msgid "``'a' or 'a:'``" +msgid "``'x:zst'``" +msgstr "" + +msgid "" +"Create a tarfile with Zstandard compression. Raise a :exc:`FileExistsError` " +"exception if it already exists." +msgstr "" + +msgid "``'a'`` or ``'a:'``" msgstr "" msgid "" @@ -167,7 +184,7 @@ msgid "" "exist." msgstr "" -msgid "``'w' or 'w:'``" +msgid "``'w'`` or ``'w:'``" msgstr "" msgid "Open for uncompressed writing." @@ -191,6 +208,12 @@ msgstr "``'w:xz'``" msgid "Open for lzma compressed writing." msgstr "" +msgid "``'w:zst'``" +msgstr "" + +msgid "Open for Zstandard compressed writing." +msgstr "" + msgid "" "Note that ``'a:gz'``, ``'a:bz2'`` or ``'a:xz'`` is not possible. If *mode* " "is not suitable to open a certain (compressed) file for reading, :exc:" @@ -215,6 +238,16 @@ msgid "" "the file." msgstr "" +msgid "" +"For modes ``'w:zst'``, ``'x:zst'`` and ``'w|zst'``, :func:`tarfile.open` " +"accepts the keyword argument *level* to specify the compression level of the " +"file. The keyword argument *options* may also be passed, providing advanced " +"Zstandard compression parameters described by :class:`~compression.zstd." +"CompressionParameter`. The keyword argument *zstd_dict* can be passed to " +"provide a :class:`~compression.zstd.ZstdDict`, a Zstandard dictionary used " +"to improve compression of smaller amounts of data." +msgstr "" + msgid "" "For special purposes, there is a second format for *mode*: ``'filemode|" "[compression]'``. :func:`tarfile.open` will return a :class:`TarFile` " @@ -264,6 +297,12 @@ msgstr "``'r|xz'``" msgid "Open an lzma compressed *stream* for reading." msgstr "" +msgid "``'r|zst'``" +msgstr "" + +msgid "Open a Zstandard compressed *stream* for reading." +msgstr "" + msgid "``'w|'``" msgstr "``'w|'``" @@ -288,6 +327,12 @@ msgstr "``'w|xz'``" msgid "Open an lzma compressed *stream* for writing." msgstr "" +msgid "``'w|zst'``" +msgstr "" + +msgid "Open a Zstandard compressed *stream* for writing." +msgstr "" + msgid "The ``'x'`` (exclusive creation) mode was added." msgstr "" @@ -369,6 +414,13 @@ msgid "" "directory." msgstr "" +msgid "" +"Raised to refuse emulating a link (hard or symbolic) by extracting another " +"archive member, when that member would be rejected by the filter location. " +"The exception that was raised to reject the replacement member is available " +"as :attr:`!BaseException.__context__`." +msgstr "" + msgid "The following constants are available at the module level:" msgstr "" @@ -1124,6 +1176,13 @@ msgid "" "Implements the ``'data'`` filter. In addition to what ``tar_filter`` does:" msgstr "" +msgid "" +"Normalize link targets (:attr:`TarInfo.linkname`) using :func:`os.path." +"normpath`. Note that this removes internal ``..`` components, which may " +"change the meaning of the link if the path in :attr:`!TarInfo.linkname` " +"traverses symbolic links." +msgstr "" + msgid "" ":ref:`Refuse ` to extract links (hard or soft) " "that link to absolute paths, or ones that link outside the destination." @@ -1172,6 +1231,9 @@ msgid "" "ref:`tarfile-further-verification` for details." msgstr "" +msgid "Link targets are now normalized." +msgstr "" + msgid "Filter errors" msgstr "" @@ -1202,6 +1264,9 @@ msgid "" "failed extraction." msgstr "" +msgid "Disallow symbolic links if you do not need the functionality." +msgstr "" + msgid "" "When working with untrusted data, use external (e.g. OS-level) limits on " "disk, memory and CPU usage." diff --git a/library/tempfile.po b/library/tempfile.po index 16a7b5ebb..e80327967 100644 --- a/library/tempfile.po +++ b/library/tempfile.po @@ -1,20 +1,21 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # haaritsubaki, 2024 # Maciej Olko , 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:14+0000\n" -"Last-Translator: Maciej Olko , 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -28,7 +29,7 @@ msgid ":mod:`!tempfile` --- Generate temporary files and directories" msgstr "" msgid "**Source code:** :source:`Lib/tempfile.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/tempfile.py`" msgid "" "This module creates temporary files and directories. It works on all " diff --git a/library/termios.po b/library/termios.po index e9be38625..6d3dce7f6 100644 --- a/library/termios.po +++ b/library/termios.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:14+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/text.po b/library/text.po index f84c5c814..5ed48cf4c 100644 --- a/library/text.po +++ b/library/text.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:15+0000\n" "Last-Translator: Stefan Ocetkiewicz , 2021\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/textwrap.po b/library/textwrap.po index f4e980755..d5c9ff06e 100644 --- a/library/textwrap.po +++ b/library/textwrap.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -11,9 +11,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:15+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -29,7 +29,7 @@ msgid ":mod:`!textwrap` --- Text wrapping and filling" msgstr "" msgid "**Source code:** :source:`Lib/textwrap.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/textwrap.py`" msgid "" "The :mod:`textwrap` module provides some convenience functions, as well as :" diff --git a/library/threading.po b/library/threading.po index 471a0811c..35bdc715c 100644 --- a/library/threading.po +++ b/library/threading.po @@ -5,17 +5,17 @@ # # Translators: # Maciej Olko , 2021 -# Stan Ulbrych, 2025 # Seweryn Piórkowski , 2025 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-16 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:15+0000\n" -"Last-Translator: Seweryn Piórkowski , 2025\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -29,7 +29,7 @@ msgid ":mod:`!threading` --- Thread-based parallelism" msgstr "" msgid "**Source code:** :source:`Lib/threading.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/threading.py`" msgid "" "This module constructs higher-level threading interfaces on top of the lower " @@ -145,9 +145,9 @@ msgid "" msgstr "" msgid "" -"As of Python 3.13, experimental :term:`free-threaded ` " -"builds can disable the GIL, enabling true parallel execution of threads, but " -"this feature is not available by default (see :pep:`703`)." +"As of Python 3.13, :term:`free-threaded ` builds can disable " +"the GIL, enabling true parallel execution of threads, but this feature is " +"not available by default (see :pep:`703`)." msgstr "" msgid "Reference" @@ -741,9 +741,9 @@ msgid "" msgstr "" msgid "" -"If an attempt is made to join a running daemonic thread in in late stages " -"of :term:`Python finalization ` :meth:`!join` raises " -"a :exc:`PythonFinalizationError`." +"If an attempt is made to join a running daemonic thread in late stages of :" +"term:`Python finalization ` :meth:`!join` raises a :" +"exc:`PythonFinalizationError`." msgstr "" msgid "May raise :exc:`PythonFinalizationError`." diff --git a/library/time.po b/library/time.po index 96cf29a8d..296769e06 100644 --- a/library/time.po +++ b/library/time.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:15+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -350,10 +350,12 @@ msgid "" "`float` type." msgstr "" -msgid "The function is now always available and always system-wide." +msgid "" +"The function is now always available and the clock is now the same for all " +"processes." msgstr "" -msgid "On macOS, the function is now system-wide." +msgid "On macOS, the clock is now the same for all processes." msgstr "" msgid "Similar to :func:`monotonic`, but return time as nanoseconds." @@ -362,9 +364,9 @@ msgstr "" msgid "" "Return the value (in fractional seconds) of a performance counter, i.e. a " "clock with the highest available resolution to measure a short duration. It " -"does include time elapsed during sleep and is system-wide. The reference " -"point of the returned value is undefined, so that only the difference " -"between the results of two calls is valid." +"does include time elapsed during sleep. The clock is the same for all " +"processes. The reference point of the returned value is undefined, so that " +"only the difference between the results of two calls is valid." msgstr "" msgid "" @@ -377,7 +379,7 @@ msgid "" "`float` type." msgstr "" -msgid "On Windows, the function is now system-wide." +msgid "On Windows, the clock is now the same for all processes." msgstr "" msgid "Use the same clock as :func:`time.monotonic`." @@ -784,7 +786,7 @@ msgid "" msgstr "" msgid "Index" -msgstr "" +msgstr "Indeks" msgid "Attribute" msgstr "atrybut" @@ -835,7 +837,7 @@ msgid "range [0, 6]; Monday is 0" msgstr "" msgid "7" -msgstr "" +msgstr "7" msgid "range [1, 366]" msgstr "" @@ -898,7 +900,7 @@ msgid "" "attributes." msgstr "" -msgid "On Windows, call ``GetSystemTimeAsFileTime()``." +msgid "On Windows, call ``GetSystemTimePreciseAsFileTime()``." msgstr "" msgid "Call ``clock_gettime(CLOCK_REALTIME)`` if available." @@ -912,6 +914,11 @@ msgid "" "type." msgstr "" +msgid "" +"On Windows, calls ``GetSystemTimePreciseAsFileTime()`` instead of " +"``GetSystemTimeAsFileTime()``." +msgstr "" + msgid "" "Similar to :func:`~time.time` but returns time as an integer number of " "nanoseconds since the epoch_." @@ -1134,8 +1141,8 @@ msgid "" msgstr "" msgid "" -"System-wide real-time clock. Setting this clock requires appropriate " -"privileges." +"Real-time clock. Setting this clock requires appropriate privileges. The " +"clock is the same for all processes." msgstr "" msgid "Timezone Constants" diff --git a/library/timeit.po b/library/timeit.po index 1c4ba2484..7d1fa5006 100644 --- a/library/timeit.po +++ b/library/timeit.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -11,9 +11,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:15+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -29,7 +29,7 @@ msgid ":mod:`!timeit` --- Measure execution time of small code snippets" msgstr "" msgid "**Source code:** :source:`Lib/timeit.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/timeit.py`" msgid "" "This module provides a simple way to time small bits of Python code. It has " @@ -40,7 +40,7 @@ msgid "" msgstr "" msgid "Basic Examples" -msgstr "" +msgstr "Podstawowe przykłady" msgid "" "The following example shows how the :ref:`timeit-command-line-interface` can " diff --git a/library/tk.po b/library/tk.po index 3f717bca7..4304d7d1c 100644 --- a/library/tk.po +++ b/library/tk.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:15+0000\n" "Last-Translator: rmaster1211 , 2023\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/tkinter.dnd.po b/library/tkinter.dnd.po index e77d78cb2..00d4d5e85 100644 --- a/library/tkinter.dnd.po +++ b/library/tkinter.dnd.po @@ -1,19 +1,19 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:15+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,7 +27,7 @@ msgid ":mod:`!tkinter.dnd` --- Drag and drop support" msgstr "" msgid "**Source code:** :source:`Lib/tkinter/dnd.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/tkinter/dnd.py`" msgid "" "This is experimental and due to be deprecated when it is replaced with the " diff --git a/library/tkinter.po b/library/tkinter.po index a69cfd8de..e08a98104 100644 --- a/library/tkinter.po +++ b/library/tkinter.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -12,9 +12,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:15+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -30,7 +30,7 @@ msgid ":mod:`!tkinter` --- Python interface to Tcl/Tk" msgstr "" msgid "**Source code:** :source:`Lib/tkinter/__init__.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/tkinter/__init__.py`" msgid "" "The :mod:`tkinter` package (\"Tk interface\") is the standard Python " @@ -874,7 +874,7 @@ msgid "" msgstr "" msgid "Index" -msgstr "" +msgstr "Indeks" msgid "Meaning" msgstr "Znaczenie" diff --git a/library/tkinter.ttk.po b/library/tkinter.ttk.po index 220081e8d..b356bd776 100644 --- a/library/tkinter.ttk.po +++ b/library/tkinter.ttk.po @@ -1,21 +1,21 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Maciej Olko , 2023 # haaritsubaki, 2023 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:15+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -29,7 +29,7 @@ msgid ":mod:`!tkinter.ttk` --- Tk themed widgets" msgstr "" msgid "**Source code:** :source:`Lib/tkinter/ttk.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/tkinter/ttk.py`" msgid "" "The :mod:`tkinter.ttk` module provides access to the Tk themed widget set, " diff --git a/library/token.po b/library/token.po index 53589491d..1ae0f56eb 100644 --- a/library/token.po +++ b/library/token.po @@ -4,17 +4,17 @@ # FIRST AUTHOR , YEAR. # # Translators: -# Stan Ulbrych, 2025 # Maciej Olko , 2025 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:15+0000\n" -"Last-Translator: Maciej Olko , 2025\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -69,7 +69,7 @@ msgstr "" msgid "" "Token value that indicates an :ref:`identifier `. Note that " -"keywords are also initially tokenized an ``NAME`` tokens." +"keywords are also initially tokenized as ``NAME`` tokens." msgstr "" msgid "Token value that indicates a :ref:`numeric literal `" @@ -227,148 +227,148 @@ msgid "Value" msgstr "Wartość" msgid "``\"(\"``" -msgstr "" +msgstr "``\"(\"``" msgid "``\")\"``" -msgstr "" +msgstr "``\")\"``" msgid "``\"[\"``" -msgstr "" +msgstr "``\"[\"``" msgid "``\"]\"``" -msgstr "" +msgstr "``\"]\"``" msgid "``\":\"``" -msgstr "" +msgstr "``\":\"``" msgid "``\",\"``" -msgstr "" +msgstr "``\",\"``" msgid "``\";\"``" -msgstr "" +msgstr "``\";\"``" msgid "``\"+\"``" -msgstr "" +msgstr "``\"+\"``" msgid "``\"-\"``" -msgstr "" +msgstr "``\"-\"``" msgid "``\"*\"``" -msgstr "" +msgstr "``\"*\"``" msgid "``\"/\"``" -msgstr "" +msgstr "``\"/\"``" msgid "``\"|\"``" -msgstr "" +msgstr "``\"|\"``" msgid "``\"&\"``" -msgstr "" +msgstr "``\"&\"``" msgid "``\"<\"``" -msgstr "" +msgstr "``\"<\"``" msgid "``\">\"``" -msgstr "" +msgstr "``\">\"``" msgid "``\"=\"``" -msgstr "" +msgstr "``\"=\"``" msgid "``\".\"``" -msgstr "" +msgstr "``\".\"``" msgid "``\"%\"``" -msgstr "" +msgstr "``\"%\"``" msgid "``\"{\"``" -msgstr "" +msgstr "``\"{\"``" msgid "``\"}\"``" -msgstr "" +msgstr "``\"}\"``" msgid "``\"==\"``" -msgstr "" +msgstr "``\"==\"``" msgid "``\"!=\"``" -msgstr "" +msgstr "``\"!=\"``" msgid "``\"<=\"``" -msgstr "" +msgstr "``\"<=\"``" msgid "``\">=\"``" -msgstr "" +msgstr "``\">=\"``" msgid "``\"~\"``" -msgstr "" +msgstr "``\"~\"``" msgid "``\"^\"``" -msgstr "" +msgstr "``\"^\"``" msgid "``\"<<\"``" -msgstr "" +msgstr "``\"<<\"``" msgid "``\">>\"``" -msgstr "" +msgstr "``\">>\"``" msgid "``\"**\"``" -msgstr "" +msgstr "``\"**\"``" msgid "``\"+=\"``" -msgstr "" +msgstr "``\"+=\"``" msgid "``\"-=\"``" -msgstr "" +msgstr "``\"-=\"``" msgid "``\"*=\"``" -msgstr "" +msgstr "``\"*=\"``" msgid "``\"/=\"``" -msgstr "" +msgstr "``\"/=\"``" msgid "``\"%=\"``" -msgstr "" +msgstr "``\"%=\"``" msgid "``\"&=\"``" -msgstr "" +msgstr "``\"&=\"``" msgid "``\"|=\"``" -msgstr "" +msgstr "``\"|=\"``" msgid "``\"^=\"``" -msgstr "" +msgstr "``\"^=\"``" msgid "``\"<<=\"``" -msgstr "" +msgstr "``\"<<=\"``" msgid "``\">>=\"``" -msgstr "" +msgstr "``\">>=\"``" msgid "``\"**=\"``" -msgstr "" +msgstr "``\"**=\"``" msgid "``\"//\"``" -msgstr "" +msgstr "``\"//\"``" msgid "``\"//=\"``" -msgstr "" +msgstr "``\"//=\"``" msgid "``\"@\"``" -msgstr "" +msgstr "``\"@\"``" msgid "``\"@=\"``" -msgstr "" +msgstr "``\"@=\"``" msgid "``\"->\"``" -msgstr "" +msgstr "``\"->\"``" msgid "``\"...\"``" -msgstr "" +msgstr "``\"...\"``" msgid "``\":=\"``" -msgstr "" +msgstr "``\":=\"``" msgid "``\"!\"``" -msgstr "" +msgstr "``\"!\"``" msgid "The following non-token constants are provided:" msgstr "" diff --git a/library/tokenize.po b/library/tokenize.po index 5dce9891d..901d7bbc1 100644 --- a/library/tokenize.po +++ b/library/tokenize.po @@ -1,20 +1,21 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Maciej Olko , 2021 # Seweryn Piórkowski , 2021 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:16+0000\n" -"Last-Translator: Seweryn Piórkowski , 2021\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -28,7 +29,7 @@ msgid ":mod:`!tokenize` --- Tokenizer for Python source" msgstr "" msgid "**Source code:** :source:`Lib/tokenize.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/tokenize.py`" msgid "" "The :mod:`tokenize` module provides a lexical scanner for Python source " diff --git a/library/tomllib.po b/library/tomllib.po index 568bd8057..67e416f9e 100644 --- a/library/tomllib.po +++ b/library/tomllib.po @@ -5,16 +5,16 @@ # # Translators: # Maciej Olko , 2024 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2022-11-05 19:49+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -28,7 +28,7 @@ msgid ":mod:`!tomllib` --- Parse TOML files" msgstr "" msgid "**Source code:** :source:`Lib/tomllib`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/tomllib`" msgid "" "This module provides an interface for parsing TOML 1.0.0 (Tom's Obvious " @@ -137,7 +137,7 @@ msgid "TOML" msgstr "" msgid "Python" -msgstr "" +msgstr "Python" msgid "TOML document" msgstr "" diff --git a/library/traceback.po b/library/traceback.po index b07503777..58029a628 100644 --- a/library/traceback.po +++ b/library/traceback.po @@ -1,19 +1,21 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2024, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # haaritsubaki, 2023 +# Stan Ulbrych, 2025 +# Maciej Olko , 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-08-30 14:16+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:16+0000\n" -"Last-Translator: haaritsubaki, 2023\n" +"Last-Translator: Maciej Olko , 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,14 +29,17 @@ msgid ":mod:`!traceback` --- Print or retrieve a stack traceback" msgstr "" msgid "**Source code:** :source:`Lib/traceback.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/traceback.py`" msgid "" "This module provides a standard interface to extract, format and print stack " -"traces of Python programs. It exactly mimics the behavior of the Python " -"interpreter when it prints a stack trace. This is useful when you want to " -"print stack traces under program control, such as in a \"wrapper\" around " -"the interpreter." +"traces of Python programs. It is more flexible than the interpreter's " +"default traceback display, and therefore makes it possible to configure " +"certain aspects of the output. Finally, it contains a utility for capturing " +"enough information about an exception to print it later, without the need to " +"save a reference to the actual exception. Since exceptions can be the roots " +"of large objects graph, this utility can significantly improve memory " +"management." msgstr "" msgid "" @@ -58,7 +63,28 @@ msgstr "" msgid "Interactive source code debugger for Python programs." msgstr "" -msgid "The module defines the following functions:" +msgid "The module's API can be divided into two parts:" +msgstr "" + +msgid "" +"Module-level functions offering basic functionality, which are useful for " +"interactive inspection of exceptions and tracebacks." +msgstr "" + +msgid "" +":class:`TracebackException` class and its helper classes :class:" +"`StackSummary` and :class:`FrameSummary`. These offer both more flexibility " +"in the output generated and the ability to store the information necessary " +"for later formatting without holding references to actual exception and " +"traceback objects." +msgstr "" + +msgid "" +"Output is colorized by default and can be :ref:`controlled using environment " +"variables `." +msgstr "" + +msgid "Module-Level Functions" msgstr "" msgid "" @@ -123,14 +149,14 @@ msgid "" msgstr "" msgid "" -"This is a shorthand for ``print_exception(sys.exception(), limit, file, " -"chain)``." +"This is a shorthand for ``print_exception(sys.exception(), limit=limit, " +"file=file, chain=chain)``." msgstr "" msgid "" -"This is a shorthand for ``print_exception(sys.last_exc, limit, file, " -"chain)``. In general it will work only after an exception has reached an " -"interactive prompt (see :data:`sys.last_exc`)." +"This is a shorthand for ``print_exception(sys.last_exc, limit=limit, " +"file=file, chain=chain)``. In general it will work only after an exception " +"has reached an interactive prompt (see :data:`sys.last_exc`)." msgstr "" msgid "" @@ -161,6 +187,12 @@ msgid "" "`print_stack`." msgstr "" +msgid "" +"Print the list of tuples as returned by :func:`extract_tb` or :func:" +"`extract_stack` as a formatted stack trace to the given file. If *file* is " +"``None``, the output is written to :data:`sys.stderr`." +msgstr "" + msgid "" "Given a list of tuples or :class:`FrameSummary` objects as returned by :func:" "`extract_tb` or :func:`extract_stack`, return a list of strings ready for " @@ -236,26 +268,34 @@ msgid "" "current stack is used. This helper is used with :meth:`StackSummary.extract`." msgstr "" +msgid "" +"This function previously returned a generator that would walk the stack when " +"first iterated over. The generator returned now is the state of the stack " +"when ``walk_stack`` is called." +msgstr "" + msgid "" "Walk a traceback following :attr:`~traceback.tb_next` yielding the frame and " "line number for each frame. This helper is used with :meth:`StackSummary." "extract`." msgstr "" -msgid "The module also defines the following classes:" -msgstr "" - msgid ":class:`!TracebackException` Objects" msgstr "" msgid "" ":class:`!TracebackException` objects are created from actual exceptions to " -"capture data for later printing in a lightweight fashion." +"capture data for later printing. They offer a more lightweight method of " +"storing this information by avoiding holding references to :ref:" +"`traceback` and :ref:`frame` objects. In " +"addition, they expose more options to configure the output compared to the " +"module-level functions described above." msgstr "" msgid "" -"Capture an exception for later rendering. *limit*, *lookup_lines* and " -"*capture_locals* are as for the :class:`StackSummary` class." +"Capture an exception for later rendering. The meaning of *limit*, " +"*lookup_lines* and *capture_locals* are as for the :class:`StackSummary` " +"class." msgstr "" msgid "" @@ -344,6 +384,11 @@ msgstr "" msgid "For syntax errors - the compiler error message." msgstr "" +msgid "" +"Capture an exception for later rendering. *limit*, *lookup_lines* and " +"*capture_locals* are as for the :class:`StackSummary` class." +msgstr "" + msgid "" "Print to *file* (default ``sys.stderr``) the exception information returned " "by :meth:`format`." @@ -483,7 +528,25 @@ msgid "" "trailing whitespace stripped. If the source is not available, it is ``None``." msgstr "" -msgid "Traceback Examples" +msgid "" +"The last line number of the source code for this frame. By default, it is " +"set to ``lineno`` and indexation starts from 1." +msgstr "" + +msgid "The default value changed from ``None`` to ``lineno``." +msgstr "" + +msgid "" +"The column number of the source code for this frame. By default, it is " +"``None`` and indexation starts from 0." +msgstr "" + +msgid "" +"The last column number of the source code for this frame. By default, it is " +"``None`` and indexation starts from 0." +msgstr "" + +msgid "Examples of Using the Module-Level Functions" msgstr "" msgid "" @@ -493,22 +556,432 @@ msgid "" "`code` module. ::" msgstr "" +msgid "" +"import sys, traceback\n" +"\n" +"def run_user_code(envdir):\n" +" source = input(\">>> \")\n" +" try:\n" +" exec(source, envdir)\n" +" except Exception:\n" +" print(\"Exception in user code:\")\n" +" print(\"-\"*60)\n" +" traceback.print_exc(file=sys.stdout)\n" +" print(\"-\"*60)\n" +"\n" +"envdir = {}\n" +"while True:\n" +" run_user_code(envdir)" +msgstr "" +"import sys, traceback\n" +"\n" +"def run_user_code(envdir):\n" +" source = input(\">>> \")\n" +" try:\n" +" exec(source, envdir)\n" +" except Exception:\n" +" print(\"Wyjątek w kodzie użytkownika:\")\n" +" print(\"-\"*60)\n" +" traceback.print_exc(file=sys.stdout)\n" +" print(\"-\"*60)\n" +"\n" +"envdir = {}\n" +"while True:\n" +" run_user_code(envdir)" + msgid "" "The following example demonstrates the different ways to print and format " "the exception and traceback:" msgstr "" +msgid "" +"import sys, traceback\n" +"\n" +"def lumberjack():\n" +" bright_side_of_life()\n" +"\n" +"def bright_side_of_life():\n" +" return tuple()[0]\n" +"\n" +"try:\n" +" lumberjack()\n" +"except IndexError as exc:\n" +" print(\"*** print_tb:\")\n" +" traceback.print_tb(exc.__traceback__, limit=1, file=sys.stdout)\n" +" print(\"*** print_exception:\")\n" +" traceback.print_exception(exc, limit=2, file=sys.stdout)\n" +" print(\"*** print_exc:\")\n" +" traceback.print_exc(limit=2, file=sys.stdout)\n" +" print(\"*** format_exc, first and last line:\")\n" +" formatted_lines = traceback.format_exc().splitlines()\n" +" print(formatted_lines[0])\n" +" print(formatted_lines[-1])\n" +" print(\"*** format_exception:\")\n" +" print(repr(traceback.format_exception(exc)))\n" +" print(\"*** extract_tb:\")\n" +" print(repr(traceback.extract_tb(exc.__traceback__)))\n" +" print(\"*** format_tb:\")\n" +" print(repr(traceback.format_tb(exc.__traceback__)))\n" +" print(\"*** tb_lineno:\", exc.__traceback__.tb_lineno)" +msgstr "" +"import sys, traceback\n" +"\n" +"def lumberjack():\n" +" bright_side_of_life()\n" +"\n" +"def bright_side_of_life():\n" +" return tuple()[0]\n" +"\n" +"try:\n" +" lumberjack()\n" +"except IndexError as exc:\n" +" print(\"*** print_tb:\")\n" +" traceback.print_tb(exc.__traceback__, limit=1, file=sys.stdout)\n" +" print(\"*** print_exception:\")\n" +" traceback.print_exception(exc, limit=2, file=sys.stdout)\n" +" print(\"*** print_exc:\")\n" +" traceback.print_exc(limit=2, file=sys.stdout)\n" +" print(\"*** format_exc, first and last line:\")\n" +" formatted_lines = traceback.format_exc().splitlines()\n" +" print(formatted_lines[0])\n" +" print(formatted_lines[-1])\n" +" print(\"*** format_exception:\")\n" +" print(repr(traceback.format_exception(exc)))\n" +" print(\"*** extract_tb:\")\n" +" print(repr(traceback.extract_tb(exc.__traceback__)))\n" +" print(\"*** format_tb:\")\n" +" print(repr(traceback.format_tb(exc.__traceback__)))\n" +" print(\"*** tb_lineno:\", exc.__traceback__.tb_lineno)" + msgid "The output for the example would look similar to this:" msgstr "" +msgid "" +"*** print_tb:\n" +" File \"\", line 10, in \n" +" lumberjack()\n" +" ~~~~~~~~~~^^\n" +"*** print_exception:\n" +"Traceback (most recent call last):\n" +" File \"\", line 10, in \n" +" lumberjack()\n" +" ~~~~~~~~~~^^\n" +" File \"\", line 4, in lumberjack\n" +" bright_side_of_life()\n" +" ~~~~~~~~~~~~~~~~~~~^^\n" +"IndexError: tuple index out of range\n" +"*** print_exc:\n" +"Traceback (most recent call last):\n" +" File \"\", line 10, in \n" +" lumberjack()\n" +" ~~~~~~~~~~^^\n" +" File \"\", line 4, in lumberjack\n" +" bright_side_of_life()\n" +" ~~~~~~~~~~~~~~~~~~~^^\n" +"IndexError: tuple index out of range\n" +"*** format_exc, first and last line:\n" +"Traceback (most recent call last):\n" +"IndexError: tuple index out of range\n" +"*** format_exception:\n" +"['Traceback (most recent call last):\\n',\n" +" ' File \"\", line 10, in \\n " +"lumberjack()\\n ~~~~~~~~~~^^\\n',\n" +" ' File \"\", line 4, in lumberjack\\n " +"bright_side_of_life()\\n ~~~~~~~~~~~~~~~~~~~^^\\n',\n" +" ' File \"\", line 7, in bright_side_of_life\\n " +"return tuple()[0]\\n ~~~~~~~^^^\\n',\n" +" 'IndexError: tuple index out of range\\n']\n" +"*** extract_tb:\n" +"[, line 10 in >,\n" +" , line 4 in lumberjack>,\n" +" , line 7 in bright_side_of_life>]\n" +"*** format_tb:\n" +"[' File \"\", line 10, in \\n " +"lumberjack()\\n ~~~~~~~~~~^^\\n',\n" +" ' File \"\", line 4, in lumberjack\\n " +"bright_side_of_life()\\n ~~~~~~~~~~~~~~~~~~~^^\\n',\n" +" ' File \"\", line 7, in bright_side_of_life\\n " +"return tuple()[0]\\n ~~~~~~~^^^\\n']\n" +"*** tb_lineno: 10" +msgstr "" +"*** print_tb:\n" +" File \"\", line 10, in \n" +" lumberjack()\n" +" ~~~~~~~~~~^^\n" +"*** print_exception:\n" +"Traceback (most recent call last):\n" +" File \"\", line 10, in \n" +" lumberjack()\n" +" ~~~~~~~~~~^^\n" +" File \"\", line 4, in lumberjack\n" +" bright_side_of_life()\n" +" ~~~~~~~~~~~~~~~~~~~^^\n" +"IndexError: tuple index out of range\n" +"*** print_exc:\n" +"Traceback (most recent call last):\n" +" File \"\", line 10, in \n" +" lumberjack()\n" +" ~~~~~~~~~~^^\n" +" File \"\", line 4, in lumberjack\n" +" bright_side_of_life()\n" +" ~~~~~~~~~~~~~~~~~~~^^\n" +"IndexError: tuple index out of range\n" +"*** format_exc, first and last line:\n" +"Traceback (most recent call last):\n" +"IndexError: tuple index out of range\n" +"*** format_exception:\n" +"['Traceback (most recent call last):\\n',\n" +" ' File \"\", line 10, in \\n " +"lumberjack()\\n ~~~~~~~~~~^^\\n',\n" +" ' File \"\", line 4, in lumberjack\\n " +"bright_side_of_life()\\n ~~~~~~~~~~~~~~~~~~~^^\\n',\n" +" ' File \"\", line 7, in bright_side_of_life\\n " +"return tuple()[0]\\n ~~~~~~~^^^\\n',\n" +" 'IndexError: tuple index out of range\\n']\n" +"*** extract_tb:\n" +"[, line 10 in >,\n" +" , line 4 in lumberjack>,\n" +" , line 7 in bright_side_of_life>]\n" +"*** format_tb:\n" +"[' File \"\", line 10, in \\n " +"lumberjack()\\n ~~~~~~~~~~^^\\n',\n" +" ' File \"\", line 4, in lumberjack\\n " +"bright_side_of_life()\\n ~~~~~~~~~~~~~~~~~~~^^\\n',\n" +" ' File \"\", line 7, in bright_side_of_life\\n " +"return tuple()[0]\\n ~~~~~~~^^^\\n']\n" +"*** tb_lineno: 10" + msgid "" "The following example shows the different ways to print and format the " "stack::" msgstr "" +msgid "" +">>> import traceback\n" +">>> def another_function():\n" +"... lumberstack()\n" +"...\n" +">>> def lumberstack():\n" +"... traceback.print_stack()\n" +"... print(repr(traceback.extract_stack()))\n" +"... print(repr(traceback.format_stack()))\n" +"...\n" +">>> another_function()\n" +" File \"\", line 10, in \n" +" another_function()\n" +" File \"\", line 3, in another_function\n" +" lumberstack()\n" +" File \"\", line 6, in lumberstack\n" +" traceback.print_stack()\n" +"[('', 10, '', 'another_function()'),\n" +" ('', 3, 'another_function', 'lumberstack()'),\n" +" ('', 7, 'lumberstack', 'print(repr(traceback.extract_stack()))')]\n" +"[' File \"\", line 10, in \\n another_function()\\n',\n" +" ' File \"\", line 3, in another_function\\n " +"lumberstack()\\n',\n" +" ' File \"\", line 8, in lumberstack\\n print(repr(traceback." +"format_stack()))\\n']" +msgstr "" +">>> import traceback\n" +">>> def another_function():\n" +"... lumberstack()\n" +"...\n" +">>> def lumberstack():\n" +"... traceback.print_stack()\n" +"... print(repr(traceback.extract_stack()))\n" +"... print(repr(traceback.format_stack()))\n" +"...\n" +">>> another_function()\n" +" File \"\", line 10, in \n" +" another_function()\n" +" File \"\", line 3, in another_function\n" +" lumberstack()\n" +" File \"\", line 6, in lumberstack\n" +" traceback.print_stack()\n" +"[('', 10, '', 'another_function()'),\n" +" ('', 3, 'another_function', 'lumberstack()'),\n" +" ('', 7, 'lumberstack', 'print(repr(traceback.extract_stack()))')]\n" +"[' File \"\", line 10, in \\n another_function()\\n',\n" +" ' File \"\", line 3, in another_function\\n " +"lumberstack()\\n',\n" +" ' File \"\", line 8, in lumberstack\\n print(repr(traceback." +"format_stack()))\\n']" + msgid "This last example demonstrates the final few formatting functions:" msgstr "" +msgid "" +">>> import traceback\n" +">>> traceback.format_list([('spam.py', 3, '', 'spam.eggs()'),\n" +"... ('eggs.py', 42, 'eggs', 'return \"bacon\"')])\n" +"[' File \"spam.py\", line 3, in \\n spam.eggs()\\n',\n" +" ' File \"eggs.py\", line 42, in eggs\\n return \"bacon\"\\n']\n" +">>> an_error = IndexError('tuple index out of range')\n" +">>> traceback.format_exception_only(an_error)\n" +"['IndexError: tuple index out of range\\n']" +msgstr "" + +msgid "Examples of Using :class:`TracebackException`" +msgstr "" + +msgid "With the helper class, we have more options::" +msgstr "" + +msgid "" +">>> import sys\n" +">>> from traceback import TracebackException\n" +">>>\n" +">>> def lumberjack():\n" +"... bright_side_of_life()\n" +"...\n" +">>> def bright_side_of_life():\n" +"... t = \"bright\", \"side\", \"of\", \"life\"\n" +"... return t[5]\n" +"...\n" +">>> try:\n" +"... lumberjack()\n" +"... except IndexError as e:\n" +"... exc = e\n" +"...\n" +">>> try:\n" +"... try:\n" +"... lumberjack()\n" +"... except:\n" +"... 1/0\n" +"... except Exception as e:\n" +"... chained_exc = e\n" +"...\n" +">>> # limit works as with the module-level functions\n" +">>> TracebackException.from_exception(exc, limit=-2).print()\n" +"Traceback (most recent call last):\n" +" File \"\", line 6, in lumberjack\n" +" bright_side_of_life()\n" +" ~~~~~~~~~~~~~~~~~~~^^\n" +" File \"\", line 10, in bright_side_of_life\n" +" return t[5]\n" +" ~^^^\n" +"IndexError: tuple index out of range\n" +"\n" +">>> # capture_locals adds local variables in frames\n" +">>> TracebackException.from_exception(exc, limit=-2, capture_locals=True)." +"print()\n" +"Traceback (most recent call last):\n" +" File \"\", line 6, in lumberjack\n" +" bright_side_of_life()\n" +" ~~~~~~~~~~~~~~~~~~~^^\n" +" File \"\", line 10, in bright_side_of_life\n" +" return t[5]\n" +" ~^^^\n" +" t = (\"bright\", \"side\", \"of\", \"life\")\n" +"IndexError: tuple index out of range\n" +"\n" +">>> # The *chain* kwarg to print() controls whether chained\n" +">>> # exceptions are displayed\n" +">>> TracebackException.from_exception(chained_exc).print()\n" +"Traceback (most recent call last):\n" +" File \"\", line 4, in \n" +" lumberjack()\n" +" ~~~~~~~~~~^^\n" +" File \"\", line 7, in lumberjack\n" +" bright_side_of_life()\n" +" ~~~~~~~~~~~~~~~~~~~^^\n" +" File \"\", line 11, in bright_side_of_life\n" +" return t[5]\n" +" ~^^^\n" +"IndexError: tuple index out of range\n" +"\n" +"During handling of the above exception, another exception occurred:\n" +"\n" +"Traceback (most recent call last):\n" +" File \"\", line 6, in \n" +" 1/0\n" +" ~^~\n" +"ZeroDivisionError: division by zero\n" +"\n" +">>> TracebackException.from_exception(chained_exc).print(chain=False)\n" +"Traceback (most recent call last):\n" +" File \"\", line 6, in \n" +" 1/0\n" +" ~^~\n" +"ZeroDivisionError: division by zero" +msgstr "" +">>> import sys\n" +">>> from traceback import TracebackException\n" +">>>\n" +">>> def lumberjack():\n" +"... bright_side_of_life()\n" +"...\n" +">>> def bright_side_of_life():\n" +"... t = \"bright\", \"side\", \"of\", \"life\"\n" +"... return t[5]\n" +"...\n" +">>> try:\n" +"... lumberjack()\n" +"... except IndexError as e:\n" +"... exc = e\n" +"...\n" +">>> try:\n" +"... try:\n" +"... lumberjack()\n" +"... except:\n" +"... 1/0\n" +"... except Exception as e:\n" +"... chained_exc = e\n" +"...\n" +">>> # limit działa tak jak z funkcjami na poziomie modułu\n" +">>> TracebackException.from_exception(exc, limit=-2).print()\n" +"Traceback (most recent call last):\n" +" File \"\", line 6, in lumberjack\n" +" bright_side_of_life()\n" +" ~~~~~~~~~~~~~~~~~~~^^\n" +" File \"\", line 10, in bright_side_of_life\n" +" return t[5]\n" +" ~^^^\n" +"IndexError: tuple index out of range\n" +"\n" +">>> # capture_locals dodaje lokalne zmienne do ramek\n" +">>> TracebackException.from_exception(exc, limit=-2, capture_locals=True)." +"print()\n" +"Traceback (most recent call last):\n" +" File \"\", line 6, in lumberjack\n" +" bright_side_of_life()\n" +" ~~~~~~~~~~~~~~~~~~~^^\n" +" File \"\", line 10, in bright_side_of_life\n" +" return t[5]\n" +" ~^^^\n" +" t = (\"bright\", \"side\", \"of\", \"life\")\n" +"IndexError: tuple index out of range\n" +"\n" +">>> # argument nazwany *chain* metody print() kontroluje, czy wyjątki\n" +">>> # z łańcucha są wyświetlane\n" +">>> TracebackException.from_exception(chained_exc).print()\n" +"Traceback (most recent call last):\n" +" File \"\", line 4, in \n" +" lumberjack()\n" +" ~~~~~~~~~~^^\n" +" File \"\", line 7, in lumberjack\n" +" bright_side_of_life()\n" +" ~~~~~~~~~~~~~~~~~~~^^\n" +" File \"\", line 11, in bright_side_of_life\n" +" return t[5]\n" +" ~^^^\n" +"IndexError: tuple index out of range\n" +"\n" +"During handling of the above exception, another exception occurred:\n" +"\n" +"Traceback (most recent call last):\n" +" File \"\", line 6, in \n" +" 1/0\n" +" ~^~\n" +"ZeroDivisionError: division by zero\n" +"\n" +">>> TracebackException.from_exception(chained_exc).print(chain=False)\n" +"Traceback (most recent call last):\n" +" File \"\", line 6, in \n" +" 1/0\n" +" ~^~\n" +"ZeroDivisionError: division by zero" + msgid "object" msgstr "obiekt" diff --git a/library/tracemalloc.po b/library/tracemalloc.po index b7815a070..48a0d30fc 100644 --- a/library/tracemalloc.po +++ b/library/tracemalloc.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:16+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!tracemalloc` --- Trace memory allocations" msgstr "" msgid "**Source code:** :source:`Lib/tracemalloc.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/tracemalloc.py`" msgid "" "The tracemalloc module is a debug tool to trace memory blocks allocated by " diff --git a/library/tty.po b/library/tty.po index 28b88d906..5a7954609 100644 --- a/library/tty.po +++ b/library/tty.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:16+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -27,7 +27,7 @@ msgid ":mod:`!tty` --- Terminal control functions" msgstr "" msgid "**Source code:** :source:`Lib/tty.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/tty.py`" msgid "" "The :mod:`tty` module defines functions for putting the tty into cbreak and " diff --git a/library/turtle.po b/library/turtle.po index 0aabdfdc7..0569ccf35 100644 --- a/library/turtle.po +++ b/library/turtle.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:16+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -671,7 +671,7 @@ msgid ":func:`filling`" msgstr ":func:`filling`" msgid ":func:`fill`" -msgstr "" +msgstr ":func:`fill`" msgid ":func:`begin_fill`" msgstr ":func:`begin_fill`" @@ -749,7 +749,7 @@ msgid "Special Turtle methods" msgstr "Specjalne metody żółwi" msgid ":func:`poly`" -msgstr "" +msgstr ":func:`poly`" msgid ":func:`begin_poly`" msgstr ":func:`begin_poly`" @@ -803,7 +803,7 @@ msgid "Animation control" msgstr "Kontrola animacji" msgid ":func:`no_animation`" -msgstr "" +msgstr ":func:`no_animation`" msgid ":func:`delay`" msgstr ":func:`delay`" @@ -881,7 +881,7 @@ msgid ":func:`exitonclick`" msgstr ":func:`exitonclick`" msgid ":func:`save`" -msgstr "" +msgstr ":func:`save`" msgid ":func:`setup`" msgstr ":func:`setup`" diff --git a/library/types.po b/library/types.po index 55c8c04bc..d04893e7e 100644 --- a/library/types.po +++ b/library/types.po @@ -5,16 +5,16 @@ # # Translators: # haaritsubaki, 2023 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:16+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -28,7 +28,7 @@ msgid ":mod:`!types` --- Dynamic type creation and names for built-in types" msgstr "" msgid "**Source code:** :source:`Lib/types.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/types.py`" msgid "" "This module defines utility functions to assist in dynamic creation of new " diff --git a/library/typing.po b/library/typing.po index c12625273..40a25a0d4 100644 --- a/library/typing.po +++ b/library/typing.po @@ -6,17 +6,17 @@ # Translators: # Stefan Ocetkiewicz , 2023 # Rafael Fontenelle , 2024 -# Stan Ulbrych, 2025 # Maciej Olko , 2025 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:16+0000\n" -"Last-Translator: Maciej Olko , 2025\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -30,7 +30,7 @@ msgid ":mod:`!typing` --- Support for type hints" msgstr "" msgid "**Source code:** :source:`Lib/typing.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/typing.py`" msgid "" "The Python runtime does not enforce function and variable type annotations. " @@ -4143,32 +4143,14 @@ msgstr "" msgid "" "This is similar to calling :meth:`annotationlib.ForwardRef.evaluate`, but " -"unlike that method, :func:`!evaluate_forward_ref` also:" -msgstr "" - -msgid "Recursively evaluates forward references nested within the type hint." -msgstr "" - -msgid "" -"Raises :exc:`TypeError` when it encounters certain objects that are not " -"valid type hints." -msgstr "" - -msgid "" -"Replaces type hints that evaluate to :const:`!None` with :class:`types." -"NoneType`." -msgstr "" - -msgid "" -"Supports the :attr:`~annotationlib.Format.FORWARDREF` and :attr:" -"`~annotationlib.Format.STRING` formats." +"unlike that method, :func:`!evaluate_forward_ref` also recursively evaluates " +"forward references nested within the type hint." msgstr "" msgid "" "See the documentation for :meth:`annotationlib.ForwardRef.evaluate` for the " -"meaning of the *owner*, *globals*, *locals*, and *type_params* parameters. " -"*format* specifies the format of the annotation and is a member of the :" -"class:`annotationlib.Format` enum." +"meaning of the *owner*, *globals*, *locals*, *type_params*, and *format* " +"parameters." msgstr "" msgid "" @@ -4190,29 +4172,34 @@ msgstr "Stała" msgid "" "A special constant that is assumed to be ``True`` by 3rd party static type " -"checkers. It is ``False`` at runtime." +"checkers. It's ``False`` at runtime." +msgstr "" + +msgid "" +"A module which is expensive to import, and which only contain types used for " +"typing annotations, can be safely imported inside an ``if TYPE_CHECKING:`` " +"block. This prevents the module from actually being imported at runtime; " +"annotations aren't eagerly evaluated (see :pep:`649`) so using undefined " +"symbols in annotations is harmless--as long as you don't later examine them. " +"Your static type analysis tool will set ``TYPE_CHECKING`` to ``True`` during " +"static type analysis, which means the module will be imported and the types " +"will be checked properly during such analysis." msgstr "" msgid "" "if TYPE_CHECKING:\n" " import expensive_mod\n" "\n" -"def fun(arg: 'expensive_mod.SomeType') -> None:\n" +"def fun(arg: expensive_mod.SomeType) -> None:\n" " local_var: expensive_mod.AnotherType = other_fun()" msgstr "" msgid "" -"The first type annotation must be enclosed in quotes, making it a \"forward " -"reference\", to hide the ``expensive_mod`` reference from the interpreter " -"runtime. Type annotations for local variables are not evaluated, so the " -"second annotation does not need to be enclosed in quotes." -msgstr "" - -msgid "" -"If ``from __future__ import annotations`` is used, annotations are not " -"evaluated at function definition time. Instead, they are stored as strings " -"in ``__annotations__``. This makes it unnecessary to use quotes around the " -"annotation (see :pep:`563`)." +"If you occasionally need to examine type annotations at runtime which may " +"contain undefined symbols, use :meth:`annotationlib.get_annotations` with a " +"``format`` parameter of :attr:`annotationlib.Format.STRING` or :attr:" +"`annotationlib.Format.FORWARDREF` to safely retrieve the annotations without " +"raising :exc:`NameError`." msgstr "" msgid "Deprecated aliases" @@ -4737,7 +4724,7 @@ msgid ":pep:`695`" msgstr ":pep:`695`" msgid ":func:`@typing.no_type_check_decorator `" -msgstr "" +msgstr ":func:`@typing.no_type_check_decorator `" msgid "3.13" msgstr "" diff --git a/library/unicodedata.po b/library/unicodedata.po index aa3380c83..782b12bf4 100644 --- a/library/unicodedata.po +++ b/library/unicodedata.po @@ -5,16 +5,16 @@ # # Translators: # Maciej Olko , 2021 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:16+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -167,7 +167,7 @@ msgid "Footnotes" msgstr "Przypisy" msgid "https://www.unicode.org/Public/16.0.0/ucd/NameAliases.txt" -msgstr "" +msgstr "https://www.unicode.org/Public/16.0.0/ucd/NameAliases.txt" msgid "https://www.unicode.org/Public/16.0.0/ucd/NamedSequences.txt" msgstr "" diff --git a/library/unittest.mock-examples.po b/library/unittest.mock-examples.po index a9cfe6733..a203be032 100644 --- a/library/unittest.mock-examples.po +++ b/library/unittest.mock-examples.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:16+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/unittest.mock.po b/library/unittest.mock.po index 7b3954ae0..13d0cfdfc 100644 --- a/library/unittest.mock.po +++ b/library/unittest.mock.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-16 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:16+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -29,7 +29,7 @@ msgid ":mod:`!unittest.mock` --- mock object library" msgstr "" msgid "**Source code:** :source:`Lib/unittest/mock.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/unittest/mock.py`" msgid "" ":mod:`unittest.mock` is a library for testing in Python. It allows you to " diff --git a/library/unittest.po b/library/unittest.po index 2c52b3beb..c4800d779 100644 --- a/library/unittest.po +++ b/library/unittest.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:16+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -29,7 +29,7 @@ msgid ":mod:`!unittest` --- Unit testing framework" msgstr "" msgid "**Source code:** :source:`Lib/unittest/__init__.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/unittest/__init__.py`" msgid "" "(If you are already familiar with the basic concepts of testing, you might " @@ -176,7 +176,7 @@ msgid "" msgstr "" msgid "" -"A testcase is created by subclassing :class:`unittest.TestCase`. The three " +"A test case is created by subclassing :class:`unittest.TestCase`. The three " "individual tests are defined with methods whose names start with the letters " "``test``. This naming convention informs the test runner about which " "methods represent tests." @@ -1065,16 +1065,16 @@ msgid "``a != b``" msgstr "``a != b``" msgid ":meth:`assertTrue(x) `" -msgstr "" +msgstr ":meth:`assertTrue(x) `" msgid "``bool(x) is True``" msgstr "``bool(x) is True``" msgid ":meth:`assertFalse(x) `" -msgstr "" +msgstr ":meth:`assertFalse(x) `" msgid "``bool(x) is False``" -msgstr "" +msgstr "``bool(x) is False``" msgid ":meth:`assertIs(a, b) `" msgstr "" @@ -1092,13 +1092,13 @@ msgid "``a is not b``" msgstr "" msgid ":meth:`assertIsNone(x) `" -msgstr "" +msgstr ":meth:`assertIsNone(x) `" msgid "``x is None``" msgstr "``x is None``" msgid ":meth:`assertIsNotNone(x) `" -msgstr "" +msgstr ":meth:`assertIsNotNone(x) `" msgid "``x is not None``" msgstr "" @@ -1128,13 +1128,13 @@ msgid ":meth:`assertNotIsInstance(a, b) `" msgstr "" msgid "``not isinstance(a, b)``" -msgstr "" +msgstr "``not isinstance(a, b)``" msgid ":meth:`assertIsSubclass(a, b) `" msgstr "" msgid "``issubclass(a, b)``" -msgstr "" +msgstr "``issubclass(a, b)``" msgid "3.14" msgstr "" @@ -1516,7 +1516,7 @@ msgid ":meth:`assertRegex(s, r) `" msgstr "" msgid "``r.search(s)``" -msgstr "" +msgstr "``r.search(s)``" msgid ":meth:`assertNotRegex(s, r) `" msgstr "" @@ -1536,7 +1536,7 @@ msgid ":meth:`assertStartsWith(a, b) `" msgstr "" msgid "``a.startswith(b)``" -msgstr "" +msgstr "``a.startswith(b)``" msgid ":meth:`assertNotStartsWith(a, b) `" msgstr "" @@ -1548,7 +1548,7 @@ msgid ":meth:`assertEndsWith(a, b) `" msgstr "" msgid "``a.endswith(b)``" -msgstr "" +msgstr "``a.endswith(b)``" msgid ":meth:`assertNotEndsWith(a, b) `" msgstr "" @@ -1560,7 +1560,7 @@ msgid ":meth:`assertHasAttr(a, b) `" msgstr "" msgid "``hastattr(a, b)``" -msgstr "" +msgstr "``hastattr(a, b)``" msgid ":meth:`assertNotHasAttr(a, b) `" msgstr "" diff --git a/library/unix.po b/library/unix.po index f6d4b249a..2f9933219 100644 --- a/library/unix.po +++ b/library/unix.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:16+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/urllib.parse.po b/library/urllib.parse.po index ffbc62419..9bae24e33 100644 --- a/library/urllib.parse.po +++ b/library/urllib.parse.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:17+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -29,7 +29,7 @@ msgid ":mod:`!urllib.parse` --- Parse URLs into components" msgstr "" msgid "**Source code:** :source:`Lib/urllib/parse.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/urllib/parse.py`" msgid "" "This module defines a standard interface to break Uniform Resource Locator " @@ -153,7 +153,7 @@ msgid "Attribute" msgstr "atrybut" msgid "Index" -msgstr "" +msgstr "Indeks" msgid "Value" msgstr "Wartość" diff --git a/library/urllib.request.po b/library/urllib.request.po index fb9965eaf..4eca9e7ca 100644 --- a/library/urllib.request.po +++ b/library/urllib.request.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-16 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:17+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!urllib.request` --- Extensible library for opening URLs" msgstr "" msgid "**Source code:** :source:`Lib/urllib/request.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/urllib/request.py`" msgid "" "The :mod:`urllib.request` module defines functions and classes which help in " diff --git a/library/urllib.robotparser.po b/library/urllib.robotparser.po index cdd35a824..81e48205c 100644 --- a/library/urllib.robotparser.po +++ b/library/urllib.robotparser.po @@ -1,20 +1,20 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Maciej Olko , 2023 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:17+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -28,7 +28,7 @@ msgid ":mod:`!urllib.robotparser` --- Parser for robots.txt" msgstr "" msgid "**Source code:** :source:`Lib/urllib/robotparser.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/urllib/robotparser.py`" msgid "" "This module provides a single class, :class:`RobotFileParser`, which answers " diff --git a/library/uuid.po b/library/uuid.po index c4881882b..cbe598a02 100644 --- a/library/uuid.po +++ b/library/uuid.po @@ -6,16 +6,16 @@ # Translators: # Maciej Olko , 2021 # Rafael Fontenelle , 2024 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:17+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -29,7 +29,7 @@ msgid ":mod:`!uuid` --- UUID objects according to :rfc:`9562`" msgstr "" msgid "**Source code:** :source:`Lib/uuid.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/uuid.py`" msgid "" "This module provides immutable :class:`UUID` objects (the :class:`UUID` " @@ -203,42 +203,45 @@ msgid "" msgstr "" msgid "" -"Generate a UUID from a host ID, sequence number, and the current time. If " -"*node* is not given, :func:`getnode` is used to obtain the hardware address. " -"If *clock_seq* is given, it is used as the sequence number; otherwise a " -"random 14-bit sequence number is chosen." +"Generate a UUID from a host ID, sequence number, and the current time " +"according to :rfc:`RFC 9562, §5.1 <9562#section-5.1>`." +msgstr "" + +msgid "" +"When *node* is not specified, :func:`getnode` is used to obtain the hardware " +"address as a 48-bit positive integer. When a sequence number *clock_seq* is " +"not specified, a pseudo-random 14-bit positive integer is generated." +msgstr "" + +msgid "" +"If *node* or *clock_seq* exceed their expected bit count, only their least " +"significant bits are kept." msgstr "" msgid "" "Generate a UUID based on the MD5 hash of a namespace identifier (which is a " "UUID) and a name (which is a :class:`bytes` object or a string that will be " -"encoded using UTF-8)." +"encoded using UTF-8) according to :rfc:`RFC 9562, §5.3 <9562#section-5.3>`." msgstr "" -msgid "Generate a random UUID." +msgid "" +"Generate a random UUID in a cryptographically-secure method according to :" +"rfc:`RFC 9562, §5.4 <9562#section-5.4>`." msgstr "" msgid "" "Generate a UUID based on the SHA-1 hash of a namespace identifier (which is " "a UUID) and a name (which is a :class:`bytes` object or a string that will " -"be encoded using UTF-8)." +"be encoded using UTF-8) according to :rfc:`RFC 9562, §5.5 " +"<9562#section-5.5>`." msgstr "" msgid "" "Generate a UUID from a sequence number and the current time according to :" -"rfc:`9562`. This is an alternative to :func:`uuid1` to improve database " -"locality." +"rfc:`RFC 9562, §5.6 <9562#section-5.6>`." msgstr "" -msgid "" -"When *node* is not specified, :func:`getnode` is used to obtain the hardware " -"address as a 48-bit positive integer. When a sequence number *clock_seq* is " -"not specified, a pseudo-random 14-bit positive integer is generated." -msgstr "" - -msgid "" -"If *node* or *clock_seq* exceed their expected bit count, only their least " -"significant bits are kept." +msgid "This is an alternative to :func:`uuid1` to improve database locality." msgstr "" msgid "" @@ -264,6 +267,12 @@ msgid "" "arguments are substituted for a pseudo-random integer of appropriate size." msgstr "" +msgid "" +"By default, *a*, *b* and *c* are not generated by a cryptographically secure " +"pseudo-random number generator (CSPRNG). Use :func:`uuid4` when a UUID needs " +"to be used in a security-sensitive context." +msgstr "" + msgid "" "The :mod:`uuid` module defines the following namespace identifiers for use " "with :func:`uuid3` or :func:`uuid5`." diff --git a/library/venv.po b/library/venv.po index e148b4a05..ce021704a 100644 --- a/library/venv.po +++ b/library/venv.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:17+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/warnings.po b/library/warnings.po index 8f9309e79..10e06643d 100644 --- a/library/warnings.po +++ b/library/warnings.po @@ -5,16 +5,16 @@ # # Translators: # Maciej Olko , 2021 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:17+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -28,7 +28,7 @@ msgid ":mod:`!warnings` --- Warning control" msgstr "" msgid "**Source code:** :source:`Lib/warnings.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/warnings.py`" msgid "" "Warning messages are typically issued in situations where it is useful to " diff --git a/library/wave.po b/library/wave.po index 941a6ba0b..2ddf65b21 100644 --- a/library/wave.po +++ b/library/wave.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:17+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -27,7 +27,7 @@ msgid ":mod:`!wave` --- Read and write WAV files" msgstr "" msgid "**Source code:** :source:`Lib/wave.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/wave.py`" msgid "" "The :mod:`wave` module provides a convenient interface to the Waveform Audio " @@ -49,13 +49,13 @@ msgid "" msgstr "" msgid "``'rb'``" -msgstr "" +msgstr "``'rb'``" msgid "Read only mode." msgstr "" msgid "``'wb'``" -msgstr "" +msgstr "``'wb'``" msgid "Write only mode." msgstr "" diff --git a/library/weakref.po b/library/weakref.po index 7ffaf2228..088a980c2 100644 --- a/library/weakref.po +++ b/library/weakref.po @@ -1,19 +1,19 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:17+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,7 +27,7 @@ msgid ":mod:`weakref` --- Weak references" msgstr "" msgid "**Source code:** :source:`Lib/weakref.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/weakref.py`" msgid "" "The :mod:`weakref` module allows the Python programmer to create :dfn:`weak " diff --git a/library/webbrowser.po b/library/webbrowser.po index 272386785..5257e592f 100644 --- a/library/webbrowser.po +++ b/library/webbrowser.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:17+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!webbrowser` --- Convenient web-browser controller" msgstr "" msgid "**Source code:** :source:`Lib/webbrowser.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/webbrowser.py`" msgid "" "The :mod:`webbrowser` module provides a high-level interface to allow " @@ -233,19 +233,19 @@ msgid "``'lynx'``" msgstr "" msgid "``GenericBrowser('lynx')``" -msgstr "" +msgstr "``GenericBrowser('lynx')``" msgid "``'w3m'``" msgstr "``'w3m'``" msgid "``GenericBrowser('w3m')``" -msgstr "" +msgstr "``GenericBrowser('w3m')``" msgid "``'windows-default'``" -msgstr "" +msgstr "``'windows-default'``" msgid "``WindowsDefault``" -msgstr "" +msgstr "``WindowsDefault``" msgid "\\(2)" msgstr "\\(2)" @@ -254,7 +254,7 @@ msgid "``'macosx'``" msgstr "``'macosx'``" msgid "``MacOSXOSAScript('default')``" -msgstr "" +msgstr "``MacOSXOSAScript('default')``" msgid "\\(3)" msgstr "\\(3)" @@ -263,19 +263,19 @@ msgid "``'safari'``" msgstr "" msgid "``MacOSXOSAScript('safari')``" -msgstr "" +msgstr "``MacOSXOSAScript('safari')``" msgid "``'google-chrome'``" msgstr "``'google-chrome'``" msgid "``Chrome('google-chrome')``" -msgstr "" +msgstr "``Chrome('google-chrome')``" msgid "``'chrome'``" msgstr "``'chrome'``" msgid "``Chrome('chrome')``" -msgstr "" +msgstr "``Chrome('chrome')``" msgid "``'chromium'``" msgstr "``'chromium'``" diff --git a/library/winreg.po b/library/winreg.po index ee40457d9..a4b766431 100644 --- a/library/winreg.po +++ b/library/winreg.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -11,9 +11,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:17+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -206,7 +206,7 @@ msgid "The result is a tuple of 3 items:" msgstr "" msgid "Index" -msgstr "" +msgstr "Indeks" msgid "Meaning" msgstr "Znaczenie" diff --git a/library/winsound.po b/library/winsound.po index d4ba88079..7a81b5a76 100644 --- a/library/winsound.po +++ b/library/winsound.po @@ -5,15 +5,16 @@ # # Translators: # Maciej Olko , 2021 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:17+0000\n" -"Last-Translator: Maciej Olko , 2021\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -85,31 +86,31 @@ msgid "Corresponding Control Panel Sound name" msgstr "" msgid "``'SystemAsterisk'``" -msgstr "" +msgstr "``'SystemAsterisk'``" msgid "Asterisk" msgstr "" msgid "``'SystemExclamation'``" -msgstr "" +msgstr "``'SystemExclamation'``" msgid "Exclamation" msgstr "" msgid "``'SystemExit'``" -msgstr "" +msgstr "``'SystemExit'``" msgid "Exit Windows" msgstr "" msgid "``'SystemHand'``" -msgstr "" +msgstr "``'SystemHand'``" msgid "Critical Stop" msgstr "" msgid "``'SystemQuestion'``" -msgstr "" +msgstr "``'SystemQuestion'``" msgid "Question" msgstr "" diff --git a/library/wsgiref.po b/library/wsgiref.po index 8f560a492..5416905a1 100644 --- a/library/wsgiref.po +++ b/library/wsgiref.po @@ -1,20 +1,20 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Maciej Olko , 2021 -# Transifex Bot <>, 2023 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.11\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-05-19 14:13+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:17+0000\n" -"Last-Translator: Transifex Bot <>, 2023\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -24,11 +24,11 @@ msgstr "" "(n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && " "n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" -msgid ":mod:`wsgiref` --- WSGI Utilities and Reference Implementation" +msgid ":mod:`!wsgiref` --- WSGI Utilities and Reference Implementation" msgstr "" msgid "**Source code:** :source:`Lib/wsgiref`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/wsgiref`" msgid "" "The Web Server Gateway Interface (WSGI) is a standard interface between web " @@ -148,7 +148,32 @@ msgid "" "actual WSGI servers or applications, since the data is fake!" msgstr "" -msgid "Example usage::" +msgid "" +"Example usage (see also :func:`~wsgiref.simple_server.demo_app` for another " +"example)::" +msgstr "" + +msgid "" +"from wsgiref.util import setup_testing_defaults\n" +"from wsgiref.simple_server import make_server\n" +"\n" +"# A relatively simple WSGI application. It's going to print out the\n" +"# environment dictionary after being updated by setup_testing_defaults\n" +"def simple_app(environ, start_response):\n" +" setup_testing_defaults(environ)\n" +"\n" +" status = '200 OK'\n" +" headers = [('Content-type', 'text/plain; charset=utf-8')]\n" +"\n" +" start_response(status, headers)\n" +"\n" +" ret = [(\"%s: %s\\n\" % (key, value)).encode(\"utf-8\")\n" +" for key, value in environ.items()]\n" +" return ret\n" +"\n" +"with make_server('', 8000, simple_app) as httpd:\n" +" print(\"Serving on port 8000...\")\n" +" httpd.serve_forever()" msgstr "" msgid "" @@ -176,7 +201,22 @@ msgid "" "`close` method when called." msgstr "" -msgid "Support for :meth:`__getitem__` method has been removed." +msgid "Example usage::" +msgstr "" + +msgid "" +"from io import StringIO\n" +"from wsgiref.util import FileWrapper\n" +"\n" +"# We're using a StringIO-buffer for as the file-like object\n" +"filelike = StringIO(\"This is an example file-like object\"*10)\n" +"wrapper = FileWrapper(filelike, blksize=5)\n" +"\n" +"for chunk in wrapper:\n" +" print(chunk)" +msgstr "" + +msgid "Support for :meth:`~object.__getitem__` method has been removed." msgstr "" msgid ":mod:`wsgiref.headers` -- WSGI response header tools" @@ -195,13 +235,14 @@ msgstr "" msgid "" ":class:`Headers` objects support typical mapping operations including :meth:" -"`__getitem__`, :meth:`get`, :meth:`__setitem__`, :meth:`setdefault`, :meth:" -"`__delitem__` and :meth:`__contains__`. For each of these methods, the key " -"is the header name (treated case-insensitively), and the value is the first " -"value associated with that header name. Setting a header deletes any " -"existing values for that header, then adds a new value at the end of the " -"wrapped header list. Headers' existing order is generally maintained, with " -"new headers added to the end of the wrapped list." +"`~object.__getitem__`, :meth:`~dict.get`, :meth:`~object.__setitem__`, :meth:" +"`~dict.setdefault`, :meth:`~object.__delitem__` and :meth:`~object." +"__contains__`. For each of these methods, the key is the header name " +"(treated case-insensitively), and the value is the first value associated " +"with that header name. Setting a header deletes any existing values for " +"that header, then adds a new value at the end of the wrapped header list. " +"Headers' existing order is generally maintained, with new headers added to " +"the end of the wrapped list." msgstr "" msgid "" @@ -261,9 +302,15 @@ msgid "" "a value.) Example usage::" msgstr "" +msgid "h.add_header('content-disposition', 'attachment', filename='bud.gif')" +msgstr "" + msgid "The above will add a header that looks like this::" msgstr "" +msgid "Content-Disposition: attachment; filename=\"bud.gif\"" +msgstr "" + msgid "*headers* parameter is optional." msgstr "" @@ -288,6 +335,19 @@ msgid "" "pep:`3333`." msgstr "" +msgid "" +"from wsgiref.simple_server import make_server, demo_app\n" +"\n" +"with make_server('', 8000, demo_app) as httpd:\n" +" print(\"Serving HTTP on port 8000...\")\n" +"\n" +" # Respond to requests until process is killed\n" +" httpd.serve_forever()\n" +"\n" +" # Alternative: serve one request, then exit\n" +" httpd.handle_request()" +msgstr "" + msgid "" "This function is a small but complete WSGI application that returns a text " "page containing the message \"Hello world!\" and a list of the key/value " @@ -296,6 +356,11 @@ msgid "" "WSGI application correctly." msgstr "" +msgid "" +"The *start_response* callable should follow the :class:`.StartResponse` " +"protocol." +msgstr "" + msgid "" "Create a :class:`WSGIServer` instance. *server_address* should be a ``(host," "port)`` tuple, and *RequestHandlerClass* should be the subclass of :class:" @@ -412,6 +477,29 @@ msgid "" "object)." msgstr "" +msgid "" +"from wsgiref.validate import validator\n" +"from wsgiref.simple_server import make_server\n" +"\n" +"# Our callable object which is intentionally not compliant to the\n" +"# standard, so the validator is going to break\n" +"def simple_app(environ, start_response):\n" +" status = '200 OK' # HTTP Status\n" +" headers = [('Content-type', 'text/plain')] # HTTP Headers\n" +" start_response(status, headers)\n" +"\n" +" # This is going to break because we need to return a list, and\n" +" # the validator is going to inform us\n" +" return b\"Hello World\"\n" +"\n" +"# This is the application wrapped in a validator\n" +"validator_app = validator(simple_app)\n" +"\n" +"with make_server('', 8000, validator_app) as httpd:\n" +" print(\"Listening on port 8000....\")\n" +" httpd.serve_forever()" +msgstr "" + msgid ":mod:`wsgiref.handlers` -- server/gateway base classes" msgstr "" @@ -488,12 +576,13 @@ msgid "" msgstr "" msgid "" -"This class is a subclass of :class:`BaseHandler`. It overrides the :meth:" -"`__init__`, :meth:`get_stdin`, :meth:`get_stderr`, :meth:`add_cgi_vars`, :" -"meth:`_write`, and :meth:`_flush` methods to support explicitly setting the " -"environment and streams via the constructor. The supplied environment and " -"streams are stored in the :attr:`stdin`, :attr:`stdout`, :attr:`stderr`, " -"and :attr:`environ` attributes." +"This class is a subclass of :class:`BaseHandler`. It overrides the :meth:`!" +"__init__`, :meth:`~BaseHandler.get_stdin`, :meth:`~BaseHandler.get_stderr`, :" +"meth:`~BaseHandler.add_cgi_vars`, :meth:`~BaseHandler._write`, and :meth:" +"`~BaseHandler._flush` methods to support explicitly setting the environment " +"and streams via the constructor. The supplied environment and streams are " +"stored in the :attr:`stdin`, :attr:`stdout`, :attr:`stderr`, and :attr:" +"`environ` attributes." msgstr "" msgid "" @@ -645,7 +734,9 @@ msgstr "" msgid "" "This method can access the current error using ``sys.exception()``, and " "should pass that information to *start_response* when calling it (as " -"described in the \"Error Handling\" section of :pep:`3333`)." +"described in the \"Error Handling\" section of :pep:`3333`). In particular, " +"the *start_response* callable should follow the :class:`.StartResponse` " +"protocol." msgstr "" msgid "" @@ -744,8 +835,8 @@ msgid "" msgstr "" msgid "" -"A :class:`typing.Protocol` describing `start_response() `_ callables (:pep:`3333`)." +"A :class:`typing.Protocol` describing :pep:`start_response() <3333#the-start-" +"response-callable>` callables (:pep:`3333`)." msgstr "" msgid "A type alias describing a WSGI environment dictionary." @@ -755,28 +846,103 @@ msgid "A type alias describing a WSGI application callable." msgstr "" msgid "" -"A :class:`typing.Protocol` describing a `WSGI Input Stream `_." +"A :class:`typing.Protocol` describing a :pep:`WSGI Input Stream <3333#input-" +"and-error-streams>`." msgstr "" msgid "" -"A :class:`typing.Protocol` describing a `WSGI Error Stream `_." +"A :class:`typing.Protocol` describing a :pep:`WSGI Error Stream <3333#input-" +"and-error-streams>`." msgstr "" msgid "" -"A :class:`typing.Protocol` describing a `file wrapper `_. See :class:" -"`wsgiref.util.FileWrapper` for a concrete implementation of this protocol." +"A :class:`typing.Protocol` describing a :pep:`file wrapper <3333#optional-" +"platform-specific-file-handling>`. See :class:`wsgiref.util.FileWrapper` for " +"a concrete implementation of this protocol." msgstr "" msgid "Examples" msgstr "Przykłady" -msgid "This is a working \"Hello World\" WSGI application::" +msgid "" +"This is a working \"Hello World\" WSGI application, where the " +"*start_response* callable should follow the :class:`.StartResponse` " +"protocol::" +msgstr "" + +msgid "" +"\"\"\"\n" +"Every WSGI application must have an application object - a callable\n" +"object that accepts two arguments. For that purpose, we're going to\n" +"use a function (note that you're not limited to a function, you can\n" +"use a class for example). The first argument passed to the function\n" +"is a dictionary containing CGI-style environment variables and the\n" +"second variable is the callable object.\n" +"\"\"\"\n" +"from wsgiref.simple_server import make_server\n" +"\n" +"\n" +"def hello_world_app(environ, start_response):\n" +" status = \"200 OK\" # HTTP Status\n" +" headers = [(\"Content-type\", \"text/plain; charset=utf-8\")] # HTTP " +"Headers\n" +" start_response(status, headers)\n" +"\n" +" # The returned object is going to be printed\n" +" return [b\"Hello World\"]\n" +"\n" +"with make_server(\"\", 8000, hello_world_app) as httpd:\n" +" print(\"Serving on port 8000...\")\n" +"\n" +" # Serve until process is killed\n" +" httpd.serve_forever()" msgstr "" msgid "" "Example of a WSGI application serving the current directory, accept optional " "directory and port number (default: 8000) on the command line::" msgstr "" + +msgid "" +"\"\"\"\n" +"Small wsgiref based web server. Takes a path to serve from and an\n" +"optional port number (defaults to 8000), then tries to serve files.\n" +"MIME types are guessed from the file names, 404 errors are raised\n" +"if the file is not found.\n" +"\"\"\"\n" +"import mimetypes\n" +"import os\n" +"import sys\n" +"from wsgiref import simple_server, util\n" +"\n" +"\n" +"def app(environ, respond):\n" +" # Get the file name and MIME type\n" +" fn = os.path.join(path, environ[\"PATH_INFO\"][1:])\n" +" if \".\" not in fn.split(os.path.sep)[-1]:\n" +" fn = os.path.join(fn, \"index.html\")\n" +" mime_type = mimetypes.guess_file_type(fn)[0]\n" +"\n" +" # Return 200 OK if file exists, otherwise 404 Not Found\n" +" if os.path.exists(fn):\n" +" respond(\"200 OK\", [(\"Content-Type\", mime_type)])\n" +" return util.FileWrapper(open(fn, \"rb\"))\n" +" else:\n" +" respond(\"404 Not Found\", [(\"Content-Type\", \"text/plain\")])\n" +" return [b\"not found\"]\n" +"\n" +"\n" +"if __name__ == \"__main__\":\n" +" # Get the path and port from command-line arguments\n" +" path = sys.argv[1] if len(sys.argv) > 1 else os.getcwd()\n" +" port = int(sys.argv[2]) if len(sys.argv) > 2 else 8000\n" +"\n" +" # Make and start the server until control-c\n" +" httpd = simple_server.make_server(\"\", port, app)\n" +" print(f\"Serving {path} on port {port}, control-C to stop\")\n" +" try:\n" +" httpd.serve_forever()\n" +" except KeyboardInterrupt:\n" +" print(\"Shutting down.\")\n" +" httpd.server_close()" +msgstr "" diff --git a/library/xml.dom.minidom.po b/library/xml.dom.minidom.po index 9127f4fef..fd4a8c1bb 100644 --- a/library/xml.dom.minidom.po +++ b/library/xml.dom.minidom.po @@ -1,20 +1,20 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Maciej Olko , 2021 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:18+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -28,7 +28,7 @@ msgid ":mod:`!xml.dom.minidom` --- Minimal DOM implementation" msgstr "" msgid "**Source code:** :source:`Lib/xml/dom/minidom.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/xml/dom/minidom.py`" msgid "" ":mod:`xml.dom.minidom` is a minimal implementation of the Document Object " @@ -39,9 +39,8 @@ msgid "" msgstr "" msgid "" -"The :mod:`xml.dom.minidom` module is not secure against maliciously " -"constructed data. If you need to parse untrusted or unauthenticated data " -"see :ref:`xml-vulnerabilities`." +"If you need to parse untrusted or unauthenticated data, see :ref:`xml-" +"security`." msgstr "" msgid "" diff --git a/library/xml.dom.po b/library/xml.dom.po index 789292fd7..0ebb76f29 100644 --- a/library/xml.dom.po +++ b/library/xml.dom.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -11,9 +11,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:18+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -29,7 +29,7 @@ msgid ":mod:`!xml.dom` --- The Document Object Model API" msgstr "" msgid "**Source code:** :source:`Lib/xml/dom/__init__.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/xml/dom/__init__.py`" msgid "" "The Document Object Model, or \"DOM,\" is a cross-language API from the " @@ -1065,7 +1065,7 @@ msgid "``unsigned int``" msgstr "``unsigned int``" msgid "``DOMString``" -msgstr "" +msgstr "``DOMString``" msgid "``str`` or ``bytes``" msgstr "``str`` or ``bytes``" diff --git a/library/xml.dom.pulldom.po b/library/xml.dom.pulldom.po index 70feb5d46..a33311572 100644 --- a/library/xml.dom.pulldom.po +++ b/library/xml.dom.pulldom.po @@ -1,19 +1,19 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:18+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,7 +27,7 @@ msgid ":mod:`!xml.dom.pulldom` --- Support for building partial DOM trees" msgstr "" msgid "**Source code:** :source:`Lib/xml/dom/pulldom.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/xml/dom/pulldom.py`" msgid "" "The :mod:`xml.dom.pulldom` module provides a \"pull parser\" which can also " @@ -41,9 +41,8 @@ msgid "" msgstr "" msgid "" -"The :mod:`xml.dom.pulldom` module is not secure against maliciously " -"constructed data. If you need to parse untrusted or unauthenticated data " -"see :ref:`xml-vulnerabilities`." +"If you need to parse untrusted or unauthenticated data, see :ref:`xml-" +"security`." msgstr "" msgid "" diff --git a/library/xml.etree.elementtree.po b/library/xml.etree.elementtree.po index 5f110fe8c..e8a68924a 100644 --- a/library/xml.etree.elementtree.po +++ b/library/xml.etree.elementtree.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -11,9 +11,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:18+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -29,7 +29,7 @@ msgid ":mod:`!xml.etree.ElementTree` --- The ElementTree XML API" msgstr "" msgid "**Source code:** :source:`Lib/xml/etree/ElementTree.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/xml/etree/ElementTree.py`" msgid "" "The :mod:`xml.etree.ElementTree` module implements a simple and efficient " @@ -43,9 +43,8 @@ msgid "The :mod:`!xml.etree.cElementTree` module is deprecated." msgstr "" msgid "" -"The :mod:`xml.etree.ElementTree` module is not secure against maliciously " -"constructed data. If you need to parse untrusted or unauthenticated data " -"see :ref:`xml-vulnerabilities`." +"If you need to parse untrusted or unauthenticated data, see :ref:`xml-" +"security`." msgstr "" msgid "Tutorial" diff --git a/library/xmlrpc.client.po b/library/xmlrpc.client.po index 53304b1aa..281aec610 100644 --- a/library/xmlrpc.client.po +++ b/library/xmlrpc.client.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:18+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!xmlrpc.client` --- XML-RPC client access" msgstr "" msgid "**Source code:** :source:`Lib/xmlrpc/client.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/xmlrpc/client.py`" msgid "" "XML-RPC is a Remote Procedure Call method that uses XML passed via HTTP(S) " @@ -40,8 +40,8 @@ msgstr "" msgid "" "The :mod:`xmlrpc.client` module is not secure against maliciously " -"constructed data. If you need to parse untrusted or unauthenticated data " -"see :ref:`xml-vulnerabilities`." +"constructed data. If you need to parse untrusted or unauthenticated data, " +"see :ref:`xml-security`." msgstr "" msgid "" diff --git a/library/xmlrpc.po b/library/xmlrpc.po index f3cc5bb7f..1f1b690a0 100644 --- a/library/xmlrpc.po +++ b/library/xmlrpc.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:18+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/xmlrpc.server.po b/library/xmlrpc.server.po index fe87ad4d6..8f53df765 100644 --- a/library/xmlrpc.server.po +++ b/library/xmlrpc.server.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:18+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -27,7 +27,7 @@ msgid ":mod:`!xmlrpc.server` --- Basic XML-RPC servers" msgstr "" msgid "**Source code:** :source:`Lib/xmlrpc/server.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/xmlrpc/server.py`" msgid "" "The :mod:`xmlrpc.server` module provides a basic server framework for XML-" @@ -38,8 +38,8 @@ msgstr "" msgid "" "The :mod:`xmlrpc.server` module is not secure against maliciously " -"constructed data. If you need to parse untrusted or unauthenticated data " -"see :ref:`xml-vulnerabilities`." +"constructed data. If you need to parse untrusted or unauthenticated data, " +"see :ref:`xml-security`." msgstr "" msgid "Availability" diff --git a/library/zipapp.po b/library/zipapp.po index 36a4eea55..7f78ea0f4 100644 --- a/library/zipapp.po +++ b/library/zipapp.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:18+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!zipapp` --- Manage executable Python zip archives" msgstr "" msgid "**Source code:** :source:`Lib/zipapp.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/zipapp.py`" msgid "" "This module provides tools to manage the creation of zip files containing " diff --git a/library/zipfile.po b/library/zipfile.po index f2303097f..964a3fdf5 100644 --- a/library/zipfile.po +++ b/library/zipfile.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:18+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -29,7 +29,7 @@ msgid ":mod:`!zipfile` --- Work with ZIP archives" msgstr "" msgid "**Source code:** :source:`Lib/zipfile/`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/zipfile/`" msgid "" "The ZIP file format is a common archive and compression standard. This " @@ -127,12 +127,25 @@ msgid "" "mod:`lzma` module." msgstr "" +msgid "" +"The numeric constant for Zstandard compression. This requires the :mod:" +"`compression.zstd` module." +msgstr "" + +msgid "" +"In APPNOTE 6.3.7, the method ID ``20`` was assigned to Zstandard " +"compression. This was changed in APPNOTE 6.3.8 to method ID ``93`` to avoid " +"conflicts, with method ID ``20`` being deprecated. For compatibility, the :" +"mod:`!zipfile` module reads both method IDs but will only write data with " +"method ID ``93``." +msgstr "" + msgid "" "The ZIP file format specification has included support for bzip2 compression " -"since 2001, and for LZMA compression since 2006. However, some tools " -"(including older Python releases) do not support these compression methods, " -"and may either refuse to process the ZIP file altogether, or fail to extract " -"individual files." +"since 2001, for LZMA compression since 2006, and Zstandard compression since " +"2020. However, some tools (including older Python releases) do not support " +"these compression methods, and may either refuse to process the ZIP file " +"altogether, or fail to extract individual files." msgstr "" msgid "`PKZIP Application Note`_" @@ -174,12 +187,13 @@ msgstr "" msgid "" "*compression* is the ZIP compression method to use when writing the archive, " -"and should be :const:`ZIP_STORED`, :const:`ZIP_DEFLATED`, :const:`ZIP_BZIP2` " -"or :const:`ZIP_LZMA`; unrecognized values will cause :exc:" -"`NotImplementedError` to be raised. If :const:`ZIP_DEFLATED`, :const:" -"`ZIP_BZIP2` or :const:`ZIP_LZMA` is specified but the corresponding module (:" -"mod:`zlib`, :mod:`bz2` or :mod:`lzma`) is not available, :exc:`RuntimeError` " -"is raised. The default is :const:`ZIP_STORED`." +"and should be :const:`ZIP_STORED`, :const:`ZIP_DEFLATED`, :const:" +"`ZIP_BZIP2`, :const:`ZIP_LZMA`, or :const:`ZIP_ZSTANDARD`; unrecognized " +"values will cause :exc:`NotImplementedError` to be raised. If :const:" +"`ZIP_DEFLATED`, :const:`ZIP_BZIP2`, :const:`ZIP_LZMA`, or :const:" +"`ZIP_ZSTANDARD` is specified but the corresponding module (:mod:`zlib`, :mod:" +"`bz2`, :mod:`lzma`, or :mod:`compression.zstd`) is not available, :exc:" +"`RuntimeError` is raised. The default is :const:`ZIP_STORED`." msgstr "" msgid "" @@ -195,7 +209,11 @@ msgid "" "`ZIP_LZMA` it has no effect. When using :const:`ZIP_DEFLATED` integers ``0`` " "through ``9`` are accepted (see :class:`zlib ` for more " "information). When using :const:`ZIP_BZIP2` integers ``1`` through ``9`` are " -"accepted (see :class:`bz2 ` for more information)." +"accepted (see :class:`bz2 ` for more information). When using :" +"const:`ZIP_ZSTANDARD` integers ``-131072`` through ``22`` are commonly " +"accepted (see :attr:`CompressionParameter.compression_level ` for more on retrieving valid " +"values and their meaning)." msgstr "" msgid "" @@ -433,9 +451,9 @@ msgid "" "a :class:`bytes` object and, if specified, overrides the default password " "set with :meth:`setpassword`. Calling :meth:`read` on a ZipFile that uses a " "compression method other than :const:`ZIP_STORED`, :const:`ZIP_DEFLATED`, :" -"const:`ZIP_BZIP2` or :const:`ZIP_LZMA` will raise a :exc:" -"`NotImplementedError`. An error will also be raised if the corresponding " -"compression module is not available." +"const:`ZIP_BZIP2`, :const:`ZIP_LZMA`, or :const:`ZIP_ZSTANDARD` will raise " +"a :exc:`NotImplementedError`. An error will also be raised if the " +"corresponding compression module is not available." msgstr "" msgid "" @@ -827,7 +845,7 @@ msgid "" msgstr "" msgid "Index" -msgstr "" +msgstr "Indeks" msgid "Value" msgstr "Wartość" diff --git a/library/zipimport.po b/library/zipimport.po index f67005de0..51147cf3f 100644 --- a/library/zipimport.po +++ b/library/zipimport.po @@ -1,20 +1,20 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Maciej Olko , 2021 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:18+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -28,7 +28,7 @@ msgid ":mod:`!zipimport` --- Import modules from Zip archives" msgstr "" msgid "**Source code:** :source:`Lib/zipimport.py`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/zipimport.py`" msgid "" "This module adds the ability to import Python modules (:file:`\\*.py`, :file:" diff --git a/library/zlib.po b/library/zlib.po index ca42d3422..264c4ed97 100644 --- a/library/zlib.po +++ b/library/zlib.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:18+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/library/zoneinfo.po b/library/zoneinfo.po index 621c4ce0b..1b98874a6 100644 --- a/library/zoneinfo.po +++ b/library/zoneinfo.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:19+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -28,7 +28,7 @@ msgid ":mod:`!zoneinfo` --- IANA time zone support" msgstr "" msgid "**Source code:** :source:`Lib/zoneinfo`" -msgstr "" +msgstr "**Kod źródłowy:** :source:`Lib/zoneinfo`" msgid "" "The :mod:`zoneinfo` module provides a concrete time zone implementation to " @@ -426,11 +426,12 @@ msgstr "" "False" msgid "" -"``ZoneInfo.from_file(fobj, /, key=None)``: When constructed from a file, the " -"``ZoneInfo`` object raises an exception on pickling. If an end user wants to " -"pickle a ``ZoneInfo`` constructed from a file, it is recommended that they " -"use a wrapper type or a custom serialization function: either serializing by " -"key or storing the contents of the file object and serializing that." +"``ZoneInfo.from_file(file_obj, /, key=None)``: When constructed from a file, " +"the ``ZoneInfo`` object raises an exception on pickling. If an end user " +"wants to pickle a ``ZoneInfo`` constructed from a file, it is recommended " +"that they use a wrapper type or a custom serialization function: either " +"serializing by key or storing the contents of the file object and " +"serializing that." msgstr "" msgid "" diff --git a/license.md b/license.md index b583b1a4c..a11a3d20b 100644 --- a/license.md +++ b/license.md @@ -1,4 +1,4 @@ **License** -By inviting you to work on a project on the Transifex platform, we offer a contract for donating your translations to the Python Software Foundation under the CC0 license. +By inviting you to work on a project on the Transifex platform, we offer a contract for donating your translations to the Python Software Foundation under the CC0 license. In return, it will be visible that you are the translator of the part you translated. You signify your acceptance of this agreement by submitting your work for inclusion in the documentation. diff --git a/license.po b/license.po index 8c46f01a0..74c7330d8 100644 --- a/license.po +++ b/license.po @@ -5,16 +5,16 @@ # # Translators: # Maciej Olko , 2022 -# Stan Ulbrych, 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:47+0000\n" -"Last-Translator: Stan Ulbrych, 2024\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -205,7 +205,7 @@ msgid "" msgstr "" msgid "PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2" -msgstr "" +msgstr "PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2" msgid "" "1. This LICENSE AGREEMENT is between the Python Software Foundation " @@ -268,12 +268,71 @@ msgid "" "8. By copying, installing or otherwise using Python, Licensee agrees\n" " to be bound by the terms and conditions of this License Agreement." msgstr "" +"1. This LICENSE AGREEMENT is between the Python Software Foundation " +"(\"PSF\"), and\n" +" the Individual or Organization (\"Licensee\") accessing and otherwise " +"using this\n" +" software (\"Python\") in source or binary form and its associated " +"documentation.\n" +"\n" +"2. Subject to the terms and conditions of this License Agreement, PSF " +"hereby\n" +" grants Licensee a nonexclusive, royalty-free, world-wide license to " +"reproduce,\n" +" analyze, test, perform and/or display publicly, prepare derivative " +"works,\n" +" distribute, and otherwise use Python alone or in any derivative\n" +" version, provided, however, that PSF's License Agreement and PSF's notice " +"of\n" +" copyright, i.e., \"Copyright © 2001 Python Software Foundation; All " +"Rights\n" +" Reserved\" are retained in Python alone or in any derivative version\n" +" prepared by Licensee.\n" +"\n" +"3. In the event Licensee prepares a derivative work that is based on or\n" +" incorporates Python or any part thereof, and wants to make the\n" +" derivative work available to others as provided herein, then Licensee " +"hereby\n" +" agrees to include in any such work a brief summary of the changes made to " +"Python.\n" +"\n" +"4. PSF is making Python available to Licensee on an \"AS IS\" basis.\n" +" PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY " +"OF\n" +" EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY " +"REPRESENTATION OR\n" +" WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT " +"THE\n" +" USE OF PYTHON WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.\n" +"\n" +"5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON\n" +" FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT " +"OF\n" +" MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, OR ANY DERIVATIVE\n" +" THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.\n" +"\n" +"6. This License Agreement will automatically terminate upon a material " +"breach of\n" +" its terms and conditions.\n" +"\n" +"7. Nothing in this License Agreement shall be deemed to create any " +"relationship\n" +" of agency, partnership, or joint venture between PSF and Licensee. This " +"License\n" +" Agreement does not grant permission to use PSF trademarks or trade name " +"in a\n" +" trademark sense to endorse or promote products or services of Licensee, " +"or any\n" +" third party.\n" +"\n" +"8. By copying, installing or otherwise using Python, Licensee agrees\n" +" to be bound by the terms and conditions of this License Agreement." msgid "BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0" -msgstr "" +msgstr "BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0" msgid "BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1" -msgstr "" +msgstr "BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1" msgid "" "1. This LICENSE AGREEMENT is between BeOpen.com (\"BeOpen\"), having an " @@ -339,9 +398,71 @@ msgid "" "to be\n" " bound by the terms and conditions of this License Agreement." msgstr "" +"1. This LICENSE AGREEMENT is between BeOpen.com (\"BeOpen\"), having an " +"office at\n" +" 160 Saratoga Avenue, Santa Clara, CA 95051, and the Individual or " +"Organization\n" +" (\"Licensee\") accessing and otherwise using this software in source or " +"binary\n" +" form and its associated documentation (\"the Software\").\n" +"\n" +"2. Subject to the terms and conditions of this BeOpen Python License " +"Agreement,\n" +" BeOpen hereby grants Licensee a non-exclusive, royalty-free, world-wide " +"license\n" +" to reproduce, analyze, test, perform and/or display publicly, prepare " +"derivative\n" +" works, distribute, and otherwise use the Software alone or in any " +"derivative\n" +" version, provided, however, that the BeOpen Python License is retained in " +"the\n" +" Software, alone or in any derivative version prepared by Licensee.\n" +"\n" +"3. BeOpen is making the Software available to Licensee on an \"AS IS\" " +"basis.\n" +" BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY " +"WAY OF\n" +" EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND DISCLAIMS ANY " +"REPRESENTATION OR\n" +" WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT " +"THE\n" +" USE OF THE SOFTWARE WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.\n" +"\n" +"4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE SOFTWARE " +"FOR\n" +" ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF " +"USING,\n" +" MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY DERIVATIVE THEREOF, EVEN " +"IF\n" +" ADVISED OF THE POSSIBILITY THEREOF.\n" +"\n" +"5. This License Agreement will automatically terminate upon a material " +"breach of\n" +" its terms and conditions.\n" +"\n" +"6. This License Agreement shall be governed by and interpreted in all " +"respects\n" +" by the law of the State of California, excluding conflict of law " +"provisions.\n" +" Nothing in this License Agreement shall be deemed to create any " +"relationship of\n" +" agency, partnership, or joint venture between BeOpen and Licensee. This " +"License\n" +" Agreement does not grant permission to use BeOpen trademarks or trade " +"names in a\n" +" trademark sense to endorse or promote products or services of Licensee, " +"or any\n" +" third party. As an exception, the \"BeOpen Python\" logos available at\n" +" http://www.pythonlabs.com/logos.html may be used according to the " +"permissions\n" +" granted on that web page.\n" +"\n" +"7. By copying, installing or otherwise using the software, Licensee agrees " +"to be\n" +" bound by the terms and conditions of this License Agreement." msgid "CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1" -msgstr "" +msgstr "CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1" msgid "" "1. This LICENSE AGREEMENT is between the Corporation for National Research\n" @@ -441,9 +562,105 @@ msgid "" "and\n" " conditions of this License Agreement." msgstr "" +"1. This LICENSE AGREEMENT is between the Corporation for National Research\n" +" Initiatives, having an office at 1895 Preston White Drive, Reston, VA " +"20191\n" +" (\"CNRI\"), and the Individual or Organization (\"Licensee\") accessing " +"and\n" +" otherwise using Python 1.6.1 software in source or binary form and its\n" +" associated documentation.\n" +"\n" +"2. Subject to the terms and conditions of this License Agreement, CNRI " +"hereby\n" +" grants Licensee a nonexclusive, royalty-free, world-wide license to " +"reproduce,\n" +" analyze, test, perform and/or display publicly, prepare derivative " +"works,\n" +" distribute, and otherwise use Python 1.6.1 alone or in any derivative " +"version,\n" +" provided, however, that CNRI's License Agreement and CNRI's notice of " +"copyright,\n" +" i.e., \"Copyright © 1995-2001 Corporation for National Research " +"Initiatives; All\n" +" Rights Reserved\" are retained in Python 1.6.1 alone or in any derivative " +"version\n" +" prepared by Licensee. Alternately, in lieu of CNRI's License Agreement,\n" +" Licensee may substitute the following text (omitting the quotes): " +"\"Python 1.6.1\n" +" is made available subject to the terms and conditions in CNRI's License\n" +" Agreement. This Agreement together with Python 1.6.1 may be located on " +"the\n" +" internet using the following unique, persistent identifier (known as a " +"handle):\n" +" 1895.22/1013. This Agreement may also be obtained from a proxy server on " +"the\n" +" internet using the following URL: http://hdl.handle.net/1895.22/1013\".\n" +"\n" +"3. In the event Licensee prepares a derivative work that is based on or\n" +" incorporates Python 1.6.1 or any part thereof, and wants to make the " +"derivative\n" +" work available to others as provided herein, then Licensee hereby agrees " +"to\n" +" include in any such work a brief summary of the changes made to Python " +"1.6.1.\n" +"\n" +"4. CNRI is making Python 1.6.1 available to Licensee on an \"AS IS\" basis. " +"CNRI\n" +" MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF " +"EXAMPLE,\n" +" BUT NOT LIMITATION, CNRI MAKES NO AND DISCLAIMS ANY REPRESENTATION OR " +"WARRANTY\n" +" OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE " +"OF\n" +" PYTHON 1.6.1 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.\n" +"\n" +"5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 1.6.1 " +"FOR\n" +" ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF\n" +" MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1, OR ANY " +"DERIVATIVE\n" +" THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.\n" +"\n" +"6. This License Agreement will automatically terminate upon a material " +"breach of\n" +" its terms and conditions.\n" +"\n" +"7. This License Agreement shall be governed by the federal intellectual " +"property\n" +" law of the United States, including without limitation the federal " +"copyright\n" +" law, and, to the extent such U.S. federal law does not apply, by the law " +"of the\n" +" Commonwealth of Virginia, excluding Virginia's conflict of law " +"provisions.\n" +" Notwithstanding the foregoing, with regard to derivative works based on " +"Python\n" +" 1.6.1 that incorporate non-separable material that was previously " +"distributed\n" +" under the GNU General Public License (GPL), the law of the Commonwealth " +"of\n" +" Virginia shall govern this License Agreement only as to issues arising " +"under or\n" +" with respect to Paragraphs 4, 5, and 7 of this License Agreement. " +"Nothing in\n" +" this License Agreement shall be deemed to create any relationship of " +"agency,\n" +" partnership, or joint venture between CNRI and Licensee. This License " +"Agreement\n" +" does not grant permission to use CNRI trademarks or trade name in a " +"trademark\n" +" sense to endorse or promote products or services of Licensee, or any " +"third\n" +" party.\n" +"\n" +"8. By clicking on the \"ACCEPT\" button where indicated, or by copying, " +"installing\n" +" or otherwise using Python 1.6.1, Licensee agrees to be bound by the terms " +"and\n" +" conditions of this License Agreement." msgid "CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2" -msgstr "" +msgstr "CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2" msgid "" "Copyright © 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, The\n" @@ -474,9 +691,36 @@ msgid "" "ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS\n" "SOFTWARE." msgstr "" +"Copyright © 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, The\n" +"Netherlands. All rights reserved.\n" +"\n" +"Permission to use, copy, modify, and distribute this software and its\n" +"documentation for any purpose and without fee is hereby granted, provided " +"that\n" +"the above copyright notice appear in all copies and that both that " +"copyright\n" +"notice and this permission notice appear in supporting documentation, and " +"that\n" +"the name of Stichting Mathematisch Centrum or CWI not be used in advertising " +"or\n" +"publicity pertaining to distribution of the software without specific, " +"written\n" +"prior permission.\n" +"\n" +"STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS\n" +"SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, " +"IN NO\n" +"EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE FOR ANY SPECIAL, " +"INDIRECT\n" +"OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF " +"USE,\n" +"DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER " +"TORTIOUS\n" +"ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS\n" +"SOFTWARE." msgid "ZERO-CLAUSE BSD LICENSE FOR CODE IN THE PYTHON DOCUMENTATION" -msgstr "" +msgstr "ZERO-CLAUSE BSD LICENSE FOR CODE IN THE PYTHON DOCUMENTATION" msgid "" "Permission to use, copy, modify, and/or distribute this software for any\n" @@ -493,12 +737,25 @@ msgid "" "OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n" "PERFORMANCE OF THIS SOFTWARE." msgstr "" - -msgid "Licenses and Acknowledgements for Incorporated Software" -msgstr "" - -msgid "" -"This section is an incomplete, but growing list of licenses and " +"Permission to use, copy, modify, and/or distribute this software for any\n" +"purpose with or without fee is hereby granted.\n" +"\n" +"THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES " +"WITH\n" +"REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n" +"AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, " +"DIRECT,\n" +"INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n" +"LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE " +"OR\n" +"OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n" +"PERFORMANCE OF THIS SOFTWARE." + +msgid "Licenses and Acknowledgements for Incorporated Software" +msgstr "" + +msgid "" +"This section is an incomplete, but growing list of licenses and " "acknowledgements for third-party software incorporated in the Python " "distribution." msgstr "" @@ -556,6 +813,47 @@ msgid "" "http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html\n" "email: m-mat @ math.sci.hiroshima-u.ac.jp (remove space)" msgstr "" +"A C-program for MT19937, with initialization improved 2002/1/26.\n" +"Coded by Takuji Nishimura and Makoto Matsumoto.\n" +"\n" +"Before using, initialize the state by using init_genrand(seed)\n" +"or init_by_array(init_key, key_length).\n" +"\n" +"Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,\n" +"All rights reserved.\n" +"\n" +"Redistribution and use in source and binary forms, with or without\n" +"modification, are permitted provided that the following conditions\n" +"are met:\n" +"\n" +" 1. Redistributions of source code must retain the above copyright\n" +" notice, this list of conditions and the following disclaimer.\n" +"\n" +" 2. Redistributions in binary form must reproduce the above copyright\n" +" notice, this list of conditions and the following disclaimer in the\n" +" documentation and/or other materials provided with the distribution.\n" +"\n" +" 3. The names of its contributors may not be used to endorse or promote\n" +" products derived from this software without specific prior written\n" +" permission.\n" +"\n" +"THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n" +"\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n" +"LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n" +"A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER " +"OR\n" +"CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n" +"EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n" +"PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n" +"PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n" +"LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n" +"NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n" +"SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n" +"\n" +"\n" +"Any feedback is very welcome.\n" +"http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html\n" +"email: m-mat @ math.sci.hiroshima-u.ac.jp (remove space)" msgid "Sockets" msgstr "" @@ -594,6 +892,32 @@ msgid "" "OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n" "SUCH DAMAGE." msgstr "" +"Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.\n" +"All rights reserved.\n" +"\n" +"Redistribution and use in source and binary forms, with or without\n" +"modification, are permitted provided that the following conditions\n" +"are met:\n" +"1. Redistributions of source code must retain the above copyright\n" +" notice, this list of conditions and the following disclaimer.\n" +"2. Redistributions in binary form must reproduce the above copyright\n" +" notice, this list of conditions and the following disclaimer in the\n" +" documentation and/or other materials provided with the distribution.\n" +"3. Neither the name of the project nor the names of its contributors\n" +" may be used to endorse or promote products derived from this software\n" +" without specific prior written permission.\n" +"\n" +"THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS \"AS IS\" AND\n" +"ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n" +"IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n" +"ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE\n" +"FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n" +"DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n" +"OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n" +"HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n" +"LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n" +"OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n" +"SUCH DAMAGE." msgid "Asynchronous socket services" msgstr "" @@ -625,6 +949,26 @@ msgid "" "NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN\n" "CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE." msgstr "" +"Copyright 1996 by Sam Rushing\n" +"\n" +" All Rights Reserved\n" +"\n" +"Permission to use, copy, modify, and distribute this software and\n" +"its documentation for any purpose and without fee is hereby\n" +"granted, provided that the above copyright notice appear in all\n" +"copies and that both that copyright notice and this permission\n" +"notice appear in supporting documentation, and that the name of Sam\n" +"Rushing not be used in advertising or publicity pertaining to\n" +"distribution of the software without specific, written prior\n" +"permission.\n" +"\n" +"SAM RUSHING DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,\n" +"INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN\n" +"NO EVENT SHALL SAM RUSHING BE LIABLE FOR ANY SPECIAL, INDIRECT OR\n" +"CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\n" +"OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,\n" +"NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN\n" +"CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE." msgid "Cookie management" msgstr "" @@ -655,6 +999,27 @@ msgid "" "ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n" "PERFORMANCE OF THIS SOFTWARE." msgstr "" +"Copyright 2000 by Timothy O'Malley \n" +"\n" +" All Rights Reserved\n" +"\n" +"Permission to use, copy, modify, and distribute this software\n" +"and its documentation for any purpose and without fee is hereby\n" +"granted, provided that the above copyright notice appear in all\n" +"copies and that both that copyright notice and this permission\n" +"notice appear in supporting documentation, and that the name of\n" +"Timothy O'Malley not be used in advertising or publicity\n" +"pertaining to distribution of the software without specific, written\n" +"prior permission.\n" +"\n" +"Timothy O'Malley DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS\n" +"SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n" +"AND FITNESS, IN NO EVENT SHALL Timothy O'Malley BE LIABLE FOR\n" +"ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n" +"WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,\n" +"WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS\n" +"ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n" +"PERFORMANCE OF THIS SOFTWARE." msgid "Execution tracing" msgstr "" @@ -722,6 +1087,29 @@ msgid "" " version is still 5 times faster, though.\n" "- Arguments more compliant with Python standard" msgstr "" +"Copyright 1994 by Lance Ellinghouse\n" +"Cathedral City, California Republic, United States of America.\n" +" All Rights Reserved\n" +"Permission to use, copy, modify, and distribute this software and its\n" +"documentation for any purpose and without fee is hereby granted,\n" +"provided that the above copyright notice appear in all copies and that\n" +"both that copyright notice and this permission notice appear in\n" +"supporting documentation, and that the name of Lance Ellinghouse\n" +"not be used in advertising or publicity pertaining to distribution\n" +"of the software without specific, written prior permission.\n" +"LANCE ELLINGHOUSE DISCLAIMS ALL WARRANTIES WITH REGARD TO\n" +"THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND\n" +"FITNESS, IN NO EVENT SHALL LANCE ELLINGHOUSE CENTRUM BE LIABLE\n" +"FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n" +"WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n" +"ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT\n" +"OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n" +"\n" +"Modified by Jack Jansen, CWI, July 1995:\n" +"- Use binascii module to do the actual line-by-line conversion\n" +" between ascii and binary. This results in a 1000-fold speedup. The C\n" +" version is still 5 times faster, though.\n" +"- Arguments more compliant with Python standard" msgid "XML Remote Procedure Calls" msgstr "" @@ -757,6 +1145,32 @@ msgid "" "ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE\n" "OF THIS SOFTWARE." msgstr "" +" The XML-RPC client interface is\n" +"\n" +"Copyright (c) 1999-2002 by Secret Labs AB\n" +"Copyright (c) 1999-2002 by Fredrik Lundh\n" +"\n" +"By obtaining, using, and/or copying this software and/or its\n" +"associated documentation, you agree that you have read, understood,\n" +"and will comply with the following terms and conditions:\n" +"\n" +"Permission to use, copy, modify, and distribute this software and\n" +"its associated documentation for any purpose and without fee is\n" +"hereby granted, provided that the above copyright notice appears in\n" +"all copies, and that both that copyright notice and this permission\n" +"notice appear in supporting documentation, and that the name of\n" +"Secret Labs AB or the author not be used in advertising or publicity\n" +"pertaining to distribution of the software without specific, written\n" +"prior permission.\n" +"\n" +"SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD\n" +"TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANT-\n" +"ABILITY AND FITNESS. IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR\n" +"BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY\n" +"DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,\n" +"WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS\n" +"ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE\n" +"OF THIS SOFTWARE." msgid "test_epoll" msgstr "test_epoll" @@ -786,6 +1200,26 @@ msgid "" "OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\n" "WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." msgstr "" +"Copyright (c) 2001-2006 Twisted Matrix Laboratories.\n" +"\n" +"Permission is hereby granted, free of charge, to any person obtaining\n" +"a copy of this software and associated documentation files (the\n" +"\"Software\"), to deal in the Software without restriction, including\n" +"without limitation the rights to use, copy, modify, merge, publish,\n" +"distribute, sublicense, and/or sell copies of the Software, and to\n" +"permit persons to whom the Software is furnished to do so, subject to\n" +"the following conditions:\n" +"\n" +"The above copyright notice and this permission notice shall be\n" +"included in all copies or substantial portions of the Software.\n" +"\n" +"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n" +"EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n" +"MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n" +"NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\n" +"LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\n" +"OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\n" +"WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." msgid "Select kqueue" msgstr "" @@ -820,6 +1254,29 @@ msgid "" "OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n" "SUCH DAMAGE." msgstr "" +"Copyright (c) 2000 Doug White, 2006 James Knight, 2007 Christian Heimes\n" +"All rights reserved.\n" +"\n" +"Redistribution and use in source and binary forms, with or without\n" +"modification, are permitted provided that the following conditions\n" +"are met:\n" +"1. Redistributions of source code must retain the above copyright\n" +" notice, this list of conditions and the following disclaimer.\n" +"2. Redistributions in binary form must reproduce the above copyright\n" +" notice, this list of conditions and the following disclaimer in the\n" +" documentation and/or other materials provided with the distribution.\n" +"\n" +"THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS \"AS IS\" AND\n" +"ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n" +"IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n" +"ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n" +"FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n" +"DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n" +"OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n" +"HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n" +"LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n" +"OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n" +"SUCH DAMAGE." msgid "SipHash24" msgstr "SipHash24" @@ -855,6 +1312,30 @@ msgid "" " djb (supercop/crypto_auth/siphash24/little2)\n" " Jean-Philippe Aumasson (https://131002.net/siphash/siphash24.c)" msgstr "" +"\n" +"Copyright (c) 2013 Marek Majkowski \n" +"\n" +"Permission is hereby granted, free of charge, to any person obtaining a " +"copy\n" +"of this software and associated documentation files (the \"Software\"), to " +"deal\n" +"in the Software without restriction, including without limitation the " +"rights\n" +"to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n" +"copies of the Software, and to permit persons to whom the Software is\n" +"furnished to do so, subject to the following conditions:\n" +"\n" +"The above copyright notice and this permission notice shall be included in\n" +"all copies or substantial portions of the Software.\n" +"\n" +"\n" +"Original location:\n" +" https://github.com/majek/csiphash/\n" +"\n" +"Solution inspired by code from:\n" +" Samuel Neves (supercop/crypto_auth/siphash24/little)\n" +" djb (supercop/crypto_auth/siphash24/little2)\n" +" Jean-Philippe Aumasson (https://131002.net/siphash/siphash24.c)" msgid "strtod and dtoa" msgstr "" @@ -889,6 +1370,25 @@ msgid "" " *\n" " ***************************************************************/" msgstr "" +"/****************************************************************\n" +" *\n" +" * The author of this software is David M. Gay.\n" +" *\n" +" * Copyright (c) 1991, 2000, 2001 by Lucent Technologies.\n" +" *\n" +" * Permission to use, copy, modify, and distribute this software for any\n" +" * purpose without fee is hereby granted, provided that this entire notice\n" +" * is included in all copies of any software which is or includes a copy\n" +" * or modification of this software and in all copies of the supporting\n" +" * documentation for such software.\n" +" *\n" +" * THIS SOFTWARE IS BEING PROVIDED \"AS IS\", WITHOUT ANY EXPRESS OR " +"IMPLIED\n" +" * WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR LUCENT MAKES ANY\n" +" * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY\n" +" * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.\n" +" *\n" +" ***************************************************************/" msgid "OpenSSL" msgstr "OpenSSL" @@ -901,8 +1401,185 @@ msgid "" "For the OpenSSL 3.0 release, and later releases derived from that, the " "Apache License v2 applies::" msgstr "" - -msgid "" + +msgid "" +" Apache License\n" +" Version 2.0, January 2004\n" +" https://www.apache.org/licenses/\n" +"\n" +"TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n" +"\n" +"1. Definitions.\n" +"\n" +" \"License\" shall mean the terms and conditions for use, reproduction,\n" +" and distribution as defined by Sections 1 through 9 of this document.\n" +"\n" +" \"Licensor\" shall mean the copyright owner or entity authorized by\n" +" the copyright owner that is granting the License.\n" +"\n" +" \"Legal Entity\" shall mean the union of the acting entity and all\n" +" other entities that control, are controlled by, or are under common\n" +" control with that entity. For the purposes of this definition,\n" +" \"control\" means (i) the power, direct or indirect, to cause the\n" +" direction or management of such entity, whether by contract or\n" +" otherwise, or (ii) ownership of fifty percent (50%) or more of the\n" +" outstanding shares, or (iii) beneficial ownership of such entity.\n" +"\n" +" \"You\" (or \"Your\") shall mean an individual or Legal Entity\n" +" exercising permissions granted by this License.\n" +"\n" +" \"Source\" form shall mean the preferred form for making modifications,\n" +" including but not limited to software source code, documentation\n" +" source, and configuration files.\n" +"\n" +" \"Object\" form shall mean any form resulting from mechanical\n" +" transformation or translation of a Source form, including but\n" +" not limited to compiled object code, generated documentation,\n" +" and conversions to other media types.\n" +"\n" +" \"Work\" shall mean the work of authorship, whether in Source or\n" +" Object form, made available under the License, as indicated by a\n" +" copyright notice that is included in or attached to the work\n" +" (an example is provided in the Appendix below).\n" +"\n" +" \"Derivative Works\" shall mean any work, whether in Source or Object\n" +" form, that is based on (or derived from) the Work and for which the\n" +" editorial revisions, annotations, elaborations, or other modifications\n" +" represent, as a whole, an original work of authorship. For the purposes\n" +" of this License, Derivative Works shall not include works that remain\n" +" separable from, or merely link (or bind by name) to the interfaces of,\n" +" the Work and Derivative Works thereof.\n" +"\n" +" \"Contribution\" shall mean any work of authorship, including\n" +" the original version of the Work and any modifications or additions\n" +" to that Work or Derivative Works thereof, that is intentionally\n" +" submitted to Licensor for inclusion in the Work by the copyright owner\n" +" or by an individual or Legal Entity authorized to submit on behalf of\n" +" the copyright owner. For the purposes of this definition, \"submitted\"\n" +" means any form of electronic, verbal, or written communication sent\n" +" to the Licensor or its representatives, including but not limited to\n" +" communication on electronic mailing lists, source code control systems,\n" +" and issue tracking systems that are managed by, or on behalf of, the\n" +" Licensor for the purpose of discussing and improving the Work, but\n" +" excluding communication that is conspicuously marked or otherwise\n" +" designated in writing by the copyright owner as \"Not a Contribution.\"\n" +"\n" +" \"Contributor\" shall mean Licensor and any individual or Legal Entity\n" +" on behalf of whom a Contribution has been received by Licensor and\n" +" subsequently incorporated within the Work.\n" +"\n" +"2. Grant of Copyright License. Subject to the terms and conditions of\n" +" this License, each Contributor hereby grants to You a perpetual,\n" +" worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n" +" copyright license to reproduce, prepare Derivative Works of,\n" +" publicly display, publicly perform, sublicense, and distribute the\n" +" Work and such Derivative Works in Source or Object form.\n" +"\n" +"3. Grant of Patent License. Subject to the terms and conditions of\n" +" this License, each Contributor hereby grants to You a perpetual,\n" +" worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n" +" (except as stated in this section) patent license to make, have made,\n" +" use, offer to sell, sell, import, and otherwise transfer the Work,\n" +" where such license applies only to those patent claims licensable\n" +" by such Contributor that are necessarily infringed by their\n" +" Contribution(s) alone or by combination of their Contribution(s)\n" +" with the Work to which such Contribution(s) was submitted. If You\n" +" institute patent litigation against any entity (including a\n" +" cross-claim or counterclaim in a lawsuit) alleging that the Work\n" +" or a Contribution incorporated within the Work constitutes direct\n" +" or contributory patent infringement, then any patent licenses\n" +" granted to You under this License for that Work shall terminate\n" +" as of the date such litigation is filed.\n" +"\n" +"4. Redistribution. You may reproduce and distribute copies of the\n" +" Work or Derivative Works thereof in any medium, with or without\n" +" modifications, and in Source or Object form, provided that You\n" +" meet the following conditions:\n" +"\n" +" (a) You must give any other recipients of the Work or\n" +" Derivative Works a copy of this License; and\n" +"\n" +" (b) You must cause any modified files to carry prominent notices\n" +" stating that You changed the files; and\n" +"\n" +" (c) You must retain, in the Source form of any Derivative Works\n" +" that You distribute, all copyright, patent, trademark, and\n" +" attribution notices from the Source form of the Work,\n" +" excluding those notices that do not pertain to any part of\n" +" the Derivative Works; and\n" +"\n" +" (d) If the Work includes a \"NOTICE\" text file as part of its\n" +" distribution, then any Derivative Works that You distribute must\n" +" include a readable copy of the attribution notices contained\n" +" within such NOTICE file, excluding those notices that do not\n" +" pertain to any part of the Derivative Works, in at least one\n" +" of the following places: within a NOTICE text file distributed\n" +" as part of the Derivative Works; within the Source form or\n" +" documentation, if provided along with the Derivative Works; or,\n" +" within a display generated by the Derivative Works, if and\n" +" wherever such third-party notices normally appear. The contents\n" +" of the NOTICE file are for informational purposes only and\n" +" do not modify the License. You may add Your own attribution\n" +" notices within Derivative Works that You distribute, alongside\n" +" or as an addendum to the NOTICE text from the Work, provided\n" +" that such additional attribution notices cannot be construed\n" +" as modifying the License.\n" +"\n" +" You may add Your own copyright statement to Your modifications and\n" +" may provide additional or different license terms and conditions\n" +" for use, reproduction, or distribution of Your modifications, or\n" +" for any such Derivative Works as a whole, provided Your use,\n" +" reproduction, and distribution of the Work otherwise complies with\n" +" the conditions stated in this License.\n" +"\n" +"5. Submission of Contributions. Unless You explicitly state otherwise,\n" +" any Contribution intentionally submitted for inclusion in the Work\n" +" by You to the Licensor shall be under the terms and conditions of\n" +" this License, without any additional terms or conditions.\n" +" Notwithstanding the above, nothing herein shall supersede or modify\n" +" the terms of any separate license agreement you may have executed\n" +" with Licensor regarding such Contributions.\n" +"\n" +"6. Trademarks. This License does not grant permission to use the trade\n" +" names, trademarks, service marks, or product names of the Licensor,\n" +" except as required for reasonable and customary use in describing the\n" +" origin of the Work and reproducing the content of the NOTICE file.\n" +"\n" +"7. Disclaimer of Warranty. Unless required by applicable law or\n" +" agreed to in writing, Licensor provides the Work (and each\n" +" Contributor provides its Contributions) on an \"AS IS\" BASIS,\n" +" WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n" +" implied, including, without limitation, any warranties or conditions\n" +" of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n" +" PARTICULAR PURPOSE. You are solely responsible for determining the\n" +" appropriateness of using or redistributing the Work and assume any\n" +" risks associated with Your exercise of permissions under this License.\n" +"\n" +"8. Limitation of Liability. In no event and under no legal theory,\n" +" whether in tort (including negligence), contract, or otherwise,\n" +" unless required by applicable law (such as deliberate and grossly\n" +" negligent acts) or agreed to in writing, shall any Contributor be\n" +" liable to You for damages, including any direct, indirect, special,\n" +" incidental, or consequential damages of any character arising as a\n" +" result of this License or out of the use or inability to use the\n" +" Work (including but not limited to damages for loss of goodwill,\n" +" work stoppage, computer failure or malfunction, or any and all\n" +" other commercial damages or losses), even if such Contributor\n" +" has been advised of the possibility of such damages.\n" +"\n" +"9. Accepting Warranty or Additional Liability. While redistributing\n" +" the Work or Derivative Works thereof, You may choose to offer,\n" +" and charge a fee for, acceptance of support, warranty, indemnity,\n" +" or other liability obligations and/or rights consistent with this\n" +" License. However, in accepting such obligations, You may act only\n" +" on Your own behalf and on Your sole responsibility, not on behalf\n" +" of any other Contributor, and only if You agree to indemnify,\n" +" defend, and hold each Contributor harmless for any liability\n" +" incurred by, or claims asserted against, such Contributor by reason\n" +" of your accepting any such warranty or additional liability.\n" +"\n" +"END OF TERMS AND CONDITIONS" +msgstr "" " Apache License\n" " Version 2.0, January 2004\n" " https://www.apache.org/licenses/\n" @@ -1079,7 +1756,6 @@ msgid "" " of your accepting any such warranty or additional liability.\n" "\n" "END OF TERMS AND CONDITIONS" -msgstr "" msgid "expat" msgstr "" @@ -1113,6 +1789,27 @@ msgid "" "TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n" "SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." msgstr "" +"Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd\n" +" and Clark Cooper\n" +"\n" +"Permission is hereby granted, free of charge, to any person obtaining\n" +"a copy of this software and associated documentation files (the\n" +"\"Software\"), to deal in the Software without restriction, including\n" +"without limitation the rights to use, copy, modify, merge, publish,\n" +"distribute, sublicense, and/or sell copies of the Software, and to\n" +"permit persons to whom the Software is furnished to do so, subject to\n" +"the following conditions:\n" +"\n" +"The above copyright notice and this permission notice shall be included\n" +"in all copies or substantial portions of the Software.\n" +"\n" +"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n" +"EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n" +"MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n" +"IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\n" +"CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n" +"TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n" +"SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." msgid "libffi" msgstr "libffi" @@ -1146,6 +1843,27 @@ msgid "" "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n" "DEALINGS IN THE SOFTWARE." msgstr "" +"Copyright (c) 1996-2008 Red Hat, Inc and others.\n" +"\n" +"Permission is hereby granted, free of charge, to any person obtaining\n" +"a copy of this software and associated documentation files (the\n" +"\"Software\"), to deal in the Software without restriction, including\n" +"without limitation the rights to use, copy, modify, merge, publish,\n" +"distribute, sublicense, and/or sell copies of the Software, and to\n" +"permit persons to whom the Software is furnished to do so, subject to\n" +"the following conditions:\n" +"\n" +"The above copyright notice and this permission notice shall be included\n" +"in all copies or substantial portions of the Software.\n" +"\n" +"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n" +"EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n" +"MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n" +"NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\n" +"HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n" +"WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n" +"OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n" +"DEALINGS IN THE SOFTWARE." msgid "zlib" msgstr "zlib" @@ -1180,6 +1898,28 @@ msgid "" "Jean-loup Gailly Mark Adler\n" "jloup@gzip.org madler@alumni.caltech.edu" msgstr "" +"Copyright (C) 1995-2011 Jean-loup Gailly and Mark Adler\n" +"\n" +"This software is provided 'as-is', without any express or implied\n" +"warranty. In no event will the authors be held liable for any damages\n" +"arising from the use of this software.\n" +"\n" +"Permission is granted to anyone to use this software for any purpose,\n" +"including commercial applications, and to alter it and redistribute it\n" +"freely, subject to the following restrictions:\n" +"\n" +"1. The origin of this software must not be misrepresented; you must not\n" +" claim that you wrote the original software. If you use this software\n" +" in a product, an acknowledgment in the product documentation would be\n" +" appreciated but is not required.\n" +"\n" +"2. Altered source versions must be plainly marked as such, and must not be\n" +" misrepresented as being the original software.\n" +"\n" +"3. This notice may not be removed or altered from any source distribution.\n" +"\n" +"Jean-loup Gailly Mark Adler\n" +"jloup@gzip.org madler@alumni.caltech.edu" msgid "cfuhash" msgstr "" @@ -1224,9 +1964,42 @@ msgid "" "ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n" "OF THE POSSIBILITY OF SUCH DAMAGE." msgstr "" +"Copyright (c) 2005 Don Owens\n" +"All rights reserved.\n" +"\n" +"This code is released under the BSD license:\n" +"\n" +"Redistribution and use in source and binary forms, with or without\n" +"modification, are permitted provided that the following conditions\n" +"are met:\n" +"\n" +" * Redistributions of source code must retain the above copyright\n" +" notice, this list of conditions and the following disclaimer.\n" +"\n" +" * Redistributions in binary form must reproduce the above\n" +" copyright notice, this list of conditions and the following\n" +" disclaimer in the documentation and/or other materials provided\n" +" with the distribution.\n" +"\n" +" * Neither the name of the author nor the names of its\n" +" contributors may be used to endorse or promote products derived\n" +" from this software without specific prior written permission.\n" +"\n" +"THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n" +"\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n" +"LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n" +"FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n" +"COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n" +"INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n" +"(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n" +"SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n" +"HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n" +"STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n" +"ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n" +"OF THE POSSIBILITY OF SUCH DAMAGE." msgid "libmpdec" -msgstr "" +msgstr "libmpdec" msgid "" "The :mod:`!_decimal` C extension underlying the :mod:`decimal` module is " @@ -1260,6 +2033,30 @@ msgid "" "OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n" "SUCH DAMAGE." msgstr "" +"Copyright (c) 2008-2020 Stefan Krah. All rights reserved.\n" +"\n" +"Redistribution and use in source and binary forms, with or without\n" +"modification, are permitted provided that the following conditions\n" +"are met:\n" +"\n" +"1. Redistributions of source code must retain the above copyright\n" +" notice, this list of conditions and the following disclaimer.\n" +"\n" +"2. Redistributions in binary form must reproduce the above copyright\n" +" notice, this list of conditions and the following disclaimer in the\n" +" documentation and/or other materials provided with the distribution.\n" +"\n" +"THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS \"AS IS\" AND\n" +"ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n" +"IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n" +"ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n" +"FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n" +"DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n" +"OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n" +"HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n" +"LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n" +"OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n" +"SUCH DAMAGE." msgid "W3C C14N test suite" msgstr "" @@ -1299,12 +2096,39 @@ msgid "" "(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n" "OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." msgstr "" +"Copyright (c) 2013 W3C(R) (MIT, ERCIM, Keio, Beihang),\n" +"All Rights Reserved.\n" +"\n" +"Redistribution and use in source and binary forms, with or without\n" +"modification, are permitted provided that the following conditions\n" +"are met:\n" +"\n" +"* Redistributions of works must retain the original copyright notice,\n" +" this list of conditions and the following disclaimer.\n" +"* Redistributions in binary form must reproduce the original copyright\n" +" notice, this list of conditions and the following disclaimer in the\n" +" documentation and/or other materials provided with the distribution.\n" +"* Neither the name of the W3C nor the names of its contributors may be\n" +" used to endorse or promote products derived from this work without\n" +" specific prior written permission.\n" +"\n" +"THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n" +"\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n" +"LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n" +"A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n" +"OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n" +"SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n" +"LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n" +"DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n" +"THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n" +"(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n" +"OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." msgid "mimalloc" msgstr "" msgid "MIT License::" -msgstr "" +msgstr "MIT License::" msgid "" "Copyright (c) 2018-2021 Microsoft Corporation, Daan Leijen\n" @@ -1334,6 +2158,32 @@ msgid "" "THE\n" "SOFTWARE." msgstr "" +"Copyright (c) 2018-2021 Microsoft Corporation, Daan Leijen\n" +"\n" +"Permission is hereby granted, free of charge, to any person obtaining a " +"copy\n" +"of this software and associated documentation files (the \"Software\"), to " +"deal\n" +"in the Software without restriction, including without limitation the " +"rights\n" +"to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n" +"copies of the Software, and to permit persons to whom the Software is\n" +"furnished to do so, subject to the following conditions:\n" +"\n" +"The above copyright notice and this permission notice shall be included in " +"all\n" +"copies or substantial portions of the Software.\n" +"\n" +"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS " +"OR\n" +"IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n" +"FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n" +"AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n" +"LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING " +"FROM,\n" +"OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN " +"THE\n" +"SOFTWARE." msgid "asyncio" msgstr "" @@ -1366,6 +2216,26 @@ msgid "" "OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\n" "WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." msgstr "" +"Copyright (c) 2015-2021 MagicStack Inc. http://magic.io\n" +"\n" +"Permission is hereby granted, free of charge, to any person obtaining\n" +"a copy of this software and associated documentation files (the\n" +"\"Software\"), to deal in the Software without restriction, including\n" +"without limitation the rights to use, copy, modify, merge, publish,\n" +"distribute, sublicense, and/or sell copies of the Software, and to\n" +"permit persons to whom the Software is furnished to do so, subject to\n" +"the following conditions:\n" +"\n" +"The above copyright notice and this permission notice shall be\n" +"included in all copies or substantial portions of the Software.\n" +"\n" +"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n" +"EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n" +"MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n" +"NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\n" +"LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\n" +"OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\n" +"WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." msgid "Global Unbounded Sequences (GUS)" msgstr "" @@ -1401,6 +2271,28 @@ msgid "" "(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n" "THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." msgstr "" +"Copyright (c) 2019,2020 Jeffrey Roberson \n" +"\n" +"Redistribution and use in source and binary forms, with or without\n" +"modification, are permitted provided that the following conditions\n" +"are met:\n" +"1. Redistributions of source code must retain the above copyright\n" +" notice unmodified, this list of conditions, and the following\n" +" disclaimer.\n" +"2. Redistributions in binary form must reproduce the above copyright\n" +" notice, this list of conditions and the following disclaimer in the\n" +" documentation and/or other materials provided with the distribution.\n" +"\n" +"THIS SOFTWARE IS PROVIDED BY THE AUTHOR \"AS IS\" AND ANY EXPRESS OR\n" +"IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n" +"OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\n" +"IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,\n" +"INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n" +"NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n" +"DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n" +"THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n" +"(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n" +"THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." msgid "Zstandard bindings" msgstr "" @@ -1449,3 +2341,38 @@ msgid "" "USE\n" "OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." msgstr "" +"Copyright (c) 2020-present, Ma Lin and contributors.\n" +"All rights reserved.\n" +"\n" +"Redistribution and use in source and binary forms, with or without\n" +"modification, are permitted provided that the following conditions are met:\n" +"\n" +"1. Redistributions of source code must retain the above copyright notice, " +"this\n" +" list of conditions and the following disclaimer.\n" +"\n" +"2. Redistributions in binary form must reproduce the above copyright " +"notice,\n" +" this list of conditions and the following disclaimer in the " +"documentation\n" +" and/or other materials provided with the distribution.\n" +"\n" +"3. Neither the name of the copyright holder nor the names of its\n" +" contributors may be used to endorse or promote products derived from\n" +" this software without specific prior written permission.\n" +"\n" +"THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS " +"IS\"\n" +"AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n" +"IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE " +"ARE\n" +"DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE " +"LIABLE\n" +"FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n" +"DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n" +"SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n" +"CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT " +"LIABILITY,\n" +"OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE " +"USE\n" +"OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." diff --git a/manage_translation.py b/manage_translation.py index 86f5fcacd..a41b4a91c 100755 --- a/manage_translation.py +++ b/manage_translation.py @@ -11,6 +11,7 @@ # files. # * recreate_tx_config: recreate configuration for all resources. # * warn_about_files_to_delete: lists files that are not available upstream +# * generate_commit_msg: generates commit message with co-authors from argparse import ArgumentParser import os @@ -19,24 +20,26 @@ from difflib import SequenceMatcher from logging import info from pathlib import Path -from subprocess import call +from subprocess import call, run, CalledProcessError import sys from tempfile import TemporaryDirectory from typing import Self, Generator, Iterable from warnings import warn -from polib import pofile +from polib import pofile, POFile from transifex.api import transifex_api LANGUAGE = 'pl' +PROJECT_SLUG = 'python-newest' +VERSION = '3.14' def fetch(): """ Fetch translations from Transifex, remove source lines. """ - if (code := call("tx --version", shell=True)) != 0: - sys.stderr.write("The Transifex client app is required.\n") + if (code := call('tx --version', shell=True)) != 0: + sys.stderr.write('The Transifex client app is required.\n') exit(code) lang = LANGUAGE _call(f'tx pull -l {lang} --minimum-perc=1 --force --skip') @@ -49,10 +52,6 @@ def _call(command: str): exit(return_code) -PROJECT_SLUG = 'python-newest' -VERSION = '3.14' - - def recreate_tx_config(): """ Regenerate Transifex client config for all resources. @@ -71,12 +70,14 @@ def recreate_tx_config(): file.write(contents) warn_about_files_to_delete() + def warn_about_files_to_delete(): files = list(_get_files_to_delete()) if not files: return warn(f'Found {len(files)} file(s) to delete: {", ".join(files)}.') + def _get_files_to_delete(): with open('.tx/config') as config_file: config = config_file.read() @@ -86,11 +87,13 @@ def _get_files_to_delete(): def _clone_cpython_repo(version: str): - _call(f'git clone -b {version} --single-branch https://github.com/python/cpython.git --depth 1') + _call( + f'git clone -b {version} --single-branch https://github.com/python/cpython.git --depth 1' + ) def _build_gettext(): - _call("make -C cpython/Doc/ gettext") + _call('make -C cpython/Doc/ gettext') def _create_txconfig(): @@ -115,7 +118,9 @@ class ResourceLanguageStatistics: @classmethod def from_api_entry(cls, data: transifex_api.ResourceLanguageStats) -> Self: return cls( - name=data.id.removeprefix(f'o:python-doc:p:{PROJECT_SLUG}:r:').removesuffix(f':l:{LANGUAGE}'), + name=data.id.removeprefix(f'o:python-doc:p:{PROJECT_SLUG}:r:').removesuffix( + f':l:{LANGUAGE}' + ), total_words=data.attributes['total_words'], translated_words=data.attributes['translated_words'], total_strings=data.attributes['total_strings'], @@ -145,10 +150,17 @@ def get_resource_language_stats() -> list[ResourceLanguageStatistics]: return [ResourceLanguageStatistics.from_api_entry(entry) for entry in resources] -def progress_from_resources(resources: Iterable[ResourceLanguageStatistics]) -> float: - pairs = ((e.translated_words, e.total_words) for e in resources) - translated_total, total_total = (sum(counts) for counts in zip(*pairs)) - return translated_total / total_total * 100 +def progress_from_resources( + resources: Iterable[ResourceLanguageStatistics], +) -> tuple[float, float]: + word_pairs = ((e.translated_words, e.total_words) for e in resources) + string_pairs = ((e.translated_strings, e.total_strings) for e in resources) + translated_total_words, total_words = (sum(counts) for counts in zip(*word_pairs)) + translated_total_strs, total_strs = (sum(counts) for counts in zip(*string_pairs)) + return ( + translated_total_words / total_words * 100, + translated_total_strs / total_strs * 100, + ) def get_number_of_translators(): @@ -161,21 +173,23 @@ def get_number_of_translators(): def _fetch_translators() -> Generator[str, None, None]: for file in Path().rglob('*.po'): header = pofile(file).header.splitlines() - for translator_record in header[header.index('Translators:') + 1:]: + for translator_record in header[header.index('Translators:') + 1 :]: translator, _year = translator_record.split(', ') yield translator def _remove_bot(translators: set[str]) -> None: - translators.remove("Transifex Bot <>") + translators.remove('Transifex Bot <>') def _eliminate_aliases(translators: set[str]) -> set[str]: unique = set() for name in translators: for match in unique: - if (ratio := SequenceMatcher(lambda x: x in '<>@', name, match).ratio()) > 0.64: - info(f"{name} and {match} are similar ({ratio:.3f}). Deduplicating.") + if ( + ratio := SequenceMatcher(lambda x: x in '<>@', name, match).ratio() + ) > 0.64: + info(f'{name} and {match} are similar ({ratio:.3f}). Deduplicating.') break else: unique.add(name) @@ -184,11 +198,67 @@ def _eliminate_aliases(translators: set[str]) -> set[str]: def language_switcher(entry: ResourceLanguageStatistics) -> bool: language_switcher_resources_prefixes = ('bugs', 'tutorial', 'library--functions') - return any(entry.name.startswith(prefix) for prefix in language_switcher_resources_prefixes) + return any( + entry.name.startswith(prefix) for prefix in language_switcher_resources_prefixes + ) + + +def generate_commit_msg(): + """Generate a commit message + Parses staged files and generates a commit message with Last-Translator's as + co-authors. + """ + translators: set[str] = set() + result = run( + ['git', 'diff', '--cached', '--name-only', '--diff-filter=ACM'], + capture_output=True, + text=True, + check=True, + ) + staged = [ + filename for filename in result.stdout.splitlines() if filename.endswith('.po') + ] + + for file in staged: + staged_file = run( + ['git', 'show', f':{file}'], capture_output=True, text=True, check=True + ).stdout + try: + old_file = run( + ['git', 'show', f'HEAD:{file}'], + capture_output=True, + text=True, + check=True, + ).stdout + except CalledProcessError: + old_file = '' + + new_po = pofile(staged_file) + old_po = pofile(old_file) if old_file else POFile() + old_entries = {entry.msgid: entry.msgstr for entry in old_po} + + for entry in new_po: + if entry.msgstr and ( + entry.msgid not in old_entries + or old_entries[entry.msgid] != entry.msgstr + ): + translator = new_po.metadata.get('Last-Translator') + translator = translator.split(',')[0].strip() + if translator: + translators.add(f'Co-Authored-By: {translator}') + break + + print('Update translation from Transifex\n\n' + '\n'.join(translators)) -if __name__ == "__main__": - RUNNABLE_SCRIPTS = ('fetch', 'recreate_tx_config', 'warn_about_files_to_delete') + +if __name__ == '__main__': + RUNNABLE_SCRIPTS = ( + 'fetch', + 'recreate_tx_config', + 'warn_about_files_to_delete', + 'generate_commit_msg', + ) parser = ArgumentParser() parser.add_argument('cmd', choices=RUNNABLE_SCRIPTS) diff --git a/reference/compound_stmts.po b/reference/compound_stmts.po index 4274fbbf4..d5702e969 100644 --- a/reference/compound_stmts.po +++ b/reference/compound_stmts.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-16 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:19+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -133,13 +133,13 @@ msgid "" msgstr "" msgid "" -"The ``starred_list`` expression is evaluated once; it should yield an :term:" -"`iterable` object. An :term:`iterator` is created for that iterable. The " -"first item provided by the iterator is then assigned to the target list " -"using the standard rules for assignments (see :ref:`assignment`), and the " -"suite is executed. This repeats for each item provided by the iterator. " -"When the iterator is exhausted, the suite in the :keyword:`!else` clause, if " -"present, is executed, and the loop terminates." +"The :token:`~python-grammar:starred_expression_list` expression is evaluated " +"once; it should yield an :term:`iterable` object. An :term:`iterator` is " +"created for that iterable. The first item provided by the iterator is then " +"assigned to the target list using the standard rules for assignments (see :" +"ref:`assignment`), and the suite is executed. This repeats for each item " +"provided by the iterator. When the iterator is exhausted, the suite in the :" +"keyword:`!else` clause, if present, is executed, and the loop terminates." msgstr "" msgid "" @@ -1270,7 +1270,7 @@ msgid "" msgstr "" msgid "``isinstance(, CLS)``" -msgstr "" +msgstr "``isinstance(, CLS)``" msgid "convert ``P1`` to a keyword pattern using ``CLS.__match_args__``" msgstr "" diff --git a/reference/datamodel.po b/reference/datamodel.po index 277a6b643..a3683fc68 100644 --- a/reference/datamodel.po +++ b/reference/datamodel.po @@ -18,7 +18,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:19+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -285,7 +285,7 @@ msgid "" msgstr "" msgid ":class:`numbers.Real` (:class:`float`)" -msgstr "" +msgstr ":class:`numbers.Real` (:class:`float`)" msgid "" "These represent machine-level double precision floating-point numbers. You " @@ -298,7 +298,7 @@ msgid "" msgstr "" msgid ":class:`numbers.Complex` (:class:`complex`)" -msgstr "" +msgstr ":class:`numbers.Complex` (:class:`complex`)" msgid "" "These represent complex numbers as a pair of machine-level double precision " @@ -1180,8 +1180,21 @@ msgstr "" msgid "" "For best practices on working with :attr:`~object.__annotations__`, please " -"see :mod:`annotationlib`. Where possible, use :func:`annotationlib." -"get_annotations` instead of accessing this attribute directly." +"see :mod:`annotationlib`. Use :func:`annotationlib.get_annotations` instead " +"of accessing this attribute directly." +msgstr "" + +msgid "" +"Accessing the :attr:`!__annotations__` attribute directly on a class object " +"may return annotations for the wrong class, specifically in certain cases " +"where the class, its base class, or a metaclass is defined under ``from " +"__future__ import annotations``. See :pep:`749 <749#pep749-metaclasses>` for " +"details." +msgstr "" + +msgid "" +"This attribute does not exist on certain builtin classes. On user-defined " +"classes without ``__annotations__``, it is an empty dictionary." msgstr "" msgid "" diff --git a/reference/executionmodel.po b/reference/executionmodel.po index 7488b3713..d7717e9f0 100644 --- a/reference/executionmodel.po +++ b/reference/executionmodel.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:19+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/reference/expressions.po b/reference/expressions.po index 5e02145d0..500b79aea 100644 --- a/reference/expressions.po +++ b/reference/expressions.po @@ -16,7 +16,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:49+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -388,13 +388,14 @@ msgid "" "Variables used in the generator expression are evaluated lazily when the :" "meth:`~generator.__next__` method is called for the generator object (in the " "same fashion as normal generators). However, the iterable expression in the " -"leftmost :keyword:`!for` clause is immediately evaluated, so that an error " -"produced by it will be emitted at the point where the generator expression " -"is defined, rather than at the point where the first value is retrieved. " -"Subsequent :keyword:`!for` clauses and any filter condition in the leftmost :" -"keyword:`!for` clause cannot be evaluated in the enclosing scope as they may " -"depend on the values obtained from the leftmost iterable. For example: " -"``(x*y for x in range(10) for y in range(x, x+10))``." +"leftmost :keyword:`!for` clause is immediately evaluated, and the :term:" +"`iterator` is immediately created for that iterable, so that an error " +"produced while creating the iterator will be emitted at the point where the " +"generator expression is defined, rather than at the point where the first " +"value is retrieved. Subsequent :keyword:`!for` clauses and any filter " +"condition in the leftmost :keyword:`!for` clause cannot be evaluated in the " +"enclosing scope as they may depend on the values obtained from the leftmost " +"iterable. For example: ``(x*y for x in range(10) for y in range(x, x+10))``." msgstr "" msgid "" @@ -625,15 +626,17 @@ msgid "" msgstr "" msgid "" -"Raises a :exc:`GeneratorExit` at the point where the generator function was " -"paused. If the generator function catches the exception and returns a " -"value, this value is returned from :meth:`close`. If the generator function " -"is already closed, or raises :exc:`GeneratorExit` (by not catching the " -"exception), :meth:`close` returns :const:`None`. If the generator yields a " -"value, a :exc:`RuntimeError` is raised. If the generator raises any other " -"exception, it is propagated to the caller. If the generator has already " -"exited due to an exception or normal exit, :meth:`close` returns :const:" -"`None` and has no other effect." +"Raises a :exc:`GeneratorExit` exception at the point where the generator " +"function was paused (equivalent to calling ``throw(GeneratorExit)``). The " +"exception is raised by the yield expression where the generator was paused. " +"If the generator function catches the exception and returns a value, this " +"value is returned from :meth:`close`. If the generator function is already " +"closed, or raises :exc:`GeneratorExit` (by not catching the exception), :" +"meth:`close` returns :const:`None`. If the generator yields a value, a :exc:" +"`RuntimeError` is raised. If the generator raises any other exception, it " +"is propagated to the caller. If the generator has already exited due to an " +"exception or normal exit, :meth:`close` returns :const:`None` and has no " +"other effect." msgstr "" msgid "" diff --git a/reference/grammar.po b/reference/grammar.po index ef558fdc4..83fce07b2 100644 --- a/reference/grammar.po +++ b/reference/grammar.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-16 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:49+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -37,14 +37,23 @@ msgstr "" "błędów." msgid "" -"The notation is a mixture of `EBNF `_ and `PEG `_. In particular, ``&`` followed by a symbol, " -"token or parenthesized group indicates a positive lookahead (i.e., is " -"required to match but not consumed), while ``!`` indicates a negative " -"lookahead (i.e., is required *not* to match). We use the ``|`` separator to " -"mean PEG's \"ordered choice\" (written as ``/`` in traditional PEG " -"grammars). See :pep:`617` for more details on the grammar's syntax." +"The notation used here is the same as in the preceding docs, and is " +"described in the :ref:`notation ` section, except for a few extra " +"complications:" +msgstr "" + +msgid "" +"``&e``: a positive lookahead (that is, ``e`` is required to match but not " +"consumed)" +msgstr "" + +msgid "" +"``!e``: a negative lookahead (that is, ``e`` is required *not* to match)" +msgstr "" + +msgid "" +"``~`` (\"cut\"): commit to the current alternative and fail the rule even if " +"this fails to parse" msgstr "" msgid "" @@ -1746,7 +1755,7 @@ msgid "" " | a='except' expression ['as' NAME ] NEWLINE " "{ RAISE_SYNTAX_ERROR(\"expected ':'\") }\n" " | a='except' NEWLINE { RAISE_SYNTAX_ERROR(\"expected ':'\") }\n" -" | 'except' expression 'as' a=expression {\n" +" | 'except' expression 'as' a=expression ':' block {\n" " RAISE_SYNTAX_ERROR_KNOWN_LOCATION(\n" " a, \"cannot use except statement with %s\", " "_PyPegen_get_expr_name(a)) }\n" @@ -1758,7 +1767,7 @@ msgid "" "{ RAISE_SYNTAX_ERROR(\"expected ':'\") }\n" " | a='except' '*' (NEWLINE | ':') { RAISE_SYNTAX_ERROR(\"expected one or " "more exception types\") }\n" -" | 'except' '*' expression 'as' a=expression {\n" +" | 'except' '*' expression 'as' a=expression ':' block {\n" " RAISE_SYNTAX_ERROR_KNOWN_LOCATION(\n" " a, \"cannot use except* statement with %s\", " "_PyPegen_get_expr_name(a)) }\n" @@ -1953,3 +1962,1907 @@ msgid "" " token,\n" " \"Type parameter list cannot be empty\")}\n" msgstr "" +"# PEG grammar for Python\n" +"\n" +"@trailer '''\n" +"void *\n" +"_PyPegen_parse(Parser *p)\n" +"{\n" +" // Initialize keywords\n" +" p->keywords = reserved_keywords;\n" +" p->n_keyword_lists = n_keyword_lists;\n" +" p->soft_keywords = soft_keywords;\n" +"\n" +" // Run parser\n" +" void *result = NULL;\n" +" if (p->start_rule == Py_file_input) {\n" +" result = file_rule(p);\n" +" } else if (p->start_rule == Py_single_input) {\n" +" result = interactive_rule(p);\n" +" } else if (p->start_rule == Py_eval_input) {\n" +" result = eval_rule(p);\n" +" } else if (p->start_rule == Py_func_type_input) {\n" +" result = func_type_rule(p);\n" +" }\n" +"\n" +" return result;\n" +"}\n" +"'''\n" +"\n" +"# ========================= START OF THE GRAMMAR =========================\n" +"\n" +"# General grammatical elements and rules:\n" +"#\n" +"# * Strings with double quotes (\") denote SOFT KEYWORDS\n" +"# * Strings with single quotes (') denote KEYWORDS\n" +"# * Upper case names (NAME) denote tokens in the Grammar/Tokens file\n" +"# * Rule names starting with \"invalid_\" are used for specialized syntax " +"errors\n" +"# - These rules are NOT used in the first pass of the parser.\n" +"# - Only if the first pass fails to parse, a second pass including the " +"invalid\n" +"# rules will be executed.\n" +"# - If the parser fails in the second phase with a generic syntax error, " +"the\n" +"# location of the generic failure of the first pass will be used (this " +"avoids\n" +"# reporting incorrect locations due to the invalid rules).\n" +"# - The order of the alternatives involving invalid rules matter\n" +"# (like any rule in PEG).\n" +"#\n" +"# Grammar Syntax (see PEP 617 for more information):\n" +"#\n" +"# rule_name: expression\n" +"# Optionally, a type can be included right after the rule name, which\n" +"# specifies the return type of the C or Python function corresponding to " +"the\n" +"# rule:\n" +"# rule_name[return_type]: expression\n" +"# If the return type is omitted, then a void * is returned in C and an Any " +"in\n" +"# Python.\n" +"# e1 e2\n" +"# Match e1, then match e2.\n" +"# e1 | e2\n" +"# Match e1 or e2.\n" +"# The first alternative can also appear on the line after the rule name " +"for\n" +"# formatting purposes. In that case, a | must be used before the first\n" +"# alternative, like so:\n" +"# rule_name[return_type]:\n" +"# | first_alt\n" +"# | second_alt\n" +"# ( e )\n" +"# Match e (allows also to use other operators in the group like '(e)*')\n" +"# [ e ] or e?\n" +"# Optionally match e.\n" +"# e*\n" +"# Match zero or more occurrences of e.\n" +"# e+\n" +"# Match one or more occurrences of e.\n" +"# s.e+\n" +"# Match one or more occurrences of e, separated by s. The generated parse " +"tree\n" +"# does not include the separator. This is otherwise identical to (e (s " +"e)*).\n" +"# &e\n" +"# Succeed if e can be parsed, without consuming any input.\n" +"# !e\n" +"# Fail if e can be parsed, without consuming any input.\n" +"# ~\n" +"# Commit to the current alternative, even if it fails to parse.\n" +"# &&e\n" +"# Eager parse e. The parser will not backtrack and will immediately\n" +"# fail with SyntaxError if e cannot be parsed.\n" +"#\n" +"\n" +"# STARTING RULES\n" +"# ==============\n" +"\n" +"file[mod_ty]: a=[statements] ENDMARKER { _PyPegen_make_module(p, a) }\n" +"interactive[mod_ty]: a=statement_newline { _PyAST_Interactive(a, p-" +">arena) }\n" +"eval[mod_ty]: a=expressions NEWLINE* ENDMARKER { _PyAST_Expression(a, p-" +">arena) }\n" +"func_type[mod_ty]: '(' a=[type_expressions] ')' '->' b=expression NEWLINE* " +"ENDMARKER { _PyAST_FunctionType(a, b, p->arena) }\n" +"\n" +"# GENERAL STATEMENTS\n" +"# ==================\n" +"\n" +"statements[asdl_stmt_seq*]: a=statement+ { _PyPegen_register_stmts(p, " +"(asdl_stmt_seq*)_PyPegen_seq_flatten(p, a)) }\n" +"\n" +"statement[asdl_stmt_seq*]:\n" +" | a=compound_stmt { (asdl_stmt_seq*)_PyPegen_singleton_seq(p, a) }\n" +" | a[asdl_stmt_seq*]=simple_stmts { a }\n" +"\n" +"single_compound_stmt[asdl_stmt_seq*]:\n" +" | a=compound_stmt {\n" +" _PyPegen_register_stmts(p, (asdl_stmt_seq*)_PyPegen_singleton_seq(p, " +"a)) }\n" +"\n" +"statement_newline[asdl_stmt_seq*]:\n" +" | a=single_compound_stmt NEWLINE { a }\n" +" | simple_stmts\n" +" | NEWLINE { (asdl_stmt_seq*)_PyPegen_singleton_seq(p, CHECK(stmt_ty, " +"_PyAST_Pass(EXTRA))) }\n" +" | ENDMARKER { _PyPegen_interactive_exit(p) }\n" +"\n" +"simple_stmts[asdl_stmt_seq*]:\n" +" | a=simple_stmt !';' NEWLINE { (asdl_stmt_seq*)_PyPegen_singleton_seq(p, " +"a) } # Not needed, there for speedup\n" +" | a[asdl_stmt_seq*]=';'.simple_stmt+ [';'] NEWLINE { a }\n" +"\n" +"# NOTE: assignment MUST precede expression, else parsing a simple " +"assignment\n" +"# will throw a SyntaxError.\n" +"simple_stmt[stmt_ty] (memo):\n" +" | assignment\n" +" | &\"type\" type_alias\n" +" | e=star_expressions { _PyAST_Expr(e, EXTRA) }\n" +" | &'return' return_stmt\n" +" | &('import' | 'from') import_stmt\n" +" | &'raise' raise_stmt\n" +" | &'pass' pass_stmt\n" +" | &'del' del_stmt\n" +" | &'yield' yield_stmt\n" +" | &'assert' assert_stmt\n" +" | &'break' break_stmt\n" +" | &'continue' continue_stmt\n" +" | &'global' global_stmt\n" +" | &'nonlocal' nonlocal_stmt\n" +"\n" +"compound_stmt[stmt_ty]:\n" +" | &('def' | '@' | 'async') function_def\n" +" | &'if' if_stmt\n" +" | &('class' | '@') class_def\n" +" | &('with' | 'async') with_stmt\n" +" | &('for' | 'async') for_stmt\n" +" | &'try' try_stmt\n" +" | &'while' while_stmt\n" +" | match_stmt\n" +"\n" +"# SIMPLE STATEMENTS\n" +"# =================\n" +"\n" +"# NOTE: annotated_rhs may start with 'yield'; yield_expr must start with " +"'yield'\n" +"assignment[stmt_ty]:\n" +" | a=NAME ':' b=expression c=['=' d=annotated_rhs { d }] {\n" +" CHECK_VERSION(\n" +" stmt_ty,\n" +" 6,\n" +" \"Variable annotation syntax is\",\n" +" _PyAST_AnnAssign(CHECK(expr_ty, _PyPegen_set_expr_context(p, a, " +"Store)), b, c, 1, EXTRA)\n" +" ) }\n" +" | a=('(' b=single_target ')' { b }\n" +" | single_subscript_attribute_target) ':' b=expression c=['=' " +"d=annotated_rhs { d }] {\n" +" CHECK_VERSION(stmt_ty, 6, \"Variable annotations syntax is\", " +"_PyAST_AnnAssign(a, b, c, 0, EXTRA)) }\n" +" | a[asdl_expr_seq*]=(z=star_targets '=' { z })+ b=annotated_rhs !'=' " +"tc=[TYPE_COMMENT] {\n" +" _PyAST_Assign(a, b, NEW_TYPE_COMMENT(p, tc), EXTRA) }\n" +" | a=single_target b=augassign ~ c=annotated_rhs {\n" +" _PyAST_AugAssign(a, b->kind, c, EXTRA) }\n" +" | invalid_assignment\n" +"\n" +"annotated_rhs[expr_ty]: yield_expr | star_expressions\n" +"\n" +"augassign[AugOperator*]:\n" +" | '+=' { _PyPegen_augoperator(p, Add) }\n" +" | '-=' { _PyPegen_augoperator(p, Sub) }\n" +" | '*=' { _PyPegen_augoperator(p, Mult) }\n" +" | '@=' { CHECK_VERSION(AugOperator*, 5, \"The '@' operator is\", " +"_PyPegen_augoperator(p, MatMult)) }\n" +" | '/=' { _PyPegen_augoperator(p, Div) }\n" +" | '%=' { _PyPegen_augoperator(p, Mod) }\n" +" | '&=' { _PyPegen_augoperator(p, BitAnd) }\n" +" | '|=' { _PyPegen_augoperator(p, BitOr) }\n" +" | '^=' { _PyPegen_augoperator(p, BitXor) }\n" +" | '<<=' { _PyPegen_augoperator(p, LShift) }\n" +" | '>>=' { _PyPegen_augoperator(p, RShift) }\n" +" | '**=' { _PyPegen_augoperator(p, Pow) }\n" +" | '//=' { _PyPegen_augoperator(p, FloorDiv) }\n" +"\n" +"return_stmt[stmt_ty]:\n" +" | 'return' a=[star_expressions] { _PyAST_Return(a, EXTRA) }\n" +"\n" +"raise_stmt[stmt_ty]:\n" +" | 'raise' a=expression b=['from' z=expression { z }] { _PyAST_Raise(a, " +"b, EXTRA) }\n" +" | 'raise' { _PyAST_Raise(NULL, NULL, EXTRA) }\n" +"\n" +"pass_stmt[stmt_ty]:\n" +" | 'pass' { _PyAST_Pass(EXTRA) }\n" +"\n" +"break_stmt[stmt_ty]:\n" +" | 'break' { _PyAST_Break(EXTRA) }\n" +"\n" +"continue_stmt[stmt_ty]:\n" +" | 'continue' { _PyAST_Continue(EXTRA) }\n" +"\n" +"global_stmt[stmt_ty]: 'global' a[asdl_expr_seq*]=','.NAME+ {\n" +" _PyAST_Global(CHECK(asdl_identifier_seq*, _PyPegen_map_names_to_ids(p, " +"a)), EXTRA) }\n" +"\n" +"nonlocal_stmt[stmt_ty]: 'nonlocal' a[asdl_expr_seq*]=','.NAME+ {\n" +" _PyAST_Nonlocal(CHECK(asdl_identifier_seq*, _PyPegen_map_names_to_ids(p, " +"a)), EXTRA) }\n" +"\n" +"del_stmt[stmt_ty]:\n" +" | 'del' a=del_targets &(';' | NEWLINE) { _PyAST_Delete(a, EXTRA) }\n" +" | invalid_del_stmt\n" +"\n" +"yield_stmt[stmt_ty]: y=yield_expr { _PyAST_Expr(y, EXTRA) }\n" +"\n" +"assert_stmt[stmt_ty]: 'assert' a=expression b=[',' z=expression { z }] " +"{ _PyAST_Assert(a, b, EXTRA) }\n" +"\n" +"import_stmt[stmt_ty]:\n" +" | invalid_import\n" +" | import_name\n" +" | import_from\n" +"\n" +"# Import statements\n" +"# -----------------\n" +"\n" +"import_name[stmt_ty]: 'import' a=dotted_as_names { _PyAST_Import(a, " +"EXTRA) }\n" +"# note below: the ('.' | '...') is necessary because '...' is tokenized as " +"ELLIPSIS\n" +"import_from[stmt_ty]:\n" +" | 'from' a=('.' | '...')* b=dotted_name 'import' c=import_from_targets " +"{\n" +" _PyPegen_checked_future_import(p, b->v.Name.id, c, " +"_PyPegen_seq_count_dots(a), EXTRA) }\n" +" | 'from' a=('.' | '...')+ 'import' b=import_from_targets {\n" +" _PyAST_ImportFrom(NULL, b, _PyPegen_seq_count_dots(a), EXTRA) }\n" +"import_from_targets[asdl_alias_seq*]:\n" +" | '(' a=import_from_as_names [','] ')' { a }\n" +" | import_from_as_names !','\n" +" | '*' { (asdl_alias_seq*)_PyPegen_singleton_seq(p, CHECK(alias_ty, " +"_PyPegen_alias_for_star(p, EXTRA))) }\n" +" | invalid_import_from_targets\n" +"import_from_as_names[asdl_alias_seq*]:\n" +" | a[asdl_alias_seq*]=','.import_from_as_name+ { a }\n" +"import_from_as_name[alias_ty]:\n" +" | invalid_import_from_as_name\n" +" | a=NAME b=['as' z=NAME { z }] { _PyAST_alias(\n" +" a->v.Name.id, (b) ? ((expr_ty) b)->v.Name.id : NULL, EXTRA) }\n" +"\n" +"dotted_as_names[asdl_alias_seq*]:\n" +" | a[asdl_alias_seq*]=','.dotted_as_name+ { a }\n" +"dotted_as_name[alias_ty]:\n" +" | invalid_dotted_as_name\n" +" | a=dotted_name b=['as' z=NAME { z }] { _PyAST_alias(\n" +" a->v.Name.id, (b) ? ((expr_ty) b)->v.Name.id : NULL, EXTRA) }\n" +"\n" +"dotted_name[expr_ty]:\n" +" | a=dotted_name '.' b=NAME { _PyPegen_join_names_with_dot(p, a, b) }\n" +" | NAME\n" +"\n" +"# COMPOUND STATEMENTS\n" +"# ===================\n" +"\n" +"# Common elements\n" +"# ---------------\n" +"\n" +"block[asdl_stmt_seq*] (memo):\n" +" | NEWLINE INDENT a=statements DEDENT { a }\n" +" | simple_stmts\n" +" | invalid_block\n" +"\n" +"decorators[asdl_expr_seq*]: a[asdl_expr_seq*]=('@' f=named_expression " +"NEWLINE { f })+ { a }\n" +"\n" +"# Class definitions\n" +"# -----------------\n" +"\n" +"class_def[stmt_ty]:\n" +" | a=decorators b=class_def_raw { _PyPegen_class_def_decorators(p, a, " +"b) }\n" +" | class_def_raw\n" +"\n" +"class_def_raw[stmt_ty]:\n" +" | invalid_class_def_raw\n" +" | 'class' a=NAME t=[type_params] b=['(' z=[arguments] ')' { z }] ':' " +"c=block {\n" +" _PyAST_ClassDef(a->v.Name.id,\n" +" (b) ? ((expr_ty) b)->v.Call.args : NULL,\n" +" (b) ? ((expr_ty) b)->v.Call.keywords : NULL,\n" +" c, NULL, t, EXTRA) }\n" +"\n" +"# Function definitions\n" +"# --------------------\n" +"\n" +"function_def[stmt_ty]:\n" +" | d=decorators f=function_def_raw { _PyPegen_function_def_decorators(p, " +"d, f) }\n" +" | function_def_raw\n" +"\n" +"function_def_raw[stmt_ty]:\n" +" | invalid_def_raw\n" +" | 'def' n=NAME t=[type_params] '(' params=[params] ')' a=['->' " +"z=expression { z }] ':' tc=[func_type_comment] b=block {\n" +" _PyAST_FunctionDef(n->v.Name.id,\n" +" (params) ? params : CHECK(arguments_ty, " +"_PyPegen_empty_arguments(p)),\n" +" b, NULL, a, NEW_TYPE_COMMENT(p, tc), t, EXTRA) }\n" +" | 'async' 'def' n=NAME t=[type_params] '(' params=[params] ')' a=['->' " +"z=expression { z }] ':' tc=[func_type_comment] b=block {\n" +" CHECK_VERSION(\n" +" stmt_ty,\n" +" 5,\n" +" \"Async functions are\",\n" +" _PyAST_AsyncFunctionDef(n->v.Name.id,\n" +" (params) ? params : CHECK(arguments_ty, " +"_PyPegen_empty_arguments(p)),\n" +" b, NULL, a, NEW_TYPE_COMMENT(p, tc), t, EXTRA)\n" +" ) }\n" +"\n" +"# Function parameters\n" +"# -------------------\n" +"\n" +"params[arguments_ty]:\n" +" | invalid_parameters\n" +" | parameters\n" +"\n" +"parameters[arguments_ty]:\n" +" | a=slash_no_default b[asdl_arg_seq*]=param_no_default* " +"c=param_with_default* d=[star_etc] {\n" +" CHECK_VERSION(arguments_ty, 8, \"Positional-only parameters are\", " +"_PyPegen_make_arguments(p, a, NULL, b, c, d)) }\n" +" | a=slash_with_default b=param_with_default* c=[star_etc] {\n" +" CHECK_VERSION(arguments_ty, 8, \"Positional-only parameters are\", " +"_PyPegen_make_arguments(p, NULL, a, NULL, b, c)) }\n" +" | a[asdl_arg_seq*]=param_no_default+ b=param_with_default* c=[star_etc] " +"{\n" +" _PyPegen_make_arguments(p, NULL, NULL, a, b, c) }\n" +" | a=param_with_default+ b=[star_etc] { _PyPegen_make_arguments(p, NULL, " +"NULL, NULL, a, b)}\n" +" | a=star_etc { _PyPegen_make_arguments(p, NULL, NULL, NULL, NULL, a) }\n" +"\n" +"# Some duplication here because we can't write (',' | &')'),\n" +"# which is because we don't support empty alternatives (yet).\n" +"\n" +"slash_no_default[asdl_arg_seq*]:\n" +" | a[asdl_arg_seq*]=param_no_default+ '/' ',' { a }\n" +" | a[asdl_arg_seq*]=param_no_default+ '/' &')' { a }\n" +"slash_with_default[SlashWithDefault*]:\n" +" | a=param_no_default* b=param_with_default+ '/' " +"',' { _PyPegen_slash_with_default(p, (asdl_arg_seq *)a, b) }\n" +" | a=param_no_default* b=param_with_default+ '/' " +"&')' { _PyPegen_slash_with_default(p, (asdl_arg_seq *)a, b) }\n" +"\n" +"star_etc[StarEtc*]:\n" +" | invalid_star_etc\n" +" | '*' a=param_no_default b=param_maybe_default* c=[kwds] {\n" +" _PyPegen_star_etc(p, a, b, c) }\n" +" | '*' a=param_no_default_star_annotation b=param_maybe_default* c=[kwds] " +"{\n" +" _PyPegen_star_etc(p, a, b, c) }\n" +" | '*' ',' b=param_maybe_default+ c=[kwds] {\n" +" _PyPegen_star_etc(p, NULL, b, c) }\n" +" | a=kwds { _PyPegen_star_etc(p, NULL, NULL, a) }\n" +"\n" +"kwds[arg_ty]:\n" +" | invalid_kwds\n" +" | '**' a=param_no_default { a }\n" +"\n" +"# One parameter. This *includes* a following comma and type comment.\n" +"#\n" +"# There are three styles:\n" +"# - No default\n" +"# - With default\n" +"# - Maybe with default\n" +"#\n" +"# There are two alternative forms of each, to deal with type comments:\n" +"# - Ends in a comma followed by an optional type comment\n" +"# - No comma, optional type comment, must be followed by close paren\n" +"# The latter form is for a final parameter without trailing comma.\n" +"#\n" +"\n" +"param_no_default[arg_ty]:\n" +" | a=param ',' tc=TYPE_COMMENT? { _PyPegen_add_type_comment_to_arg(p, a, " +"tc) }\n" +" | a=param tc=TYPE_COMMENT? &')' { _PyPegen_add_type_comment_to_arg(p, a, " +"tc) }\n" +"param_no_default_star_annotation[arg_ty]:\n" +" | a=param_star_annotation ',' tc=TYPE_COMMENT? " +"{ _PyPegen_add_type_comment_to_arg(p, a, tc) }\n" +" | a=param_star_annotation tc=TYPE_COMMENT? " +"&')' { _PyPegen_add_type_comment_to_arg(p, a, tc) }\n" +"param_with_default[NameDefaultPair*]:\n" +" | a=param c=default ',' tc=TYPE_COMMENT? { _PyPegen_name_default_pair(p, " +"a, c, tc) }\n" +" | a=param c=default tc=TYPE_COMMENT? " +"&')' { _PyPegen_name_default_pair(p, a, c, tc) }\n" +"param_maybe_default[NameDefaultPair*]:\n" +" | a=param c=default? ',' tc=TYPE_COMMENT? " +"{ _PyPegen_name_default_pair(p, a, c, tc) }\n" +" | a=param c=default? tc=TYPE_COMMENT? " +"&')' { _PyPegen_name_default_pair(p, a, c, tc) }\n" +"param[arg_ty]: a=NAME b=annotation? { _PyAST_arg(a->v.Name.id, b, NULL, " +"EXTRA) }\n" +"param_star_annotation[arg_ty]: a=NAME b=star_annotation { _PyAST_arg(a->v." +"Name.id, b, NULL, EXTRA) }\n" +"annotation[expr_ty]: ':' a=expression { a }\n" +"star_annotation[expr_ty]: ':' a=star_expression { a }\n" +"default[expr_ty]: '=' a=expression { a } | invalid_default\n" +"\n" +"# If statement\n" +"# ------------\n" +"\n" +"if_stmt[stmt_ty]:\n" +" | invalid_if_stmt\n" +" | 'if' a=named_expression ':' b=block c=elif_stmt {\n" +" _PyAST_If(a, b, CHECK(asdl_stmt_seq*, _PyPegen_singleton_seq(p, c)), " +"EXTRA) }\n" +" | 'if' a=named_expression ':' b=block c=[else_block] { _PyAST_If(a, b, " +"c, EXTRA) }\n" +"elif_stmt[stmt_ty]:\n" +" | invalid_elif_stmt\n" +" | 'elif' a=named_expression ':' b=block c=elif_stmt {\n" +" _PyAST_If(a, b, CHECK(asdl_stmt_seq*, _PyPegen_singleton_seq(p, c)), " +"EXTRA) }\n" +" | 'elif' a=named_expression ':' b=block c=[else_block] { _PyAST_If(a, b, " +"c, EXTRA) }\n" +"else_block[asdl_stmt_seq*]:\n" +" | invalid_else_stmt\n" +" | 'else' &&':' b=block { b }\n" +"\n" +"# While statement\n" +"# ---------------\n" +"\n" +"while_stmt[stmt_ty]:\n" +" | invalid_while_stmt\n" +" | 'while' a=named_expression ':' b=block c=[else_block] " +"{ _PyAST_While(a, b, c, EXTRA) }\n" +"\n" +"# For statement\n" +"# -------------\n" +"\n" +"for_stmt[stmt_ty]:\n" +" | invalid_for_stmt\n" +" | 'for' t=star_targets 'in' ~ ex=star_expressions ':' tc=[TYPE_COMMENT] " +"b=block el=[else_block] {\n" +" _PyAST_For(t, ex, b, el, NEW_TYPE_COMMENT(p, tc), EXTRA) }\n" +" | 'async' 'for' t=star_targets 'in' ~ ex=star_expressions ':' " +"tc=[TYPE_COMMENT] b=block el=[else_block] {\n" +" CHECK_VERSION(stmt_ty, 5, \"Async for loops are\", " +"_PyAST_AsyncFor(t, ex, b, el, NEW_TYPE_COMMENT(p, tc), EXTRA)) }\n" +" | invalid_for_target\n" +"\n" +"# With statement\n" +"# --------------\n" +"\n" +"with_stmt[stmt_ty]:\n" +" | invalid_with_stmt_indent\n" +" | 'with' '(' a[asdl_withitem_seq*]=','.with_item+ ','? ')' ':' " +"tc=[TYPE_COMMENT] b=block {\n" +" _PyAST_With(a, b, NEW_TYPE_COMMENT(p, tc), EXTRA) }\n" +" | 'with' a[asdl_withitem_seq*]=','.with_item+ ':' tc=[TYPE_COMMENT] " +"b=block {\n" +" _PyAST_With(a, b, NEW_TYPE_COMMENT(p, tc), EXTRA) }\n" +" | 'async' 'with' '(' a[asdl_withitem_seq*]=','.with_item+ ','? ')' ':' " +"b=block {\n" +" CHECK_VERSION(stmt_ty, 5, \"Async with statements are\", " +"_PyAST_AsyncWith(a, b, NULL, EXTRA)) }\n" +" | 'async' 'with' a[asdl_withitem_seq*]=','.with_item+ ':' " +"tc=[TYPE_COMMENT] b=block {\n" +" CHECK_VERSION(stmt_ty, 5, \"Async with statements are\", " +"_PyAST_AsyncWith(a, b, NEW_TYPE_COMMENT(p, tc), EXTRA)) }\n" +" | invalid_with_stmt\n" +"\n" +"with_item[withitem_ty]:\n" +" | e=expression 'as' t=star_target &(',' | ')' | ':') " +"{ _PyAST_withitem(e, t, p->arena) }\n" +" | invalid_with_item\n" +" | e=expression { _PyAST_withitem(e, NULL, p->arena) }\n" +"\n" +"# Try statement\n" +"# -------------\n" +"\n" +"try_stmt[stmt_ty]:\n" +" | invalid_try_stmt\n" +" | 'try' &&':' b=block f=finally_block { _PyAST_Try(b, NULL, NULL, f, " +"EXTRA) }\n" +" | 'try' &&':' b=block ex[asdl_excepthandler_seq*]=except_block+ " +"el=[else_block] f=[finally_block] { _PyAST_Try(b, ex, el, f, EXTRA) }\n" +" | 'try' &&':' b=block ex[asdl_excepthandler_seq*]=except_star_block+ " +"el=[else_block] f=[finally_block] {\n" +" CHECK_VERSION(stmt_ty, 11, \"Exception groups are\",\n" +" _PyAST_TryStar(b, ex, el, f, EXTRA)) }\n" +"\n" +"\n" +"# Except statement\n" +"# ----------------\n" +"\n" +"except_block[excepthandler_ty]:\n" +" | invalid_except_stmt_indent\n" +" | 'except' e=expression ':' b=block {\n" +" _PyAST_ExceptHandler(e, NULL, b, EXTRA) }\n" +" | 'except' e=expression 'as' t=NAME ':' b=block {\n" +" _PyAST_ExceptHandler(e, ((expr_ty) t)->v.Name.id, b, EXTRA) }\n" +" | 'except' e=expressions ':' b=block {\n" +" CHECK_VERSION(\n" +" excepthandler_ty,\n" +" 14,\n" +" \"except expressions without parentheses are\",\n" +" _PyAST_ExceptHandler(e, NULL, b, EXTRA)) }\n" +" | 'except' ':' b=block { _PyAST_ExceptHandler(NULL, NULL, b, EXTRA) }\n" +" | invalid_except_stmt\n" +"except_star_block[excepthandler_ty]:\n" +" | invalid_except_star_stmt_indent\n" +" | 'except' '*' e=expression ':' b=block {\n" +" _PyAST_ExceptHandler(e, NULL, b, EXTRA) }\n" +" | 'except' '*' e=expression 'as' t=NAME ':' b=block {\n" +" _PyAST_ExceptHandler(e, ((expr_ty) t)->v.Name.id, b, EXTRA) }\n" +" | 'except' '*' e=expressions ':' b=block {\n" +" CHECK_VERSION(\n" +" excepthandler_ty,\n" +" 14,\n" +" \"except expressions without parentheses are\",\n" +" _PyAST_ExceptHandler(e, NULL, b, EXTRA)) }\n" +" | invalid_except_star_stmt\n" +"finally_block[asdl_stmt_seq*]:\n" +" | invalid_finally_stmt\n" +" | 'finally' &&':' a=block { a }\n" +"\n" +"# Match statement\n" +"# ---------------\n" +"\n" +"match_stmt[stmt_ty]:\n" +" | \"match\" subject=subject_expr ':' NEWLINE INDENT " +"cases[asdl_match_case_seq*]=case_block+ DEDENT {\n" +" CHECK_VERSION(stmt_ty, 10, \"Pattern matching is\", " +"_PyAST_Match(subject, cases, EXTRA)) }\n" +" | invalid_match_stmt\n" +"\n" +"subject_expr[expr_ty]:\n" +" | value=star_named_expression ',' values=star_named_expressions? {\n" +" _PyAST_Tuple(CHECK(asdl_expr_seq*, _PyPegen_seq_insert_in_front(p, " +"value, values)), Load, EXTRA) }\n" +" | named_expression\n" +"\n" +"case_block[match_case_ty]:\n" +" | invalid_case_block\n" +" | \"case\" pattern=patterns guard=guard? ':' body=block {\n" +" _PyAST_match_case(pattern, guard, body, p->arena) }\n" +"\n" +"guard[expr_ty]: 'if' guard=named_expression { guard }\n" +"\n" +"patterns[pattern_ty]:\n" +" | patterns[asdl_pattern_seq*]=open_sequence_pattern {\n" +" _PyAST_MatchSequence(patterns, EXTRA) }\n" +" | pattern\n" +"\n" +"pattern[pattern_ty]:\n" +" | as_pattern\n" +" | or_pattern\n" +"\n" +"as_pattern[pattern_ty]:\n" +" | pattern=or_pattern 'as' target=pattern_capture_target {\n" +" _PyAST_MatchAs(pattern, target->v.Name.id, EXTRA) }\n" +" | invalid_as_pattern\n" +"\n" +"or_pattern[pattern_ty]:\n" +" | patterns[asdl_pattern_seq*]='|'.closed_pattern+ {\n" +" asdl_seq_LEN(patterns) == 1 ? asdl_seq_GET(patterns, 0) : " +"_PyAST_MatchOr(patterns, EXTRA) }\n" +"\n" +"closed_pattern[pattern_ty] (memo):\n" +" | literal_pattern\n" +" | capture_pattern\n" +" | wildcard_pattern\n" +" | value_pattern\n" +" | group_pattern\n" +" | sequence_pattern\n" +" | mapping_pattern\n" +" | class_pattern\n" +"\n" +"# Literal patterns are used for equality and identity constraints\n" +"literal_pattern[pattern_ty]:\n" +" | value=signed_number !('+' | '-') { _PyAST_MatchValue(value, EXTRA) }\n" +" | value=complex_number { _PyAST_MatchValue(value, EXTRA) }\n" +" | value=strings { _PyAST_MatchValue(value, EXTRA) }\n" +" | 'None' { _PyAST_MatchSingleton(Py_None, EXTRA) }\n" +" | 'True' { _PyAST_MatchSingleton(Py_True, EXTRA) }\n" +" | 'False' { _PyAST_MatchSingleton(Py_False, EXTRA) }\n" +"\n" +"# Literal expressions are used to restrict permitted mapping pattern keys\n" +"literal_expr[expr_ty]:\n" +" | signed_number !('+' | '-')\n" +" | complex_number\n" +" | &(STRING|FSTRING_START|TSTRING_START) strings\n" +" | 'None' { _PyAST_Constant(Py_None, NULL, EXTRA) }\n" +" | 'True' { _PyAST_Constant(Py_True, NULL, EXTRA) }\n" +" | 'False' { _PyAST_Constant(Py_False, NULL, EXTRA) }\n" +"\n" +"complex_number[expr_ty]:\n" +" | real=signed_real_number '+' imag=imaginary_number {\n" +" _PyAST_BinOp(real, Add, imag, EXTRA) }\n" +" | real=signed_real_number '-' imag=imaginary_number {\n" +" _PyAST_BinOp(real, Sub, imag, EXTRA) }\n" +"\n" +"signed_number[expr_ty]:\n" +" | NUMBER\n" +" | '-' number=NUMBER { _PyAST_UnaryOp(USub, number, EXTRA) }\n" +"\n" +"signed_real_number[expr_ty]:\n" +" | real_number\n" +" | '-' real=real_number { _PyAST_UnaryOp(USub, real, EXTRA) }\n" +"\n" +"real_number[expr_ty]:\n" +" | real=NUMBER { _PyPegen_ensure_real(p, real) }\n" +"\n" +"imaginary_number[expr_ty]:\n" +" | imag=NUMBER { _PyPegen_ensure_imaginary(p, imag) }\n" +"\n" +"capture_pattern[pattern_ty]:\n" +" | target=pattern_capture_target { _PyAST_MatchAs(NULL, target->v.Name." +"id, EXTRA) }\n" +"\n" +"pattern_capture_target[expr_ty]:\n" +" | !\"_\" name=NAME !('.' | '(' | '=') {\n" +" _PyPegen_set_expr_context(p, name, Store) }\n" +"\n" +"wildcard_pattern[pattern_ty]:\n" +" | \"_\" { _PyAST_MatchAs(NULL, NULL, EXTRA) }\n" +"\n" +"value_pattern[pattern_ty]:\n" +" | attr=attr !('.' | '(' | '=') { _PyAST_MatchValue(attr, EXTRA) }\n" +"\n" +"attr[expr_ty]:\n" +" | value=name_or_attr '.' attr=NAME {\n" +" _PyAST_Attribute(value, attr->v.Name.id, Load, EXTRA) }\n" +"\n" +"name_or_attr[expr_ty]:\n" +" | attr\n" +" | NAME\n" +"\n" +"group_pattern[pattern_ty]:\n" +" | '(' pattern=pattern ')' { pattern }\n" +"\n" +"sequence_pattern[pattern_ty]:\n" +" | '[' patterns=maybe_sequence_pattern? " +"']' { _PyAST_MatchSequence(patterns, EXTRA) }\n" +" | '(' patterns=open_sequence_pattern? " +"')' { _PyAST_MatchSequence(patterns, EXTRA) }\n" +"\n" +"open_sequence_pattern[asdl_seq*]:\n" +" | pattern=maybe_star_pattern ',' patterns=maybe_sequence_pattern? {\n" +" _PyPegen_seq_insert_in_front(p, pattern, patterns) }\n" +"\n" +"maybe_sequence_pattern[asdl_seq*]:\n" +" | patterns=','.maybe_star_pattern+ ','? { patterns }\n" +"\n" +"maybe_star_pattern[pattern_ty]:\n" +" | star_pattern\n" +" | pattern\n" +"\n" +"star_pattern[pattern_ty] (memo):\n" +" | '*' target=pattern_capture_target {\n" +" _PyAST_MatchStar(target->v.Name.id, EXTRA) }\n" +" | '*' wildcard_pattern {\n" +" _PyAST_MatchStar(NULL, EXTRA) }\n" +"\n" +"mapping_pattern[pattern_ty]:\n" +" | '{' '}' {\n" +" _PyAST_MatchMapping(NULL, NULL, NULL, EXTRA) }\n" +" | '{' rest=double_star_pattern ','? '}' {\n" +" _PyAST_MatchMapping(NULL, NULL, rest->v.Name.id, EXTRA) }\n" +" | '{' items=items_pattern ',' rest=double_star_pattern ','? '}' {\n" +" _PyAST_MatchMapping(\n" +" CHECK(asdl_expr_seq*, _PyPegen_get_pattern_keys(p, items)),\n" +" CHECK(asdl_pattern_seq*, _PyPegen_get_patterns(p, items)),\n" +" rest->v.Name.id,\n" +" EXTRA) }\n" +" | '{' items=items_pattern ','? '}' {\n" +" _PyAST_MatchMapping(\n" +" CHECK(asdl_expr_seq*, _PyPegen_get_pattern_keys(p, items)),\n" +" CHECK(asdl_pattern_seq*, _PyPegen_get_patterns(p, items)),\n" +" NULL,\n" +" EXTRA) }\n" +"\n" +"items_pattern[asdl_seq*]:\n" +" | ','.key_value_pattern+\n" +"\n" +"key_value_pattern[KeyPatternPair*]:\n" +" | key=(literal_expr | attr) ':' pattern=pattern {\n" +" _PyPegen_key_pattern_pair(p, key, pattern) }\n" +"\n" +"double_star_pattern[expr_ty]:\n" +" | '**' target=pattern_capture_target { target }\n" +"\n" +"class_pattern[pattern_ty]:\n" +" | cls=name_or_attr '(' ')' {\n" +" _PyAST_MatchClass(cls, NULL, NULL, NULL, EXTRA) }\n" +" | cls=name_or_attr '(' patterns=positional_patterns ','? ')' {\n" +" _PyAST_MatchClass(cls, patterns, NULL, NULL, EXTRA) }\n" +" | cls=name_or_attr '(' keywords=keyword_patterns ','? ')' {\n" +" _PyAST_MatchClass(\n" +" cls, NULL,\n" +" CHECK(asdl_identifier_seq*, _PyPegen_map_names_to_ids(p,\n" +" CHECK(asdl_expr_seq*, _PyPegen_get_pattern_keys(p, " +"keywords)))),\n" +" CHECK(asdl_pattern_seq*, _PyPegen_get_patterns(p, keywords)),\n" +" EXTRA) }\n" +" | cls=name_or_attr '(' patterns=positional_patterns ',' " +"keywords=keyword_patterns ','? ')' {\n" +" _PyAST_MatchClass(\n" +" cls,\n" +" patterns,\n" +" CHECK(asdl_identifier_seq*, _PyPegen_map_names_to_ids(p,\n" +" CHECK(asdl_expr_seq*, _PyPegen_get_pattern_keys(p, " +"keywords)))),\n" +" CHECK(asdl_pattern_seq*, _PyPegen_get_patterns(p, keywords)),\n" +" EXTRA) }\n" +" | invalid_class_pattern\n" +"\n" +"positional_patterns[asdl_pattern_seq*]:\n" +" | args[asdl_pattern_seq*]=','.pattern+ { args }\n" +"\n" +"keyword_patterns[asdl_seq*]:\n" +" | ','.keyword_pattern+\n" +"\n" +"keyword_pattern[KeyPatternPair*]:\n" +" | arg=NAME '=' value=pattern { _PyPegen_key_pattern_pair(p, arg, " +"value) }\n" +"\n" +"# Type statement\n" +"# ---------------\n" +"\n" +"type_alias[stmt_ty]:\n" +" | \"type\" n=NAME t=[type_params] '=' b=expression {\n" +" CHECK_VERSION(stmt_ty, 12, \"Type statement is\",\n" +" _PyAST_TypeAlias(CHECK(expr_ty, _PyPegen_set_expr_context(p, n, " +"Store)), t, b, EXTRA)) }\n" +"\n" +"# Type parameter declaration\n" +"# --------------------------\n" +"\n" +"type_params[asdl_type_param_seq*]:\n" +" | invalid_type_params\n" +" | '[' t=type_param_seq ']' {\n" +" CHECK_VERSION(asdl_type_param_seq *, 12, \"Type parameter lists " +"are\", t) }\n" +"\n" +"type_param_seq[asdl_type_param_seq*]: a[asdl_type_param_seq*]=','." +"type_param+ [','] { a }\n" +"\n" +"type_param[type_param_ty] (memo):\n" +" | a=NAME b=[type_param_bound] c=[type_param_default] { _PyAST_TypeVar(a-" +">v.Name.id, b, c, EXTRA) }\n" +" | invalid_type_param\n" +" | '*' a=NAME b=[type_param_starred_default] { _PyAST_TypeVarTuple(a->v." +"Name.id, b, EXTRA) }\n" +" | '**' a=NAME b=[type_param_default] { _PyAST_ParamSpec(a->v.Name.id, b, " +"EXTRA) }\n" +"\n" +"type_param_bound[expr_ty]: ':' e=expression { e }\n" +"type_param_default[expr_ty]: '=' e=expression {\n" +" CHECK_VERSION(expr_ty, 13, \"Type parameter defaults are\", e) }\n" +"type_param_starred_default[expr_ty]: '=' e=star_expression {\n" +" CHECK_VERSION(expr_ty, 13, \"Type parameter defaults are\", e) }\n" +"\n" +"# EXPRESSIONS\n" +"# -----------\n" +"\n" +"expressions[expr_ty]:\n" +" | a=expression b=(',' c=expression { c })+ [','] {\n" +" _PyAST_Tuple(CHECK(asdl_expr_seq*, _PyPegen_seq_insert_in_front(p, " +"a, b)), Load, EXTRA) }\n" +" | a=expression ',' { _PyAST_Tuple(CHECK(asdl_expr_seq*, " +"_PyPegen_singleton_seq(p, a)), Load, EXTRA) }\n" +" | expression\n" +"\n" +"expression[expr_ty] (memo):\n" +" | invalid_expression\n" +" | invalid_legacy_expression\n" +" | a=disjunction 'if' b=disjunction 'else' c=expression { _PyAST_IfExp(b, " +"a, c, EXTRA) }\n" +" | disjunction\n" +" | lambdef\n" +"\n" +"yield_expr[expr_ty]:\n" +" | 'yield' 'from' a=expression { _PyAST_YieldFrom(a, EXTRA) }\n" +" | 'yield' a=[star_expressions] { _PyAST_Yield(a, EXTRA) }\n" +"\n" +"star_expressions[expr_ty]:\n" +" | a=star_expression b=(',' c=star_expression { c })+ [','] {\n" +" _PyAST_Tuple(CHECK(asdl_expr_seq*, _PyPegen_seq_insert_in_front(p, " +"a, b)), Load, EXTRA) }\n" +" | a=star_expression ',' { _PyAST_Tuple(CHECK(asdl_expr_seq*, " +"_PyPegen_singleton_seq(p, a)), Load, EXTRA) }\n" +" | star_expression\n" +"\n" +"star_expression[expr_ty] (memo):\n" +" | '*' a=bitwise_or { _PyAST_Starred(a, Load, EXTRA) }\n" +" | expression\n" +"\n" +"star_named_expressions[asdl_expr_seq*]: a[asdl_expr_seq*]=','." +"star_named_expression+ [','] { a }\n" +"\n" +"star_named_expression[expr_ty]:\n" +" | '*' a=bitwise_or { _PyAST_Starred(a, Load, EXTRA) }\n" +" | named_expression\n" +"\n" +"assignment_expression[expr_ty]:\n" +" | a=NAME ':=' ~ b=expression {\n" +" CHECK_VERSION(expr_ty, 8, \"Assignment expressions are\",\n" +" _PyAST_NamedExpr(CHECK(expr_ty, _PyPegen_set_expr_context(p, a, " +"Store)), b, EXTRA)) }\n" +"\n" +"named_expression[expr_ty]:\n" +" | assignment_expression\n" +" | invalid_named_expression\n" +" | expression !':='\n" +"\n" +"disjunction[expr_ty] (memo):\n" +" | a=conjunction b=('or' c=conjunction { c })+ { _PyAST_BoolOp(\n" +" Or,\n" +" CHECK(asdl_expr_seq*, _PyPegen_seq_insert_in_front(p, a, b)),\n" +" EXTRA) }\n" +" | conjunction\n" +"\n" +"conjunction[expr_ty] (memo):\n" +" | a=inversion b=('and' c=inversion { c })+ { _PyAST_BoolOp(\n" +" And,\n" +" CHECK(asdl_expr_seq*, _PyPegen_seq_insert_in_front(p, a, b)),\n" +" EXTRA) }\n" +" | inversion\n" +"\n" +"inversion[expr_ty] (memo):\n" +" | 'not' a=inversion { _PyAST_UnaryOp(Not, a, EXTRA) }\n" +" | comparison\n" +"\n" +"# Comparison operators\n" +"# --------------------\n" +"\n" +"comparison[expr_ty]:\n" +" | a=bitwise_or b=compare_op_bitwise_or_pair+ {\n" +" _PyAST_Compare(\n" +" a,\n" +" CHECK(asdl_int_seq*, _PyPegen_get_cmpops(p, b)),\n" +" CHECK(asdl_expr_seq*, _PyPegen_get_exprs(p, b)),\n" +" EXTRA) }\n" +" | bitwise_or\n" +"\n" +"compare_op_bitwise_or_pair[CmpopExprPair*]:\n" +" | eq_bitwise_or\n" +" | noteq_bitwise_or\n" +" | lte_bitwise_or\n" +" | lt_bitwise_or\n" +" | gte_bitwise_or\n" +" | gt_bitwise_or\n" +" | notin_bitwise_or\n" +" | in_bitwise_or\n" +" | isnot_bitwise_or\n" +" | is_bitwise_or\n" +"\n" +"eq_bitwise_or[CmpopExprPair*]: '==' a=bitwise_or " +"{ _PyPegen_cmpop_expr_pair(p, Eq, a) }\n" +"noteq_bitwise_or[CmpopExprPair*]:\n" +" | (tok='!=' { _PyPegen_check_barry_as_flufl(p, tok) ? NULL : tok}) " +"a=bitwise_or {_PyPegen_cmpop_expr_pair(p, NotEq, a) }\n" +"lte_bitwise_or[CmpopExprPair*]: '<=' a=bitwise_or " +"{ _PyPegen_cmpop_expr_pair(p, LtE, a) }\n" +"lt_bitwise_or[CmpopExprPair*]: '<' a=bitwise_or " +"{ _PyPegen_cmpop_expr_pair(p, Lt, a) }\n" +"gte_bitwise_or[CmpopExprPair*]: '>=' a=bitwise_or " +"{ _PyPegen_cmpop_expr_pair(p, GtE, a) }\n" +"gt_bitwise_or[CmpopExprPair*]: '>' a=bitwise_or " +"{ _PyPegen_cmpop_expr_pair(p, Gt, a) }\n" +"notin_bitwise_or[CmpopExprPair*]: 'not' 'in' a=bitwise_or " +"{ _PyPegen_cmpop_expr_pair(p, NotIn, a) }\n" +"in_bitwise_or[CmpopExprPair*]: 'in' a=bitwise_or " +"{ _PyPegen_cmpop_expr_pair(p, In, a) }\n" +"isnot_bitwise_or[CmpopExprPair*]: 'is' 'not' a=bitwise_or " +"{ _PyPegen_cmpop_expr_pair(p, IsNot, a) }\n" +"is_bitwise_or[CmpopExprPair*]: 'is' a=bitwise_or " +"{ _PyPegen_cmpop_expr_pair(p, Is, a) }\n" +"\n" +"# Bitwise operators\n" +"# -----------------\n" +"\n" +"bitwise_or[expr_ty]:\n" +" | a=bitwise_or '|' b=bitwise_xor { _PyAST_BinOp(a, BitOr, b, EXTRA) }\n" +" | bitwise_xor\n" +"\n" +"bitwise_xor[expr_ty]:\n" +" | a=bitwise_xor '^' b=bitwise_and { _PyAST_BinOp(a, BitXor, b, EXTRA) }\n" +" | bitwise_and\n" +"\n" +"bitwise_and[expr_ty]:\n" +" | a=bitwise_and '&' b=shift_expr { _PyAST_BinOp(a, BitAnd, b, EXTRA) }\n" +" | shift_expr\n" +"\n" +"shift_expr[expr_ty]:\n" +" | a=shift_expr '<<' b=sum { _PyAST_BinOp(a, LShift, b, EXTRA) }\n" +" | a=shift_expr '>>' b=sum { _PyAST_BinOp(a, RShift, b, EXTRA) }\n" +" | invalid_arithmetic\n" +" | sum\n" +"\n" +"# Arithmetic operators\n" +"# --------------------\n" +"\n" +"sum[expr_ty]:\n" +" | a=sum '+' b=term { _PyAST_BinOp(a, Add, b, EXTRA) }\n" +" | a=sum '-' b=term { _PyAST_BinOp(a, Sub, b, EXTRA) }\n" +" | term\n" +"\n" +"term[expr_ty]:\n" +" | a=term '*' b=factor { _PyAST_BinOp(a, Mult, b, EXTRA) }\n" +" | a=term '/' b=factor { _PyAST_BinOp(a, Div, b, EXTRA) }\n" +" | a=term '//' b=factor { _PyAST_BinOp(a, FloorDiv, b, EXTRA) }\n" +" | a=term '%' b=factor { _PyAST_BinOp(a, Mod, b, EXTRA) }\n" +" | a=term '@' b=factor { CHECK_VERSION(expr_ty, 5, \"The '@' operator " +"is\", _PyAST_BinOp(a, MatMult, b, EXTRA)) }\n" +" | invalid_factor\n" +" | factor\n" +"\n" +"factor[expr_ty] (memo):\n" +" | '+' a=factor { _PyAST_UnaryOp(UAdd, a, EXTRA) }\n" +" | '-' a=factor { _PyAST_UnaryOp(USub, a, EXTRA) }\n" +" | '~' a=factor { _PyAST_UnaryOp(Invert, a, EXTRA) }\n" +" | power\n" +"\n" +"power[expr_ty]:\n" +" | a=await_primary '**' b=factor { _PyAST_BinOp(a, Pow, b, EXTRA) }\n" +" | await_primary\n" +"\n" +"# Primary elements\n" +"# ----------------\n" +"\n" +"# Primary elements are things like \"obj.something.something\", " +"\"obj[something]\", \"obj(something)\", \"obj\" ...\n" +"\n" +"await_primary[expr_ty] (memo):\n" +" | 'await' a=primary { CHECK_VERSION(expr_ty, 5, \"Await expressions " +"are\", _PyAST_Await(a, EXTRA)) }\n" +" | primary\n" +"\n" +"primary[expr_ty]:\n" +" | a=primary '.' b=NAME { _PyAST_Attribute(a, b->v.Name.id, Load, " +"EXTRA) }\n" +" | a=primary b=genexp { _PyAST_Call(a, CHECK(asdl_expr_seq*, " +"(asdl_expr_seq*)_PyPegen_singleton_seq(p, b)), NULL, EXTRA) }\n" +" | a=primary '(' b=[arguments] ')' {\n" +" _PyAST_Call(a,\n" +" (b) ? ((expr_ty) b)->v.Call.args : NULL,\n" +" (b) ? ((expr_ty) b)->v.Call.keywords : NULL,\n" +" EXTRA) }\n" +" | a=primary '[' b=slices ']' { _PyAST_Subscript(a, b, Load, EXTRA) }\n" +" | atom\n" +"\n" +"slices[expr_ty]:\n" +" | a=slice !',' { a }\n" +" | a[asdl_expr_seq*]=','.(slice | starred_expression)+ [','] " +"{ _PyAST_Tuple(a, Load, EXTRA) }\n" +"\n" +"slice[expr_ty]:\n" +" | a=[expression] ':' b=[expression] c=[':' d=[expression] { d }] " +"{ _PyAST_Slice(a, b, c, EXTRA) }\n" +" | a=named_expression { a }\n" +"\n" +"atom[expr_ty]:\n" +" | NAME\n" +" | 'True' { _PyAST_Constant(Py_True, NULL, EXTRA) }\n" +" | 'False' { _PyAST_Constant(Py_False, NULL, EXTRA) }\n" +" | 'None' { _PyAST_Constant(Py_None, NULL, EXTRA) }\n" +" | &(STRING|FSTRING_START|TSTRING_START) strings\n" +" | NUMBER\n" +" | &'(' (tuple | group | genexp)\n" +" | &'[' (list | listcomp)\n" +" | &'{' (dict | set | dictcomp | setcomp)\n" +" | '...' { _PyAST_Constant(Py_Ellipsis, NULL, EXTRA) }\n" +"\n" +"group[expr_ty]:\n" +" | '(' a=(yield_expr | named_expression) ')' { a }\n" +" | invalid_group\n" +"\n" +"# Lambda functions\n" +"# ----------------\n" +"\n" +"lambdef[expr_ty]:\n" +" | 'lambda' a=[lambda_params] ':' b=expression {\n" +" _PyAST_Lambda((a) ? a : CHECK(arguments_ty, " +"_PyPegen_empty_arguments(p)), b, EXTRA) }\n" +"\n" +"lambda_params[arguments_ty]:\n" +" | invalid_lambda_parameters\n" +" | lambda_parameters\n" +"\n" +"# lambda_parameters etc. duplicates parameters but without annotations\n" +"# or type comments, and if there's no comma after a parameter, we expect\n" +"# a colon, not a close parenthesis. (For more, see parameters above.)\n" +"#\n" +"lambda_parameters[arguments_ty]:\n" +" | a=lambda_slash_no_default b[asdl_arg_seq*]=lambda_param_no_default* " +"c=lambda_param_with_default* d=[lambda_star_etc] {\n" +" CHECK_VERSION(arguments_ty, 8, \"Positional-only parameters are\", " +"_PyPegen_make_arguments(p, a, NULL, b, c, d)) }\n" +" | a=lambda_slash_with_default b=lambda_param_with_default* " +"c=[lambda_star_etc] {\n" +" CHECK_VERSION(arguments_ty, 8, \"Positional-only parameters are\", " +"_PyPegen_make_arguments(p, NULL, a, NULL, b, c)) }\n" +" | a[asdl_arg_seq*]=lambda_param_no_default+ b=lambda_param_with_default* " +"c=[lambda_star_etc] {\n" +" _PyPegen_make_arguments(p, NULL, NULL, a, b, c) }\n" +" | a=lambda_param_with_default+ b=[lambda_star_etc] " +"{ _PyPegen_make_arguments(p, NULL, NULL, NULL, a, b)}\n" +" | a=lambda_star_etc { _PyPegen_make_arguments(p, NULL, NULL, NULL, NULL, " +"a) }\n" +"\n" +"lambda_slash_no_default[asdl_arg_seq*]:\n" +" | a[asdl_arg_seq*]=lambda_param_no_default+ '/' ',' { a }\n" +" | a[asdl_arg_seq*]=lambda_param_no_default+ '/' &':' { a }\n" +"\n" +"lambda_slash_with_default[SlashWithDefault*]:\n" +" | a=lambda_param_no_default* b=lambda_param_with_default+ '/' " +"',' { _PyPegen_slash_with_default(p, (asdl_arg_seq *)a, b) }\n" +" | a=lambda_param_no_default* b=lambda_param_with_default+ '/' " +"&':' { _PyPegen_slash_with_default(p, (asdl_arg_seq *)a, b) }\n" +"\n" +"lambda_star_etc[StarEtc*]:\n" +" | invalid_lambda_star_etc\n" +" | '*' a=lambda_param_no_default b=lambda_param_maybe_default* " +"c=[lambda_kwds] {\n" +" _PyPegen_star_etc(p, a, b, c) }\n" +" | '*' ',' b=lambda_param_maybe_default+ c=[lambda_kwds] {\n" +" _PyPegen_star_etc(p, NULL, b, c) }\n" +" | a=lambda_kwds { _PyPegen_star_etc(p, NULL, NULL, a) }\n" +"\n" +"lambda_kwds[arg_ty]:\n" +" | invalid_lambda_kwds\n" +" | '**' a=lambda_param_no_default { a }\n" +"\n" +"lambda_param_no_default[arg_ty]:\n" +" | a=lambda_param ',' { a }\n" +" | a=lambda_param &':' { a }\n" +"lambda_param_with_default[NameDefaultPair*]:\n" +" | a=lambda_param c=default ',' { _PyPegen_name_default_pair(p, a, c, " +"NULL) }\n" +" | a=lambda_param c=default &':' { _PyPegen_name_default_pair(p, a, c, " +"NULL) }\n" +"lambda_param_maybe_default[NameDefaultPair*]:\n" +" | a=lambda_param c=default? ',' { _PyPegen_name_default_pair(p, a, c, " +"NULL) }\n" +" | a=lambda_param c=default? &':' { _PyPegen_name_default_pair(p, a, c, " +"NULL) }\n" +"lambda_param[arg_ty]: a=NAME { _PyAST_arg(a->v.Name.id, NULL, NULL, " +"EXTRA) }\n" +"\n" +"# LITERALS\n" +"# ========\n" +"\n" +"fstring_middle[expr_ty]:\n" +" | fstring_replacement_field\n" +" | t=FSTRING_MIDDLE { _PyPegen_constant_from_token(p, t) }\n" +"fstring_replacement_field[expr_ty]:\n" +" | '{' a=annotated_rhs debug_expr='='? conversion=[fstring_conversion] " +"format=[fstring_full_format_spec] rbrace='}' {\n" +" _PyPegen_formatted_value(p, a, debug_expr, conversion, format, " +"rbrace, EXTRA) }\n" +" | invalid_fstring_replacement_field\n" +"fstring_conversion[ResultTokenWithMetadata*]:\n" +" | conv_token=\"!\" conv=NAME { _PyPegen_check_fstring_conversion(p, " +"conv_token, conv) }\n" +"fstring_full_format_spec[ResultTokenWithMetadata*]:\n" +" | colon=':' spec=fstring_format_spec* " +"{ _PyPegen_setup_full_format_spec(p, colon, (asdl_expr_seq *) spec, " +"EXTRA) }\n" +"fstring_format_spec[expr_ty]:\n" +" | t=FSTRING_MIDDLE { _PyPegen_decoded_constant_from_token(p, t) }\n" +" | fstring_replacement_field\n" +"fstring[expr_ty]:\n" +" | a=FSTRING_START b=fstring_middle* c=FSTRING_END " +"{ _PyPegen_joined_str(p, a, (asdl_expr_seq*)b, c) }\n" +"\n" +"tstring_format_spec_replacement_field[expr_ty]:\n" +" | '{' a=annotated_rhs debug_expr='='? conversion=[fstring_conversion] " +"format=[tstring_full_format_spec] rbrace='}' {\n" +" _PyPegen_formatted_value(p, a, debug_expr, conversion, format, " +"rbrace, EXTRA) }\n" +" | invalid_tstring_replacement_field\n" +"tstring_format_spec[expr_ty]:\n" +" | t=TSTRING_MIDDLE { _PyPegen_decoded_constant_from_token(p, t) }\n" +" | tstring_format_spec_replacement_field\n" +"tstring_full_format_spec[ResultTokenWithMetadata*]:\n" +" | colon=':' spec=tstring_format_spec* " +"{ _PyPegen_setup_full_format_spec(p, colon, (asdl_expr_seq *) spec, " +"EXTRA) }\n" +"tstring_replacement_field[expr_ty]:\n" +" | '{' a=annotated_rhs debug_expr='='? conversion=[fstring_conversion] " +"format=[tstring_full_format_spec] rbrace='}' {\n" +" _PyPegen_interpolation(p, a, debug_expr, conversion, format, rbrace, " +"EXTRA) }\n" +" | invalid_tstring_replacement_field\n" +"tstring_middle[expr_ty]:\n" +" | tstring_replacement_field\n" +" | t=TSTRING_MIDDLE { _PyPegen_constant_from_token(p, t) }\n" +"tstring[expr_ty] (memo):\n" +" | a=TSTRING_START b=tstring_middle* c=TSTRING_END {\n" +" CHECK_VERSION(\n" +" expr_ty,\n" +" 14,\n" +" \"t-strings are\",\n" +" _PyPegen_template_str(p, a, (asdl_expr_seq*)b, c)) }\n" +"\n" +"string[expr_ty]: s[Token*]=STRING { _PyPegen_constant_from_string(p, s) }\n" +"strings[expr_ty] (memo): a[asdl_expr_seq*]=(fstring|string|tstring)+ " +"{ _PyPegen_concatenate_strings(p, a, EXTRA) }\n" +"\n" +"list[expr_ty]:\n" +" | '[' a=[star_named_expressions] ']' { _PyAST_List(a, Load, EXTRA) }\n" +"\n" +"tuple[expr_ty]:\n" +" | '(' a=[y=star_named_expression ',' z=[star_named_expressions] " +"{ _PyPegen_seq_insert_in_front(p, y, z) } ] ')' {\n" +" _PyAST_Tuple(a, Load, EXTRA) }\n" +"\n" +"set[expr_ty]: '{' a=star_named_expressions '}' { _PyAST_Set(a, EXTRA) }\n" +"\n" +"# Dicts\n" +"# -----\n" +"\n" +"dict[expr_ty]:\n" +" | '{' a=[double_starred_kvpairs] '}' {\n" +" _PyAST_Dict(\n" +" CHECK(asdl_expr_seq*, _PyPegen_get_keys(p, a)),\n" +" CHECK(asdl_expr_seq*, _PyPegen_get_values(p, a)),\n" +" EXTRA) }\n" +" | '{' invalid_double_starred_kvpairs '}'\n" +"\n" +"double_starred_kvpairs[asdl_seq*]: a=','.double_starred_kvpair+ [','] { a }\n" +"\n" +"double_starred_kvpair[KeyValuePair*]:\n" +" | '**' a=bitwise_or { _PyPegen_key_value_pair(p, NULL, a) }\n" +" | kvpair\n" +"\n" +"kvpair[KeyValuePair*]: a=expression ':' b=expression " +"{ _PyPegen_key_value_pair(p, a, b) }\n" +"\n" +"# Comprehensions & Generators\n" +"# ---------------------------\n" +"\n" +"for_if_clauses[asdl_comprehension_seq*]:\n" +" | a[asdl_comprehension_seq*]=for_if_clause+ { a }\n" +"\n" +"for_if_clause[comprehension_ty]:\n" +" | 'async' 'for' a=star_targets 'in' ~ b=disjunction " +"c[asdl_expr_seq*]=('if' z=disjunction { z })* {\n" +" CHECK_VERSION(comprehension_ty, 6, \"Async comprehensions are\", " +"_PyAST_comprehension(a, b, c, 1, p->arena)) }\n" +" | 'for' a=star_targets 'in' ~ b=disjunction c[asdl_expr_seq*]=('if' " +"z=disjunction { z })* {\n" +" _PyAST_comprehension(a, b, c, 0, p->arena) }\n" +" | invalid_for_if_clause\n" +" | invalid_for_target\n" +"\n" +"listcomp[expr_ty]:\n" +" | '[' a=named_expression b=for_if_clauses ']' { _PyAST_ListComp(a, b, " +"EXTRA) }\n" +" | invalid_comprehension\n" +"\n" +"setcomp[expr_ty]:\n" +" | '{' a=named_expression b=for_if_clauses '}' { _PyAST_SetComp(a, b, " +"EXTRA) }\n" +" | invalid_comprehension\n" +"\n" +"genexp[expr_ty]:\n" +" | '(' a=( assignment_expression | expression !':=') b=for_if_clauses " +"')' { _PyAST_GeneratorExp(a, b, EXTRA) }\n" +" | invalid_comprehension\n" +"\n" +"dictcomp[expr_ty]:\n" +" | '{' a=kvpair b=for_if_clauses '}' { _PyAST_DictComp(a->key, a->value, " +"b, EXTRA) }\n" +" | invalid_dict_comprehension\n" +"\n" +"# FUNCTION CALL ARGUMENTS\n" +"# =======================\n" +"\n" +"arguments[expr_ty] (memo):\n" +" | a=args [','] &')' { a }\n" +" | invalid_arguments\n" +"\n" +"args[expr_ty]:\n" +" | a[asdl_expr_seq*]=','.(starred_expression | ( assignment_expression | " +"expression !':=') !'=')+ b=[',' k=kwargs {k}] {\n" +" _PyPegen_collect_call_seqs(p, a, b, EXTRA) }\n" +" | a=kwargs { _PyAST_Call(_PyPegen_dummy_name(p),\n" +" CHECK_NULL_ALLOWED(asdl_expr_seq*, " +"_PyPegen_seq_extract_starred_exprs(p, a)),\n" +" CHECK_NULL_ALLOWED(asdl_keyword_seq*, " +"_PyPegen_seq_delete_starred_exprs(p, a)),\n" +" EXTRA) }\n" +"\n" +"kwargs[asdl_seq*]:\n" +" | a=','.kwarg_or_starred+ ',' b=','.kwarg_or_double_starred+ " +"{ _PyPegen_join_sequences(p, a, b) }\n" +" | ','.kwarg_or_starred+\n" +" | ','.kwarg_or_double_starred+\n" +"\n" +"starred_expression[expr_ty]:\n" +" | invalid_starred_expression_unpacking\n" +" | '*' a=expression { _PyAST_Starred(a, Load, EXTRA) }\n" +" | invalid_starred_expression\n" +"\n" +"kwarg_or_starred[KeywordOrStarred*]:\n" +" | invalid_kwarg\n" +" | a=NAME '=' b=expression {\n" +" _PyPegen_keyword_or_starred(p, CHECK(keyword_ty, _PyAST_keyword(a->v." +"Name.id, b, EXTRA)), 1) }\n" +" | a=starred_expression { _PyPegen_keyword_or_starred(p, a, 0) }\n" +"\n" +"kwarg_or_double_starred[KeywordOrStarred*]:\n" +" | invalid_kwarg\n" +" | a=NAME '=' b=expression {\n" +" _PyPegen_keyword_or_starred(p, CHECK(keyword_ty, _PyAST_keyword(a->v." +"Name.id, b, EXTRA)), 1) }\n" +" | '**' a=expression { _PyPegen_keyword_or_starred(p, CHECK(keyword_ty, " +"_PyAST_keyword(NULL, a, EXTRA)), 1) }\n" +"\n" +"# ASSIGNMENT TARGETS\n" +"# ==================\n" +"\n" +"# Generic targets\n" +"# ---------------\n" +"\n" +"# NOTE: star_targets may contain *bitwise_or, targets may not.\n" +"star_targets[expr_ty]:\n" +" | a=star_target !',' { a }\n" +" | a=star_target b=(',' c=star_target { c })* [','] {\n" +" _PyAST_Tuple(CHECK(asdl_expr_seq*, _PyPegen_seq_insert_in_front(p, " +"a, b)), Store, EXTRA) }\n" +"\n" +"star_targets_list_seq[asdl_expr_seq*]: a[asdl_expr_seq*]=','.star_target+ " +"[','] { a }\n" +"\n" +"star_targets_tuple_seq[asdl_expr_seq*]:\n" +" | a=star_target b=(',' c=star_target { c })+ [','] { (asdl_expr_seq*) " +"_PyPegen_seq_insert_in_front(p, a, b) }\n" +" | a=star_target ',' { (asdl_expr_seq*) _PyPegen_singleton_seq(p, a) }\n" +"\n" +"star_target[expr_ty] (memo):\n" +" | '*' a=(!'*' star_target) {\n" +" _PyAST_Starred(CHECK(expr_ty, _PyPegen_set_expr_context(p, a, " +"Store)), Store, EXTRA) }\n" +" | target_with_star_atom\n" +"\n" +"target_with_star_atom[expr_ty] (memo):\n" +" | a=t_primary '.' b=NAME !t_lookahead { _PyAST_Attribute(a, b->v.Name." +"id, Store, EXTRA) }\n" +" | a=t_primary '[' b=slices ']' !t_lookahead { _PyAST_Subscript(a, b, " +"Store, EXTRA) }\n" +" | star_atom\n" +"\n" +"star_atom[expr_ty]:\n" +" | a=NAME { _PyPegen_set_expr_context(p, a, Store) }\n" +" | '(' a=target_with_star_atom ')' { _PyPegen_set_expr_context(p, a, " +"Store) }\n" +" | '(' a=[star_targets_tuple_seq] ')' { _PyAST_Tuple(a, Store, EXTRA) }\n" +" | '[' a=[star_targets_list_seq] ']' { _PyAST_List(a, Store, EXTRA) }\n" +"\n" +"single_target[expr_ty]:\n" +" | single_subscript_attribute_target\n" +" | a=NAME { _PyPegen_set_expr_context(p, a, Store) }\n" +" | '(' a=single_target ')' { a }\n" +"\n" +"single_subscript_attribute_target[expr_ty]:\n" +" | a=t_primary '.' b=NAME !t_lookahead { _PyAST_Attribute(a, b->v.Name." +"id, Store, EXTRA) }\n" +" | a=t_primary '[' b=slices ']' !t_lookahead { _PyAST_Subscript(a, b, " +"Store, EXTRA) }\n" +"\n" +"t_primary[expr_ty]:\n" +" | a=t_primary '.' b=NAME &t_lookahead { _PyAST_Attribute(a, b->v.Name." +"id, Load, EXTRA) }\n" +" | a=t_primary '[' b=slices ']' &t_lookahead { _PyAST_Subscript(a, b, " +"Load, EXTRA) }\n" +" | a=t_primary b=genexp &t_lookahead {\n" +" _PyAST_Call(a, CHECK(asdl_expr_seq*, " +"(asdl_expr_seq*)_PyPegen_singleton_seq(p, b)), NULL, EXTRA) }\n" +" | a=t_primary '(' b=[arguments] ')' &t_lookahead {\n" +" _PyAST_Call(a,\n" +" (b) ? ((expr_ty) b)->v.Call.args : NULL,\n" +" (b) ? ((expr_ty) b)->v.Call.keywords : NULL,\n" +" EXTRA) }\n" +" | a=atom &t_lookahead { a }\n" +"\n" +"t_lookahead: '(' | '[' | '.'\n" +"\n" +"# Targets for del statements\n" +"# --------------------------\n" +"\n" +"del_targets[asdl_expr_seq*]: a[asdl_expr_seq*]=','.del_target+ [','] { a }\n" +"\n" +"del_target[expr_ty] (memo):\n" +" | a=t_primary '.' b=NAME !t_lookahead { _PyAST_Attribute(a, b->v.Name." +"id, Del, EXTRA) }\n" +" | a=t_primary '[' b=slices ']' !t_lookahead { _PyAST_Subscript(a, b, " +"Del, EXTRA) }\n" +" | del_t_atom\n" +"\n" +"del_t_atom[expr_ty]:\n" +" | a=NAME { _PyPegen_set_expr_context(p, a, Del) }\n" +" | '(' a=del_target ')' { _PyPegen_set_expr_context(p, a, Del) }\n" +" | '(' a=[del_targets] ')' { _PyAST_Tuple(a, Del, EXTRA) }\n" +" | '[' a=[del_targets] ']' { _PyAST_List(a, Del, EXTRA) }\n" +"\n" +"# TYPING ELEMENTS\n" +"# ---------------\n" +"\n" +"# type_expressions allow */** but ignore them\n" +"type_expressions[asdl_expr_seq*]:\n" +" | a=','.expression+ ',' '*' b=expression ',' '**' c=expression {\n" +" (asdl_expr_seq*)_PyPegen_seq_append_to_end(\n" +" p,\n" +" CHECK(asdl_seq*, _PyPegen_seq_append_to_end(p, a, b)),\n" +" c) }\n" +" | a=','.expression+ ',' '*' b=expression " +"{ (asdl_expr_seq*)_PyPegen_seq_append_to_end(p, a, b) }\n" +" | a=','.expression+ ',' '**' b=expression " +"{ (asdl_expr_seq*)_PyPegen_seq_append_to_end(p, a, b) }\n" +" | '*' a=expression ',' '**' b=expression {\n" +" (asdl_expr_seq*)_PyPegen_seq_append_to_end(\n" +" p,\n" +" CHECK(asdl_seq*, _PyPegen_singleton_seq(p, a)),\n" +" b) }\n" +" | '*' a=expression { (asdl_expr_seq*)_PyPegen_singleton_seq(p, a) }\n" +" | '**' a=expression { (asdl_expr_seq*)_PyPegen_singleton_seq(p, a) }\n" +" | a[asdl_expr_seq*]=','.expression+ {a}\n" +"\n" +"func_type_comment[Token*]:\n" +" | NEWLINE t=TYPE_COMMENT &(NEWLINE INDENT) { t } # Must be followed by " +"indented block\n" +" | invalid_double_type_comments\n" +" | TYPE_COMMENT\n" +"\n" +"# ========================= END OF THE GRAMMAR ===========================\n" +"\n" +"\n" +"\n" +"# ========================= START OF INVALID RULES =======================\n" +"\n" +"# From here on, there are rules for invalid syntax with specialised error " +"messages\n" +"invalid_arguments:\n" +" | ((','.(starred_expression | ( assignment_expression | expression !':" +"=') !'=')+ ',' kwargs) | kwargs) a=',' ','.(starred_expression !'=')+ {\n" +" RAISE_SYNTAX_ERROR_STARTING_FROM(a, \"iterable argument unpacking " +"follows keyword argument unpacking\") }\n" +" | a=expression b=for_if_clauses ',' [args | expression for_if_clauses] " +"{\n" +" RAISE_SYNTAX_ERROR_KNOWN_RANGE(a, " +"_PyPegen_get_last_comprehension_item(PyPegen_last_item(b, " +"comprehension_ty)), \"Generator expression must be parenthesized\") }\n" +" | a=NAME b='=' expression for_if_clauses {\n" +" RAISE_SYNTAX_ERROR_KNOWN_RANGE(a, b, \"invalid syntax. Maybe you " +"meant '==' or ':=' instead of '='?\")}\n" +" | (args ',')? a=NAME b='=' &(',' | ')') {\n" +" RAISE_SYNTAX_ERROR_KNOWN_RANGE(a, b, \"expected argument value " +"expression\")}\n" +" | a=args b=for_if_clauses { _PyPegen_nonparen_genexp_in_call(p, a, b) }\n" +" | args ',' a=expression b=for_if_clauses {\n" +" RAISE_SYNTAX_ERROR_KNOWN_RANGE(a, " +"_PyPegen_get_last_comprehension_item(PyPegen_last_item(b, " +"comprehension_ty)), \"Generator expression must be parenthesized\") }\n" +" | a=args ',' args { _PyPegen_arguments_parsing_error(p, a) }\n" +"invalid_kwarg:\n" +" | a[Token*]=('True'|'False'|'None') b='=' {\n" +" RAISE_SYNTAX_ERROR_KNOWN_RANGE(a, b, \"cannot assign to %s\", " +"PyBytes_AS_STRING(a->bytes)) }\n" +" | a=NAME b='=' expression for_if_clauses {\n" +" RAISE_SYNTAX_ERROR_KNOWN_RANGE(a, b, \"invalid syntax. Maybe you " +"meant '==' or ':=' instead of '='?\")}\n" +" | !(NAME '=') a=expression b='=' {\n" +" RAISE_SYNTAX_ERROR_KNOWN_RANGE(\n" +" a, b, \"expression cannot contain assignment, perhaps you meant " +"\\\"==\\\"?\") }\n" +" | a='**' expression '=' b=expression {\n" +" RAISE_SYNTAX_ERROR_KNOWN_RANGE(a, b, \"cannot assign to keyword " +"argument unpacking\") }\n" +"\n" +"# IMPORTANT: Note that the \"_without_invalid\" suffix causes the rule to " +"not call invalid rules under it\n" +"expression_without_invalid[expr_ty]:\n" +" | a=disjunction 'if' b=disjunction 'else' c=expression { _PyAST_IfExp(b, " +"a, c, EXTRA) }\n" +" | disjunction\n" +" | lambdef\n" +"invalid_legacy_expression:\n" +" | a=NAME !'(' b=star_expressions {\n" +" _PyPegen_check_legacy_stmt(p, a) ? RAISE_SYNTAX_ERROR_KNOWN_RANGE(a, " +"b,\n" +" \"Missing parentheses in call to '%U'. Did you mean %U(...)?\", " +"a->v.Name.id, a->v.Name.id) : NULL}\n" +"\n" +"invalid_type_param:\n" +" | '*' a=NAME colon=':' e=expression {\n" +" RAISE_SYNTAX_ERROR_STARTING_FROM(colon, e->kind == Tuple_kind\n" +" ? \"cannot use constraints with TypeVarTuple\"\n" +" : \"cannot use bound with TypeVarTuple\")\n" +" }\n" +" | '**' a=NAME colon=':' e=expression {\n" +" RAISE_SYNTAX_ERROR_STARTING_FROM(colon, e->kind == Tuple_kind\n" +" ? \"cannot use constraints with ParamSpec\"\n" +" : \"cannot use bound with ParamSpec\")\n" +" }\n" +"\n" +"invalid_expression:\n" +" | STRING a=(!STRING expression_without_invalid)+ STRING {\n" +" RAISE_SYNTAX_ERROR_KNOWN_RANGE( PyPegen_first_item(a, expr_ty), " +"PyPegen_last_item(a, expr_ty),\n" +" \"invalid syntax. Is this intended to be part of the string?\") }\n" +" # !(NAME STRING) is not matched so we don't show this error with some " +"invalid string prefixes like: kf\"dsfsdf\"\n" +" # Soft keywords need to also be ignored because they can be parsed as " +"NAME NAME\n" +" | !(NAME STRING | SOFT_KEYWORD) a=disjunction " +"b=expression_without_invalid {\n" +" _PyPegen_check_legacy_stmt(p, a) ? NULL : p->tokens[p->mark-1]-" +">level == 0 ? NULL :\n" +" RAISE_SYNTAX_ERROR_KNOWN_RANGE(a, b, \"invalid syntax. Perhaps you " +"forgot a comma?\") }\n" +" | a=disjunction 'if' b=disjunction !('else'|':') " +"{ RAISE_SYNTAX_ERROR_KNOWN_RANGE(a, b, \"expected 'else' after 'if' " +"expression\") }\n" +" | a=disjunction 'if' b=disjunction 'else' !expression {\n" +" RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(\"expected expression after 'else', " +"but statement is given\") }\n" +" | a[stmt_ty]=(pass_stmt|break_stmt|continue_stmt) 'if' b=disjunction " +"'else' c=simple_stmt {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION (a, \"expected expression before " +"'if', but statement is given\") }\n" +" | a='lambda' [lambda_params] b=':' &FSTRING_MIDDLE {\n" +" RAISE_SYNTAX_ERROR_KNOWN_RANGE(a, b, \"f-string: lambda expressions " +"are not allowed without parentheses\") }\n" +" | a='lambda' [lambda_params] b=':' &TSTRING_MIDDLE {\n" +" RAISE_SYNTAX_ERROR_KNOWN_RANGE(a, b, \"t-string: lambda expressions " +"are not allowed without parentheses\") }\n" +"\n" +"invalid_named_expression(memo):\n" +" | a=expression ':=' expression {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(\n" +" a, \"cannot use assignment expressions with %s\", " +"_PyPegen_get_expr_name(a)) }\n" +" | a=NAME '=' b=bitwise_or !('='|':=') {\n" +" RAISE_SYNTAX_ERROR_KNOWN_RANGE(a, b, \"invalid syntax. Maybe you " +"meant '==' or ':=' instead of '='?\") }\n" +" | !(list|tuple|genexp|'True'|'None'|'False') a=bitwise_or b='=' " +"bitwise_or !('='|':=') {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"cannot assign to %s here. " +"Maybe you meant '==' instead of '='?\",\n" +" _PyPegen_get_expr_name(a)) }\n" +"\n" +"invalid_assignment:\n" +" | a=invalid_ann_assign_target ':' expression {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(\n" +" a,\n" +" \"only single target (not %s) can be annotated\",\n" +" _PyPegen_get_expr_name(a)\n" +" )}\n" +" | a=star_named_expression ',' star_named_expressions* ':' expression {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"only single target (not " +"tuple) can be annotated\") }\n" +" | a=expression ':' expression {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"illegal target for " +"annotation\") }\n" +" | (star_targets '=')* a=star_expressions '=' {\n" +" RAISE_SYNTAX_ERROR_INVALID_TARGET(STAR_TARGETS, a) }\n" +" | (star_targets '=')* a=yield_expr " +"'=' { RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"assignment to yield expression " +"not possible\") }\n" +" | a=star_expressions augassign annotated_rhs {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(\n" +" a,\n" +" \"'%s' is an illegal expression for augmented assignment\",\n" +" _PyPegen_get_expr_name(a)\n" +" )}\n" +"invalid_ann_assign_target[expr_ty]:\n" +" | list\n" +" | tuple\n" +" | '(' a=invalid_ann_assign_target ')' { a }\n" +"invalid_del_stmt:\n" +" | 'del' a=star_expressions {\n" +" RAISE_SYNTAX_ERROR_INVALID_TARGET(DEL_TARGETS, a) }\n" +"invalid_block:\n" +" | NEWLINE !INDENT { RAISE_INDENTATION_ERROR(\"expected an indented " +"block\") }\n" +"invalid_comprehension:\n" +" | ('[' | '(' | '{') a=starred_expression for_if_clauses {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"iterable unpacking cannot be " +"used in comprehension\") }\n" +" | ('[' | '{') a=star_named_expression ',' b=star_named_expressions " +"for_if_clauses {\n" +" RAISE_SYNTAX_ERROR_KNOWN_RANGE(a, PyPegen_last_item(b, expr_ty),\n" +" \"did you forget parentheses around the comprehension target?\") }\n" +" | ('[' | '{') a=star_named_expression b=',' for_if_clauses {\n" +" RAISE_SYNTAX_ERROR_KNOWN_RANGE(a, b, \"did you forget parentheses " +"around the comprehension target?\") }\n" +"invalid_dict_comprehension:\n" +" | '{' a='**' bitwise_or for_if_clauses '}' {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"dict unpacking cannot be used " +"in dict comprehension\") }\n" +"invalid_parameters:\n" +" | a=\"/\" ',' {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"at least one argument must " +"precede /\") }\n" +" | (slash_no_default | slash_with_default) param_maybe_default* a='/' {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"/ may appear only once\") }\n" +" | slash_no_default? param_no_default* invalid_parameters_helper " +"a=param_no_default {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"parameter without a default " +"follows parameter with a default\") }\n" +" | param_no_default* a='(' param_no_default+ ','? b=')' {\n" +" RAISE_SYNTAX_ERROR_KNOWN_RANGE(a, b, \"Function parameters cannot be " +"parenthesized\") }\n" +" | (slash_no_default | slash_with_default)? param_maybe_default* '*' (',' " +"| param_no_default) param_maybe_default* a='/' {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"/ must be ahead of *\") }\n" +" | param_maybe_default+ '/' a='*' {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"expected comma between / and " +"*\") }\n" +"invalid_default:\n" +" | a='=' &(')'|',') { RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"expected " +"default value expression\") }\n" +"invalid_star_etc:\n" +" | a='*' (')' | ',' (')' | '**')) { RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, " +"\"named arguments must follow bare *\") }\n" +" | '*' ',' TYPE_COMMENT { RAISE_SYNTAX_ERROR(\"bare * has associated type " +"comment\") }\n" +" | '*' param a='=' { RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"var-" +"positional argument cannot have default value\") }\n" +" | '*' (param_no_default | ',') param_maybe_default* " +"a='*' (param_no_default | ',') {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"* argument may appear only " +"once\") }\n" +"invalid_kwds:\n" +" | '**' param a='=' { RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"var-keyword " +"argument cannot have default value\") }\n" +" | '**' param ',' a=param { RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, " +"\"arguments cannot follow var-keyword argument\") }\n" +" | '**' param ',' a[Token*]=('*'|'**'|'/') " +"{ RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"arguments cannot follow var-keyword " +"argument\") }\n" +"invalid_parameters_helper: # This is only there to avoid type errors\n" +" | a=slash_with_default { _PyPegen_singleton_seq(p, a) }\n" +" | param_with_default+\n" +"invalid_lambda_parameters:\n" +" | a=\"/\" ',' {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"at least one argument must " +"precede /\") }\n" +" | (lambda_slash_no_default | lambda_slash_with_default) " +"lambda_param_maybe_default* a='/' {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"/ may appear only once\") }\n" +" | lambda_slash_no_default? lambda_param_no_default* " +"invalid_lambda_parameters_helper a=lambda_param_no_default {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"parameter without a default " +"follows parameter with a default\") }\n" +" | lambda_param_no_default* a='(' ','.lambda_param+ ','? b=')' {\n" +" RAISE_SYNTAX_ERROR_KNOWN_RANGE(a, b, \"Lambda expression parameters " +"cannot be parenthesized\") }\n" +" | (lambda_slash_no_default | lambda_slash_with_default)? " +"lambda_param_maybe_default* '*' (',' | lambda_param_no_default) " +"lambda_param_maybe_default* a='/' {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"/ must be ahead of *\") }\n" +" | lambda_param_maybe_default+ '/' a='*' {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"expected comma between / and " +"*\") }\n" +"invalid_lambda_parameters_helper:\n" +" | a=lambda_slash_with_default { _PyPegen_singleton_seq(p, a) }\n" +" | lambda_param_with_default+\n" +"invalid_lambda_star_etc:\n" +" | '*' (':' | ',' (':' | '**')) { RAISE_SYNTAX_ERROR(\"named arguments " +"must follow bare *\") }\n" +" | '*' lambda_param a='=' { RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"var-" +"positional argument cannot have default value\") }\n" +" | '*' (lambda_param_no_default | ',') lambda_param_maybe_default* " +"a='*' (lambda_param_no_default | ',') {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"* argument may appear only " +"once\") }\n" +"invalid_lambda_kwds:\n" +" | '**' lambda_param a='=' { RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"var-" +"keyword argument cannot have default value\") }\n" +" | '**' lambda_param ',' a=lambda_param " +"{ RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"arguments cannot follow var-keyword " +"argument\") }\n" +" | '**' lambda_param ',' a[Token*]=('*'|'**'|'/') " +"{ RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"arguments cannot follow var-keyword " +"argument\") }\n" +"invalid_double_type_comments:\n" +" | TYPE_COMMENT NEWLINE TYPE_COMMENT NEWLINE INDENT {\n" +" RAISE_SYNTAX_ERROR(\"Cannot have two type comments on def\") }\n" +"invalid_with_item:\n" +" | expression 'as' a=expression &(',' | ')' | ':') {\n" +" RAISE_SYNTAX_ERROR_INVALID_TARGET(STAR_TARGETS, a) }\n" +"\n" +"invalid_for_if_clause:\n" +" | 'async'? 'for' (bitwise_or (',' bitwise_or)* [',']) !'in' {\n" +" RAISE_SYNTAX_ERROR(\"'in' expected after for-loop variables\") }\n" +"\n" +"invalid_for_target:\n" +" | 'async'? 'for' a=star_expressions {\n" +" RAISE_SYNTAX_ERROR_INVALID_TARGET(FOR_TARGETS, a) }\n" +"\n" +"invalid_group:\n" +" | '(' a=starred_expression ')' {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"cannot use starred expression " +"here\") }\n" +" | '(' a='**' expression ')' {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"cannot use double starred " +"expression here\") }\n" +"invalid_import:\n" +" | a='import' ','.dotted_name+ 'from' dotted_name {\n" +" RAISE_SYNTAX_ERROR_STARTING_FROM(a, \"Did you mean to use 'from ... " +"import ...' instead?\") }\n" +" | 'import' token=NEWLINE {\n" +" RAISE_SYNTAX_ERROR_STARTING_FROM(token, \"Expected one or more names " +"after 'import'\") }\n" +"invalid_dotted_as_name:\n" +" | dotted_name 'as' !(NAME (',' | ')' | NEWLINE)) a=expression {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a,\n" +" \"cannot use %s as import target\", " +"_PyPegen_get_expr_name(a)) }\n" +"invalid_import_from_as_name:\n" +" | NAME 'as' !(NAME (',' | ')' | NEWLINE)) a=expression {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a,\n" +" \"cannot use %s as import target\", " +"_PyPegen_get_expr_name(a)) }\n" +"\n" +"invalid_import_from_targets:\n" +" | import_from_as_names ',' NEWLINE {\n" +" RAISE_SYNTAX_ERROR(\"trailing comma not allowed without surrounding " +"parentheses\") }\n" +" | token=NEWLINE {\n" +" RAISE_SYNTAX_ERROR_STARTING_FROM(token, \"Expected one or more names " +"after 'import'\") }\n" +"\n" +"invalid_with_stmt:\n" +" | ['async'] 'with' ','.(expression ['as' star_target])+ NEWLINE " +"{ RAISE_SYNTAX_ERROR(\"expected ':'\") }\n" +" | ['async'] 'with' '(' ','.(expressions ['as' star_target])+ ','? ')' " +"NEWLINE { RAISE_SYNTAX_ERROR(\"expected ':'\") }\n" +"invalid_with_stmt_indent:\n" +" | ['async'] a='with' ','.(expression ['as' star_target])+ ':' NEWLINE !" +"INDENT {\n" +" RAISE_INDENTATION_ERROR(\"expected an indented block after 'with' " +"statement on line %d\", a->lineno) }\n" +" | ['async'] a='with' '(' ','.(expressions ['as' star_target])+ ','? ')' " +"':' NEWLINE !INDENT {\n" +" RAISE_INDENTATION_ERROR(\"expected an indented block after 'with' " +"statement on line %d\", a->lineno) }\n" +"\n" +"invalid_try_stmt:\n" +" | a='try' ':' NEWLINE !INDENT {\n" +" RAISE_INDENTATION_ERROR(\"expected an indented block after 'try' " +"statement on line %d\", a->lineno) }\n" +" | 'try' ':' block !('except' | 'finally') " +"{ RAISE_SYNTAX_ERROR(\"expected 'except' or 'finally' block\") }\n" +" | 'try' ':' block* except_block+ a='except' b='*' expression ['as' NAME] " +"':' {\n" +" RAISE_SYNTAX_ERROR_KNOWN_RANGE(a, b, \"cannot have both 'except' and " +"'except*' on the same 'try'\") }\n" +" | 'try' ':' block* except_star_block+ a='except' [expression ['as' " +"NAME]] ':' {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"cannot have both 'except' and " +"'except*' on the same 'try'\") }\n" +"invalid_except_stmt:\n" +" | 'except' a=expression ',' expressions 'as' NAME ':' {\n" +" RAISE_SYNTAX_ERROR_STARTING_FROM(a, \"multiple exception types must " +"be parenthesized when using 'as'\") }\n" +" | a='except' expression ['as' NAME ] NEWLINE " +"{ RAISE_SYNTAX_ERROR(\"expected ':'\") }\n" +" | a='except' NEWLINE { RAISE_SYNTAX_ERROR(\"expected ':'\") }\n" +" | 'except' expression 'as' a=expression ':' block {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(\n" +" a, \"cannot use except statement with %s\", " +"_PyPegen_get_expr_name(a)) }\n" +"invalid_except_star_stmt:\n" +" | 'except' '*' a=expression ',' expressions 'as' NAME ':' {\n" +" RAISE_SYNTAX_ERROR_STARTING_FROM(a, \"multiple exception types must " +"be parenthesized when using 'as'\") }\n" +" | a='except' '*' expression ['as' NAME ] NEWLINE " +"{ RAISE_SYNTAX_ERROR(\"expected ':'\") }\n" +" | a='except' '*' (NEWLINE | ':') { RAISE_SYNTAX_ERROR(\"expected one or " +"more exception types\") }\n" +" | 'except' '*' expression 'as' a=expression ':' block {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(\n" +" a, \"cannot use except* statement with %s\", " +"_PyPegen_get_expr_name(a)) }\n" +"invalid_finally_stmt:\n" +" | a='finally' ':' NEWLINE !INDENT {\n" +" RAISE_INDENTATION_ERROR(\"expected an indented block after 'finally' " +"statement on line %d\", a->lineno) }\n" +"invalid_except_stmt_indent:\n" +" | a='except' expression ['as' NAME ] ':' NEWLINE !INDENT {\n" +" RAISE_INDENTATION_ERROR(\"expected an indented block after 'except' " +"statement on line %d\", a->lineno) }\n" +" | a='except' ':' NEWLINE !INDENT { RAISE_INDENTATION_ERROR(\"expected an " +"indented block after 'except' statement on line %d\", a->lineno) }\n" +"invalid_except_star_stmt_indent:\n" +" | a='except' '*' expression ['as' NAME ] ':' NEWLINE !INDENT {\n" +" RAISE_INDENTATION_ERROR(\"expected an indented block after 'except*' " +"statement on line %d\", a->lineno) }\n" +"invalid_match_stmt:\n" +" | \"match\" subject_expr NEWLINE { CHECK_VERSION(void*, 10, \"Pattern " +"matching is\", RAISE_SYNTAX_ERROR(\"expected ':'\") ) }\n" +" | a=\"match\" subject=subject_expr ':' NEWLINE !INDENT {\n" +" RAISE_INDENTATION_ERROR(\"expected an indented block after 'match' " +"statement on line %d\", a->lineno) }\n" +"invalid_case_block:\n" +" | \"case\" patterns guard? NEWLINE { RAISE_SYNTAX_ERROR(\"expected " +"':'\") }\n" +" | a=\"case\" patterns guard? ':' NEWLINE !INDENT {\n" +" RAISE_INDENTATION_ERROR(\"expected an indented block after 'case' " +"statement on line %d\", a->lineno) }\n" +"invalid_as_pattern:\n" +" | or_pattern 'as' a=\"_\" { RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, " +"\"cannot use '_' as a target\") }\n" +" | or_pattern 'as' a=expression {\n" +" RAISE_SYNTAX_ERROR_KNOWN_LOCATION(\n" +" a, \"cannot use %s as pattern target\", " +"_PyPegen_get_expr_name(a)) }\n" +"invalid_class_pattern:\n" +" | name_or_attr '(' a=invalid_class_argument_pattern " +"{ RAISE_SYNTAX_ERROR_KNOWN_RANGE(\n" +" PyPegen_first_item(a, pattern_ty),\n" +" PyPegen_last_item(a, pattern_ty),\n" +" \"positional patterns follow keyword patterns\") }\n" +"invalid_class_argument_pattern[asdl_pattern_seq*]:\n" +" | [positional_patterns ','] keyword_patterns ',' a=positional_patterns " +"{ a }\n" +"invalid_if_stmt:\n" +" | 'if' named_expression NEWLINE { RAISE_SYNTAX_ERROR(\"expected " +"':'\") }\n" +" | a='if' a=named_expression ':' NEWLINE !INDENT {\n" +" RAISE_INDENTATION_ERROR(\"expected an indented block after 'if' " +"statement on line %d\", a->lineno) }\n" +"invalid_elif_stmt:\n" +" | 'elif' named_expression NEWLINE { RAISE_SYNTAX_ERROR(\"expected " +"':'\") }\n" +" | a='elif' named_expression ':' NEWLINE !INDENT {\n" +" RAISE_INDENTATION_ERROR(\"expected an indented block after 'elif' " +"statement on line %d\", a->lineno) }\n" +"invalid_else_stmt:\n" +" | a='else' ':' NEWLINE !INDENT {\n" +" RAISE_INDENTATION_ERROR(\"expected an indented block after 'else' " +"statement on line %d\", a->lineno) }\n" +" | 'else' ':' block 'elif' { RAISE_SYNTAX_ERROR(\"'elif' block follows an " +"'else' block\")}\n" +"invalid_while_stmt:\n" +" | 'while' named_expression NEWLINE { RAISE_SYNTAX_ERROR(\"expected " +"':'\") }\n" +" | a='while' named_expression ':' NEWLINE !INDENT {\n" +" RAISE_INDENTATION_ERROR(\"expected an indented block after 'while' " +"statement on line %d\", a->lineno) }\n" +"invalid_for_stmt:\n" +" | ['async'] 'for' star_targets 'in' star_expressions NEWLINE " +"{ RAISE_SYNTAX_ERROR(\"expected ':'\") }\n" +" | ['async'] a='for' star_targets 'in' star_expressions ':' NEWLINE !" +"INDENT {\n" +" RAISE_INDENTATION_ERROR(\"expected an indented block after 'for' " +"statement on line %d\", a->lineno) }\n" +"invalid_def_raw:\n" +" | ['async'] a='def' NAME [type_params] '(' [params] ')' ['->' " +"expression] ':' NEWLINE !INDENT {\n" +" RAISE_INDENTATION_ERROR(\"expected an indented block after function " +"definition on line %d\", a->lineno) }\n" +" | ['async'] 'def' NAME [type_params] &&'(' [params] ')' ['->' " +"expression] &&':' [func_type_comment] block\n" +"invalid_class_def_raw:\n" +" | 'class' NAME [type_params] ['(' [arguments] ')'] NEWLINE " +"{ RAISE_SYNTAX_ERROR(\"expected ':'\") }\n" +" | a='class' NAME [type_params] ['(' [arguments] ')'] ':' NEWLINE !INDENT " +"{\n" +" RAISE_INDENTATION_ERROR(\"expected an indented block after class " +"definition on line %d\", a->lineno) }\n" +"\n" +"invalid_double_starred_kvpairs:\n" +" | ','.double_starred_kvpair+ ',' invalid_kvpair\n" +" | expression ':' a='*' bitwise_or { RAISE_SYNTAX_ERROR_STARTING_FROM(a, " +"\"cannot use a starred expression in a dictionary value\") }\n" +" | expression a=':' &('}'|',') { RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, " +"\"expression expected after dictionary key and ':'\") }\n" +"invalid_kvpair:\n" +" | a=expression !(':') {\n" +" RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, a->lineno, a-" +">end_col_offset - 1, a->end_lineno, -1, \"':' expected after dictionary " +"key\") }\n" +" | expression ':' a='*' bitwise_or { RAISE_SYNTAX_ERROR_STARTING_FROM(a, " +"\"cannot use a starred expression in a dictionary value\") }\n" +" | expression a=':' &('}'|',') {RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, " +"\"expression expected after dictionary key and ':'\") }\n" +"invalid_starred_expression_unpacking:\n" +" | a='*' expression '=' b=expression { RAISE_SYNTAX_ERROR_KNOWN_RANGE(a, " +"b, \"cannot assign to iterable argument unpacking\") }\n" +"invalid_starred_expression:\n" +" | '*' { RAISE_SYNTAX_ERROR(\"Invalid star expression\") }\n" +"\n" +"invalid_fstring_replacement_field:\n" +" | '{' a='=' { RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"f-string: valid " +"expression required before '='\") }\n" +" | '{' a='!' { RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"f-string: valid " +"expression required before '!'\") }\n" +" | '{' a=':' { RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"f-string: valid " +"expression required before ':'\") }\n" +" | '{' a='}' { RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"f-string: valid " +"expression required before '}'\") }\n" +" | '{' !annotated_rhs { RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(\"f-string: " +"expecting a valid expression after '{'\") }\n" +" | '{' annotated_rhs !('=' | '!' | ':' | '}') {\n" +" PyErr_Occurred() ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(\"f-" +"string: expecting '=', or '!', or ':', or '}'\") }\n" +" | '{' annotated_rhs '=' !('!' | ':' | '}') {\n" +" PyErr_Occurred() ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(\"f-" +"string: expecting '!', or ':', or '}'\") }\n" +" | '{' annotated_rhs '='? invalid_fstring_conversion_character\n" +" | '{' annotated_rhs '='? ['!' NAME] !(':' | '}') {\n" +" PyErr_Occurred() ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(\"f-" +"string: expecting ':' or '}'\") }\n" +" | '{' annotated_rhs '='? ['!' NAME] ':' fstring_format_spec* !'}' {\n" +" PyErr_Occurred() ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(\"f-" +"string: expecting '}', or format specs\") }\n" +" | '{' annotated_rhs '='? ['!' NAME] !'}' {\n" +" PyErr_Occurred() ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(\"f-" +"string: expecting '}'\") }\n" +"\n" +"invalid_fstring_conversion_character:\n" +" | '!' &(':' | '}') { RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(\"f-string: " +"missing conversion character\") }\n" +" | '!' !NAME { RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(\"f-string: invalid " +"conversion character\") }\n" +"\n" +"invalid_tstring_replacement_field:\n" +" | '{' a='=' { RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"t-string: valid " +"expression required before '='\") }\n" +" | '{' a='!' { RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"t-string: valid " +"expression required before '!'\") }\n" +" | '{' a=':' { RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"t-string: valid " +"expression required before ':'\") }\n" +" | '{' a='}' { RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, \"t-string: valid " +"expression required before '}'\") }\n" +" | '{' !annotated_rhs { RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(\"t-string: " +"expecting a valid expression after '{'\") }\n" +" | '{' annotated_rhs !('=' | '!' | ':' | '}') {\n" +" PyErr_Occurred() ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(\"t-" +"string: expecting '=', or '!', or ':', or '}'\") }\n" +" | '{' annotated_rhs '=' !('!' | ':' | '}') {\n" +" PyErr_Occurred() ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(\"t-" +"string: expecting '!', or ':', or '}'\") }\n" +" | '{' annotated_rhs '='? invalid_tstring_conversion_character\n" +" | '{' annotated_rhs '='? ['!' NAME] !(':' | '}') {\n" +" PyErr_Occurred() ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(\"t-" +"string: expecting ':' or '}'\") }\n" +" | '{' annotated_rhs '='? ['!' NAME] ':' fstring_format_spec* !'}' {\n" +" PyErr_Occurred() ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(\"t-" +"string: expecting '}', or format specs\") }\n" +" | '{' annotated_rhs '='? ['!' NAME] !'}' {\n" +" PyErr_Occurred() ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(\"t-" +"string: expecting '}'\") }\n" +"\n" +"invalid_tstring_conversion_character:\n" +" | '!' &(':' | '}') { RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(\"t-string: " +"missing conversion character\") }\n" +" | '!' !NAME { RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(\"t-string: invalid " +"conversion character\") }\n" +"\n" +"invalid_arithmetic:\n" +" | sum ('+'|'-'|'*'|'/'|'%'|'//'|'@') a='not' b=inversion " +"{ RAISE_SYNTAX_ERROR_KNOWN_RANGE(a, b, \"'not' after an operator must be " +"parenthesized\") }\n" +"invalid_factor:\n" +" | ('+' | '-' | '~') a='not' b=factor { RAISE_SYNTAX_ERROR_KNOWN_RANGE(a, " +"b, \"'not' after an operator must be parenthesized\") }\n" +"\n" +"invalid_type_params:\n" +" | '[' token=']' {\n" +" RAISE_SYNTAX_ERROR_STARTING_FROM(\n" +" token,\n" +" \"Type parameter list cannot be empty\")}\n" diff --git a/reference/import.po b/reference/import.po index 9f9f502db..8e7c6c1bf 100644 --- a/reference/import.po +++ b/reference/import.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:49+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/reference/index.po b/reference/index.po index 135aa0058..93ff2cbd8 100644 --- a/reference/index.po +++ b/reference/index.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:49+0000\n" "Last-Translator: Maciej Olko , 2021\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/reference/introduction.po b/reference/introduction.po index 3bd90757a..32ae57fb3 100644 --- a/reference/introduction.po +++ b/reference/introduction.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:49+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -141,50 +141,148 @@ msgid "Notation" msgstr "" msgid "" -"The descriptions of lexical analysis and syntax use a modified `Backus–Naur " -"form (BNF) `_ " -"grammar notation. This uses the following style of definition:" +"The descriptions of lexical analysis and syntax use a grammar notation that " +"is a mixture of `EBNF `_ and `PEG `_. For example:" msgstr "" msgid "" -"The first line says that a ``name`` is an ``lc_letter`` followed by a " -"sequence of zero or more ``lc_letter``\\ s and underscores. An " -"``lc_letter`` in turn is any of the single characters ``'a'`` through " -"``'z'``. (This rule is actually adhered to for the names defined in lexical " -"and grammar rules in this document.)" +"In this example, the first line says that a ``name`` is a ``letter`` " +"followed by a sequence of zero or more ``letter``\\ s, ``digit``\\ s, and " +"underscores. A ``letter`` in turn is any of the single characters ``'a'`` " +"through ``'z'`` and ``A`` through ``Z``; a ``digit`` is a single character " +"from ``0`` to ``9``." msgstr "" msgid "" -"Each rule begins with a name (which is the name defined by the rule) and ``::" -"=``. A vertical bar (``|``) is used to separate alternatives; it is the " -"least binding operator in this notation. A star (``*``) means zero or more " -"repetitions of the preceding item; likewise, a plus (``+``) means one or " -"more repetitions, and a phrase enclosed in square brackets (``[ ]``) means " -"zero or one occurrences (in other words, the enclosed phrase is optional). " -"The ``*`` and ``+`` operators bind as tightly as possible; parentheses are " -"used for grouping. Literal strings are enclosed in quotes. White space is " -"only meaningful to separate tokens. Rules are normally contained on a single " -"line; rules with many alternatives may be formatted alternatively with each " -"line after the first beginning with a vertical bar." +"Each rule begins with a name (which identifies the rule that's being " +"defined) followed by a colon, ``:``. The definition to the right of the " +"colon uses the following syntax elements:" msgstr "" msgid "" -"In lexical definitions (as the example above), two more conventions are " -"used: Two literal characters separated by three dots mean a choice of any " -"single character in the given (inclusive) range of ASCII characters. A " -"phrase between angular brackets (``<...>``) gives an informal description of " -"the symbol defined; e.g., this could be used to describe the notion of " -"'control character' if needed." +"``name``: A name refers to another rule. Where possible, it is a link to the " +"rule's definition." msgstr "" msgid "" -"Even though the notation used is almost the same, there is a big difference " -"between the meaning of lexical and syntactic definitions: a lexical " -"definition operates on the individual characters of the input source, while " -"a syntax definition operates on the stream of tokens generated by the " -"lexical analysis. All uses of BNF in the next chapter (\"Lexical Analysis\") " -"are lexical definitions; uses in subsequent chapters are syntactic " -"definitions." +"``TOKEN``: An uppercase name refers to a :term:`token`. For the purposes of " +"grammar definitions, tokens are the same as rules." +msgstr "" + +msgid "" +"``\"text\"``, ``'text'``: Text in single or double quotes must match " +"literally (without the quotes). The type of quote is chosen according to the " +"meaning of ``text``:" +msgstr "" + +msgid "``'if'``: A name in single quotes denotes a :ref:`keyword `." +msgstr "" + +msgid "" +"``\"case\"``: A name in double quotes denotes a :ref:`soft-keyword `." +msgstr "" + +msgid "" +"``'@'``: A non-letter symbol in single quotes denotes an :py:data:`~token." +"OP` token, that is, a :ref:`delimiter ` or :ref:`operator " +"`." +msgstr "" + +msgid "" +"``e1 e2``: Items separated only by whitespace denote a sequence. Here, " +"``e1`` must be followed by ``e2``." +msgstr "" + +msgid "" +"``e1 | e2``: A vertical bar is used to separate alternatives. It denotes " +"PEG's \"ordered choice\": if ``e1`` matches, ``e2`` is not considered. In " +"traditional PEG grammars, this is written as a slash, ``/``, rather than a " +"vertical bar. See :pep:`617` for more background and details." +msgstr "" + +msgid "``e*``: A star means zero or more repetitions of the preceding item." +msgstr "" + +msgid "``e+``: Likewise, a plus means one or more repetitions." +msgstr "" + +msgid "" +"``[e]``: A phrase enclosed in square brackets means zero or one occurrences. " +"In other words, the enclosed phrase is optional." +msgstr "" + +msgid "" +"``e?``: A question mark has exactly the same meaning as square brackets: the " +"preceding item is optional." +msgstr "" + +msgid "``(e)``: Parentheses are used for grouping." +msgstr "" + +msgid "" +"``\"a\"...\"z\"``: Two literal characters separated by three dots mean a " +"choice of any single character in the given (inclusive) range of ASCII " +"characters. This notation is only used in :ref:`lexical definitions " +"`." +msgstr "" + +msgid "" +"``<...>``: A phrase between angular brackets gives an informal description " +"of the matched symbol (for example, ````), or an abbreviation that is defined in nearby text (for example, " +"````). This notation is only used in :ref:`lexical definitions `." +msgstr "" + +msgid "" +"The unary operators (``*``, ``+``, ``?``) bind as tightly as possible; the " +"vertical bar (``|``) binds most loosely." +msgstr "" + +msgid "White space is only meaningful to separate tokens." +msgstr "" + +msgid "" +"Rules are normally contained on a single line, but rules that are too long " +"may be wrapped:" +msgstr "" + +msgid "" +"Alternatively, rules may be formatted with the first line ending at the " +"colon, and each alternative beginning with a vertical bar on a new line. For " +"example:" +msgstr "" + +msgid "This does *not* mean that there is an empty first alternative." +msgstr "" + +msgid "Lexical and Syntactic definitions" +msgstr "" + +msgid "" +"There is some difference between *lexical* and *syntactic* analysis: the :" +"term:`lexical analyzer` operates on the individual characters of the input " +"source, while the *parser* (syntactic analyzer) operates on the stream of :" +"term:`tokens ` generated by the lexical analysis. However, in some " +"cases the exact boundary between the two phases is a CPython implementation " +"detail." +msgstr "" + +msgid "" +"The practical difference between the two is that in *lexical* definitions, " +"all whitespace is significant. The lexical analyzer :ref:`discards " +"` all whitespace that is not converted to tokens like :data:" +"`token.INDENT` or :data:`~token.NEWLINE`. *Syntactic* definitions then use " +"these tokens, rather than source characters." +msgstr "" + +msgid "" +"This documentation uses the same BNF grammar for both styles of definitions. " +"All uses of BNF in the next chapter (:ref:`lexical`) are lexical " +"definitions; uses in subsequent chapters are syntactic definitions." msgstr "" msgid "BNF" @@ -201,6 +299,3 @@ msgstr "" msgid "lexical definitions" msgstr "" - -msgid "ASCII" -msgstr "" diff --git a/reference/lexical_analysis.po b/reference/lexical_analysis.po index e1228a762..3a898fcd9 100644 --- a/reference/lexical_analysis.po +++ b/reference/lexical_analysis.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:49+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -100,13 +100,13 @@ msgid "" msgstr "" msgid "# -*- coding: -*-" -msgstr "" +msgstr "# -*- coding: -*-" msgid "which is recognized also by GNU Emacs, and ::" msgstr "" msgid "# vim:fileencoding=" -msgstr "" +msgstr "# vim:fileencoding=" msgid "which is recognized by Bram Moolenaar's VIM." msgstr "" @@ -317,91 +317,118 @@ msgid "" "string that forms a legal token, when read from left to right." msgstr "" -msgid "Identifiers and keywords" +msgid "Names (identifiers and keywords)" +msgstr "" + +msgid "" +":data:`~token.NAME` tokens represent *identifiers*, *keywords*, and *soft " +"keywords*." +msgstr "" + +msgid "" +"Within the ASCII range (U+0001..U+007F), the valid characters for names " +"include the uppercase and lowercase letters (``A-Z`` and ``a-z``), the " +"underscore ``_`` and, except for the first character, the digits ``0`` " +"through ``9``." msgstr "" msgid "" -"Identifiers (also referred to as *names*) are described by the following " -"lexical definitions." +"Names must contain at least one character, but have no upper length limit. " +"Case is significant." msgstr "" msgid "" -"The syntax of identifiers in Python is based on the Unicode standard annex " -"UAX-31, with elaboration and changes as defined below; see also :pep:`3131` " -"for further details." +"Besides ``A-Z``, ``a-z``, ``_`` and ``0-9``, names can also use \"letter-" +"like\" and \"number-like\" characters from outside the ASCII range, as " +"detailed below." msgstr "" msgid "" -"Within the ASCII range (U+0001..U+007F), the valid characters for " -"identifiers include the uppercase and lowercase letters ``A`` through ``Z``, " -"the underscore ``_`` and, except for the first character, the digits ``0`` " -"through ``9``. Python 3.0 introduced additional characters from outside the " -"ASCII range (see :pep:`3131`). For these characters, the classification " -"uses the version of the Unicode Character Database as included in the :mod:" -"`unicodedata` module." +"All identifiers are converted into the `normalization form`_ NFKC while " +"parsing; comparison of identifiers is based on NFKC." msgstr "" -msgid "Identifiers are unlimited in length. Case is significant." +msgid "" +"Formally, the first character of a normalized identifier must belong to the " +"set ``id_start``, which is the union of:" msgstr "" -msgid "The Unicode category codes mentioned above stand for:" +msgid "Unicode category ```` - uppercase letters (includes ``A`` to ``Z``)" msgstr "" -msgid "*Lu* - uppercase letters" +msgid "Unicode category ```` - lowercase letters (includes ``a`` to ``z``)" msgstr "" -msgid "*Ll* - lowercase letters" +msgid "Unicode category ```` - titlecase letters" msgstr "" -msgid "*Lt* - titlecase letters" +msgid "Unicode category ```` - modifier letters" msgstr "" -msgid "*Lm* - modifier letters" +msgid "Unicode category ```` - other letters" +msgstr "" + +msgid "Unicode category ```` - letter numbers" +msgstr "" + +msgid "{``\"_\"``} - the underscore" +msgstr "" + +msgid "" +"```` - an explicit set of characters in `PropList.txt`_ to " +"support backwards compatibility" +msgstr "" + +msgid "" +"The remaining characters must belong to the set ``id_continue``, which is " +"the union of:" msgstr "" -msgid "*Lo* - other letters" +msgid "all characters in ``id_start``" msgstr "" -msgid "*Nl* - letter numbers" +msgid "Unicode category ```` - decimal numbers (includes ``0`` to ``9``)" msgstr "" -msgid "*Mn* - nonspacing marks" +msgid "Unicode category ```` - connector punctuations" msgstr "" -msgid "*Mc* - spacing combining marks" +msgid "Unicode category ```` - nonspacing marks" msgstr "" -msgid "*Nd* - decimal numbers" +msgid "Unicode category ```` - spacing combining marks" msgstr "" -msgid "*Pc* - connector punctuations" +msgid "" +"```` - another explicit set of characters in `PropList." +"txt`_ to support backwards compatibility" msgstr "" msgid "" -"*Other_ID_Start* - explicit list of characters in `PropList.txt `_ to support backwards " -"compatibility" +"Unicode categories use the version of the Unicode Character Database as " +"included in the :mod:`unicodedata` module." msgstr "" -msgid "*Other_ID_Continue* - likewise" +msgid "" +"These sets are based on the Unicode standard annex `UAX-31`_. See also :pep:" +"`3131` for further details." msgstr "" msgid "" -"All identifiers are converted into the normal form NFKC while parsing; " -"comparison of identifiers is based on NFKC." +"Even more formally, names are described by the following lexical definitions:" msgstr "" msgid "" -"A non-normative HTML file listing all valid identifier characters for " -"Unicode 16.0.0 can be found at https://www.unicode.org/Public/16.0.0/ucd/" -"DerivedCoreProperties.txt" +"A non-normative listing of all valid identifier characters as defined by " +"Unicode is available in the `DerivedCoreProperties.txt`_ file in the Unicode " +"Character Database." msgstr "" msgid "Keywords" msgstr "" msgid "" -"The following identifiers are used as reserved words, or *keywords* of the " +"The following names are used as reserved words, or *keywords* of the " "language, and cannot be used as ordinary identifiers. They must be spelled " "exactly as written here:" msgstr "" @@ -415,26 +442,38 @@ msgid "" "assert del global not with\n" "async elif if or yield" msgstr "" +"False await else import pass\n" +"None break except in raise\n" +"True class finally is return\n" +"and continue for lambda try\n" +"as def from nonlocal while\n" +"assert del global not with\n" +"async elif if or yield" msgid "Soft Keywords" msgstr "" msgid "" -"Some identifiers are only reserved under specific contexts. These are known " -"as *soft keywords*. The identifiers ``match``, ``case``, ``type`` and ``_`` " -"can syntactically act as keywords in certain contexts, but this distinction " -"is done at the parser level, not when tokenizing." +"Some names are only reserved under specific contexts. These are known as " +"*soft keywords*:" msgstr "" msgid "" -"As soft keywords, their use in the grammar is possible while still " -"preserving compatibility with existing code that uses these names as " -"identifier names." +"``match``, ``case``, and ``_``, when used in the :keyword:`match` statement." +msgstr "" + +msgid "``type``, when used in the :keyword:`type` statement." msgstr "" msgid "" -"``match``, ``case``, and ``_`` are used in the :keyword:`match` statement. " -"``type`` is used in the :keyword:`type` statement." +"These syntactically act as keywords in their specific contexts, but this " +"distinction is done at the parser level, not when tokenizing." +msgstr "" + +msgid "" +"As soft keywords, their use in the grammar is possible while still " +"preserving compatibility with existing code that uses these names as " +"identifier names." msgstr "" msgid "``type`` is now a soft keyword." @@ -673,7 +712,7 @@ msgid "Character with octal value *ooo*" msgstr "" msgid "(2,4)" -msgstr "" +msgstr "(2,4)" msgid ":samp:`\\\\x{hh}`" msgstr ":samp:`\\\\x{hh}`" @@ -703,7 +742,7 @@ msgid "Character with 16-bit hex value *xxxx*" msgstr "" msgid "\\(6)" -msgstr "" +msgstr "\\(6)" msgid ":samp:`\\\\U{xxxxxxxx}`" msgstr ":samp:`\\\\U{xxxxxxxx}`" @@ -712,7 +751,7 @@ msgid "Character with 32-bit hex value *xxxxxxxx*" msgstr "" msgid "\\(7)" -msgstr "" +msgstr "\\(7)" msgid "Notes:" msgstr "Uwagi:" @@ -1023,47 +1062,101 @@ msgid "Numeric literals" msgstr "" msgid "" -"There are three types of numeric literals: integers, floating-point numbers, " -"and imaginary numbers. There are no complex literals (complex numbers can " -"be formed by adding a real number and an imaginary number)." +":data:`~token.NUMBER` tokens represent numeric literals, of which there are " +"three types: integers, floating-point numbers, and imaginary numbers." +msgstr "" + +msgid "" +"The numeric value of a numeric literal is the same as if it were passed as a " +"string to the :class:`int`, :class:`float` or :class:`complex` class " +"constructor, respectively. Note that not all valid inputs for those " +"constructors are also valid literals." msgstr "" msgid "" -"Note that numeric literals do not include a sign; a phrase like ``-1`` is " -"actually an expression composed of the unary operator '``-``' and the " -"literal ``1``." +"Numeric literals do not include a sign; a phrase like ``-1`` is actually an " +"expression composed of the unary operator '``-``' and the literal ``1``." msgstr "" msgid "Integer literals" msgstr "" -msgid "Integer literals are described by the following lexical definitions:" +msgid "Integer literals denote whole numbers. For example::" +msgstr "" + +msgid "" +"7\n" +"3\n" +"2147483647" msgstr "" +"7\n" +"3\n" +"2147483647" msgid "" "There is no limit for the length of integer literals apart from what can be " -"stored in available memory." +"stored in available memory::" +msgstr "" + +msgid "7922816251426433759354395033679228162514264337593543950336" +msgstr "7922816251426433759354395033679228162514264337593543950336" + +msgid "" +"Underscores can be used to group digits for enhanced readability, and are " +"ignored for determining the numeric value of the literal. For example, the " +"following literals are equivalent::" +msgstr "" + +msgid "" +"100_000_000_000\n" +"100000000000\n" +"1_00_00_00_00_000" +msgstr "" +"100_000_000_000\n" +"100000000000\n" +"1_00_00_00_00_000" + +msgid "" +"Underscores can only occur between digits. For example, ``_123``, ``321_``, " +"and ``123__321`` are *not* valid literals." msgstr "" msgid "" -"Underscores are ignored for determining the numeric value of the literal. " -"They can be used to group digits for enhanced readability. One underscore " -"can occur between digits, and after base specifiers like ``0x``." +"Integers can be specified in binary (base 2), octal (base 8), or hexadecimal " +"(base 16) using the prefixes ``0b``, ``0o`` and ``0x``, respectively. " +"Hexadecimal digits 10 through 15 are represented by letters ``A``-``F``, " +"case-insensitive. For example::" msgstr "" msgid "" -"Note that leading zeros in a non-zero decimal number are not allowed. This " -"is for disambiguation with C-style octal literals, which Python used before " -"version 3.0." +"0b100110111\n" +"0b_1110_0101\n" +"0o177\n" +"0o377\n" +"0xdeadbeef\n" +"0xDead_Beef" msgstr "" +"0b100110111\n" +"0b_1110_0101\n" +"0o177\n" +"0o377\n" +"0xdeadbeef\n" +"0xDead_Beef" -msgid "Some examples of integer literals::" +msgid "" +"An underscore can follow the base specifier. For example, ``0x_1f`` is a " +"valid literal, but ``0_x1f`` and ``0x__1f`` are not." +msgstr "" + +msgid "" +"Leading zeros in a non-zero decimal number are not allowed. For example, " +"``0123`` is not a valid literal. This is for disambiguation with C-style " +"octal literals, which Python used before version 3.0." msgstr "" msgid "" -"7 2147483647 0o177 0b100110111\n" -"3 79228162514264337593543950336 0o377 0xdeadbeef\n" -" 100_000_000_000 0b_1110_0101" +"Formally, integer literals are described by the following lexical " +"definitions:" msgstr "" msgid "Underscores are now allowed for grouping purposes in literals." @@ -1073,38 +1166,155 @@ msgid "Floating-point literals" msgstr "" msgid "" -"Floating-point literals are described by the following lexical definitions:" +"Floating-point (float) literals, such as ``3.14`` or ``1.5``, denote :ref:" +"`approximations of real numbers `." +msgstr "" + +msgid "" +"They consist of *integer* and *fraction* parts, each composed of decimal " +"digits. The parts are separated by a decimal point, ``.``::" +msgstr "" + +msgid "" +"2.71828\n" +"4.0" +msgstr "" +"2.71828\n" +"4.0" + +msgid "" +"Unlike in integer literals, leading zeros are allowed in the numeric parts. " +"For example, ``077.010`` is legal, and denotes the same number as ``77.10``." +msgstr "" + +msgid "" +"As in integer literals, single underscores may occur between digits to help " +"readability::" +msgstr "" + +msgid "" +"96_485.332_123\n" +"3.14_15_93" +msgstr "" +"96_485.332_123\n" +"3.14_15_93" + +msgid "Either of these parts, but not both, can be empty. For example::" +msgstr "" + +msgid "" +"10. # (equivalent to 10.0)\n" +".001 # (equivalent to 0.001)" msgstr "" msgid "" -"Note that the integer and exponent parts are always interpreted using radix " -"10. For example, ``077e010`` is legal, and denotes the same number as " -"``77e10``. The allowed range of floating-point literals is implementation-" -"dependent. As in integer literals, underscores are supported for digit " -"grouping." +"Optionally, the integer and fraction may be followed by an *exponent*: the " +"letter ``e`` or ``E``, followed by an optional sign, ``+`` or ``-``, and a " +"number in the same format as the integer and fraction parts. The ``e`` or " +"``E`` represents \"times ten raised to the power of\"::" msgstr "" -msgid "Some examples of floating-point literals::" +msgid "" +"1.0e3 # (represents 1.0×10³, or 1000.0)\n" +"1.166e-5 # (represents 1.166×10⁻⁵, or 0.00001166)\n" +"6.02214076e+23 # (represents 6.02214076×10²³, or 602214076000000000000000.)" msgstr "" -msgid "3.14 10. .001 1e100 3.14e-10 0e0 3.14_15_93" +msgid "" +"In floats with only integer and exponent parts, the decimal point may be " +"omitted::" +msgstr "" + +msgid "" +"1e3 # (equivalent to 1.e3 and 1.0e3)\n" +"0e0 # (equivalent to 0.)" +msgstr "" + +msgid "" +"Formally, floating-point literals are described by the following lexical " +"definitions:" msgstr "" msgid "Imaginary literals" msgstr "" -msgid "Imaginary literals are described by the following lexical definitions:" +msgid "" +"Python has :ref:`complex number ` objects, but no complex " +"literals. Instead, *imaginary literals* denote complex numbers with a zero " +"real part." +msgstr "" + +msgid "" +"For example, in math, the complex number 3+4.2\\ *i* is written as the real " +"number 3 added to the imaginary number 4.2\\ *i*. Python uses a similar " +"syntax, except the imaginary unit is written as ``j`` rather than *i*::" +msgstr "" + +msgid "3+4.2j" +msgstr "3+4.2j" + +msgid "" +"This is an expression composed of the :ref:`integer literal ` " +"``3``, the :ref:`operator ` '``+``', and the :ref:`imaginary " +"literal ` ``4.2j``. Since these are three separate tokens, " +"whitespace is allowed between them::" +msgstr "" + +msgid "3 + 4.2j" +msgstr "3 + 4.2j" + +msgid "" +"No whitespace is allowed *within* each token. In particular, the ``j`` " +"suffix, may not be separated from the number before it." +msgstr "" + +msgid "" +"The number before the ``j`` has the same syntax as a floating-point literal. " +"Thus, the following are valid imaginary literals::" +msgstr "" + +msgid "" +"4.2j\n" +"3.14j\n" +"10.j\n" +".001j\n" +"1e100j\n" +"3.14e-10j\n" +"3.14_15_93j" +msgstr "" +"4.2j\n" +"3.14j\n" +"10.j\n" +".001j\n" +"1e100j\n" +"3.14e-10j\n" +"3.14_15_93j" + +msgid "" +"Unlike in a floating-point literal the decimal point can be omitted if the " +"imaginary number only has an integer part. The number is still evaluated as " +"a floating-point number, not an integer::" +msgstr "" + +msgid "" +"10j\n" +"0j\n" +"1000000000000000000000000j # equivalent to 1e+24j" msgstr "" +"10j\n" +"0j\n" +"1000000000000000000000000j # equivalent to 1e+24j" msgid "" -"An imaginary literal yields a complex number with a real part of 0.0. " -"Complex numbers are represented as a pair of floating-point numbers and have " -"the same restrictions on their range. To create a complex number with a " -"nonzero real part, add a floating-point number to it, e.g., ``(3+4j)``. " -"Some examples of imaginary literals::" +"The ``j`` suffix is case-insensitive. That means you can use ``J`` instead::" msgstr "" -msgid "3.14j 10.j 10j .001j 1e100j 3.14e-10j 3.14_15_93j" +msgid "3.14J # equivalent to 3.14j" +msgstr "" + +msgid "" +"Formally, imaginary literals are described by the following lexical " +"definition:" msgstr "" msgid "Operators" @@ -1118,6 +1328,9 @@ msgid "" "<< >> & | ^ ~ :=\n" "< > <= >= == !=" msgstr "" +"+ - * ** / // % @\n" +"<< >> & | ^ ~ :=\n" +"< > <= >= == !=" msgid "Delimiters" msgstr "" @@ -1131,6 +1344,10 @@ msgid "" "-> += -= *= /= //= %=\n" "@= &= |= ^= >>= <<= **=" msgstr "" +"( ) [ ] { }\n" +", : ! . ; @ =\n" +"-> += -= *= /= //= %=\n" +"@= &= |= ^= >>= <<= **=" msgid "" "The period can also occur in floating-point and imaginary literals. A " @@ -1145,7 +1362,7 @@ msgid "" msgstr "" msgid "' \" # \\" -msgstr "" +msgstr "' \" # \\" msgid "" "The following printing ASCII characters are not used in Python. Their " @@ -1159,7 +1376,7 @@ msgid "Footnotes" msgstr "Przypisy" msgid "https://www.unicode.org/Public/16.0.0/ucd/NameAliases.txt" -msgstr "" +msgstr "https://www.unicode.org/Public/16.0.0/ucd/NameAliases.txt" msgid "lexical analysis" msgstr "" @@ -1270,7 +1487,7 @@ msgid "bytes literal" msgstr "" msgid "ASCII" -msgstr "" +msgstr "ASCII" msgid "' (single quote)" msgstr "" @@ -1279,7 +1496,7 @@ msgid "\" (double quote)" msgstr "" msgid "u'" -msgstr "" +msgstr "u'" msgid "u\"" msgstr "" @@ -1294,34 +1511,34 @@ msgid "raw string" msgstr "" msgid "\"\"\"" -msgstr "" +msgstr "\"\"\"" msgid "'''" -msgstr "" +msgstr "'''" msgid "b'" -msgstr "" +msgstr "b'" msgid "b\"" -msgstr "" +msgstr "b\"" msgid "r'" -msgstr "" +msgstr "r'" msgid "raw string literal" msgstr "" msgid "r\"" -msgstr "" +msgstr "r\"" msgid "f'" -msgstr "" +msgstr "f'" msgid "formatted string literal" msgstr "sformatowany literał ciągu znaków" msgid "f\"" -msgstr "" +msgstr "f\"" msgid "escape sequence" msgstr "" @@ -1336,37 +1553,37 @@ msgid "\\ (backslash)" msgstr "" msgid "\\\\" -msgstr "" +msgstr "\\\\" msgid "\\a" -msgstr "" +msgstr "\\a" msgid "\\b" -msgstr "" +msgstr "\\b" msgid "\\f" -msgstr "" +msgstr "\\f" msgid "\\n" -msgstr "" +msgstr "\\n" msgid "\\r" -msgstr "" +msgstr "\\r" msgid "\\t" -msgstr "" +msgstr "\\t" msgid "\\v" -msgstr "" +msgstr "\\v" msgid "\\x" -msgstr "" +msgstr "\\x" msgid "\\u" -msgstr "" +msgstr "\\u" msgid "\\U" -msgstr "" +msgstr "\\U" msgid "unrecognized escape sequence" msgstr "" @@ -1438,13 +1655,13 @@ msgid "complex literal" msgstr "" msgid "0b" -msgstr "" +msgstr "0b" msgid "0o" -msgstr "" +msgstr "0o" msgid "0x" -msgstr "" +msgstr "0x" msgid "_ (underscore)" msgstr "" @@ -1456,10 +1673,10 @@ msgid ". (dot)" msgstr "" msgid "e" -msgstr "" +msgstr "e" msgid "j" -msgstr "" +msgstr "j" msgid "operators" msgstr "" diff --git a/reference/simple_stmts.po b/reference/simple_stmts.po index 6ee4c038b..4d5ee4b28 100644 --- a/reference/simple_stmts.po +++ b/reference/simple_stmts.po @@ -15,7 +15,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:49+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/reference/toplevel_components.po b/reference/toplevel_components.po index 3d376d296..7a9ab4726 100644 --- a/reference/toplevel_components.po +++ b/reference/toplevel_components.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:49+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/ruff.toml b/ruff.toml new file mode 100644 index 000000000..749ef043d --- /dev/null +++ b/ruff.toml @@ -0,0 +1,2 @@ +[format] +quote-style = "single" diff --git a/sphinx.po b/sphinx.po index 4d0ccb09f..8d97bc62e 100644 --- a/sphinx.po +++ b/sphinx.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:47+0000\n" "Last-Translator: Maciej Olko , 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -29,20 +29,20 @@ msgstr "Stabilna" msgid "In development" msgstr "W rozwoju" -msgid "This Page" -msgstr "Ta strona" +msgid "This page" +msgstr "" -msgid "Report a Bug" -msgstr "Zgłoś błąd" +msgid "Report a bug" +msgstr "" -msgid "Show Source" -msgstr "Pokaż źródło" +msgid "Show source" +msgstr "" msgid "Download" msgstr "Pobieranie" -msgid "Download Python %(dl_version)s Documentation" -msgstr "Pobierz dokumentację Pythona %(dl_version)s" +msgid "Download Python %(dl_version)s documentation" +msgstr "" msgid "Last updated on: %(last_updated)s." msgstr "Ostatnia aktualizacja: %(last_updated)s." @@ -370,8 +370,8 @@ msgstr "Informacje o projekcie:" msgid "Reporting issues" msgstr "Zgłaszanie błędów" -msgid "Contributing to Docs" -msgstr "Rozwijanie dokumentacji" +msgid "Contributing to docs" +msgstr "" msgid "Download the documentation" msgstr "Pobierz dokumentację" @@ -397,20 +397,20 @@ msgstr "Wszystkie wersje" msgid "Other resources" msgstr "Inne zasoby" -msgid "PEP Index" -msgstr "PEP Index" +msgid "PEP index" +msgstr "" -msgid "Beginner's Guide" -msgstr "Przewodnik dla początkujących" +msgid "Beginner's guide" +msgstr "" -msgid "Book List" -msgstr "Lista książek" +msgid "Book list" +msgstr "" -msgid "Audio/Visual Talks" -msgstr "Nagrania audio/wideo" +msgid "Audio/visual talks" +msgstr "" -msgid "Python Developer’s Guide" -msgstr "Python Developer’s Guide" +msgid "Python developer’s guide" +msgstr "" msgid "" "This document is for an old version of Python that is no longer supported.\n" diff --git a/translation_progress_en.svg b/translation_progress_en.svg new file mode 100644 index 000000000..79e28244d --- /dev/null +++ b/translation_progress_en.svg @@ -0,0 +1,20414 @@ + + + + + + + + 2025-06-22T21:59:31.713079 + image/svg+xml + + + Matplotlib v3.10.0, https://matplotlib.org/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/translation_progress_pl.svg b/translation_progress_pl.svg new file mode 100644 index 000000000..69070fb0e --- /dev/null +++ b/translation_progress_pl.svg @@ -0,0 +1,584 @@ + + + + + + + + 2025-06-22T22:06:49.442036 + image/svg+xml + + + Matplotlib v3.10.0, https://matplotlib.org/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tutorial/appendix.po b/tutorial/appendix.po index b3af5e14d..8091c0ce0 100644 --- a/tutorial/appendix.po +++ b/tutorial/appendix.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -13,9 +13,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:49+0000\n" "Last-Translator: Maciej Olko , 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/tutorial/appetite.po b/tutorial/appetite.po index 519f03c53..9b70a015a 100644 --- a/tutorial/appetite.po +++ b/tutorial/appetite.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:49+0000\n" "Last-Translator: Maciej Olko , 2022\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/tutorial/classes.po b/tutorial/classes.po index 269f575f4..efa006342 100644 --- a/tutorial/classes.po +++ b/tutorial/classes.po @@ -16,7 +16,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:49+0000\n" "Last-Translator: Maciej Olko , 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -740,9 +740,10 @@ msgid "" "is a method object, and can be stored away and called at a later time. For " "example::" msgstr "" -"W przykładzie :class:`!MyClass` będzie to zwracać napis ``'hello world'`` . " -"Nie jest jednak konieczne wywoływanie metody od razu: ``x.f`` jest obiektem " -"metody i może być przechowywany i wywoływany później. Na przykład::" +"W przykładzie :class:`!MyClass` będzie to zwracać napis ``'witaj " +"świecie'`` . Nie jest jednak konieczne wywoływanie metody od razu: ``x.f`` " +"jest obiektem metody i może być przechowywane i wywoływane później. Na " +"przykład::" msgid "" "xf = x.f\n" @@ -754,7 +755,7 @@ msgstr "" " print(xf())" msgid "will continue to print ``hello world`` until the end of time." -msgstr "będzie drukować ``hello world`` do końca czasu." +msgstr "będzie drukować ``witaj świecie`` do końca czasu." msgid "" "What exactly happens when a method is called? You may have noticed that ``x." @@ -764,11 +765,11 @@ msgid "" "argument is called without any --- even if the argument isn't actually " "used..." msgstr "" -"Co dokładnie dzieje się, gdy wywoływana jest metoda? Być może zauważyłeś, " -"że ``x.f()`` został wywołany bez argument powyżej, mimo że definicja funkcja " -"dla :meth:`!f` określała argument. Co się stało z argumentem? Z pewnością " -"Python rzucić wyjątek, gdy funkcja, który wymaga argument jest wywoływany " -"bez żadnego --- nawet jeśli argument nie jest faktycznie używany...." +"Co dokładnie dzieje się, gdy wywoływana jest metoda? Być może zauważyłeś(-" +"łaś), że powyżej ``x.f()`` została wywołana bez argumentu, mimo że definicja " +"funkcji dla :meth:`!f` określała argument. Co się stało z argumentem? Z " +"pewnością Python rzuca wyjątek, gdy funkcja, który wymaga argumentu jest " +"wywoływana bez żadnego --- nawet jeśli argument nie jest faktycznie używany…" msgid "" "Actually, you may have guessed the answer: the special thing about methods " @@ -779,13 +780,13 @@ msgid "" "that is created by inserting the method's instance object before the first " "argument." msgstr "" -"Właściwie, być może zgadłeś odpowiedź: szczególną rzeczą w metodach jest to, " -"że obiekt instancji jest przekazywany jako pierwszy argument z funkcja. W " -"naszym przykładzie wywołanie ``x.f()`` jest dokładnie równoważne wywołaniu " -"``MyClass.f(x)``. Ogólnie rzecz biorąc, wywołanie metody z listą *n* " -"argument jest równoważne wywołaniu odpowiedniej funkcja z listą argument, " -"która jest tworzona przez wstawienie obiektu instancji metody przed " -"pierwszym argument." +"Właściwie, być może zgadłeś(-łaś) odpowiedź: szczególną rzeczą w metodach " +"jest to, że obiekt instancji jest przekazywany jako pierwszy argument " +"funkcji. W naszym przykładzie wywołanie ``x.f()`` jest dokładnie równoważne " +"wywołaniu ``MyClass.f(x)``. Ogólnie rzecz biorąc, wywołanie metody z listą " +"*n* argumentów jest równoważne wywołaniu odpowiedniej funkcji z listą " +"argumentów, która jest tworzona przez wstawienie obiektu instancji metody " +"przed pierwszym argumentem." msgid "" "In general, methods work as follows. When a non-data attribute of an " diff --git a/tutorial/controlflow.po b/tutorial/controlflow.po index 7fc177b92..74e66e1df 100644 --- a/tutorial/controlflow.po +++ b/tutorial/controlflow.po @@ -16,7 +16,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:50+0000\n" "Last-Translator: Maciej Olko , 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -2006,10 +2006,9 @@ msgstr "" msgid "" "The above example uses a lambda expression to return a function. Another " -"use is to pass a small function as an argument::" +"use is to pass a small function as an argument. For instance, :meth:`list." +"sort` takes a sorting key function *key* which can be a lambda function::" msgstr "" -"Powyższy przykład wykorzystuje ekspresję lambda aby zwrócić funkcję. Inne " -"wykorzystanie to przekazanie małej funkcji jako argumentu::" msgid "" ">>> pairs = [(1, 'one'), (2, 'two'), (3, 'three'), (4, 'four')]\n" @@ -2091,19 +2090,8 @@ msgid "" ">>> print(my_function.__doc__)\n" "Do nothing, but document it.\n" "\n" -" No, really, it doesn't do anything." +"No, really, it doesn't do anything." msgstr "" -">>> def my_function():\n" -"... \"\"\"Nie robi nic, ale dokumentuje to.\n" -"...\n" -"... Nie, naprawdę, ona nic nie robi.\n" -"... \"\"\"\n" -"... pass\n" -"...\n" -">>> print(my_function.__doc__)\n" -"Nie robi nic, ale dokumentuje to.\n" -"\n" -" Nie, naprawdę, ona nic nie robi." msgid "Function Annotations" msgstr "Adnotacje funkcji" diff --git a/tutorial/datastructures.po b/tutorial/datastructures.po index 25095c1ad..980e88bfb 100644 --- a/tutorial/datastructures.po +++ b/tutorial/datastructures.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:50+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/tutorial/errors.po b/tutorial/errors.po index c45b38775..aa9550107 100644 --- a/tutorial/errors.po +++ b/tutorial/errors.po @@ -16,7 +16,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:50+0000\n" "Last-Translator: Maciej Olko , 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/tutorial/floatingpoint.po b/tutorial/floatingpoint.po index a9b152385..cf4ca866b 100644 --- a/tutorial/floatingpoint.po +++ b/tutorial/floatingpoint.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:50+0000\n" "Last-Translator: Maciej Olko , 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/tutorial/index.po b/tutorial/index.po index a4ebfdbef..fc256d078 100644 --- a/tutorial/index.po +++ b/tutorial/index.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:50+0000\n" "Last-Translator: Stefan Ocetkiewicz , 2023\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -27,6 +27,11 @@ msgstr "" msgid "The Python Tutorial" msgstr "Python Tutorial" +msgid "" +"This tutorial is designed for *programmers* that are new to the Python " +"language, **not** *beginners* who are new to programming." +msgstr "" + msgid "" "Python is an easy to learn, powerful programming language. It has efficient " "high-level data structures and a simple but effective approach to object-" @@ -67,14 +72,11 @@ msgstr "" msgid "" "This tutorial introduces the reader informally to the basic concepts and " -"features of the Python language and system. It helps to have a Python " -"interpreter handy for hands-on experience, but all examples are self-" +"features of the Python language and system. Be aware that it expects you to " +"have a basic understanding of programming in general. It helps to have a " +"Python interpreter handy for hands-on experience, but all examples are self-" "contained, so the tutorial can be read off-line as well." msgstr "" -"Ten tutorial wprowadza nieformalnie czytelnika w podstawowe koncepcje i " -"cechy języka i systemu Python. Pomocnym jest mieć interpreter Pythona pod " -"ręką dla praktycznych doświadczeń, ale wszystkie przykłady są " -"samowystarczalne, więc tutorial może być również czytany off-line." msgid "" "For a description of standard objects and modules, see :ref:`library-" diff --git a/tutorial/inputoutput.po b/tutorial/inputoutput.po index b4bd01e41..392e392c2 100644 --- a/tutorial/inputoutput.po +++ b/tutorial/inputoutput.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:50+0000\n" "Last-Translator: Maciej Olko , 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/tutorial/interactive.po b/tutorial/interactive.po index 0255c2b30..1432bb402 100644 --- a/tutorial/interactive.po +++ b/tutorial/interactive.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:50+0000\n" "Last-Translator: Maciej Olko , 2023\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/tutorial/interpreter.po b/tutorial/interpreter.po index 70737587a..7a84c3bbb 100644 --- a/tutorial/interpreter.po +++ b/tutorial/interpreter.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:50+0000\n" "Last-Translator: Maciej Olko , 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/tutorial/introduction.po b/tutorial/introduction.po index 22416c8d1..1e2a1cd1d 100644 --- a/tutorial/introduction.po +++ b/tutorial/introduction.po @@ -6,16 +6,16 @@ # Translators: # haaritsubaki, 2023 # Ciarbin , 2024 -# Maciej Olko , 2024 +# Maciej Olko , 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:50+0000\n" -"Last-Translator: Maciej Olko , 2024\n" +"Last-Translator: Maciej Olko , 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -45,15 +45,13 @@ msgstr "" "komendy." msgid "" -"You can toggle the display of prompts and output by clicking on ``>>>`` in " -"the upper-right corner of an example box. If you hide the prompts and " -"output for an example, then you can easily copy and paste the input lines " -"into your interpreter." +"You can use the \"Copy\" button (it appears in the upper-right corner when " +"hovering over or tapping a code example), which strips prompts and omits " +"output, to copy and paste the input lines into your interpreter." msgstr "" -"Możesz przełączać wyświetlanie promptów i wyjścia klikając na ``>>>`` w " -"prawym górnym rogu pola z przykładem. Jeśli schowasz prompty i wyjście dla " -"przykładu, wtedy możesz prosto skopiować i wkleić linie wejścia w swój " -"interpreter." +"Możesz użyć przycisku „Copy” (pojawia się w prawym górnym rogu po najechaniu " +"kursorem lub dotknięciu przykładu kodu), który usuwa prompty i pomija dane " +"wyjściowe, aby skopiować i wkleić linie wejściowe do swojego interpretera." msgid "" "Many of the examples in this manual, even those entered at the interactive " @@ -312,6 +310,12 @@ msgid "" ">>> '1975' # digits and numerals enclosed in quotes are also strings\n" "'1975'" msgstr "" +">>> 'spam eggs' # pojedynczy cudzysłów\n" +"'spam eggs'\n" +">>> \"Paris rabbit got your back :)! Yay!\" # podwójny cudzysłów\n" +"'Paris rabbit got your back :)! Yay!'\n" +">>> '1975' # cyfry i liczby ujęte w cudzysłów są również ciągami znaków\n" +"'1975'" msgid "" "To quote a quote, we need to \"escape\" it, by preceding it with ``\\``. " @@ -412,6 +416,11 @@ msgid "" "adding a ``\\`` at the end of the line. In the following example, the " "initial newline is not included::" msgstr "" +"Literał ciągu znaków może obejmować wiele linii. Jednym ze sposobów jest " +"użycie potrójnych cudzysłowów: ``\"\"\"...\"\"\"`` lub ``'''...'''``. Znaki " +"końca linii są automatycznie dołączane do napisów, ale można temu zapobiec, " +"dodając ``\\`` na końcu linii. W poniższym przykładzie początkowy znak nowej " +"linii nie jest uwzględniony::" msgid "" ">>> print(\"\"\"\\\n" diff --git a/tutorial/modules.po b/tutorial/modules.po index f5dcc331b..df5099bfd 100644 --- a/tutorial/modules.po +++ b/tutorial/modules.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:50+0000\n" "Last-Translator: Maciej Olko , 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -78,14 +78,16 @@ msgstr "" msgid "" "# Fibonacci numbers module\n" "\n" -"def fib(n): # write Fibonacci series up to n\n" +"def fib(n):\n" +" \"\"\"Write Fibonacci series up to n.\"\"\"\n" " a, b = 0, 1\n" " while a < n:\n" " print(a, end=' ')\n" " a, b = b, a+b\n" " print()\n" "\n" -"def fib2(n): # return Fibonacci series up to n\n" +"def fib2(n):\n" +" \"\"\"Return Fibonacci series up to n.\"\"\"\n" " result = []\n" " a, b = 0, 1\n" " while a < n:\n" @@ -93,22 +95,6 @@ msgid "" " a, b = b, a+b\n" " return result" msgstr "" -"# moduł liczb Fibonacciego\n" -"\n" -"def fib(n): # wypisz ciąg Fibonacieggo do n\n" -" a, b = 0, 1\n" -" while a < n:\n" -" print(a, end=' ')\n" -" a, b = b, a+b\n" -" print()\n" -"\n" -"def fib2(n): # zwróć ciąg Fibonacciego do n\n" -" result = []\n" -" a, b = 0, 1\n" -" while a < n:\n" -" result.append(a)\n" -" a, b = b, a+b\n" -" return result" msgid "" "Now enter the Python interpreter and import this module with the following " diff --git a/tutorial/stdlib.po b/tutorial/stdlib.po index 52f0efc1d..6fda0356c 100644 --- a/tutorial/stdlib.po +++ b/tutorial/stdlib.po @@ -15,7 +15,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:50+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/tutorial/stdlib2.po b/tutorial/stdlib2.po index f0bd28677..bb355f17a 100644 --- a/tutorial/stdlib2.po +++ b/tutorial/stdlib2.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:50+0000\n" "Last-Translator: Maciej Olko , 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/tutorial/venv.po b/tutorial/venv.po index a5b904f91..dcb73c419 100644 --- a/tutorial/venv.po +++ b/tutorial/venv.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -11,9 +11,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:50+0000\n" "Last-Translator: Ciarbin , 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/tutorial/whatnow.po b/tutorial/whatnow.po index ed59bf94d..f35f8977f 100644 --- a/tutorial/whatnow.po +++ b/tutorial/whatnow.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -12,9 +12,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:50+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/update_switcher_chart.py b/update_switcher_chart.py deleted file mode 100644 index 7ddca16b3..000000000 --- a/update_switcher_chart.py +++ /dev/null @@ -1,35 +0,0 @@ -# EOL code, saving as this can be repurposed for a chart with the total translation progress - -from datetime import datetime -from re import search - -from git import Repo, GitCommandError -from matplotlib import pyplot -from matplotlib.ticker import PercentFormatter - -repo = Repo('.') -progress, dates = [], [] -for commit in repo.iter_commits(): - try: - readme_content = repo.git.show('{}:{}'.format(commit.hexsha, 'README.md')) - except GitCommandError: - continue - found = search(r'!\[(\d\d.\d\d)% przełącznika języków]', readme_content) - if not found: - found = search(r'!\[(\d+.\d\d)% language switchera]', readme_content) - if not found: - found = search(r'!\[(\d+.\d\d)% do language switchera]', readme_content) - if not found: - print(readme_content) - continue - number = float(found.group(1)) - progress.append(number) - dates.append(datetime.fromtimestamp(commit.authored_date)) - -pyplot.plot_date(dates, progress, linestyle='-', marker='') -pyplot.ylim(ymin=0) -pyplot.grid() -pyplot.gcf().autofmt_xdate() -pyplot.gca().yaxis.set_major_formatter(PercentFormatter()) -pyplot.title("Postęp tłumaczenia do dodania do przełącznika języków") -pyplot.savefig("language-switcher-progress.svg") diff --git a/using/android.po b/using/android.po index 66f18130b..f1a53a524 100644 --- a/using/android.po +++ b/using/android.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2024-09-27 14:19+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -126,3 +126,14 @@ msgid "" "testbed/app/src/main/c/main_activity.c>`. This will need to be C code called " "via JNI." msgstr "" + +msgid "Building a Python package for Android" +msgstr "" + +msgid "" +"Python packages can be built for Android as wheels and released on PyPI. The " +"recommended tool for doing this is `cibuildwheel `__, which automates all the details of " +"setting up a cross-compilation environment, building the wheel, and testing " +"it on an emulator." +msgstr "" diff --git a/using/cmdline.po b/using/cmdline.po index 488c10c11..f9088f2fe 100644 --- a/using/cmdline.po +++ b/using/cmdline.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:50+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -744,7 +744,7 @@ msgstr "" msgid "" ":samp:`-X thread_inherit_context={0,1}` causes :class:`~threading.Thread` " -"to, by default, use a copy of context of of the caller of ``Thread.start()`` " +"to, by default, use a copy of context of the caller of ``Thread.start()`` " "when starting. Otherwise, threads will start with an empty context. If " "unset, the value of this option defaults to ``1`` on free-threaded builds " "and to ``0`` otherwise. See also :envvar:`PYTHON_THREAD_INHERIT_CONTEXT`." @@ -758,6 +758,13 @@ msgid "" "`PYTHON_CONTEXT_AWARE_WARNINGS`." msgstr "" +msgid "" +":samp:`-X tlbc={0,1}` enables (1, the default) or disables (0) thread-local " +"bytecode in builds configured with :option:`--disable-gil`. When disabled, " +"this also disables the specializing interpreter. See also :envvar:" +"`PYTHON_TLBC`." +msgstr "" + msgid "" "It also allows passing arbitrary values and retrieving them through the :" "data:`sys._xoptions` dictionary." @@ -1350,7 +1357,7 @@ msgstr "" msgid "" "If this variable is set to ``1`` then :class:`~threading.Thread` will, by " -"default, use a copy of context of of the caller of ``Thread.start()`` when " +"default, use a copy of context of the caller of ``Thread.start()`` when " "starting. Otherwise, new threads will start with an empty context. If " "unset, this variable defaults to ``1`` on free-threaded builds and to ``0`` " "otherwise. See also :option:`-X thread_inherit_context<-X>`." @@ -1369,6 +1376,15 @@ msgid "" "interpreter startup." msgstr "" +msgid "" +"If set to ``1`` enables thread-local bytecode. If set to ``0`` thread-local " +"bytecode and the specializing interpreter are disabled. Only applies to " +"builds configured with :option:`--disable-gil`." +msgstr "" + +msgid "See also the :option:`-X tlbc <-X>` command-line option." +msgstr "" + msgid "Debug-mode variables" msgstr "" diff --git a/using/configure.po b/using/configure.po index 97134fe18..cb611097d 100644 --- a/using/configure.po +++ b/using/configure.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:50+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -62,6 +62,11 @@ msgstr "" msgid "Tcl/Tk 8.5.12 for the :mod:`tkinter` module." msgstr "" +msgid "" +"`libmpdec `_ 2.5.0 for " +"the :mod:`decimal` module." +msgstr "" + msgid "" "Autoconf 2.72 and aclocal 1.16.5 are required to regenerate the :file:" "`configure` script." @@ -417,8 +422,8 @@ msgid "Objects collected." msgstr "" msgid "" -"Enables **experimental** support for running Python without the :term:" -"`global interpreter lock` (GIL): free threading build." +"Enables support for running Python without the :term:`global interpreter " +"lock` (GIL): free threading build." msgstr "" msgid "" @@ -559,6 +564,11 @@ msgid "" "overriding ``pkg-config``." msgstr "" +msgid "" +"C compiler and linker flags for ``libzstd``, used by :mod:`compression.zstd` " +"module, overriding ``pkg-config``." +msgstr "" + msgid "C compiler and linker flags for PANEL, overriding ``pkg-config``." msgstr "" @@ -785,6 +795,16 @@ msgid "" "executed." msgstr "" +msgid "" +"This macro is defined by default, unless Python is configured with :option:" +"`--without-remote-debug`." +msgstr "" + +msgid "" +"Note that even if the macro is defined, remote debugging may not be " +"available (for example, on an incompatible platform)." +msgstr "" + msgid "Python Debug Build" msgstr "" @@ -1158,10 +1178,10 @@ msgid "``intel`` (i386 and x86-64);" msgstr "" msgid "``intel-32`` (i386);" -msgstr "" +msgstr "``intel-32`` (i386);" msgid "``intel-64`` (x86-64);" -msgstr "" +msgstr "``intel-64`` (x86-64);" msgid "``all`` (PPC, i386, PPC64 and x86-64)." msgstr "" diff --git a/using/editors.po b/using/editors.po index 43678088e..bf8f3e1c9 100644 --- a/using/editors.po +++ b/using/editors.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -9,9 +9,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:51+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/using/index.po b/using/index.po index 5e2114052..8e6fd48a1 100644 --- a/using/index.po +++ b/using/index.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:51+0000\n" "Last-Translator: Maciej Olko , 2021\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/using/ios.po b/using/ios.po index 97a9ee260..e6ec01c44 100644 --- a/using/ios.po +++ b/using/ios.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2024-05-11 01:08+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -430,11 +430,11 @@ msgid "" msgstr "" msgid "" -"``PYTHONHOME`` for the interpreter is configured to point at the ``python`` " -"subfolder of your app's bundle; and" +":envvar:`PYTHONHOME` for the interpreter is configured to point at the " +"``python`` subfolder of your app's bundle; and" msgstr "" -msgid "The ``PYTHONPATH`` for the interpreter includes:" +msgid "The :envvar:`PYTHONPATH` for the interpreter includes:" msgstr "" msgid "the ``python/lib/python3.X`` subfolder of your app's bundle," @@ -474,7 +474,15 @@ msgstr "" msgid "" "If you're using a separate folder for third-party packages, ensure that " -"folder is included as part of the ``PYTHONPATH`` configuration in step 10." +"folder is included as part of the :envvar:`PYTHONPATH` configuration in step " +"10." +msgstr "" + +msgid "" +"If any of the folders that contain third-party packages will contain ``." +"pth`` files, you should add that folder as a *site directory* (using :meth:" +"`site.addsitedir`), rather than adding to :envvar:`PYTHONPATH` or :attr:`sys." +"path` directly." msgstr "" msgid "Testing a Python package" diff --git a/using/mac.po b/using/mac.po index 3e3c6bcc1..f6bc9b2ac 100644 --- a/using/mac.po +++ b/using/mac.po @@ -1,19 +1,20 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Stan Ulbrych, 2025 +# Maciej Olko , 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:51+0000\n" -"Last-Translator: Stan Ulbrych, 2025\n" +"Last-Translator: Maciej Olko , 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -81,7 +82,7 @@ msgid "" "which Python version is going to be installed and on what versions of macOS " "it is supported. You may need to scroll through to read the whole file. By " "default, this **Read Me** will also be installed in |" -"usemac_applications_folder_version| and available to read anytime." +"applications_python_version_literal| and available to read anytime." msgstr "" msgid "" @@ -101,8 +102,7 @@ msgid "" "By pressing the **Customize** button, you can choose to omit or select " "certain package components of the installer. Click on each package name to " "see a description of what it installs. To also install support for the " -"optional experimental free-threaded feature, see :ref:`install-freethreaded-" -"macos`." +"optional free-threaded feature, see :ref:`install-freethreaded-macos`." msgstr "" msgid "" @@ -117,7 +117,8 @@ msgstr "" msgid "" "Double-click on the :command:`Install Certificates.command` icon or file in " -"the |usemac_applications_folder_version| window to complete the installation." +"the |applications_python_version_literal| window to complete the " +"installation." msgstr "" msgid "" @@ -135,9 +136,9 @@ msgid "A default install will include:" msgstr "" msgid "" -"A |usemac_applications_folder_name| folder in your :file:`Applications` " -"folder. In here you find :program:`IDLE`, the development environment that " -"is a standard part of official Python distributions; and :program:`Python " +"A |python_version_literal| folder in your :file:`Applications` folder. In " +"here you find :program:`IDLE`, the development environment that is a " +"standard part of official Python distributions; and :program:`Python " "Launcher`, which handles double-clicking Python scripts from the macOS " "`Finder `_." msgstr "" @@ -168,8 +169,8 @@ msgstr "" msgid "" "There are two ways to invoke the Python interpreter. If you are familiar " "with using a Unix shell in a terminal window, you can invoke |" -"usemac_python_x_dot_y_literal| or ``python3`` optionally followed by one or " -"more command line options (described in :ref:`using-on-general`). The Python " +"python_x_dot_y_literal| or ``python3`` optionally followed by one or more " +"command line options (described in :ref:`using-on-general`). The Python " "tutorial also has a useful section on :ref:`using Python interactively from " "a shell `." msgstr "" @@ -193,8 +194,8 @@ msgid "" "interpreter with the name of the script file:" msgstr "" -msgid "|usemac_python_x_dot_y_literal| ``myscript.py``" -msgstr "" +msgid "|python_x_dot_y_literal| ``myscript.py``" +msgstr "|python_x_dot_y_literal| ``myscript.py``" msgid "To run your script from the Finder, you can either:" msgstr "" @@ -242,7 +243,7 @@ msgid "" msgstr "" msgid "`Homebrew `_" -msgstr "" +msgstr "`Homebrew `_" msgid "" "Package manager for macOS including multiple versions of Python and many " @@ -322,38 +323,33 @@ msgstr "" msgid "Installing Free-threaded Binaries" msgstr "" -msgid "(Experimental)" -msgstr "" - -msgid "" -"Everything described in this section is considered experimental, and should " -"be expected to change in future releases." -msgstr "" - msgid "" "The ``python.org`` :ref:`Python for macOS ` installer package can optionally install an additional build of " -"Python |usemac_x_dot_y| that supports :pep:`703`, the experimental free-" -"threading feature (running with the :term:`global interpreter lock` " -"disabled). Check the release page on ``python.org`` for possible updated " -"information." +"Python |version| that supports :pep:`703`, the free-threading feature " +"(running with the :term:`global interpreter lock` disabled). Check the " +"release page on ``python.org`` for possible updated information." msgstr "" msgid "" -"Because this feature is still considered experimental, the support for it is " -"not installed by default. It is packaged as a separate install option, " -"available by clicking the **Customize** button on the **Installation Type** " -"step of the installer as described above." +"The free-threaded mode is working and continues to be improved, but there is " +"some additional overhead in single-threaded workloads compared to the " +"regular build. Additionally, third-party packages, in particular ones with " +"an :term:`extension module`, may not be ready for use in a free-threaded " +"build, and will re-enable the :term:`GIL`. Therefore, the support for free-" +"threading is not installed by default. It is packaged as a separate install " +"option, available by clicking the **Customize** button on the **Installation " +"Type** step of the installer as described above." msgstr "" msgid "" "If the box next to the **Free-threaded Python** package name is checked, a " "separate :file:`PythonT.framework` will also be installed alongside the " "normal :file:`Python.framework` in :file:`/Library/Frameworks`. This " -"configuration allows a free-threaded Python |usemac_x_dot_y| build to co-" -"exist on your system with a traditional (GIL only) Python |usemac_x_dot_y| " -"build with minimal risk while installing or testing. This installation " -"layout is itself experimental and is subject to change in future releases." +"configuration allows a free-threaded Python |version| build to co-exist on " +"your system with a traditional (GIL only) Python |version| build with " +"minimal risk while installing or testing. This installation layout may " +"change in future releases." msgstr "" msgid "Known cautions and limitations:" @@ -361,18 +357,17 @@ msgstr "" msgid "" "The **UNIX command-line tools** package, which is selected by default, will " -"install links in :file:`/usr/local/bin` for |" -"usemac_python_x_dot_y_t_literal|, the free-threaded interpreter, and |" -"usemac_python_x_dot_y_t_literal_config|, a configuration utility which may " -"be useful for package builders. Since :file:`/usr/local/bin` is typically " -"included in your shell ``PATH``, in most cases no changes to your ``PATH`` " -"environment variables should be needed to use |" -"usemac_python_x_dot_y_t_literal|." +"install links in :file:`/usr/local/bin` for |python_x_dot_y_t_literal|, the " +"free-threaded interpreter, and |python_x_dot_y_t_literal_config|, a " +"configuration utility which may be useful for package builders. Since :file:" +"`/usr/local/bin` is typically included in your shell ``PATH``, in most cases " +"no changes to your ``PATH`` environment variables should be needed to use |" +"python_x_dot_y_t_literal|." msgstr "" msgid "" "For this release, the **Shell profile updater** package and the :file:" -"`Update Shell Profile.command` in |usemac_applications_folder_version| do " +"`Update Shell Profile.command` in |applications_python_version_literal| do " "not support the free-threaded package." msgstr "" @@ -381,14 +376,14 @@ msgid "" "and separate :file:`site-packages` directories so, by default, if you need a " "package available in both builds, it may need to be installed in both. The " "free-threaded package will install a separate instance of :program:`pip` for " -"use with |usemac_python_x_dot_y_t_literal|." +"use with |python_x_dot_y_t_literal|." msgstr "" msgid "To install a package using :command:`pip` without a :command:`venv`:" msgstr "" -msgid "|usemac_python_x_dot_y_t_literal| ``-m pip install ``" -msgstr "" +msgid "python\\ |version|\\ t -m pip install " +msgstr "python\\ |version|\\ t -m pip install " msgid "" "When working with multiple Python environments, it is usually safest and " @@ -397,8 +392,8 @@ msgid "" "use:" msgstr "" -msgid "|usemac_python_x_dot_y_t_literal| ``-m venv ``" -msgstr "" +msgid "python\\ |version|\\ t -m venv " +msgstr "python\\ |version|\\ t -m venv " msgid "then :command:`activate`." msgstr "" @@ -406,8 +401,8 @@ msgstr "" msgid "To run a free-threaded version of IDLE:" msgstr "" -msgid "|usemac_python_x_dot_y_t_literal| ``-m idlelib``" -msgstr "" +msgid "python\\ |version|\\ t -m idlelib" +msgstr "python\\ |version|\\ t -m idlelib" msgid "" "The interpreters in both builds respond to the same :ref:`PYTHON environment " @@ -427,36 +422,40 @@ msgstr "" msgid "" "If you cannot depend on the link in ``/usr/local/bin`` pointing to the " -"``python.org`` free-threaded |usemac_python_x_dot_y_t_literal| (for example, " -"if you want to install your own version there or some other distribution " -"does), you can explicitly set your shell ``PATH`` environment variable to " -"include the ``PythonT`` framework ``bin`` directory:" +"``python.org`` free-threaded |python_x_dot_y_t_literal| (for example, if you " +"want to install your own version there or some other distribution does), you " +"can explicitly set your shell ``PATH`` environment variable to include the " +"``PythonT`` framework ``bin`` directory:" msgstr "" msgid "" -"export PATH=\"/Library/Frameworks/PythonT.framework/Versions/3.13/bin\":" -"\"$PATH\"" +"export PATH=\"/Library/Frameworks/PythonT.framework/Versions/\\ |version|\\ /" +"bin\":\"$PATH\"" msgstr "" -"export PATH=\"/Library/Frameworks/PythonT.framework/Versions/3.13/bin\":" -"\"$PATH\"" +"export PATH=\"/Library/Frameworks/PythonT.framework/Versions/\\ |version|\\ /" +"bin\":\"$PATH\"" msgid "" "The traditional framework installation by default does something similar, " "except for :file:`Python.framework`. Be aware that having both framework " "``bin`` directories in ``PATH`` can lead to confusion if there are duplicate " -"names like ``python3.13`` in both; which one is actually used depends on the " -"order they appear in ``PATH``. The ``which python3.x`` or ``which python3." -"xt`` commands can show which path is being used. Using virtual environments " -"can help avoid such ambiguities. Another option might be to create a shell :" -"command:`alias` to the desired interpreter, like:" +"names like |python_x_dot_y_literal| in both; which one is actually used " +"depends on the order they appear in ``PATH``. The ``which python3.x`` or " +"``which python3.xt`` commands can show which path is being used. Using " +"virtual environments can help avoid such ambiguities. Another option might " +"be to create a shell :command:`alias` to the desired interpreter, like:" msgstr "" msgid "" -"alias py3.13=\"/Library/Frameworks/Python.framework/Versions/3.13/bin/" -"python3.13\"\n" -"alias py3.13t=\"/Library/Frameworks/PythonT.framework/Versions/3.13/bin/" -"python3.13t\"" +"alias py\\ |version|\\ =\"/Library/Frameworks/Python.framework/Versions/\\ |" +"version|\\ /bin/python\\ |version|\\ \"\n" +"alias py\\ |version|\\ t=\"/Library/Frameworks/PythonT.framework/Versions/\\ " +"|version|\\ /bin/python\\ |version|\\ t\"" msgstr "" +"alias py\\ |version|\\ =\"/Library/Frameworks/Python.framework/Versions/\\ |" +"version|\\ /bin/python\\ |version|\\ \"\n" +"alias py\\ |version|\\ t=\"/Library/Frameworks/PythonT.framework/Versions/\\ " +"|version|\\ /bin/python\\ |version|\\ t\"" msgid "Installing using the command line" msgstr "" @@ -468,22 +467,22 @@ msgid "" "non-default options, too. If you are not familiar with :command:`installer`, " "it can be somewhat cryptic (see :command:`man installer` for more " "information). As an example, the following shell snippet shows one way to do " -"it, using the ``3.13.0b2`` release and selecting the free-threaded " +"it, using the |x_dot_y_b2_literal| release and selecting the free-threaded " "interpreter option:" msgstr "" msgid "" -"RELEASE=\"python-3.13.0b2-macos11.pkg\"\n" +"RELEASE=\"python-\\ |version|\\ 0b2-macos11.pkg\"\n" "\n" "# download installer pkg\n" -"curl -O https://www.python.org/ftp/python/3.13.0/${RELEASE}\n" +"curl -O \\https://www.python.org/ftp/python/\\ |version|\\ .0/${RELEASE}\n" "\n" "# create installer choicechanges to customize the install:\n" -"# enable the PythonTFramework-3.13 package\n" +"# enable the PythonTFramework-\\ |version|\\ package\n" "# while accepting the other defaults (install all other packages)\n" "cat > ./choicechanges.plist <\n" -"\n" "\n" "\n" @@ -493,7 +492,8 @@ msgid "" " choiceAttribute\n" " selected\n" " choiceIdentifier\n" -" org.python.Python.PythonTFramework-3.13\n" +" org.python.Python.PythonTFramework-\\ |version|\\ \n" " \n" "\n" "\n" @@ -502,6 +502,35 @@ msgid "" "sudo installer -pkg ./${RELEASE} -applyChoiceChangesXML ./choicechanges." "plist -target /" msgstr "" +"RELEASE=\"python-\\ |version|\\ 0b2-macos11.pkg\"\n" +"\n" +"# download installer pkg\n" +"curl -O \\https://www.python.org/ftp/python/\\ |version|\\ .0/${RELEASE}\n" +"\n" +"# create installer choicechanges to customize the install:\n" +"# enable the PythonTFramework-\\ |version|\\ package\n" +"# while accepting the other defaults (install all other packages)\n" +"cat > ./choicechanges.plist <\n" +"\n" +"\n" +"\n" +" \n" +" attributeSetting\n" +" 1\n" +" choiceAttribute\n" +" selected\n" +" choiceIdentifier\n" +" org.python.Python.PythonTFramework-\\ |version|\\ \n" +" \n" +"\n" +"\n" +"EOF\n" +"\n" +"sudo installer -pkg ./${RELEASE} -applyChoiceChangesXML ./choicechanges." +"plist -target /" msgid "" "You can then test that both installer builds are now available with " @@ -511,21 +540,23 @@ msgstr "" msgid "" "$ # test that the free-threaded interpreter was installed if the Unix " "Command Tools package was enabled\n" -"$ /usr/local/bin/python3.13t -VV\n" -"Python 3.13.0b2 experimental free-threading build (v3.13.0b2:3a83b172af, " -"Jun 5 2024, 12:57:31) [Clang 15.0.0 (clang-1500.3.9.4)]\n" -"$ # and the traditional interpreter\n" -"$ /usr/local/bin/python3.13 -VV\n" -"Python 3.13.0b2 (v3.13.0b2:3a83b172af, Jun 5 2024, 12:50:24) [Clang 15.0.0 " +"$ /usr/local/bin/python\\ |version|\\ t -VV\n" +"Python \\ |version|\\ .0b2 free-threading build (v\\ |version|" +"\\ .0b2:3a83b172af, Jun 5 2024, 12:57:31) [Clang 15.0.0 " "(clang-1500.3.9.4)]\n" +"$ # and the traditional interpreter\n" +"$ /usr/local/bin/python\\ |version|\\ -VV\n" +"Python \\ |version|\\ .0b2 (v\\ |version|\\ .0b2:3a83b172af, Jun 5 2024, " +"12:50:24) [Clang 15.0.0 (clang-1500.3.9.4)]\n" "$ # test that they are also available without the prefix if /usr/local/bin " "is on $PATH\n" -"$ python3.13t -VV\n" -"Python 3.13.0b2 experimental free-threading build (v3.13.0b2:3a83b172af, " -"Jun 5 2024, 12:57:31) [Clang 15.0.0 (clang-1500.3.9.4)]\n" -"$ python3.13 -VV\n" -"Python 3.13.0b2 (v3.13.0b2:3a83b172af, Jun 5 2024, 12:50:24) [Clang 15.0.0 " -"(clang-1500.3.9.4)]" +"$ python\\ |version|\\ t -VV\n" +"Python \\ |version|\\ .0b2 free-threading build (v\\ |version|" +"\\ .0b2:3a83b172af, Jun 5 2024, 12:57:31) [Clang 15.0.0 " +"(clang-1500.3.9.4)]\n" +"$ python\\ |version|\\ -VV\n" +"Python \\ |version|\\ .0b2 (v\\ |version|\\ .0b2:3a83b172af, Jun 5 2024, " +"12:50:24) [Clang 15.0.0 (clang-1500.3.9.4)]" msgstr "" msgid "" diff --git a/using/unix.po b/using/unix.po index 59727a647..3f8f5fc96 100644 --- a/using/unix.po +++ b/using/unix.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:51+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/using/windows.po b/using/windows.po index a60e748c0..33f8393b2 100644 --- a/using/windows.po +++ b/using/windows.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-16 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:51+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -513,7 +513,7 @@ msgid "``default_tag``" msgstr "" msgid "``PYTHON_MANAGER_DEFAULT``" -msgstr "" +msgstr "``PYTHON_MANAGER_DEFAULT``" msgid "" "The preferred default version to launch or install. By default, this is " @@ -524,7 +524,7 @@ msgid "``default_platform``" msgstr "" msgid "``PYTHON_MANAGER_DEFAULT_PLATFORM``" -msgstr "" +msgstr "``PYTHON_MANAGER_DEFAULT_PLATFORM``" msgid "" "The preferred default platform to launch or install. This is treated as a " @@ -537,7 +537,7 @@ msgid "``logs_dir``" msgstr "" msgid "``PYTHON_MANAGER_LOGS``" -msgstr "" +msgstr "``PYTHON_MANAGER_LOGS``" msgid "The location where log files are written. By default, :file:`%TEMP%`." msgstr "" @@ -546,7 +546,7 @@ msgid "``automatic_install``" msgstr "" msgid "``PYTHON_MANAGER_AUTOMATIC_INSTALL``" -msgstr "" +msgstr "``PYTHON_MANAGER_AUTOMATIC_INSTALL``" msgid "" "True to allow automatic installs when specifying a particular runtime to " @@ -557,7 +557,7 @@ msgid "``include_unmanaged``" msgstr "" msgid "``PYTHON_MANAGER_INCLUDE_UNMANAGED``" -msgstr "" +msgstr "``PYTHON_MANAGER_INCLUDE_UNMANAGED``" msgid "" "True to allow listing and launching runtimes that were not installed by the " @@ -568,7 +568,7 @@ msgid "``shebang_can_run_anything``" msgstr "" msgid "``PYTHON_MANAGER_SHEBANG_CAN_RUN_ANYTHING``" -msgstr "" +msgstr "``PYTHON_MANAGER_SHEBANG_CAN_RUN_ANYTHING``" msgid "" "True to allow shebangs in ``.py`` files to launch applications other than " @@ -579,7 +579,7 @@ msgid "``log_level``" msgstr "" msgid "``PYMANAGER_VERBOSE``, ``PYMANAGER_DEBUG``" -msgstr "" +msgstr "``PYMANAGER_VERBOSE``, ``PYMANAGER_DEBUG``" msgid "" "Set the default level of output (0-50) By default, 20. Lower values produce " @@ -592,7 +592,7 @@ msgid "``confirm``" msgstr "" msgid "``PYTHON_MANAGER_CONFIRM``" -msgstr "" +msgstr "``PYTHON_MANAGER_CONFIRM``" msgid "" "True to confirm certain actions before taking them (such as uninstall), or " @@ -603,7 +603,7 @@ msgid "``install.source``" msgstr "" msgid "``PYTHON_MANAGER_SOURCE_URL``" -msgstr "" +msgstr "``PYTHON_MANAGER_SOURCE_URL``" msgid "Override the index feed to obtain new installs from." msgstr "" @@ -612,7 +612,7 @@ msgid "``list.format``" msgstr "" msgid "``PYTHON_MANAGER_LIST_FORMAT``" -msgstr "" +msgstr "``PYTHON_MANAGER_LIST_FORMAT``" msgid "" "Specify the default format used by the ``py list`` command. By default, " @@ -642,19 +642,19 @@ msgid "" msgstr "" msgid "``/usr/bin/env ``" -msgstr "" +msgstr "``/usr/bin/env ``" msgid "``/usr/bin/env -S ``" msgstr "" msgid "``/usr/bin/``" -msgstr "" +msgstr "``/usr/bin/``" msgid "``/usr/local/bin/``" -msgstr "" +msgstr "``/usr/local/bin/``" msgid "````" -msgstr "" +msgstr "````" msgid "For example, if the first line of your script starts with" msgstr "" @@ -775,14 +775,12 @@ msgstr "" msgid "" "$> winget download 9NQ7512CXL7T -e --skip-license --accept-package-" -"agreements --disable-interactivity" +"agreements --accept-source-agreements" msgstr "" msgid "" "To programmatically install or uninstall an MSIX using only PowerShell, the " -"`Add-AppxPackage `_ and `Remove-AppxPackage `_ PowerShell cmdlets are " +"`Add-AppxPackage`_ and `Remove-AppxPackage`_ PowerShell cmdlets are " "recommended:" msgstr "" @@ -794,21 +792,39 @@ msgid "" msgstr "" msgid "" -"The native APIs for package management may be found on the Windows " -"`PackageManager `_ class. The :func:`!AddPackageAsync` method " -"installs for the current user, or use :func:`!StagePackageAsync` followed " -"by :func:`!ProvisionPackageForAllUsersAsync` to install the Python install " -"manager for all users from the MSIX package. Users will still need to " -"install their own copies of Python itself, as there is no way to trigger " -"those installs without being a logged in user." +"The latest release can be downloaded and installed by Windows by passing the " +"AppInstaller file to the Add-AppxPackage command. This installs using the " +"MSIX on python.org, and is only recommended for cases where installing via " +"the Store (interactively or using WinGet) is not possible." +msgstr "" + +msgid "" +"$> Add-AppxPackage -AppInstallerFile https://www.python.org/ftp/python/" +"pymanager/pymanager.appinstaller" +msgstr "" + +msgid "" +"Other tools and APIs may also be used to provision an MSIX package for all " +"users on a machine, but Python does not consider this a supported scenario. " +"We suggest looking into the PowerShell `Add-AppxProvisionedPackage`_ cmdlet, " +"the native Windows `PackageManager`_ class, or the documentation and support " +"for your deployment tool." +msgstr "" + +msgid "" +"Regardless of the install method, users will still need to install their own " +"copies of Python itself, as there is no way to trigger those installs " +"without being a logged in user. When using the MSIX, the latest version of " +"Python will be available for all users to install without network access." msgstr "" msgid "" "Note that the MSIX downloadable from the Store and from the Python website " "are subtly different and cannot be installed at the same time. Wherever " -"possible, we suggest using the above commands to download the package from " -"the Store to reduce the risk of setting up conflicting installs." +"possible, we suggest using the above WinGet commands to download the package " +"from the Store to reduce the risk of setting up conflicting installs. There " +"are no licensing restrictions on the Python install manager that would " +"prevent using the Store package in this way." msgstr "" msgid "Administrative Configuration" @@ -888,14 +904,14 @@ msgid "Read-only directory containing locally cached files." msgstr "" msgid "``install.fallback_source``" -msgstr "" +msgstr "``install.fallback_source``" msgid "" "Path or URL to an index to consult when the main index cannot be accessed." msgstr "" msgid "``install.enable_shortcut_kinds``" -msgstr "" +msgstr "``install.enable_shortcut_kinds``" msgid "" "Comma-separated list of shortcut kinds to allow (e.g. ``\"pep514,start\"``). " @@ -903,7 +919,7 @@ msgid "" msgstr "" msgid "``install.disable_shortcut_kinds``" -msgstr "" +msgstr "``install.disable_shortcut_kinds``" msgid "" "Comma-separated list of shortcut kinds to exclude (e.g. ``\"pep514," @@ -912,7 +928,7 @@ msgid "" msgstr "" msgid "``pep514_root``" -msgstr "" +msgstr "``pep514_root``" msgid "" "Registry location to read and write PEP 514 entries into. By default, :file:" @@ -2627,7 +2643,7 @@ msgid "RC_BAD_VENV_CFG" msgstr "" msgid "107" -msgstr "" +msgstr "107" msgid "A :file:`pyvenv.cfg` was found but is corrupt." msgstr "" @@ -2636,7 +2652,7 @@ msgid "RC_CREATE_PROCESS" msgstr "" msgid "101" -msgstr "" +msgstr "101" msgid "Failed to launch Python." msgstr "" @@ -2645,7 +2661,7 @@ msgid "RC_INSTALLING" msgstr "" msgid "111" -msgstr "" +msgstr "111" msgid "" "An install was started, but the command will need to be re-run after it " @@ -2656,7 +2672,7 @@ msgid "RC_INTERNAL_ERROR" msgstr "" msgid "109" -msgstr "" +msgstr "109" msgid "Unexpected error. Please report a bug." msgstr "" @@ -2665,7 +2681,7 @@ msgid "RC_NO_COMMANDLINE" msgstr "" msgid "108" -msgstr "" +msgstr "108" msgid "Unable to obtain command line from the operating system." msgstr "" @@ -2674,7 +2690,7 @@ msgid "RC_NO_PYTHON" msgstr "" msgid "103" -msgstr "" +msgstr "103" msgid "Unable to locate the requested version." msgstr "" @@ -2683,7 +2699,7 @@ msgid "RC_NO_VENV_CFG" msgstr "" msgid "106" -msgstr "" +msgstr "106" msgid "A :file:`pyvenv.cfg` was required but not found." msgstr "" diff --git a/whatsnew/2.0.po b/whatsnew/2.0.po index a9eb6dbd4..ab5f47513 100644 --- a/whatsnew/2.0.po +++ b/whatsnew/2.0.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -12,9 +12,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:51+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/whatsnew/2.1.po b/whatsnew/2.1.po index b211ecb25..64d64a76a 100644 --- a/whatsnew/2.1.po +++ b/whatsnew/2.1.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:51+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/whatsnew/2.2.po b/whatsnew/2.2.po index a53461121..ea9c23a16 100644 --- a/whatsnew/2.2.po +++ b/whatsnew/2.2.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:51+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/whatsnew/2.3.po b/whatsnew/2.3.po index cdcdafaa2..2604770b7 100644 --- a/whatsnew/2.3.po +++ b/whatsnew/2.3.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:51+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/whatsnew/2.4.po b/whatsnew/2.4.po index 62b2cd003..d3d547353 100644 --- a/whatsnew/2.4.po +++ b/whatsnew/2.4.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -10,9 +10,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:51+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/whatsnew/2.5.po b/whatsnew/2.5.po index 90e95c03e..8024ec0ae 100644 --- a/whatsnew/2.5.po +++ b/whatsnew/2.5.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -11,9 +11,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:51+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -2352,13 +2352,13 @@ msgid "Adds *elem2* as a child." msgstr "" msgid "``elem.insert(index, elem2)``" -msgstr "" +msgstr "``elem.insert(index, elem2)``" msgid "Inserts *elem2* at the specified location." msgstr "" msgid "``del elem[n]``" -msgstr "" +msgstr "``del elem[n]``" msgid "Deletes n'th child element." msgstr "" @@ -2376,7 +2376,7 @@ msgid "Returns value of attribute *name*." msgstr "" msgid "``elem.set(name, value)``" -msgstr "" +msgstr "``elem.set(name, value)``" msgid "Sets new value for attribute *name*." msgstr "" @@ -2388,7 +2388,7 @@ msgid "Retrieves the dictionary containing attributes." msgstr "" msgid "``del elem.attrib[name]``" -msgstr "" +msgstr "``del elem.attrib[name]``" msgid "Deletes attribute *name*." msgstr "" diff --git a/whatsnew/2.6.po b/whatsnew/2.6.po index 00eb93bbe..243d49839 100644 --- a/whatsnew/2.6.po +++ b/whatsnew/2.6.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-28 01:51+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/whatsnew/2.7.po b/whatsnew/2.7.po index 7ab25d949..e75c82bce 100644 --- a/whatsnew/2.7.po +++ b/whatsnew/2.7.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-28 01:51+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/whatsnew/3.0.po b/whatsnew/3.0.po index 27c78c0f6..2bef1b150 100644 --- a/whatsnew/3.0.po +++ b/whatsnew/3.0.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-29 13:04+0000\n" "Last-Translator: Stan Ulbrych, 2024\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/whatsnew/3.1.po b/whatsnew/3.1.po index 3ed3a5ad8..e878af4f1 100644 --- a/whatsnew/3.1.po +++ b/whatsnew/3.1.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-29 13:04+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/whatsnew/3.10.po b/whatsnew/3.10.po index a52777463..79cf3e1a1 100644 --- a/whatsnew/3.10.po +++ b/whatsnew/3.10.po @@ -15,7 +15,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-29 13:04+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -710,13 +710,14 @@ msgstr "" msgid "" "If you are using classes to structure your data, you can use as a pattern " "the class name followed by an argument list resembling a constructor. This " -"pattern has the ability to capture class attributes into variables::" +"pattern has the ability to capture instance attributes into variables::" msgstr "" msgid "" "class Point:\n" -" x: int\n" -" y: int\n" +" def __init__(self, x, y):\n" +" self.x = x\n" +" self.y = y\n" "\n" "def location(point):\n" " match point:\n" @@ -2300,7 +2301,7 @@ msgid ":func:`!match_hostname`" msgstr ":func:`!match_hostname`" msgid ":func:`!RAND_pseudo_bytes`, :func:`!RAND_egd`" -msgstr "" +msgstr ":func:`!RAND_pseudo_bytes`, :func:`!RAND_egd`" msgid "" "NPN features like :meth:`ssl.SSLSocket.selected_npn_protocol` and :meth:`ssl." diff --git a/whatsnew/3.11.po b/whatsnew/3.11.po index b6ac19d11..d9d3f88e9 100644 --- a/whatsnew/3.11.po +++ b/whatsnew/3.11.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2022-11-05 19:49+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -1453,7 +1453,7 @@ msgid "" msgstr "" msgid "" -"Resizing lists is streamlined for the common case, speeding up :meth:`list." +"Resizing lists is streamlined for the common case, speeding up :meth:`!list." "append` by ≈15% and simple :term:`list comprehension`\\s by up to 20-30% " "(Contributed by Dennis Sweeney in :gh:`91165`.)" msgstr "" @@ -2076,7 +2076,7 @@ msgid ":opcode:`!SETUP_ASYNC_WITH`" msgstr ":opcode:`!SETUP_ASYNC_WITH`" msgid ":opcode:`!BEFORE_WITH`" -msgstr "" +msgstr ":opcode:`!BEFORE_WITH`" msgid ":keyword:`with` block setup" msgstr "" diff --git a/whatsnew/3.12.po b/whatsnew/3.12.po index 7b74b92c5..be3c44e9b 100644 --- a/whatsnew/3.12.po +++ b/whatsnew/3.12.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-16 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2023-05-24 13:08+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -1752,28 +1752,28 @@ msgid "APIs:" msgstr "APIs:" msgid ":class:`!configparser.LegacyInterpolation` (:gh:`90765`)" -msgstr "" +msgstr ":class:`!configparser.LegacyInterpolation` (:gh:`90765`)" msgid "``locale.resetlocale()`` (:gh:`90817`)" -msgstr "" +msgstr "``locale.resetlocale()`` (:gh:`90817`)" msgid ":meth:`!turtle.RawTurtle.settiltangle` (:gh:`50096`)" -msgstr "" +msgstr ":meth:`!turtle.RawTurtle.settiltangle` (:gh:`50096`)" msgid ":func:`!unittest.findTestCases` (:gh:`50096`)" -msgstr "" +msgstr ":func:`!unittest.findTestCases` (:gh:`50096`)" msgid ":func:`!unittest.getTestCaseNames` (:gh:`50096`)" -msgstr "" +msgstr ":func:`!unittest.getTestCaseNames` (:gh:`50096`)" msgid ":func:`!unittest.makeSuite` (:gh:`50096`)" -msgstr "" +msgstr ":func:`!unittest.makeSuite` (:gh:`50096`)" msgid ":meth:`!unittest.TestProgram.usageExit` (:gh:`67048`)" -msgstr "" +msgstr ":meth:`!unittest.TestProgram.usageExit` (:gh:`67048`)" msgid ":class:`!webbrowser.MacOSX` (:gh:`86421`)" -msgstr "" +msgstr ":class:`!webbrowser.MacOSX` (:gh:`86421`)" msgid ":class:`classmethod` descriptor chaining (:gh:`89519`)" msgstr "" @@ -1966,7 +1966,7 @@ msgid "" msgstr "" msgid ":mod:`sysconfig`:" -msgstr "" +msgstr ":mod:`sysconfig`:" msgid "" "The *check_home* argument of :func:`sysconfig.is_python_build` has been " @@ -2024,7 +2024,7 @@ msgid "" msgstr "" msgid ":mod:`zipimport`:" -msgstr "" +msgstr ":mod:`zipimport`:" msgid "" ":meth:`~zipimport.zipimporter.load_module` has been deprecated since Python " @@ -2063,22 +2063,22 @@ msgid "" msgstr "" msgid ":class:`asyncio.AbstractEventLoopPolicy`" -msgstr "" +msgstr ":class:`asyncio.AbstractEventLoopPolicy`" msgid ":class:`asyncio.DefaultEventLoopPolicy`" -msgstr "" +msgstr ":class:`asyncio.DefaultEventLoopPolicy`" msgid ":class:`asyncio.WindowsSelectorEventLoopPolicy`" -msgstr "" +msgstr ":class:`asyncio.WindowsSelectorEventLoopPolicy`" msgid ":class:`asyncio.WindowsProactorEventLoopPolicy`" -msgstr "" +msgstr ":class:`asyncio.WindowsProactorEventLoopPolicy`" msgid ":func:`asyncio.get_event_loop_policy`" -msgstr "" +msgstr ":func:`asyncio.get_event_loop_policy`" msgid ":func:`asyncio.set_event_loop_policy`" -msgstr "" +msgstr ":func:`asyncio.set_event_loop_policy`" msgid "" "Users should use :func:`asyncio.run` or :class:`asyncio.Runner` with " @@ -2112,7 +2112,7 @@ msgid "" msgstr "" msgid ":mod:`functools`:" -msgstr "" +msgstr ":mod:`functools`:" msgid "" "Calling the Python implementation of :func:`functools.reduce` with " @@ -2121,7 +2121,7 @@ msgid "" msgstr "" msgid ":mod:`logging`:" -msgstr "" +msgstr ":mod:`logging`:" msgid "" "Support for custom logging handlers with the *strm* argument is deprecated " @@ -2200,7 +2200,7 @@ msgid "" msgstr "" msgid ":mod:`argparse`:" -msgstr "" +msgstr ":mod:`argparse`:" msgid "" "Nesting argument groups and nesting mutually exclusive groups are deprecated." @@ -2407,7 +2407,7 @@ msgid ":meth:`!threading.activeCount`: use :meth:`threading.active_count`." msgstr "" msgid ":class:`typing.Text` (:gh:`92332`)." -msgstr "" +msgstr ":class:`typing.Text` (:gh:`92332`)." msgid "" "The internal class ``typing._UnionGenericAlias`` is no longer used to " @@ -2649,7 +2649,7 @@ msgid "``imp.get_magic()``" msgstr "``imp.get_magic()``" msgid ":const:`importlib.util.MAGIC_NUMBER`" -msgstr "" +msgstr ":const:`importlib.util.MAGIC_NUMBER`" msgid "``imp.get_suffixes()``" msgstr "``imp.get_suffixes()``" @@ -2663,7 +2663,7 @@ msgid "``imp.get_tag()``" msgstr "``imp.get_tag()``" msgid ":attr:`sys.implementation.cache_tag `" -msgstr "" +msgstr ":attr:`sys.implementation.cache_tag `" msgid "``imp.load_module()``" msgstr "``imp.load_module()``" @@ -3192,13 +3192,13 @@ msgid "Add platform triplets for 64-bit LoongArch:" msgstr "" msgid "loongarch64-linux-gnusf" -msgstr "" +msgstr "loongarch64-linux-gnusf" msgid "loongarch64-linux-gnuf32" -msgstr "" +msgstr "loongarch64-linux-gnuf32" msgid "loongarch64-linux-gnu" -msgstr "" +msgstr "loongarch64-linux-gnu" msgid "(Contributed by Zhang Na in :gh:`90656`.)" msgstr "" @@ -3855,9 +3855,6 @@ msgid "" "bases (:gh:`95388`)." msgstr "" -msgid "The bundled copy of ``libmpdecimal``." -msgstr "" - msgid "" "The :c:func:`PyImport_ImportModuleNoBlock`: Use :c:func:" "`PyImport_ImportModule` instead." @@ -4082,6 +4079,9 @@ msgid "" "get these options at runtime." msgstr "" +msgid "The bundled copy of ``libmpdec``." +msgstr "" + msgid "" "The following APIs are deprecated and will be removed, although there is " "currently no date scheduled for their removal." diff --git a/whatsnew/3.13.po b/whatsnew/3.13.po index 453b3dc4d..4d56c5895 100644 --- a/whatsnew/3.13.po +++ b/whatsnew/3.13.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-16 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2024-05-11 01:09+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -981,6 +981,23 @@ msgid "" "(Contributed by Arthur Tacca and Jason Zhang in :gh:`115957`.)" msgstr "" +msgid "" +"The function and methods named ``create_task`` have received a new " +"``**kwargs`` argument that is passed through to the task constructor. This " +"change was accidentally added in 3.13.3, and broke the API contract for " +"custom task factories. Several third-party task factories implemented " +"workarounds for this. In 3.13.4 and later releases the old factory contract " +"is honored once again (until 3.14). To keep the workarounds working, the " +"extra ``**kwargs`` argument still allows passing additional keyword " +"arguments to :class:`~asyncio.Task` and to custom task factories." +msgstr "" + +msgid "" +"This affects the following function and methods: :meth:`asyncio." +"create_task`, :meth:`asyncio.loop.create_task`, :meth:`asyncio.TaskGroup." +"create_task`. (Contributed by Thomas Grainger in :gh:`128307`.)" +msgstr "" + msgid "base64" msgstr "" @@ -1034,7 +1051,7 @@ msgid "" msgstr "" msgid ":class:`inspect.Signature`, :class:`inspect.Parameter`" -msgstr "" +msgstr ":class:`inspect.Signature`, :class:`inspect.Parameter`" msgid ":class:`types.SimpleNamespace`" msgstr ":class:`types.SimpleNamespace`" @@ -2473,8 +2490,8 @@ msgstr "" msgid "" "Deprecate the :func:`typing.no_type_check_decorator` decorator function, to " -"be removed in in Python 3.15. After eight years in the :mod:`typing` module, " -"it has yet to be supported by any major type checker. (Contributed by Alex " +"be removed in Python 3.15. After eight years in the :mod:`typing` module, it " +"has yet to be supported by any major type checker. (Contributed by Alex " "Waygood in :gh:`106309`.)" msgstr "" @@ -2713,7 +2730,7 @@ msgid "" msgstr "" msgid ":mod:`sysconfig`:" -msgstr "" +msgstr ":mod:`sysconfig`:" msgid "" "The *check_home* argument of :func:`sysconfig.is_python_build` has been " @@ -2768,7 +2785,7 @@ msgid "" msgstr "" msgid ":mod:`zipimport`:" -msgstr "" +msgstr ":mod:`zipimport`:" msgid "" ":meth:`~zipimport.zipimporter.load_module` has been deprecated since Python " @@ -2804,22 +2821,22 @@ msgid "" msgstr "" msgid ":class:`asyncio.AbstractEventLoopPolicy`" -msgstr "" +msgstr ":class:`asyncio.AbstractEventLoopPolicy`" msgid ":class:`asyncio.DefaultEventLoopPolicy`" -msgstr "" +msgstr ":class:`asyncio.DefaultEventLoopPolicy`" msgid ":class:`asyncio.WindowsSelectorEventLoopPolicy`" -msgstr "" +msgstr ":class:`asyncio.WindowsSelectorEventLoopPolicy`" msgid ":class:`asyncio.WindowsProactorEventLoopPolicy`" -msgstr "" +msgstr ":class:`asyncio.WindowsProactorEventLoopPolicy`" msgid ":func:`asyncio.get_event_loop_policy`" -msgstr "" +msgstr ":func:`asyncio.get_event_loop_policy`" msgid ":func:`asyncio.set_event_loop_policy`" -msgstr "" +msgstr ":func:`asyncio.set_event_loop_policy`" msgid "" "Users should use :func:`asyncio.run` or :class:`asyncio.Runner` with " @@ -2853,7 +2870,7 @@ msgid "" msgstr "" msgid ":mod:`functools`:" -msgstr "" +msgstr ":mod:`functools`:" msgid "" "Calling the Python implementation of :func:`functools.reduce` with " @@ -2862,7 +2879,7 @@ msgid "" msgstr "" msgid ":mod:`logging`:" -msgstr "" +msgstr ":mod:`logging`:" msgid "" "Support for custom logging handlers with the *strm* argument is deprecated " @@ -2932,7 +2949,7 @@ msgid "" msgstr "" msgid ":mod:`argparse`:" -msgstr "" +msgstr ":mod:`argparse`:" msgid "" "Nesting argument groups and nesting mutually exclusive groups are deprecated." @@ -3145,7 +3162,7 @@ msgid ":meth:`!threading.activeCount`: use :meth:`threading.active_count`." msgstr "" msgid ":class:`typing.Text` (:gh:`92332`)." -msgstr "" +msgstr ":class:`typing.Text` (:gh:`92332`)." msgid "" "The internal class ``typing._UnionGenericAlias`` is no longer used to " @@ -3258,7 +3275,7 @@ msgid ":c:func:`PyMonitoring_FireJumpEvent`" msgstr ":c:func:`PyMonitoring_FireJumpEvent`" msgid "``PyMonitoring_FireBranchEvent``" -msgstr "" +msgstr "``PyMonitoring_FireBranchEvent``" msgid ":c:func:`PyMonitoring_FireCReturnEvent`" msgstr ":c:func:`PyMonitoring_FireCReturnEvent`" @@ -3812,7 +3829,7 @@ msgid "" msgstr "" msgid ":c:func:`PyEval_SaveThread` and :c:func:`PyEval_RestoreThread`;" -msgstr "" +msgstr ":c:func:`PyEval_SaveThread` oraz :c:func:`PyEval_RestoreThread`;" msgid "" "low-level :c:func:`PyEval_AcquireThread` and :c:func:`PyEval_RestoreThread`;" @@ -3942,9 +3959,6 @@ msgid "" "bases (:gh:`95388`)." msgstr "" -msgid "The bundled copy of ``libmpdecimal``." -msgstr "" - msgid "" "The :c:func:`PyImport_ImportModuleNoBlock`: Use :c:func:" "`PyImport_ImportModule` instead." @@ -4164,6 +4178,9 @@ msgid "" "get these options at runtime." msgstr "" +msgid "The bundled copy of ``libmpdec``." +msgstr "" + msgid "Pending removal in Python 3.18" msgstr "" @@ -4179,7 +4196,7 @@ msgid "" msgstr "" msgid ":c:func:`!_PyDict_Pop()`: :c:func:`PyDict_Pop`." -msgstr "" +msgstr ":c:func:`!_PyDict_Pop()`: :c:func:`PyDict_Pop`." msgid ":c:func:`!_PyLong_Sign()`: use :c:func:`PyLong_GetSign`." msgstr "" @@ -4387,8 +4404,7 @@ msgstr "" msgid "" "The :file:`configure` option :option:`--with-system-libmpdec` now defaults " -"to ``yes``. The bundled copy of ``libmpdecimal`` will be removed in Python " -"3.15." +"to ``yes``. The bundled copy of ``libmpdec`` will be removed in Python 3.16." msgstr "" msgid "" diff --git a/whatsnew/3.14.po b/whatsnew/3.14.po index 9de857fb6..dbf926785 100644 --- a/whatsnew/3.14.po +++ b/whatsnew/3.14.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-16 14:19+0000\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2025-05-08 06:05+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -68,18 +68,27 @@ msgstr "" msgid "" "The library changes include the addition of a new :mod:`!annotationlib` " -"module for introspecting and wrapping annotations (:pep:`649`), a new :mod:`!" +"module for introspecting and wrapping annotations (:pep:`749`), a new :mod:`!" "compression.zstd` module for Zstandard support (:pep:`784`), plus syntax " "highlighting in the REPL, as well as the usual deprecations and removals, " "and improvements in user-friendliness and correctness." msgstr "" +msgid "" +":ref:`PEP 779: Free-threaded Python is officially supported `" +msgstr "" + msgid "" ":ref:`PEP 649 and 749: deferred evaluation of annotations `" msgstr "" -msgid ":ref:`PEP 741: Python Configuration C API `" +msgid "" +":ref:`PEP 734: Multiple interpreters in the stdlib `" +msgstr "" + +msgid ":ref:`PEP 741: Python configuration C API `" msgstr "" msgid ":ref:`PEP 750: Template strings `" @@ -157,6 +166,166 @@ msgstr "" msgid "New features" msgstr "" +msgid "PEP 779: Free-threaded Python is officially supported" +msgstr "" + +msgid "" +"The free-threaded build of Python is now supported and no longer " +"experimental. This is the start of phase II where free-threaded Python is " +"officially supported but still optional." +msgstr "" + +msgid "" +"We are confident that the project is on the right path, and we appreciate " +"the continued dedication from everyone working to make free-threading ready " +"for broader adoption across the Python community." +msgstr "" + +msgid "" +"With these recommendations and the acceptance of this PEP, we as the Python " +"developer community should broadly advertise that free-threading is a " +"supported Python build option now and into the future, and that it will not " +"be removed without a proper deprecation schedule." +msgstr "" + +msgid "" +"Any decision to transition to phase III, with free-threading as the default " +"or sole build of Python is still undecided, and dependent on many factors " +"both within CPython itself and the community. This decision is for the " +"future." +msgstr "" + +msgid "" +":pep:`779` and its `acceptance `__." +msgstr "" + +msgid "PEP 734: Multiple interpreters in the stdlib" +msgstr "" + +msgid "" +"The CPython runtime supports running multiple copies of Python in the same " +"process simultaneously and has done so for over 20 years. Each of these " +"separate copies is called an \"interpreter\". However, the feature had been " +"available only through the C-API." +msgstr "" + +msgid "" +"That limitation is removed in the 3.14 release, with the new :mod:" +"`concurrent.interpreters` module." +msgstr "" + +msgid "" +"There are at least two notable reasons why using multiple interpreters is " +"worth considering:" +msgstr "" + +msgid "they support a new (to Python), human-friendly concurrency model" +msgstr "" + +msgid "true multi-core parallelism" +msgstr "" + +msgid "" +"For some use cases, concurrency in software enables efficiency and can " +"simplify software, at a high level. At the same time, implementing and " +"maintaining all but the simplest concurrency is often a struggle for the " +"human brain. That especially applies to plain threads (for example, :mod:" +"`threading`), where all memory is shared between all threads." +msgstr "" + +msgid "" +"With multiple isolated interpreters, you can take advantage of a class of " +"concurrency models, like CSP or the actor model, that have found success in " +"other programming languages, like Smalltalk, Erlang, Haskell, and Go. Think " +"of multiple interpreters like threads but with opt-in sharing." +msgstr "" + +msgid "" +"Regarding multi-core parallelism: as of the 3.12 release, interpreters are " +"now sufficiently isolated from one another to be used in parallel. (See :pep:" +"`684`.) This unlocks a variety of CPU-intensive use cases for Python that " +"were limited by the :term:`GIL`." +msgstr "" + +msgid "" +"Using multiple interpreters is similar in many ways to :mod:" +"`multiprocessing`, in that they both provide isolated logical \"processes\" " +"that can run in parallel, with no sharing by default. However, when using " +"multiple interpreters, an application will use fewer system resources and " +"will operate more efficiently (since it stays within the same process). " +"Think of multiple interpreters as having the isolation of processes with the " +"efficiency of threads." +msgstr "" + +msgid "" +"While the feature has been around for decades, multiple interpreters have " +"not been used widely, due to low awareness and the lack of a stdlib module. " +"Consequently, they currently have several notable limitations, which will " +"improve significantly now that the feature is finally going mainstream." +msgstr "" + +msgid "Current limitations:" +msgstr "" + +msgid "starting each interpreter has not been optimized yet" +msgstr "" + +msgid "" +"each interpreter uses more memory than necessary (we will be working next on " +"extensive internal sharing between interpreters)" +msgstr "" + +msgid "" +"there aren't many options *yet* for truly sharing objects or other data " +"between interpreters (other than :type:`memoryview`)" +msgstr "" + +msgid "" +"many extension modules on PyPI are not compatible with multiple interpreters " +"yet (stdlib extension modules *are* compatible)" +msgstr "" + +msgid "" +"the approach to writing applications that use multiple isolated interpreters " +"is mostly unfamiliar to Python users, for now" +msgstr "" + +msgid "" +"The impact of these limitations will depend on future CPython improvements, " +"how interpreters are used, and what the community solves through PyPI " +"packages. Depending on the use case, the limitations may not have much " +"impact, so try it out!" +msgstr "" + +msgid "" +"Furthermore, future CPython releases will reduce or eliminate overhead and " +"provide utilities that are less appropriate on PyPI. In the meantime, most " +"of the limitations can also be addressed through extension modules, meaning " +"PyPI packages can fill any gap for 3.14, and even back to 3.12 where " +"interpreters were finally properly isolated and stopped sharing the :term:" +"`GIL`. Likewise, we expect to slowly see libraries on PyPI for high-level " +"abstractions on top of interpreters." +msgstr "" + +msgid "" +"Regarding extension modules, work is in progress to update some PyPI " +"projects, as well as tools like Cython, pybind11, nanobind, and PyO3. The " +"steps for isolating an extension module are found at :ref:`isolating-" +"extensions-howto`. Isolating a module has a lot of overlap with what is " +"required to support :ref:`free-threading `, so the ongoing work in the community in that area will help " +"accelerate support for multiple interpreters." +msgstr "" + +msgid "" +"Also added in 3.14: :ref:`concurrent.futures.InterpreterPoolExecutor " +"`." +msgstr "" + +msgid ":pep:`734`." +msgstr ":pep:`734`." + msgid "PEP 750: Template strings" msgstr "" @@ -193,8 +362,7 @@ msgstr "" msgid "" "attributes = {\"src\": \"shrubbery.jpg\", \"alt\": \"looks nice\"}\n" "template = t\"\"\n" -"assert html(template) == '\"looks'" +"assert html(template) == '\"looks'" msgstr "" msgid "" @@ -241,7 +409,7 @@ msgid "" msgstr "" msgid ":pep:`750`." -msgstr "" +msgstr ":pep:`750`." msgid "PEP 768: Safe external debugger interface for CPython" msgstr "" @@ -330,7 +498,7 @@ msgid "" msgstr "" msgid ":pep:`768`." -msgstr "" +msgstr ":pep:`768`." msgid "PEP 784: Adding Zstandard to the standard library" msgstr "" @@ -378,11 +546,11 @@ msgstr "" msgid "" "(Contributed by Emma Harper Smith, Adam Turner, Gregory P. Smith, Tomas " -"Roun, Victor Stinner, and Rogdham in :gh:`132983`)" +"Roun, Victor Stinner, and Rogdham in :gh:`132983`.)" msgstr "" msgid ":pep:`784`." -msgstr "" +msgstr ":pep:`784`." msgid "Remote attaching to a running Python process with PDB" msgstr "" @@ -423,15 +591,16 @@ msgstr "" msgid "" "try:\n" -" release_new_sleep_token_album()\n" -"except AlbumNotFound, SongsTooGoodToBeReleased:\n" -" print(\"Sorry, no new album this year.\")\n" +" connect_to_server()\n" +"except TimeoutError, ConnectionRefusedError:\n" +" print(\"Network issue encountered.\")\n" "\n" " # The same applies to except* (for exception groups):\n" +"\n" "try:\n" -" release_new_sleep_token_album()\n" -"except* AlbumNotFound, SongsTooGoodToBeReleased:\n" -" print(\"Sorry, no new album this year.\")" +" connect_to_server()\n" +"except* TimeoutError, ConnectionRefusedError:\n" +" print(\"Network issue encountered.\")" msgstr "" msgid "Check :pep:`758` for more details." @@ -441,7 +610,7 @@ msgid "(Contributed by Pablo Galindo and Brett Cannon in :gh:`131831`.)" msgstr "" msgid ":pep:`758`." -msgstr "" +msgstr ":pep:`758`." msgid "PEP 649 and 749: deferred evaluation of annotations" msgstr "" @@ -547,6 +716,12 @@ msgid "" "`annotationlib.get_annotations` afterwards." msgstr "" +msgid "" +"In previous releases, it was sometimes possible to access class annotations " +"from an instance of an annotated class. This behavior was undocumented and " +"accidental, and will no longer work in Python 3.14." +msgstr "" + msgid "``from __future__ import annotations``" msgstr "" @@ -754,7 +929,7 @@ msgid "" "TypeError: cannot use 'list' as a dict key (unhashable type: 'list')" msgstr "" -msgid "PEP 741: Python Configuration C API" +msgid "PEP 741: Python configuration C API" msgstr "" msgid "" @@ -794,7 +969,7 @@ msgid "(Contributed by Victor Stinner in :gh:`107954`.)" msgstr "" msgid ":pep:`741`." -msgstr "" +msgstr ":pep:`741`." msgid "Asyncio introspection capabilities" msgstr "" @@ -861,53 +1036,81 @@ msgid "" "python -m asyncio ps 12345\n" "\n" "tid task id task name coroutine " -"chain awaiter name awaiter id\n" -"---------------------------------------------------------------------------------------------------------------------------------------\n" -"8138752 0x564bd3d0210 " -"Task-1 " +"stack awaiter " +"chain awaiter name awaiter id\n" +"------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\n" +"1935500 0x7fc930c18050 Task-1 TaskGroup._aexit -> " +"TaskGroup.__aexit__ -> " +"main " "0x0\n" -"8138752 0x564bd3d0410 Sundowning _aexit -> __aexit__ -> " -"main Task-1 0x564bd3d0210\n" -"8138752 0x564bd3d0610 TMBTE _aexit -> __aexit__ -> " -"main Task-1 0x564bd3d0210\n" -"8138752 0x564bd3d0810 TNDNBTG _aexit -> __aexit__ -> " -"album Sundowning 0x564bd3d0410\n" -"8138752 0x564bd3d0a10 Levitate _aexit -> __aexit__ -> " -"album Sundowning 0x564bd3d0410\n" -"8138752 0x564bd3e0550 DYWTYLM _aexit -> __aexit__ -> " -"album TMBTE 0x564bd3d0610\n" -"8138752 0x564bd3e0710 Aqua Regia _aexit -> __aexit__ -> " -"album TMBTE 0x564bd3d0610" -msgstr "" - -msgid "or:" +"1935500 0x7fc930c18230 Sundowning TaskGroup._aexit -> " +"TaskGroup.__aexit__ -> album TaskGroup._aexit -> TaskGroup.__aexit__ -> " +"main Task-1 0x7fc930c18050\n" +"1935500 0x7fc93173fa50 TMBTE TaskGroup._aexit -> " +"TaskGroup.__aexit__ -> album TaskGroup._aexit -> TaskGroup.__aexit__ -> " +"main Task-1 0x7fc930c18050\n" +"1935500 0x7fc93173fdf0 TNDNBTG sleep -> " +"play TaskGroup._aexit -> TaskGroup." +"__aexit__ -> album Sundowning 0x7fc930c18230\n" +"1935500 0x7fc930d32510 Levitate sleep -> " +"play TaskGroup._aexit -> TaskGroup." +"__aexit__ -> album Sundowning 0x7fc930c18230\n" +"1935500 0x7fc930d32890 DYWTYLM sleep -> " +"play TaskGroup._aexit -> TaskGroup." +"__aexit__ -> album TMBTE 0x7fc93173fa50\n" +"1935500 0x7fc93161ec30 Aqua Regia sleep -> " +"play TaskGroup._aexit -> TaskGroup." +"__aexit__ -> album TMBTE 0x7fc93173fa50" +msgstr "" + +msgid "or a tree like this:" msgstr "" msgid "" "python -m asyncio pstree 12345\n" "\n" "└── (T) Task-1\n" -" └── main\n" -" └── __aexit__\n" -" └── _aexit\n" +" └── main example.py:13\n" +" └── TaskGroup.__aexit__ Lib/asyncio/taskgroups.py:72\n" +" └── TaskGroup._aexit Lib/asyncio/taskgroups.py:121\n" " ├── (T) Sundowning\n" -" │ └── album\n" -" │ └── __aexit__\n" -" │ └── _aexit\n" +" │ └── album example.py:8\n" +" │ └── TaskGroup.__aexit__ Lib/asyncio/taskgroups." +"py:72\n" +" │ └── TaskGroup._aexit Lib/asyncio/taskgroups." +"py:121\n" " │ ├── (T) TNDNBTG\n" +" │ │ └── play example.py:4\n" +" │ │ └── sleep Lib/asyncio/tasks.py:702\n" " │ └── (T) Levitate\n" +" │ └── play example.py:4\n" +" │ └── sleep Lib/asyncio/tasks.py:702\n" " └── (T) TMBTE\n" -" └── album\n" -" └── __aexit__\n" -" └── _aexit\n" +" └── album example.py:8\n" +" └── TaskGroup.__aexit__ Lib/asyncio/taskgroups." +"py:72\n" +" └── TaskGroup._aexit Lib/asyncio/taskgroups." +"py:121\n" " ├── (T) DYWTYLM\n" -" └── (T) Aqua Regia" +" │ └── play example.py:4\n" +" │ └── sleep Lib/asyncio/tasks.py:702\n" +" └── (T) Aqua Regia\n" +" └── play example.py:4\n" +" └── sleep Lib/asyncio/tasks.py:702" msgstr "" msgid "" "If a cycle is detected in the async await graph (which could indicate a " "programming issue), the tool raises an error and lists the cycle paths that " -"prevent tree construction." +"prevent tree construction:" +msgstr "" + +msgid "" +"python -m asyncio pstree 12345\n" +"\n" +"ERROR: await-graph contains cycles - cannot print a tree!\n" +"\n" +"cycle: Task-2 → Task-3 → Task-2" msgstr "" msgid "" @@ -1000,6 +1203,35 @@ msgid "" "provide significant engineering resources to support this project." msgstr "" +msgid "" +"From 3.14, when compiling extension modules for the free-threaded build of " +"CPython on Windows, the preprocessor variable ``Py_GIL_DISABLED`` now needs " +"to be specified by the build backend, as it will no longer be determined " +"automatically by the C compiler. For a running interpreter, the setting that " +"was used at compile time can be found using :func:`sysconfig.get_config_var`." +msgstr "" + +msgid "" +"A new flag has been added, :data:`~sys.flags.context_aware_warnings`. This " +"flag defaults to true for the free-threaded build and false for the GIL-" +"enabled build. If the flag is true then the :class:`warnings.catch_warnings` " +"context manager uses a context variable for warning filters. This makes the " +"context manager behave predicably when used with multiple threads or " +"asynchronous tasks." +msgstr "" + +msgid "" +"A new flag has been added, :data:`~sys.flags.thread_inherit_context`. This " +"flag defaults to true for the free-threaded build and false for the GIL-" +"enabled build. If the flag is true then threads created with :class:" +"`threading.Thread` start with a copy of the :class:`~contextvars.Context()` " +"of the caller of :meth:`~threading.Thread.start`. Most significantly, this " +"makes the warning filtering context established by :class:`~warnings." +"catch_warnings` be \"inherited\" by threads (or asyncio tasks) started " +"within that context. It also affects other modules that use context " +"variables, such as the :mod:`decimal` context manager." +msgstr "" + msgid "Syntax highlighting in PyREPL" msgstr "" @@ -1059,6 +1291,22 @@ msgstr "" msgid ":pep:`744`" msgstr ":pep:`744`" +msgid "Concurrent safe warnings control" +msgstr "" + +msgid "" +"The :class:`warnings.catch_warnings` context manager will now optionally use " +"a context variable for warning filters. This is enabled by setting the :" +"data:`~sys.flags.context_aware_warnings` flag, either with the ``-X`` " +"command-line option or an environment variable. This gives predicable " +"warnings control when using :class:`~warnings.catch_warnings` combined with " +"multiple threads or asynchronous tasks. The flag defaults to true for the " +"free-threaded build and false for the GIL-enabled build." +msgstr "" + +msgid "(Contributed by Neil Schemenauer and Kumar Aditya in :gh:`130010`.)" +msgstr "" + msgid "Other language changes" msgstr "" @@ -1285,6 +1533,24 @@ msgid "" "command-line interface. (Contributed by Semyon Moroz in :gh:`133367`.)" msgstr "" +msgid "asyncio" +msgstr "" + +msgid "" +"The function and methods named :func:`!create_task` now take an arbitrary " +"list of keyword arguments. All keyword arguments are passed to the :class:" +"`~asyncio.Task` constructor or the custom task factory. (See :meth:`~asyncio." +"loop.set_task_factory` for details.) The ``name`` and ``context`` keyword " +"arguments are no longer special; the name should now be set using the " +"``name`` keyword argument of the factory, and ``context`` may be ``None``." +msgstr "" + +msgid "" +"This affects the following function and methods: :meth:`asyncio." +"create_task`, :meth:`asyncio.loop.create_task`, :meth:`asyncio.TaskGroup." +"create_task`. (Contributed by Thomas Grainger in :gh:`128307`.)" +msgstr "" + msgid "bdb" msgstr "" @@ -1352,6 +1618,16 @@ msgid "" "Bonnal and Josh Rosenberg in :gh:`74028`.)" msgstr "" +msgid "configparser" +msgstr "" + +msgid "" +"Security fix: will no longer write config files it cannot read. Attempting " +"to :meth:`configparser.ConfigParser.write` keys containing delimiters or " +"beginning with the section header pattern will raise a :class:`configparser." +"InvalidWriteError`. (Contributed by Jacob Lincoln in :gh:`129270`.)" +msgstr "" + msgid "contextvars" msgstr "" @@ -1425,6 +1701,11 @@ msgid "" "term:`generic type`. (Contributed by Brian Schubert in :gh:`132168`.)" msgstr "" +msgid "" +":mod:`ctypes` now supports :term:`free-threading builds `. " +"(Contributed by Kumar Aditya and Peter Bierma in :gh:`127945`.)" +msgstr "" + msgid "curses" msgstr "" @@ -1477,16 +1758,16 @@ msgid "" msgstr "" msgid ":class:`dis.Bytecode`" -msgstr "" +msgstr ":class:`dis.Bytecode`" msgid ":func:`dis.dis`" -msgstr "" +msgstr ":func:`dis.dis`" msgid ":func:`dis.distb`" -msgstr "" +msgstr ":func:`dis.distb`" msgid ":func:`dis.disassemble`" -msgstr "" +msgstr ":func:`dis.disassemble`" msgid "" "This feature is also exposed via :option:`dis --show-positions`. " @@ -1592,19 +1873,19 @@ msgid "Add functions for working with max-heaps:" msgstr "" msgid ":func:`heapq.heapify_max`," -msgstr "" +msgstr ":func:`heapq.heapify_max`," msgid ":func:`heapq.heappush_max`," -msgstr "" +msgstr ":func:`heapq.heappush_max`," msgid ":func:`heapq.heappop_max`," -msgstr "" +msgstr ":func:`heapq.heappop_max`," msgid ":func:`heapq.heapreplace_max`" -msgstr "" +msgstr ":func:`heapq.heapreplace_max`" msgid ":func:`heapq.heappushpop_max`" -msgstr "" +msgstr ":func:`heapq.heappushpop_max`" msgid "hmac" msgstr "" @@ -1988,6 +2269,17 @@ msgid "" "`129205`.)" msgstr "" +msgid "os.path" +msgstr "" + +msgid "" +"The *strict* parameter to :func:`os.path.realpath` accepts a new value, :" +"data:`os.path.ALLOW_MISSING`. If used, errors other than :exc:" +"`FileNotFoundError` will be re-raised; the resulting path can be missing but " +"it will be free of symlinks. (Contributed by Petr Viktorin for :cve:" +"`2025-4517`.)" +msgstr "" + msgid "pathlib" msgstr "" @@ -2191,13 +2483,13 @@ msgid "Expose the following :class:`symtable.Symbol` methods:" msgstr "" msgid ":meth:`~symtable.Symbol.is_comp_cell`" -msgstr "" +msgstr ":meth:`~symtable.Symbol.is_comp_cell`" msgid ":meth:`~symtable.Symbol.is_comp_iter`" -msgstr "" +msgstr ":meth:`~symtable.Symbol.is_comp_iter`" msgid ":meth:`~symtable.Symbol.is_free_class`" -msgstr "" +msgstr ":meth:`~symtable.Symbol.is_free_class`" msgid "(Contributed by Bénédikt Tran in :gh:`120029`.)" msgstr "" @@ -2242,6 +2534,37 @@ msgid "" "(Contributed by Xuehai Pan in :gh:`131799`.)" msgstr "" +msgid "tarfile" +msgstr "" + +msgid "" +":func:`~tarfile.data_filter` now normalizes symbolic link targets in order " +"to avoid path traversal attacks. (Contributed by Petr Viktorin in :gh:" +"`127987` and :cve:`2025-4138`.)" +msgstr "" + +msgid "" +":func:`~tarfile.TarFile.extractall` now skips fixing up directory attributes " +"when a directory was removed or replaced by another kind of file. " +"(Contributed by Petr Viktorin in :gh:`127987` and :cve:`2024-12718`.)" +msgstr "" + +msgid "" +":func:`~tarfile.TarFile.extract` and :func:`~tarfile.TarFile.extractall` now " +"(re-)apply the extraction filter when substituting a link (hard or symbolic) " +"with a copy of another archive member, and when fixing up directory " +"attributes. The former raises a new exception, :exc:`~tarfile." +"LinkFallbackError`. (Contributed by Petr Viktorin for :cve:`2025-4330` and :" +"cve:`2024-12718`.)" +msgstr "" + +msgid "" +":func:`~tarfile.TarFile.extract` and :func:`~tarfile.TarFile.extractall` no " +"longer extract rejected members when :func:`~tarfile.TarFile.errorlevel` is " +"zero. (Contributed by Matt Prodani and Petr Viktorin in :gh:`112887` and :" +"cve:`2025-4435`.)" +msgstr "" + msgid "threading" msgstr "" @@ -2514,13 +2837,21 @@ msgid "" "Hugo van Kemenade, Jelle Zijlstra, and others in :gh:`118761`.)" msgstr "" -msgid "asyncio" +msgid "" +":mod:`asyncio` has a new per-thread double linked list implementation " +"internally for :class:`native tasks ` which speeds up " +"execution by 10-20% on standard pyperformance benchmarks and reduces memory " +"usage. This enables external introspection tools such as :ref:`python -m " +"asyncio pstree ` to introspect the call " +"graph of asyncio tasks running in all threads. (Contributed by Kumar Aditya " +"in :gh:`107803`.)" msgstr "" msgid "" -":mod:`asyncio` now uses double linked list implementation for native tasks " -"which speeds up execution by 10% on standard pyperformance benchmarks and " -"reduces memory usage. (Contributed by Kumar Aditya in :gh:`107803`.)" +":mod:`asyncio` has first class support for :term:`free-threading builds " +"`. This enables parallel execution of multiple event loops " +"across different threads and scales linearly with the number of threads. " +"(Contributed by Kumar Aditya in :gh:`128002`.)" msgstr "" msgid "" @@ -2583,7 +2914,7 @@ msgid "Deprecated" msgstr "" msgid ":mod:`argparse`:" -msgstr "" +msgstr ":mod:`argparse`:" msgid "" "Passing the undocumented keyword argument *prefix_chars* to :meth:`~argparse." @@ -2612,25 +2943,22 @@ msgid "" msgstr "" msgid ":class:`asyncio.AbstractEventLoopPolicy`" -msgstr "" +msgstr ":class:`asyncio.AbstractEventLoopPolicy`" msgid ":class:`asyncio.DefaultEventLoopPolicy`" -msgstr "" +msgstr ":class:`asyncio.DefaultEventLoopPolicy`" msgid ":class:`asyncio.WindowsSelectorEventLoopPolicy`" -msgstr "" +msgstr ":class:`asyncio.WindowsSelectorEventLoopPolicy`" msgid ":class:`asyncio.WindowsProactorEventLoopPolicy`" -msgstr "" +msgstr ":class:`asyncio.WindowsProactorEventLoopPolicy`" msgid ":func:`asyncio.get_event_loop_policy`" -msgstr "" +msgstr ":func:`asyncio.get_event_loop_policy`" msgid ":func:`asyncio.set_event_loop_policy`" -msgstr "" - -msgid ":func:`asyncio.set_event_loop`" -msgstr ":func:`asyncio.set_event_loop`" +msgstr ":func:`asyncio.set_event_loop_policy`" msgid "" "Users should use :func:`asyncio.run` or :class:`asyncio.Runner` with " @@ -2824,7 +3152,7 @@ msgid "" msgstr "" msgid ":mod:`sysconfig`:" -msgstr "" +msgstr ":mod:`sysconfig`:" msgid "" "The *check_home* argument of :func:`sysconfig.is_python_build` has been " @@ -2885,7 +3213,7 @@ msgid "" msgstr "" msgid ":mod:`zipimport`:" -msgstr "" +msgstr ":mod:`zipimport`:" msgid "" ":meth:`~zipimport.zipimporter.load_module` has been deprecated since Python " @@ -2924,7 +3252,7 @@ msgid "" msgstr "" msgid ":mod:`functools`:" -msgstr "" +msgstr ":mod:`functools`:" msgid "" "Calling the Python implementation of :func:`functools.reduce` with " @@ -2933,7 +3261,7 @@ msgid "" msgstr "" msgid ":mod:`logging`:" -msgstr "" +msgstr ":mod:`logging`:" msgid "" "Support for custom logging handlers with the *strm* argument is deprecated " @@ -3231,7 +3559,7 @@ msgid ":meth:`!threading.activeCount`: use :meth:`threading.active_count`." msgstr "" msgid ":class:`typing.Text` (:gh:`92332`)." -msgstr "" +msgstr ":class:`typing.Text` (:gh:`92332`)." msgid "" "The internal class ``typing._UnionGenericAlias`` is no longer used to " @@ -3353,10 +3681,10 @@ msgid "" msgstr "" msgid ":attr:`!ast.Constant.n`" -msgstr "" +msgstr ":attr:`!ast.Constant.n`" msgid ":attr:`!ast.Constant.s`" -msgstr "" +msgstr ":attr:`!ast.Constant.s`" msgid "" "Use :attr:`!ast.Constant.value` instead. (Contributed by Alex Waygood in :gh:" @@ -3369,34 +3697,34 @@ msgid "" msgstr "" msgid ":func:`!asyncio.get_child_watcher`" -msgstr "" +msgstr ":func:`!asyncio.get_child_watcher`" msgid ":func:`!asyncio.set_child_watcher`" -msgstr "" +msgstr ":func:`!asyncio.set_child_watcher`" msgid ":meth:`!asyncio.AbstractEventLoopPolicy.get_child_watcher`" -msgstr "" +msgstr ":meth:`!asyncio.AbstractEventLoopPolicy.get_child_watcher`" msgid ":meth:`!asyncio.AbstractEventLoopPolicy.set_child_watcher`" -msgstr "" +msgstr ":meth:`!asyncio.AbstractEventLoopPolicy.set_child_watcher`" msgid ":class:`!asyncio.AbstractChildWatcher`" -msgstr "" +msgstr ":class:`!asyncio.AbstractChildWatcher`" msgid ":class:`!asyncio.FastChildWatcher`" -msgstr "" +msgstr ":class:`!asyncio.FastChildWatcher`" msgid ":class:`!asyncio.MultiLoopChildWatcher`" -msgstr "" +msgstr ":class:`!asyncio.MultiLoopChildWatcher`" msgid ":class:`!asyncio.PidfdChildWatcher`" -msgstr "" +msgstr ":class:`!asyncio.PidfdChildWatcher`" msgid ":class:`!asyncio.SafeChildWatcher`" -msgstr "" +msgstr ":class:`!asyncio.SafeChildWatcher`" msgid ":class:`!asyncio.ThreadedChildWatcher`" -msgstr "" +msgstr ":class:`!asyncio.ThreadedChildWatcher`" msgid "(Contributed by Kumar Aditya in :gh:`120804`.)" msgstr "" @@ -3593,8 +3921,10 @@ msgid "sqlite3" msgstr "" msgid "" -"Remove :data:`!version` and :data:`!version_info` from :mod:`sqlite3`. " -"(Contributed by Hugo van Kemenade in :gh:`118924`.)" +"Remove :data:`!version` and :data:`!version_info` from :mod:`sqlite3`; use :" +"data:`~sqlite3.sqlite_version` and :data:`~sqlite3.sqlite_version_info` for " +"the actual version number of the runtime SQLite library. (Contributed by " +"Hugo van Kemenade in :gh:`118924`.)" msgstr "" msgid "" @@ -3685,6 +4015,13 @@ msgid "" "more details. (Contributed by Jelle Zijlstra in :gh:`105499`.)" msgstr "" +msgid "" +"The runtime behavior of annotations has changed in various ways; see :ref:" +"`above ` for details. While most code that interacts " +"with annotations should continue to work, some undocumented details may " +"behave differently." +msgstr "" + msgid "Build changes" msgstr "" @@ -3723,40 +4060,43 @@ msgid "" msgstr "" msgid ":c:func:`PyUnicodeWriter_Create`" -msgstr "" +msgstr ":c:func:`PyUnicodeWriter_Create`" msgid ":c:func:`PyUnicodeWriter_DecodeUTF8Stateful`" -msgstr "" +msgstr ":c:func:`PyUnicodeWriter_DecodeUTF8Stateful`" msgid ":c:func:`PyUnicodeWriter_Discard`" -msgstr "" +msgstr ":c:func:`PyUnicodeWriter_Discard`" msgid ":c:func:`PyUnicodeWriter_Finish`" -msgstr "" +msgstr ":c:func:`PyUnicodeWriter_Finish`" msgid ":c:func:`PyUnicodeWriter_Format`" +msgstr ":c:func:`PyUnicodeWriter_Format`" + +msgid ":c:func:`PyUnicodeWriter_WriteASCII`" msgstr "" msgid ":c:func:`PyUnicodeWriter_WriteChar`" -msgstr "" +msgstr ":c:func:`PyUnicodeWriter_WriteChar`" msgid ":c:func:`PyUnicodeWriter_WriteRepr`" -msgstr "" +msgstr ":c:func:`PyUnicodeWriter_WriteRepr`" msgid ":c:func:`PyUnicodeWriter_WriteStr`" -msgstr "" +msgstr ":c:func:`PyUnicodeWriter_WriteStr`" msgid ":c:func:`PyUnicodeWriter_WriteSubstring`" -msgstr "" +msgstr ":c:func:`PyUnicodeWriter_WriteSubstring`" msgid ":c:func:`PyUnicodeWriter_WriteUCS4`" -msgstr "" +msgstr ":c:func:`PyUnicodeWriter_WriteUCS4`" msgid ":c:func:`PyUnicodeWriter_WriteUTF8`" -msgstr "" +msgstr ":c:func:`PyUnicodeWriter_WriteUTF8`" msgid ":c:func:`PyUnicodeWriter_WriteWideChar`" -msgstr "" +msgstr ":c:func:`PyUnicodeWriter_WriteWideChar`" msgid "(Contributed by Victor Stinner in :gh:`119182`.)" msgstr "" @@ -3780,28 +4120,28 @@ msgid "" msgstr "" msgid ":c:func:`PyLong_AsInt32`" -msgstr "" +msgstr ":c:func:`PyLong_AsInt32`" msgid ":c:func:`PyLong_AsInt64`" -msgstr "" +msgstr ":c:func:`PyLong_AsInt64`" msgid ":c:func:`PyLong_AsUInt32`" -msgstr "" +msgstr ":c:func:`PyLong_AsUInt32`" msgid ":c:func:`PyLong_AsUInt64`" -msgstr "" +msgstr ":c:func:`PyLong_AsUInt64`" msgid ":c:func:`PyLong_FromInt32`" -msgstr "" +msgstr ":c:func:`PyLong_FromInt32`" msgid ":c:func:`PyLong_FromInt64`" -msgstr "" +msgstr ":c:func:`PyLong_FromInt64`" msgid ":c:func:`PyLong_FromUInt32`" -msgstr "" +msgstr ":c:func:`PyLong_FromUInt32`" msgid ":c:func:`PyLong_FromUInt64`" -msgstr "" +msgstr ":c:func:`PyLong_FromUInt64`" msgid "(Contributed by Victor Stinner in :gh:`120389`.)" msgstr "" @@ -3823,83 +4163,83 @@ msgid "" msgstr "" msgid ":c:func:`PyConfig_Get`" -msgstr "" +msgstr ":c:func:`PyConfig_Get`" msgid ":c:func:`PyConfig_GetInt`" -msgstr "" +msgstr ":c:func:`PyConfig_GetInt`" msgid ":c:func:`PyConfig_Set`" -msgstr "" +msgstr ":c:func:`PyConfig_Set`" msgid ":c:func:`PyConfig_Names`" -msgstr "" +msgstr ":c:func:`PyConfig_Names`" msgid "Add functions to configure the Python initialization (:pep:`741`):" msgstr "" msgid ":c:func:`Py_InitializeFromInitConfig`" -msgstr "" +msgstr ":c:func:`Py_InitializeFromInitConfig`" msgid ":c:func:`PyInitConfig_AddModule`" -msgstr "" +msgstr ":c:func:`PyInitConfig_AddModule`" msgid ":c:func:`PyInitConfig_Create`" -msgstr "" +msgstr ":c:func:`PyInitConfig_Create`" msgid ":c:func:`PyInitConfig_Free`" -msgstr "" +msgstr ":c:func:`PyInitConfig_Free`" msgid ":c:func:`PyInitConfig_FreeStrList`" -msgstr "" +msgstr ":c:func:`PyInitConfig_FreeStrList`" msgid ":c:func:`PyInitConfig_GetError`" -msgstr "" +msgstr ":c:func:`PyInitConfig_GetError`" msgid ":c:func:`PyInitConfig_GetExitCode`" -msgstr "" +msgstr ":c:func:`PyInitConfig_GetExitCode`" msgid ":c:func:`PyInitConfig_GetInt`" -msgstr "" +msgstr ":c:func:`PyInitConfig_GetInt`" msgid ":c:func:`PyInitConfig_GetStr`" -msgstr "" +msgstr ":c:func:`PyInitConfig_GetStr`" msgid ":c:func:`PyInitConfig_GetStrList`" -msgstr "" +msgstr ":c:func:`PyInitConfig_GetStrList`" msgid ":c:func:`PyInitConfig_HasOption`" -msgstr "" +msgstr ":c:func:`PyInitConfig_HasOption`" msgid ":c:func:`PyInitConfig_SetInt`" -msgstr "" +msgstr ":c:func:`PyInitConfig_SetInt`" msgid ":c:func:`PyInitConfig_SetStr`" -msgstr "" +msgstr ":c:func:`PyInitConfig_SetStr`" msgid ":c:func:`PyInitConfig_SetStrList`" -msgstr "" +msgstr ":c:func:`PyInitConfig_SetStrList`" msgid "" "Add a new import and export API for Python :class:`int` objects (:pep:`757`):" msgstr "" msgid ":c:func:`PyLong_GetNativeLayout`" -msgstr "" +msgstr ":c:func:`PyLong_GetNativeLayout`" msgid ":c:func:`PyLong_Export`" -msgstr "" +msgstr ":c:func:`PyLong_Export`" msgid ":c:func:`PyLong_FreeExport`" -msgstr "" +msgstr ":c:func:`PyLong_FreeExport`" msgid ":c:func:`PyLongWriter_Create`" -msgstr "" +msgstr ":c:func:`PyLongWriter_Create`" msgid ":c:func:`PyLongWriter_Finish`" -msgstr "" +msgstr ":c:func:`PyLongWriter_Finish`" msgid ":c:func:`PyLongWriter_Discard`" -msgstr "" +msgstr ":c:func:`PyLongWriter_Discard`" msgid "(Contributed by Sergey B Kirpichev and Victor Stinner in :gh:`102471`.)" msgstr "" @@ -3908,7 +4248,7 @@ msgid "" "Add :c:func:`PyType_GetBaseByToken` and :c:data:`Py_tp_token` slot for " "easier superclass identification, which attempts to resolve the `type " "checking issue `__ " -"mentioned in :pep:`630` (:gh:`124153`)." +"mentioned in :pep:`630`. (Contributed in :gh:`124153`.)" msgstr "" msgid "" @@ -4039,25 +4379,25 @@ msgid "Private functions promoted to public C APIs:" msgstr "" msgid "``_PyBytes_Join()``: :c:func:`PyBytes_Join`" -msgstr "" +msgstr "``_PyBytes_Join()``: :c:func:`PyBytes_Join`" msgid "``_PyLong_IsNegative()``: :c:func:`PyLong_IsNegative`" -msgstr "" +msgstr "``_PyLong_IsNegative()``: :c:func:`PyLong_IsNegative`" msgid "``_PyLong_IsPositive()``: :c:func:`PyLong_IsPositive`" -msgstr "" +msgstr "``_PyLong_IsPositive()``: :c:func:`PyLong_IsPositive`" msgid "``_PyLong_IsZero()``: :c:func:`PyLong_IsZero`" -msgstr "" +msgstr "``_PyLong_IsZero()``: :c:func:`PyLong_IsZero`" msgid "``_PyLong_Sign()``: :c:func:`PyLong_GetSign`" -msgstr "" +msgstr "``_PyLong_Sign()``: :c:func:`PyLong_GetSign`" msgid "``_PyUnicodeWriter_Dealloc()``: :c:func:`PyUnicodeWriter_Discard`" -msgstr "" +msgstr "``_PyUnicodeWriter_Dealloc()``: :c:func:`PyUnicodeWriter_Discard`" msgid "``_PyUnicodeWriter_Finish()``: :c:func:`PyUnicodeWriter_Finish`" -msgstr "" +msgstr "``_PyUnicodeWriter_Finish()``: :c:func:`PyUnicodeWriter_Finish`" msgid "``_PyUnicodeWriter_Init()``: use :c:func:`PyUnicodeWriter_Create`" msgstr "" @@ -4069,31 +4409,33 @@ msgid "``_PyUnicodeWriter_PrepareKind()``: (no replacement)" msgstr "" msgid "``_PyUnicodeWriter_WriteChar()``: :c:func:`PyUnicodeWriter_WriteChar`" -msgstr "" +msgstr "``_PyUnicodeWriter_WriteChar()``: :c:func:`PyUnicodeWriter_WriteChar`" msgid "``_PyUnicodeWriter_WriteStr()``: :c:func:`PyUnicodeWriter_WriteStr`" -msgstr "" +msgstr "``_PyUnicodeWriter_WriteStr()``: :c:func:`PyUnicodeWriter_WriteStr`" msgid "" "``_PyUnicodeWriter_WriteSubstring()``: :c:func:" "`PyUnicodeWriter_WriteSubstring`" msgstr "" +"``_PyUnicodeWriter_WriteSubstring()``: :c:func:" +"`PyUnicodeWriter_WriteSubstring`" msgid "``_PyUnicode_EQ()``: :c:func:`PyUnicode_Equal`" -msgstr "" +msgstr "``_PyUnicode_EQ()``: :c:func:`PyUnicode_Equal`" msgid "``_PyUnicode_Equal()``: :c:func:`PyUnicode_Equal`" -msgstr "" +msgstr "``_PyUnicode_Equal()``: :c:func:`PyUnicode_Equal`" msgid "" "``_Py_GetConfig()``: :c:func:`PyConfig_Get` and :c:func:`PyConfig_GetInt`" msgstr "" msgid "``_Py_HashBytes()``: :c:func:`Py_HashBuffer`" -msgstr "" +msgstr "``_Py_HashBytes()``: :c:func:`Py_HashBuffer`" msgid "``_Py_fopen_obj()``: :c:func:`Py_fopen`" -msgstr "" +msgstr "``_Py_fopen_obj()``: :c:func:`Py_fopen`" msgid "" "The `pythoncapi-compat project`_ can be used to get most of these new " @@ -4203,7 +4545,7 @@ msgstr "" msgid "" ":c:func:`!_PyUnicodeWriter_WriteASCIIString`: replace " "``_PyUnicodeWriter_WriteASCIIString(&writer, str)`` with :c:func:" -"`PyUnicodeWriter_WriteUTF8(writer, str) `." +"`PyUnicodeWriter_WriteASCII(writer, str) `." msgstr "" msgid "" @@ -4224,9 +4566,6 @@ msgid "" "`128863`.)" msgstr "" -msgid "The bundled copy of ``libmpdecimal``." -msgstr "" - msgid "" "The :c:func:`PyImport_ImportModuleNoBlock`: Use :c:func:" "`PyImport_ImportModule` instead." @@ -4451,6 +4790,9 @@ msgid "" "get these options at runtime." msgstr "" +msgid "The bundled copy of ``libmpdec``." +msgstr "" + msgid "Pending removal in Python 3.18" msgstr "" @@ -4458,6 +4800,12 @@ msgid "Deprecated private functions (:gh:`128863`):" msgstr "" msgid ":c:func:`!_PyDict_Pop()`: :c:func:`PyDict_Pop`." +msgstr ":c:func:`!_PyDict_Pop()`: :c:func:`PyDict_Pop`." + +msgid "" +":c:func:`!_PyUnicodeWriter_WriteASCIIString`: replace " +"``_PyUnicodeWriter_WriteASCIIString(&writer, str)`` with :c:func:" +"`PyUnicodeWriter_WriteUTF8(writer, str) `." msgstr "" msgid ":c:func:`!_PyUnicodeWriter_Prepare`: (no replacement)." diff --git a/whatsnew/3.2.po b/whatsnew/3.2.po index 7a4df26af..fc1a75c18 100644 --- a/whatsnew/3.2.po +++ b/whatsnew/3.2.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -11,9 +11,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-29 13:04+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -3069,7 +3069,7 @@ msgid "" msgstr "" msgid "Documentation" -msgstr "" +msgstr "Dokumentacja" msgid "The documentation continues to be improved." msgstr "" diff --git a/whatsnew/3.3.po b/whatsnew/3.3.po index bb3c98c8c..ef6cf08ef 100644 --- a/whatsnew/3.3.po +++ b/whatsnew/3.3.po @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # @@ -11,9 +11,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-25 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-29 13:04+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -1235,7 +1235,7 @@ msgid "" msgstr "" msgid "bz2" -msgstr "" +msgstr "bz2" msgid "" "The :mod:`bz2` module has been rewritten from scratch. In the process, " @@ -1516,10 +1516,10 @@ msgid "" msgstr "" msgid "32-bit" -msgstr "" +msgstr "32-bit" msgid "64-bit" -msgstr "" +msgstr "64-bit" msgid ":const:`MAX_PREC`" msgstr ":const:`MAX_PREC`" @@ -2929,7 +2929,7 @@ msgid ":c:func:`PyUnicode_FindChar`" msgstr ":c:func:`PyUnicode_FindChar`" msgid ":c:func:`PyUnicode_GetLength`, :c:macro:`PyUnicode_GET_LENGTH`" -msgstr "" +msgstr ":c:func:`PyUnicode_GetLength`, :c:macro:`PyUnicode_GET_LENGTH`" msgid ":c:func:`PyUnicode_New`" msgstr ":c:func:`PyUnicode_New`" @@ -2938,7 +2938,7 @@ msgid ":c:func:`PyUnicode_Substring`" msgstr ":c:func:`PyUnicode_Substring`" msgid ":c:func:`PyUnicode_ReadChar`, :c:func:`PyUnicode_WriteChar`" -msgstr "" +msgstr ":c:func:`PyUnicode_ReadChar`, :c:func:`PyUnicode_WriteChar`" msgid "Low-level API:" msgstr "" @@ -2956,7 +2956,7 @@ msgid ":c:func:`PyUnicode_FromKindAndData`" msgstr ":c:func:`PyUnicode_FromKindAndData`" msgid ":c:func:`PyUnicode_AsUCS4`, :c:func:`PyUnicode_AsUCS4Copy`" -msgstr "" +msgstr ":c:func:`PyUnicode_AsUCS4`, :c:func:`PyUnicode_AsUCS4Copy`" msgid "" ":c:macro:`PyUnicode_DATA`, :c:macro:`PyUnicode_1BYTE_DATA`, :c:macro:" @@ -3190,6 +3190,8 @@ msgid "" ":c:func:`!PyUnicode_EncodeDecimal`, :c:func:`!" "PyUnicode_TransformDecimalToASCII`" msgstr "" +":c:func:`!PyUnicode_EncodeDecimal`, :c:func:`!" +"PyUnicode_TransformDecimalToASCII`" msgid "Deprecated features" msgstr "" diff --git a/whatsnew/3.4.po b/whatsnew/3.4.po index cc6f8ac96..837b115eb 100644 --- a/whatsnew/3.4.po +++ b/whatsnew/3.4.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-09 14:19+0000\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-29 13:04+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -352,14 +352,15 @@ msgid "" msgstr "" msgid ":func:`os.get_inheritable`, :func:`os.set_inheritable`" -msgstr "" +msgstr ":func:`os.get_inheritable`, :func:`os.set_inheritable`" msgid ":func:`os.get_handle_inheritable`, :func:`os.set_handle_inheritable`" -msgstr "" +msgstr ":func:`os.get_handle_inheritable`, :func:`os.set_handle_inheritable`" msgid "" ":meth:`socket.socket.get_inheritable`, :meth:`socket.socket.set_inheritable`" msgstr "" +":meth:`socket.socket.get_inheritable`, :meth:`socket.socket.set_inheritable`" msgid ":pep:`446` -- Make newly created file descriptors non-inheritable" msgstr "" diff --git a/whatsnew/3.5.po b/whatsnew/3.5.po index 2aaf40f37..b6659e6e3 100644 --- a/whatsnew/3.5.po +++ b/whatsnew/3.5.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-29 13:04+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -1062,7 +1062,7 @@ msgid "" msgstr "" msgid "bz2" -msgstr "" +msgstr "bz2" msgid "" "The :meth:`BZ2Decompressor.decompress ` " diff --git a/whatsnew/3.6.po b/whatsnew/3.6.po index 2ddf2eea2..3a307db04 100644 --- a/whatsnew/3.6.po +++ b/whatsnew/3.6.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-04 14:20+0000\n" "PO-Revision-Date: 2021-06-29 13:04+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" diff --git a/whatsnew/3.7.po b/whatsnew/3.7.po index 8229bdf46..faf6d40bc 100644 --- a/whatsnew/3.7.po +++ b/whatsnew/3.7.po @@ -1,22 +1,22 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2025, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Krzysztof Abramowicz, 2022 # Rafael Fontenelle , 2024 -# Stan Ulbrych, 2024 # Maciej Olko , 2025 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-02 14:19+0000\n" +"POT-Creation-Date: 2025-06-20 14:21+0000\n" "PO-Revision-Date: 2021-06-29 13:04+0000\n" -"Last-Translator: Maciej Olko , 2025\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -1865,7 +1865,7 @@ msgid "" msgstr "" msgid "uu" -msgstr "" +msgstr "uu" msgid "" "The :func:`!uu.encode` function now accepts an optional *backtick* keyword " diff --git a/whatsnew/3.8.po b/whatsnew/3.8.po index 4c9ec6d27..fae2938c0 100644 --- a/whatsnew/3.8.po +++ b/whatsnew/3.8.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-06-27 14:20+0000\n" "PO-Revision-Date: 2021-06-29 13:04+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -2015,13 +2015,13 @@ msgid "" msgstr "" msgid ":c:func:`Py_INCREF`, :c:func:`Py_DECREF`" -msgstr "" +msgstr ":c:func:`Py_INCREF`, :c:func:`Py_DECREF`" msgid ":c:func:`Py_XINCREF`, :c:func:`Py_XDECREF`" -msgstr "" +msgstr ":c:func:`Py_XINCREF`, :c:func:`Py_XDECREF`" msgid ":c:func:`PyObject_INIT`, :c:func:`PyObject_INIT_VAR`" -msgstr "" +msgstr ":c:func:`PyObject_INIT`, :c:func:`PyObject_INIT_VAR`" msgid "" "Private functions: :c:func:`!_PyObject_GC_TRACK`, :c:func:`!" @@ -2855,6 +2855,78 @@ msgid "" " loop_overhead 0.3 0.5 0.6 0.4 0.3 " "0.3" msgstr "" +"Python version 3.3 3.4 3.5 3.6 3.7 " +"3.8\n" +"-------------- --- --- --- --- --- " +"---\n" +"\n" +"Variable and attribute read access:\n" +" read_local 4.0 7.1 7.1 5.4 5.1 " +"3.9\n" +" read_nonlocal 5.3 7.1 8.1 5.8 5.4 " +"4.4\n" +" read_global 13.3 15.5 19.0 14.3 13.6 " +"7.6\n" +" read_builtin 20.0 21.1 21.6 18.5 19.0 " +"7.5\n" +" read_classvar_from_class 20.5 25.6 26.5 20.7 19.5 " +"18.4\n" +" read_classvar_from_instance 18.5 22.8 23.5 18.8 17.1 " +"16.4\n" +" read_instancevar 26.8 32.4 33.1 28.0 26.3 " +"25.4\n" +" read_instancevar_slots 23.7 27.8 31.3 20.8 20.8 " +"20.2\n" +" read_namedtuple 68.5 73.8 57.5 45.0 46.8 " +"18.4\n" +" read_boundmethod 29.8 37.6 37.9 29.6 26.9 " +"27.7\n" +"\n" +"Variable and attribute write access:\n" +" write_local 4.6 8.7 9.3 5.5 5.3 " +"4.3\n" +" write_nonlocal 7.3 10.5 11.1 5.6 5.5 " +"4.7\n" +" write_global 15.9 19.7 21.2 18.0 18.0 " +"15.8\n" +" write_classvar 81.9 92.9 96.0 104.6 102.1 " +"39.2\n" +" write_instancevar 36.4 44.6 45.8 40.0 38.9 " +"35.5\n" +" write_instancevar_slots 28.7 35.6 36.1 27.3 26.6 " +"25.7\n" +"\n" +"Data structure read access:\n" +" read_list 19.2 24.2 24.5 20.8 20.8 " +"19.0\n" +" read_deque 19.9 24.7 25.5 20.2 20.6 " +"19.8\n" +" read_dict 19.7 24.3 25.7 22.3 23.0 " +"21.0\n" +" read_strdict 17.9 22.6 24.3 19.5 21.2 " +"18.9\n" +"\n" +"Data structure write access:\n" +" write_list 21.2 27.1 28.5 22.5 21.6 " +"20.0\n" +" write_deque 23.8 28.7 30.1 22.7 21.8 " +"23.5\n" +" write_dict 25.9 31.4 33.3 29.3 29.2 " +"24.7\n" +" write_strdict 22.9 28.4 29.9 27.5 25.2 " +"23.1\n" +"\n" +"Stack (or queue) operations:\n" +" list_append_pop 144.2 93.4 112.7 75.4 74.2 " +"50.8\n" +" deque_append_pop 30.4 43.5 57.0 49.4 49.2 " +"42.5\n" +" deque_append_popleft 30.8 43.7 57.3 49.7 49.7 " +"42.8\n" +"\n" +"Timing loop:\n" +" loop_overhead 0.3 0.5 0.6 0.4 0.3 " +"0.3" msgid "" "The benchmarks were measured on an `Intel® Core™ i7-4960HQ processor " diff --git a/whatsnew/3.9.po b/whatsnew/3.9.po index 8035d7bd0..329841825 100644 --- a/whatsnew/3.9.po +++ b/whatsnew/3.9.po @@ -15,7 +15,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-05-08 02:53-0300\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-29 13:04+0000\n" "Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" @@ -569,8 +569,8 @@ msgid "fcntl" msgstr "" msgid "" -"Added constants :const:`~fcntl.F_OFD_GETLK`, :const:`~fcntl.F_OFD_SETLK` " -"and :const:`~fcntl.F_OFD_SETLKW`. (Contributed by Donghee Na in :issue:" +"Added constants :const:`!fcntl.F_OFD_GETLK`, :const:`!fcntl.F_OFD_SETLK` " +"and :const:`!fcntl.F_OFD_SETLKW`. (Contributed by Donghee Na in :issue:" "`38602`.)" msgstr "" @@ -865,7 +865,7 @@ msgid "random" msgstr "" msgid "" -"Added a new :attr:`random.Random.randbytes` method: generate random bytes. " +"Added a new :meth:`random.Random.randbytes` method: generate random bytes. " "(Contributed by Victor Stinner in :issue:`40286`.)" msgstr "" @@ -1042,7 +1042,7 @@ msgid "" msgstr "" msgid "" -"Optimized :func:`~set.difference_update` for the case when the other set is " +"Optimized :meth:`!set.difference_update` for the case when the other set is " "much larger than the base set. (Suggested by Evgeny Kapun with code " "contributed by Michele Orrù in :issue:`8425`.)" msgstr "" @@ -1145,6 +1145,78 @@ msgid "" " loop_overhead 0.5 0.6 0.4 0.3 0.3 " "0.3" msgstr "" +"Python version 3.4 3.5 3.6 3.7 3.8 " +"3.9\n" +"-------------- --- --- --- --- --- " +"---\n" +"\n" +"Variable and attribute read access:\n" +" read_local 7.1 7.1 5.4 5.1 3.9 " +"3.9\n" +" read_nonlocal 7.1 8.1 5.8 5.4 4.4 " +"4.5\n" +" read_global 15.5 19.0 14.3 13.6 7.6 " +"7.8\n" +" read_builtin 21.1 21.6 18.5 19.0 7.5 " +"7.8\n" +" read_classvar_from_class 25.6 26.5 20.7 19.5 18.4 " +"17.9\n" +" read_classvar_from_instance 22.8 23.5 18.8 17.1 16.4 " +"16.9\n" +" read_instancevar 32.4 33.1 28.0 26.3 25.4 " +"25.3\n" +" read_instancevar_slots 27.8 31.3 20.8 20.8 20.2 " +"20.5\n" +" read_namedtuple 73.8 57.5 45.0 46.8 18.4 " +"18.7\n" +" read_boundmethod 37.6 37.9 29.6 26.9 27.7 " +"41.1\n" +"\n" +"Variable and attribute write access:\n" +" write_local 8.7 9.3 5.5 5.3 4.3 " +"4.3\n" +" write_nonlocal 10.5 11.1 5.6 5.5 4.7 " +"4.8\n" +" write_global 19.7 21.2 18.0 18.0 15.8 " +"16.7\n" +" write_classvar 92.9 96.0 104.6 102.1 39.2 " +"39.8\n" +" write_instancevar 44.6 45.8 40.0 38.9 35.5 " +"37.4\n" +" write_instancevar_slots 35.6 36.1 27.3 26.6 25.7 " +"25.8\n" +"\n" +"Data structure read access:\n" +" read_list 24.2 24.5 20.8 20.8 19.0 " +"19.5\n" +" read_deque 24.7 25.5 20.2 20.6 19.8 " +"20.2\n" +" read_dict 24.3 25.7 22.3 23.0 21.0 " +"22.4\n" +" read_strdict 22.6 24.3 19.5 21.2 18.9 " +"21.5\n" +"\n" +"Data structure write access:\n" +" write_list 27.1 28.5 22.5 21.6 20.0 " +"20.0\n" +" write_deque 28.7 30.1 22.7 21.8 23.5 " +"21.7\n" +" write_dict 31.4 33.3 29.3 29.2 24.7 " +"25.4\n" +" write_strdict 28.4 29.9 27.5 25.2 23.1 " +"24.5\n" +"\n" +"Stack (or queue) operations:\n" +" list_append_pop 93.4 112.7 75.4 74.2 50.8 " +"50.6\n" +" deque_append_pop 43.5 57.0 49.4 49.2 42.5 " +"44.2\n" +" deque_append_popleft 43.7 57.3 49.7 49.7 42.8 " +"46.4\n" +"\n" +"Timing loop:\n" +" loop_overhead 0.5 0.6 0.4 0.3 0.3 " +"0.3" msgid "" "These results were generated from the variable access benchmark script at: " @@ -1228,10 +1300,10 @@ msgid "" msgstr "" msgid ":func:`!b2a_hqx`, :func:`!a2b_hqx`" -msgstr "" +msgstr ":func:`!b2a_hqx`, :func:`!a2b_hqx`" msgid ":func:`!rlecode_hqx`, :func:`!rledecode_hqx`" -msgstr "" +msgstr ":func:`!rlecode_hqx`, :func:`!rledecode_hqx`" msgid "(Contributed by Victor Stinner in :issue:`39353`.)" msgstr "" diff --git a/whatsnew/changelog.po b/whatsnew/changelog.po index ac244cd99..57492f655 100644 --- a/whatsnew/changelog.po +++ b/whatsnew/changelog.po @@ -1,19 +1,21 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2001-2024, Python Software Foundation +# Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: -# Seweryn Piórkowski , 2021 +# Maciej Olko , 2024 +# Seweryn Piórkowski , 2024 +# Stan Ulbrych, 2025 # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Python 3.13\n" +"Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-11-29 14:18+0000\n" +"POT-Creation-Date: 2025-07-11 14:21+0000\n" "PO-Revision-Date: 2021-06-29 13:04+0000\n" -"Last-Translator: Seweryn Piórkowski , 2021\n" +"Last-Translator: Stan Ulbrych, 2025\n" "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -25,3 +27,69599 @@ msgstr "" msgid "Changelog" msgstr "Lista zmian" + +msgid "Python next" +msgstr "Następna wersja Pythona" + +msgid "*Release date: XXXX-XX-XX*" +msgstr "*Data wydania: XX.XX.XXXX*" + +msgid "Library" +msgstr "Biblioteka" + +msgid "" +":gh:`52876`: Add missing ``keepends`` (default ``True``) parameter to :meth:" +"`!codecs.StreamReaderWriter.readline` and :meth:`!codecs.StreamReaderWriter." +"readlines`." +msgstr "" + +msgid "" +":gh:`136476`: Fix a bug that was causing the ``get_async_stack_trace`` " +"function to miss some frames in the stack trace." +msgstr "" + +msgid "" +":gh:`136434`: Fix docs generation of ``UnboundItem`` in :mod:`concurrent." +"interpreters` when running with :option:`-OO`." +msgstr "" + +msgid "" +":gh:`136380`: Raises :exc:`AttributeError` when accessing :class:`concurrent." +"futures.InterpreterPoolExecutor` and subinterpreters are not available." +msgstr "" + +msgid "" +":gh:`134657`: :mod:`asyncio`: Remove some private names from ``asyncio." +"__all__``." +msgstr "" + +msgid "Core and Builtins" +msgstr "Core i builtiny" + +msgid "" +":gh:`136541`: Fix some issues with the perf trampolines on x86-64 and " +"aarch64. The trampolines were not being generated correctly for some cases, " +"which could lead to the perf integration not working correctly. Patch by " +"Pablo Galindo." +msgstr "" + +msgid "" +":gh:`136517`: Fixed a typo that prevented printing of uncollectable objects " +"when the :const:`gc.DEBUG_UNCOLLECTABLE` mode was set." +msgstr "" + +msgid "" +":gh:`132661`: ``Interpolation.expression`` now has a default, the empty " +"string." +msgstr "" + +msgid "" +":gh:`133136`: Limit excess memory usage in the :term:`free threading` build " +"when a large dictionary or list is resized and accessed by multiple threads." +msgstr "" + +msgid "Python 3.14.0 beta 4" +msgstr "" + +msgid "*Release date: 2025-07-08*" +msgstr "" + +msgid "Tools/Demos" +msgstr "Narzędzia/Demo" + +msgid "" +":gh:`135968`: Stubs for ``strip`` are now provided as part of an iOS install." +msgstr "" + +msgid ":gh:`133600`: Backport file reorganization for Tools/wasm/wasi." +msgstr "" + +msgid "" +"This should make backporting future code changes easier. It also simplifies " +"instructions around how to do WASI builds in the devguide." +msgstr "" + +msgid "Tests" +msgstr "Testy" + +msgid "" +":gh:`135966`: The iOS testbed now handles the ``app_packages`` folder as a " +"site directory." +msgstr "" + +msgid "" +":gh:`135494`: Fix regrtest to support excluding tests from ``--pgo`` tests. " +"Patch by Victor Stinner." +msgstr "" + +msgid "Security" +msgstr "Bezpieczeństwo" + +msgid "" +":gh:`136053`: :mod:`marshal`: fix a possible crash when deserializing :class:" +"`slice` objects." +msgstr "" + +msgid "" +":gh:`135661`: Fix parsing start and end tags in :class:`html.parser." +"HTMLParser` according to the HTML5 standard." +msgstr "" + +msgid "" +"Whitespaces no longer accepted between ```` does not end the script section." +msgstr "" + +msgid "" +"Vertical tabulation (``\\v``) and non-ASCII whitespaces no longer recognized " +"as whitespaces. The only whitespaces are ``\\t\\n\\r\\f`` and space." +msgstr "" + +msgid "Null character (U+0000) no longer ends the tag name." +msgstr "" + +msgid "" +"Attributes and slashes after the tag name in end tags are now ignored, " +"instead of terminating after the first ``>`` in quoted attribute value. E.g. " +"``\"/>``." +msgstr "" + +msgid "" +"Multiple slashes and whitespaces between the last attribute and closing " +"``>`` are now ignored in both start and end tags. E.g. ````." +msgstr "" + +msgid "" +"Multiple ``=`` between attribute name and value are no longer collapsed. E." +"g. ```` produces attribute \"foo\" with value \"=bar\"." +msgstr "" + +msgid "" +"Whitespaces between the ``=`` separator and attribute name or value are no " +"longer ignored. E.g. ```` produces two attributes \"foo\" and " +"\"=bar\", both with value None; ```` produces two attributes: " +"\"foo\" with value \"\" and \"bar\" with value None." +msgstr "" + +msgid "" +":gh:`102555`: Fix comment parsing in :class:`html.parser.HTMLParser` " +"according to the HTML5 standard. ``--!>`` now ends the comment. ``-- >`` no " +"longer ends the comment. Support abnormally ended empty comments ``<-->`` " +"and ``<--->``." +msgstr "" + +msgid "" +":gh:`136286`: Fix pickling failures for protocols 0 and 1 for many objects " +"realted to subinterpreters." +msgstr "" + +msgid "" +":gh:`136316`: Improve support for evaluating nested forward references in :" +"func:`typing.evaluate_forward_ref`." +msgstr "" + +msgid "" +":gh:`85702`: If ``zoneinfo._common.load_tzdata`` is given a package without " +"a resource a :exc:`zoneinfo.ZoneInfoNotFoundError` is raised rather than a :" +"exc:`PermissionError`. Patch by Victor Stinner." +msgstr "" + +msgid "" +":gh:`136028`: Fix parsing month names containing \"İ\" (U+0130, LATIN " +"CAPITAL LETTER I WITH DOT ABOVE) in :func:`time.strptime`. This affects " +"locales az_AZ, ber_DZ, ber_MA and crh_UA." +msgstr "" + +msgid "" +":gh:`135995`: In the palmos encoding, make byte ``0x9b`` decode to ``›`` " +"(U+203A - SINGLE RIGHT-POINTING ANGLE QUOTATION MARK)." +msgstr "" + +msgid "" +":gh:`53203`: Fix :func:`time.strptime` for ``%c`` and ``%x`` formats on " +"locales byn_ER, wal_ET and lzh_TW, and for ``%X`` format on locales ar_SA, " +"bg_BG and lzh_TW." +msgstr "" + +msgid "" +":gh:`91555`: An earlier change, which was introduced in 3.14.0b2, has been " +"reverted. It disabled logging for a logger during handling of log messages " +"for that logger. Since the reversion, the behaviour should be as it was " +"before 3.14.0b2." +msgstr "" + +msgid "" +":gh:`135878`: Fixes a crash of :class:`types.SimpleNamespace` on :term:`free " +"threading` builds, when several threads were calling its :meth:`~object." +"__repr__` method at the same time." +msgstr "" + +msgid "" +":gh:`135836`: Fix :exc:`IndexError` in :meth:`asyncio.loop." +"create_connection` that could occur when non-\\ :exc:`OSError` exception is " +"raised during connection and socket's ``close()`` raises :exc:`!OSError`." +msgstr "" + +msgid "" +":gh:`135836`: Fix :exc:`IndexError` in :meth:`asyncio.loop." +"create_connection` that could occur when the Happy Eyeballs algorithm " +"resulted in an empty exceptions list during connection attempts." +msgstr "" + +msgid "" +":gh:`135855`: Raise :exc:`TypeError` instead of :exc:`SystemError` when :" +"func:`!_interpreters.set___main___attrs` is passed a non-dict object. Patch " +"by Brian Schubert." +msgstr "" + +msgid "" +":gh:`135815`: :mod:`netrc`: skip security checks if :func:`os.getuid` is " +"missing. Patch by Bénédikt Tran." +msgstr "" + +msgid "" +":gh:`135640`: Address bug where it was possible to call :func:`xml.etree." +"ElementTree.ElementTree.write` on an ElementTree object with an invalid root " +"element. This behavior blanked the file passed to ``write`` if it already " +"existed." +msgstr "" + +msgid "" +":gh:`135645`: Added ``supports_isolated_interpreters`` field to :data:`sys." +"implementation`." +msgstr "" + +msgid "" +":gh:`135646`: Raise consistent :exc:`NameError` exceptions in :func:" +"`annotationlib.ForwardRef.evaluate`" +msgstr "" + +msgid "" +":gh:`135557`: Fix races on :mod:`heapq` updates and :class:`list` reads on " +"the :term:`free threaded ` build." +msgstr "" + +msgid "" +":gh:`119180`: Only fetch globals and locals if necessary in :func:" +"`annotationlib.get_annotations`" +msgstr "" + +msgid "" +":gh:`135561`: Fix a crash on DEBUG builds when an HACL* HMAC routine fails. " +"Patch by Bénédikt Tran." +msgstr "" + +msgid "" +":gh:`135487`: Fix :meth:`!reprlib.Repr.repr_int` when given integers with " +"more than :func:`sys.get_int_max_str_digits` digits. Patch by Bénédikt Tran." +msgstr "" + +msgid "" +":gh:`135335`: :mod:`multiprocessing`: Flush ``stdout`` and ``stderr`` after " +"preloading modules in the ``forkserver``." +msgstr "" + +msgid "" +":gh:`135069`: Fix the \"Invalid error handling\" exception in :class:`!" +"encodings.idna.IncrementalDecoder` to correctly replace the 'errors' " +"parameter." +msgstr "" + +msgid "" +":gh:`130662`: +Accept leading zeros in precision and width fields for +:" +"class:`~decimal.Decimal` formatting, for example ``format(Decimal(1.25), " +"'.016f')``." +msgstr "" + +msgid "" +":gh:`130662`: Accept leading zeros in precision and width fields for :class:" +"`~fractions.Fraction` formatting, for example ``format(Fraction(1, 3), " +"'.016f')``." +msgstr "" + +msgid "" +":gh:`87790`: Support underscore and comma as thousands separators in the " +"fractional part for :class:`~fractions.Fraction`'s formatting. Patch by " +"Sergey B Kirpichev." +msgstr "" + +msgid "" +":gh:`87790`: Support underscore and comma as thousands separators in the " +"fractional part for :class:`~decimal.Decimal`'s formatting. Patch by Sergey " +"B Kirpichev." +msgstr "" + +msgid "" +":gh:`130664`: Handle corner-case for :class:`~fractions.Fraction`'s " +"formatting: treat zero-padding (preceding the width field by a zero " +"(``'0'``) character) as an equivalent to a fill character of ``'0'`` with an " +"alignment type of ``'='``, just as in case of :class:`float`'s." +msgstr "" + +msgid "Documentation" +msgstr "Dokumentacja" + +msgid "" +":gh:`136155`: EPUB builds are fixed by excluding non-XHTML-compatible tags." +msgstr "" + +msgid ":gh:`109700`: Fix memory error handling in :c:func:`PyDict_SetDefault`." +msgstr "" + +msgid "" +":gh:`78465`: Fix error message for ``cls.__new__(cls, ...)`` where ``cls`` " +"is not instantiable builtin or extension type (with ``tp_new`` set to " +"``NULL``)." +msgstr "" + +msgid "" +":gh:`129958`: Differentiate between t-strings and f-strings in syntax error " +"for newlines in format specifiers of single-quoted interpolated strings." +msgstr "" + +msgid "" +":gh:`135871`: Non-blocking mutex lock attempts now return immediately when " +"the lock is busy instead of briefly spinning in the :term:`free threading` " +"build." +msgstr "" + +msgid "" +":gh:`135106`: Restrict the trashcan mechanism to GC'ed objects and untrack " +"them while in the trashcan to prevent the GC and trashcan mechanisms " +"conflicting." +msgstr "" + +msgid "" +":gh:`135607`: Fix potential :mod:`weakref` races in an object's destructor " +"on the :term:`free threaded ` build." +msgstr "" + +msgid ":gh:`135608`: Fix a crash in the JIT involving attributes of modules." +msgstr "" + +msgid "" +":gh:`135543`: Emit ``sys.remote_exec`` audit event when :func:`sys." +"remote_exec` is called and migrate ``remote_debugger_script`` to ``cpython." +"remote_debugger_script``." +msgstr "" + +msgid "" +":gh:`134280`: Disable constant folding for ``~`` with a boolean argument. " +"This moves the deprecation warning from compile time to runtime." +msgstr "" + +msgid "C API" +msgstr "C API" + +msgid "" +":gh:`135906`: Fix compilation errors when compiling the internal headers " +"with a C++ compiler." +msgstr "" + +msgid "Build" +msgstr "Build" + +msgid "" +":gh:`134273`: Add support for configuring compiler flags for the JIT with " +"``CFLAGS_JIT``" +msgstr "" + +msgid "Python 3.14.0 beta 3" +msgstr "" + +msgid "*Release date: 2025-06-17*" +msgstr "*Data wydania: 2025-06-17*" + +msgid "Windows" +msgstr "Windows" + +msgid "" +":gh:`135099`: Fix a crash that could occur on Windows when a background " +"thread waits on a :c:type:`PyMutex` while the main thread is shutting down " +"the interpreter." +msgstr "" + +msgid "" +":gh:`132815`: Fix test__opcode: add ``JUMP_BACKWARD`` to specialization " +"stats." +msgstr "" + +msgid "" +":gh:`135489`: Show verbose output for failing tests during PGO profiling " +"step with --enable-optimizations." +msgstr "" + +msgid ":gh:`135120`: Add :func:`!test.support.subTests`." +msgstr "" + +msgid "" +":gh:`135462`: Fix quadratic complexity in processing specially crafted input " +"in :class:`html.parser.HTMLParser`. End-of-file errors are now handled " +"according to the HTML5 specs -- comments and declarations are automatically " +"closed, tags are ignored." +msgstr "" + +msgid "" +":gh:`135034`: Fixes multiple issues that allowed ``tarfile`` extraction " +"filters (``filter=\"data\"`` and ``filter=\"tar\"``) to be bypassed using " +"crafted symlinks and hard links." +msgstr "" + +msgid "" +"Addresses :cve:`2024-12718`, :cve:`2025-4138`, :cve:`2025-4330`, and :cve:" +"`2025-4517`." +msgstr "" + +msgid "" +":gh:`65697`: :class:`configparser`'s error message when attempting to write " +"an invalid key is now more helpful." +msgstr "" + +msgid "" +":gh:`135497`: Fix :func:`os.getlogin` failing for longer usernames on BSD-" +"based platforms." +msgstr "" + +msgid "" +":gh:`135429`: Fix the argument mismatch in ``_lsprof`` for ``PY_THROW`` " +"event." +msgstr "" + +msgid "" +":gh:`135368`: Fix :class:`unittest.mock.Mock` generation on :func:" +"`dataclasses.dataclass` objects. Now all special attributes are set as it " +"was before :gh:`124429`." +msgstr "" + +msgid "" +":gh:`133967`: Do not normalize :mod:`locale` name 'C.UTF-8' to 'en_US.UTF-8'." +msgstr "" + +msgid "" +":gh:`135321`: Raise a correct exception for values greater than 0x7fffffff " +"for the ``BINSTRING`` opcode in the C implementation of :mod:`pickle`." +msgstr "" + +msgid "" +":gh:`135276`: Backported bugfixes in zipfile.Path from zipp 3.23. Fixed ``." +"name``, ``.stem`` and other basename-based properties on Windows when " +"working with a zipfile on disk." +msgstr "" + +msgid "" +":gh:`135244`: :mod:`uuid`: when the MAC address cannot be determined, the 48-" +"bit node ID is now generated with a cryptographically-secure pseudo-random " +"number generator (CSPRNG) as per :rfc:`RFC 9562, §6.10.3 " +"<9562#section-6.10-3>`. This affects :func:`~uuid.uuid1` and :func:`~uuid." +"uuid6`." +msgstr "" + +msgid "" +":gh:`134970`: Fix the \"unknown action\" exception in :meth:`argparse." +"ArgumentParser.add_argument_group` to correctly replace the action class." +msgstr "" + +msgid "" +":gh:`134718`: :func:`ast.dump` now only omits ``None`` and ``[]`` values if " +"they are default values." +msgstr "" + +msgid "" +":gh:`134939`: Add the :mod:`concurrent.interpreters` module. See :pep:`734`." +msgstr "" + +msgid "" +":gh:`134885`: Fix possible crash in the :mod:`compression.zstd` module " +"related to setting parameter types. Patch by Jelle Zijlstra." +msgstr "" + +msgid "" +":gh:`134857`: Improve error report for :mod:`doctest`\\ s run with :mod:" +"`unittest`. Remove :mod:`!doctest` module frames from tracebacks and " +"redundant newline character from a failure message." +msgstr "" + +msgid "" +":gh:`128840`: Fix parsing long IPv6 addresses with embedded IPv4 address." +msgstr "" + +msgid "" +":gh:`134637`: Fix performance regression in calling a :mod:`ctypes` function " +"pointer in :term:`free threading`." +msgstr "" + +msgid "" +":gh:`134696`: Built-in HACL* and OpenSSL implementations of hash function " +"constructors now correctly accept the same *documented* named arguments. For " +"instance, :func:`~hashlib.md5` could be previously invoked as " +"``md5(data=data)`` or ``md5(string=string)`` depending on the underlying " +"implementation but these calls were not compatible. Patch by Bénédikt Tran." +msgstr "" + +msgid "" +":gh:`134151`: :mod:`email`: Fix :exc:`TypeError` in :func:`email.utils." +"decode_params` when sorting :rfc:`2231` continuations that contain an " +"unnumbered section." +msgstr "" + +msgid "" +":gh:`134210`: :func:`curses.window.getch` now correctly handles signals. " +"Patch by Bénédikt Tran." +msgstr "" + +msgid "" +":gh:`134152`: :mod:`email`: Fix parsing of email message ID with invalid " +"domain." +msgstr "" + +msgid "" +":gh:`133489`: :func:`random.getrandbits` can now generate more that 2\\ :sup:" +"`31` bits. :func:`random.randbytes` can now generate more that 256 MiB." +msgstr "" + +msgid "" +":gh:`132813`: Improve error messages for incorrect types and values of :" +"class:`csv.Dialect` attributes." +msgstr "" + +msgid "" +":gh:`132969`: Prevent the :class:`~concurrent.futures.ProcessPoolExecutor` " +"executor thread, which remains running when :meth:`shutdown(wait=False) " +"`, from attempting to adjust the " +"pool's worker processes after the object state has already been reset during " +"shutdown. A combination of conditions, including a worker process having " +"terminated abormally, resulted in an exception and a potential hang when the " +"still-running executor thread attempted to replace dead workers within the " +"pool." +msgstr "" + +msgid "" +":gh:`127081`: Fix libc thread safety issues with :mod:`os` by replacing " +"``getlogin`` with ``getlogin_r`` re-entrant version." +msgstr "" + +msgid "" +":gh:`131884`: Fix formatting issues in :func:`json.dump` when both *indent* " +"and *skipkeys* are used." +msgstr "" + +msgid "" +":gh:`130999`: Avoid exiting the new REPL and offer suggestions even if there " +"are non-string candidates when errors occur." +msgstr "" + +msgid "" +":gh:`135171`: Document that the :term:`iterator` for the leftmost :keyword:`!" +"for` clause in the generator expression is created immediately." +msgstr "" + +msgid "" +":issue:`45210`: Document that error indicator may be set in tp_dealloc, and " +"how to avoid clobbering it." +msgstr "" + +msgid "" +":gh:`135496`: Fix typo in the f-string conversion type error " +"(\"exclamanation\" -> \"exclamation\")." +msgstr "" + +msgid "" +":gh:`135371`: Fixed :mod:`asyncio` debugging tools to properly display " +"internal coroutine call stacks alongside external task dependencies. The " +"``python -m asyncio ps`` and ``python -m asyncio pstree`` commands now show " +"complete execution context. Patch by Pablo Galindo." +msgstr "" + +msgid "" +":gh:`127319`: Set the ``allow_reuse_port`` class variable to ``False`` on " +"the XMLRPC, logging, and HTTP servers. This matches the behavior in prior " +"Python releases, which is to not allow port reuse." +msgstr "" + +msgid "" +":gh:`135171`: Reverts the behavior of async generator expressions when " +"created with object w/o __aiter__ method to the pre-3.13 behavior of raising " +"a TypeError." +msgstr "" + +msgid "" +":gh:`130077`: Properly raise custom syntax errors when incorrect syntax " +"containing names that are prefixes of soft keywords is encountered. Patch " +"by Pablo Galindo." +msgstr "" + +msgid "" +":gh:`135171`: Reverts the behavior of generator expressions when created " +"with a non-iterable to the pre-3.13 behavior of raising a TypeError. It is " +"no longer possible to cause a crash in the debugger by altering the " +"generator expression's local variables. This is achieved by moving the " +"``GET_ITER`` instruction back to the creation of the generator expression " +"and adding an additional check to ``FOR_ITER``." +msgstr "" + +msgid "" +":gh:`116738`: Make methods in :mod:`heapq` thread-safe on the :term:`free " +"threaded ` build." +msgstr "" + +msgid "" +":gh:`134876`: Add support to :pep:`768` remote debugging for Linux kernels " +"which don't have CONFIG_CROSS_MEMORY_ATTACH configured." +msgstr "" + +msgid "" +":gh:`134889`: Fix handling of a few opcodes that leave operands on the stack " +"when optimizing ``LOAD_FAST``." +msgstr "" + +msgid "" +":gh:`134908`: Fix crash when iterating over lines in a text file on the :" +"term:`free threaded ` build." +msgstr "" + +msgid "" +":gh:`132617`: Fix :meth:`dict.update` modification check that could " +"incorrectly raise a \"dict mutated during update\" error when a different " +"dictionary was modified that happens to share the same underlying keys " +"object." +msgstr "" + +msgid "" +":gh:`134679`: Fix crash in the :term:`free threading` build's QSBR code that " +"could occur when changing an object's ``__dict__`` attribute." +msgstr "" + +msgid "" +":gh:`127682`: No longer call ``__iter__`` twice in list comprehensions. This " +"brings the behavior of list comprehensions in line with other forms of " +"iteration" +msgstr "" + +msgid "" +":gh:`133912`: Fix the C API function ``PyObject_GenericSetDict`` to handle " +"extension classes with inline values." +msgstr "" + +msgid "" +":gh:`134989`: Fix ``Py_RETURN_NONE``, ``Py_RETURN_TRUE`` and " +"``Py_RETURN_FALSE`` macros in the limited C API 3.11 and older: don't treat " +"``Py_None``, ``Py_True`` and ``Py_False`` as immortal. Patch by Victor " +"Stinner." +msgstr "" + +msgid "" +":gh:`134989`: Implement :c:func:`PyObject_DelAttr` and :c:func:" +"`PyObject_DelAttrString` as macros in the limited C API 3.12 and older. " +"Patch by Victor Stinner." +msgstr "" + +msgid "" +":gh:`133968`: Add :c:func:`PyUnicodeWriter_WriteASCII` function to write an " +"ASCII string into a :c:type:`PyUnicodeWriter`. The function is faster than :" +"c:func:`PyUnicodeWriter_WriteUTF8`, but has an undefined behavior if the " +"input string contains non-ASCII characters. Patch by Victor Stinner." +msgstr "" + +msgid "" +":gh:`119132`: Remove \"experimental\" tag from the CPython free-threading " +"build." +msgstr "" + +msgid "" +":gh:`135497`: Fix the detection of ``MAXLOGNAME`` in the ``configure.ac`` " +"script." +msgstr "" + +msgid "" +":gh:`134923`: Windows builds with profile-guided optimization enabled now " +"use ``/GENPROFILE`` and ``/USEPROFILE`` instead of deprecated ``/LTCG:`` " +"options." +msgstr "" + +msgid "" +":gh:`134774`: Fix :c:macro:`Py_DEBUG` macro redefinition warnings on Windows " +"debug builds. Patch by Chris Eibl." +msgstr "" + +msgid "" +":gh:`134632`: Fixed ``build-details.json`` generation to use ``INCLUDEPY``, " +"in order to reference the ``pythonX.Y`` subdirectory of the include " +"directory, as required in :pep:`739`, instead of the top-level include " +"directory." +msgstr "" + +msgid "Python 3.14.0 beta 2" +msgstr "" + +msgid "*Release date: 2025-05-26*" +msgstr "*Data wydania: 2025-05-26*" + +msgid "" +":gh:`130727`: Fix a race in internal calls into WMI that can result in an " +"\"invalid handle\" exception under high load. Patch by Chris Eibl." +msgstr "" + +msgid "" +":gh:`76023`: Make :func:`os.path.realpath` ignore Windows error 1005 when in " +"non-strict mode." +msgstr "" + +msgid "" +":gh:`133779`: Reverts the change to generate different :file:`pyconfig.h` " +"files based on compiler settings, as it was frequently causing extension " +"builds to break. In particular, the ``Py_GIL_DISABLED`` preprocessor " +"variable must now always be defined explicitly when compiling for the " +"experimental free-threaded runtime. The :func:`sysconfig.get_config_var` " +"function can be used to determine whether the current runtime was compiled " +"with that flag or not." +msgstr "" + +msgid "" +":gh:`133626`: Ensures packages are not accidentally bundled into the " +"traditional installer." +msgstr "" + +msgid "" +":gh:`134215`: :term:`REPL` import autocomplete only suggests private modules " +"when explicitly specified." +msgstr "" + +msgid "" +":gh:`133744`: Fix multiprocessing interrupt test. Add an event to " +"synchronize the parent process with the child process: wait until the child " +"process starts sleeping. Patch by Victor Stinner." +msgstr "" + +msgid "" +":gh:`133682`: Fixed test case ``test.test_annotationlib.TestStringFormat." +"test_displays`` which ensures proper handling of complex data structures " +"(lists, sets, dictionaries, and tuples) in string annotations." +msgstr "" + +msgid "" +":gh:`133639`: Fix ``TestPyReplAutoindent.test_auto_indent_default()`` " +"doesn't run ``input_code``." +msgstr "" + +msgid "" +":gh:`133767`: Fix use-after-free in the \"unicode-escape\" decoder with a " +"non-\"strict\" error handler." +msgstr "" + +msgid "" +":gh:`128840`: Short-circuit the processing of long IPv6 addresses early in :" +"mod:`ipaddress` to prevent excessive memory consumption and a minor denial-" +"of-service." +msgstr "" + +msgid "" +":gh:`132710`: If possible, ensure that :func:`uuid.getnode` returns the same " +"result even across different processes. Previously, the result was constant " +"only within the same process. Patch by Bénédikt Tran." +msgstr "" + +msgid "" +":gh:`80334`: :func:`multiprocessing.freeze_support` now checks for work on " +"any \"spawn\" start method platform rather than only on Windows." +msgstr "" + +msgid "" +":gh:`134582`: Fix tokenize.untokenize() round-trip errors related to t-" +"strings braces escaping" +msgstr "" + +msgid "" +":gh:`134546`: Ensure :mod:`pdb` remote debugging script is readable by " +"remote Python process." +msgstr "" + +msgid "" +":gh:`134451`: Converted ``asyncio.tools.CycleFoundException`` from dataclass " +"to a regular exception type." +msgstr "" + +msgid "" +":gh:`114177`: Fix :mod:`asyncio` to not close subprocess pipes which would " +"otherwise error out when the event loop is already closed." +msgstr "" + +msgid "" +":gh:`90871`: Fixed an off by one error concerning the backlog parameter in :" +"meth:`~asyncio.loop.create_unix_server`. Contributed by Christian Harries." +msgstr "" + +msgid ":gh:`134323`: Fix the :meth:`threading.RLock.locked` method." +msgstr "" + +msgid "" +":gh:`86802`: Fixed asyncio memory leak in cancelled shield tasks. For " +"shielded tasks where the shield was cancelled, log potential exceptions " +"through the exception handler. Contributed by Christian Harries." +msgstr "" + +msgid "" +":gh:`134209`: :mod:`curses`: The :meth:`curses.window.instr` and :meth:" +"`curses.window.getstr` methods now allocate their internal buffer on the " +"heap instead of the stack; in addition, the max buffer size is increased " +"from 1023 to 2047." +msgstr "" + +msgid "" +":gh:`134235`: Updated tab completion on REPL to include builtin modules. " +"Contributed by Tom Wang, Hunter Young" +msgstr "" + +msgid "" +":gh:`134152`: Fixed :exc:`UnboundLocalError` that could occur during :mod:" +"`email` header parsing if an expected trailing delimiter is missing in some " +"contexts." +msgstr "" + +msgid "" +":gh:`134168`: :mod:`http.server`: Fix IPv6 address binding and :option:`--" +"directory ` handling when using HTTPS." +msgstr "" + +msgid "" +":gh:`62184`: Remove import of C implementation of :class:`io.FileIO` from " +"Python implementation which has its own implementation" +msgstr "" + +msgid "" +":gh:`133982`: Emit :exc:`RuntimeWarning` in the Python implementation of :" +"mod:`io` when the :term:`file-like object ` is not closed " +"explicitly in the presence of multiple I/O layers." +msgstr "" + +msgid "" +":gh:`133890`: The :mod:`tarfile` module now handles :exc:" +"`UnicodeEncodeError` in the same way as :exc:`OSError` when cannot extract a " +"member." +msgstr "" + +msgid "" +":gh:`134097`: Fix interaction of the new :term:`REPL` and :option:`-X " +"showrefcount <-X>` command line option." +msgstr "" + +msgid "" +":gh:`133889`: The generated directory listing page in :class:`http.server." +"SimpleHTTPRequestHandler` now only shows the decoded path component of the " +"requested URL, and not the query and fragment." +msgstr "" + +msgid "" +":gh:`134098`: Fix handling paths that end with a percent-encoded slash " +"(``%2f`` or ``%2F``) in :class:`http.server.SimpleHTTPRequestHandler`." +msgstr "" + +msgid "" +":gh:`132124`: On POSIX-compliant systems, :func:`!multiprocessing.util." +"get_temp_dir` now ignores :envvar:`TMPDIR` (and similar environment " +"variables) if the path length of ``AF_UNIX`` socket files exceeds the " +"platform-specific maximum length when using the :ref:`forkserver " +"` start method. Patch by Bénédikt " +"Tran." +msgstr "" + +msgid "" +":gh:`134062`: :mod:`ipaddress`: fix collisions in :meth:`~object.__hash__` " +"for :class:`~ipaddress.IPv4Network` and :class:`~ipaddress.IPv6Network` " +"objects." +msgstr "" + +msgid "" +":gh:`133970`: Make :class:`!string.templatelib.Template` and :class:`!string." +"templatelib.Interpolation` generic." +msgstr "" + +msgid "" +":gh:`71253`: Raise :exc:`ValueError` in :func:`open` if *opener* returns a " +"negative file-descriptor in the Python implementation of :mod:`io` to match " +"the C implementation." +msgstr "" + +msgid "" +":gh:`133960`: Simplify and improve :func:`typing.evaluate_forward_ref`. It " +"now no longer raises errors on certain invalid types. In several situations, " +"it is now able to evaluate forward references that were previously " +"unsupported." +msgstr "" + +msgid "" +":gh:`133925`: Make the private class ``typing._UnionGenericAlias`` hashable." +msgstr "" + +msgid "" +":gh:`133653`: Fix :class:`argparse.ArgumentParser` with the " +"*formatter_class* argument. Fix TypeError when *formatter_class* is a custom " +"subclass of :class:`!HelpFormatter`. Fix TypeError when *formatter_class* is " +"not a subclass of :class:`!HelpFormatter` and non-standard *prefix_char* is " +"used. Fix support of colorizing when *formatter_class* is not a subclass of :" +"class:`!HelpFormatter`." +msgstr "" + +msgid "" +":gh:`132641`: Fixed a race in :func:`functools.lru_cache` under free-" +"threading." +msgstr "" + +msgid "" +":gh:`133783`: Fix bug with applying :func:`copy.replace` to :mod:`ast` " +"objects. Attributes that default to ``None`` were incorrectly treated as " +"required for manually created AST nodes." +msgstr "" + +msgid "" +":gh:`133684`: Fix bug where :func:`annotationlib.get_annotations` would " +"return the wrong result for certain classes that are part of a class " +"hierarchy where ``from __future__ import annotations`` is used." +msgstr "" + +msgid "" +":gh:`77057`: Fix handling of invalid markup declarations in :class:`html." +"parser.HTMLParser`." +msgstr "" + +msgid "" +":gh:`130328`: Speedup pasting in ``PyREPL`` on Windows in a legacy console. " +"Patch by Chris Eibl." +msgstr "" + +msgid "" +":gh:`133701`: Fix bug where :class:`typing.TypedDict` classes defined under " +"``from __future__ import annotations`` and inheriting from another " +"``TypedDict`` had an incorrect ``__annotations__`` attribute." +msgstr "" + +msgid "" +":gh:`133581`: Improve unparsing of t-strings in :func:`ast.unparse` and " +"``from __future__ import annotations``. Empty t-strings now round-trip " +"correctly and formatting in interpolations is preserved. Patch by Jelle " +"Zijlstra." +msgstr "" + +msgid "" +":gh:`133551`: Support t-strings (:pep:`750`) in :mod:`annotationlib`. Patch " +"by Jelle Zijlstra." +msgstr "" + +msgid "" +":gh:`133439`: Fix dot commands with trailing spaces are mistaken for multi-" +"line SQL statements in the sqlite3 command-line interface." +msgstr "" + +msgid "" +":gh:`132493`: Avoid accessing ``__annotations__`` unnecessarily in :func:" +"`inspect.signature`." +msgstr "" + +msgid "" +":gh:`132876`: ``ldexp()`` on Windows doesn't round subnormal results before " +"Windows 11, but should. Python's :func:`math.ldexp` wrapper now does round " +"them, so results may change slightly, in rare cases of very small results, " +"on Windows versions before 11." +msgstr "" + +msgid "" +":gh:`133009`: :mod:`xml.etree.ElementTree`: Fix a crash in :meth:`Element." +"__deepcopy__ ` when the element is concurrently " +"mutated. Patch by Bénédikt Tran." +msgstr "" + +msgid "" +":gh:`91555`: Ignore log messages generated during handling of log messages, " +"to avoid deadlock or infinite recursion. [NOTE: This change has since been " +"reverted.]" +msgstr "" + +msgid "" +":gh:`125028`: :data:`functools.Placeholder` cannot be passed to :func:" +"`functools.partial` as a keyword argument." +msgstr "" + +msgid "" +":gh:`62824`: Fix aliases for ``iso8859_8`` encoding. Patch by Dave Goncalves." +msgstr "" + +msgid "" +":gh:`86155`: :meth:`html.parser.HTMLParser.close` no longer loses data when " +"the ``