| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 5853a7e commit aad5930
23 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,7 +14,7 @@ msgid "" | |||
| 14 | 14 | msgstr "" | |
| 15 | 15 | "Project-Id-Version: Python 3.15\n" | |
| 16 | 16 | "Report-Msgid-Bugs-To: \n" | |
| 17 | - "POT-Creation-Date: 2026-09-13 17:08+0000\n" | ||
| 17 | + "POT-Creation-Date: 2026-09-15 17:49+0000\n" | ||
| 18 | 18 | "PO-Revision-Date: 2026-09-13 17:09+0000\n" | |
| 19 | 19 | "Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2026\n" | |
| 20 | 20 | "Language-Team: Russian (https://app.transifex.com/python-doc/teams/5390/" | |
@@ -27,14 +27,17 @@ msgstr "" | |||
| 27 | 27 | "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " | |
| 28 | 28 | "(n%100>=11 && n%100<=14)? 2 : 3);\n" | |
| 29 | 29 | ||
| 30 | - msgid "Built-in Functions" | ||
| 30 | + msgid "Built-in functions" | ||
| 31 | 31 | msgstr "" | |
| 32 | 32 | ||
| 33 | 33 | msgid "" | |
| 34 | 34 | "The Python interpreter has a number of functions and types built into it " | |
| 35 | 35 | "that are always available. They are listed here in alphabetical order." | |
| 36 | 36 | msgstr "" | |
| 37 | 37 | ||
| 38 | + msgid "Built-in Functions" | ||
| 39 | + msgstr "" | ||
| 40 | + | ||
| 38 | 41 | msgid "**A**" | |
| 39 | 42 | msgstr "" | |
| 40 | 43 | ||
@@ -1602,10 +1605,10 @@ msgid "" | |||
| 1602 | 1605 | "already exists), ``'x'`` for exclusive creation, and ``'a'`` for appending " | |
| 1603 | 1606 | "(which on *some* Unix systems, means that *all* writes append to the end of " | |
| 1604 | 1607 | "the file regardless of the current seek position). In text mode, if " | |
| 1605 | - "*encoding* is not specified the encoding used is platform-dependent: :func:" | ||
| 1606 | - "`locale.getencoding` is called to get the current locale encoding. (For " | ||
| 1607 | - "reading and writing raw bytes use binary mode and leave *encoding* " | ||
| 1608 | - "unspecified.) The available modes are:" | ||
| 1608 | + "*encoding* is not specified, UTF-8 is used by default; if :ref:`Python UTF-8 " | ||
| 1609 | + "Mode <utf8-mode>` is disabled, :func:`locale.getencoding` is called to get " | ||
| 1610 | + "the current locale encoding. (For reading and writing raw bytes use binary " | ||
| 1611 | + "mode and leave *encoding* unspecified.) The available modes are:" | ||
| 1609 | 1612 | msgstr "" | |
| 1610 | 1613 | ||
| 1611 | 1614 | msgid "Character" | |
@@ -1668,8 +1671,8 @@ msgid "" | |||
| 1668 | 1671 | "argument) return contents as :class:`bytes` objects without any decoding. " | |
| 1669 | 1672 | "In text mode (the default, or when ``'t'`` is included in the *mode* " | |
| 1670 | 1673 | "argument), the contents of the file are returned as :class:`str`, the bytes " | |
| 1671 | - "having been first decoded using a platform-dependent encoding or using the " | ||
| 1672 | - "specified *encoding* if given." | ||
| 1674 | + "having been first decoded using the default encoding or using the specified " | ||
| 1675 | + "*encoding* if given." | ||
| 1673 | 1676 | msgstr "" | |
| 1674 | 1677 | ||
| 1675 | 1678 | msgid "" | |
@@ -1705,10 +1708,12 @@ msgstr "" | |||
| 1705 | 1708 | ||
| 1706 | 1709 | msgid "" | |
| 1707 | 1710 | "*encoding* is the name of the encoding used to decode or encode the file. " | |
| 1708 | - "This should only be used in text mode. The default encoding is platform " | ||
| 1709 | - "dependent (whatever :func:`locale.getencoding` returns), but any :term:`text " | ||
| 1710 | - "encoding` supported by Python can be used. See the :mod:`codecs` module for " | ||
| 1711 | - "the list of supported encodings." | ||
| 1711 | + "This should only be used in text mode. The default encoding is UTF-8; if :" | ||
| 1712 | + "ref:`Python UTF-8 Mode <utf8-mode>` is disabled, the default is platform-" | ||
| 1713 | + "dependent (whatever :func:`locale.getencoding` returns). Any :term:`text " | ||
| 1714 | + "encoding` supported by Python can be used, and ``encoding=\"locale\"`` " | ||
| 1715 | + "specifies the current locale encoding explicitly. See the :mod:`codecs` " | ||
| 1716 | + "module for the list of supported encodings." | ||
| 1712 | 1717 | msgstr "" | |
| 1713 | 1718 | ||
| 1714 | 1719 | msgid "" | |
@@ -1845,6 +1850,11 @@ msgstr "" | |||
| 1845 | 1850 | msgid "The ``'U'`` mode has been removed." | |
| 1846 | 1851 | msgstr "" | |
| 1847 | 1852 | ||
| 1853 | + msgid "" | ||
| 1854 | + "UTF-8 is now the default encoding, instead of the platform-dependent locale " | ||
| 1855 | + "encoding (:pep:`686`)." | ||
| 1856 | + msgstr "" | ||
| 1857 | + | ||
| 1848 | 1858 | msgid "Return the ordinal value of a character." | |
| 1849 | 1859 | msgstr "" | |
| 1850 | 1860 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.15\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-09-01 17:31+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-09-15 17:49+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2025\n" | |
| 17 | 17 | "Language-Team: Russian (https://app.transifex.com/python-doc/teams/5390/" | |
@@ -31,6 +31,13 @@ msgid "" | |||
| 31 | 31 | "This subtype of :c:type:`PyObject` represents a Python bytearray object." | |
| 32 | 32 | msgstr "" | |
| 33 | 33 | ||
| 34 | + msgid "" | ||
| 35 | + "The internal buffer of :c:type:`PyByteArrayObject` always includes an extra " | ||
| 36 | + "trailing null byte for compatibility with null terminated C strings. This " | ||
| 37 | + "extra byte is not counted in :c:func:`PyByteArray_Size` nor in the *len* " | ||
| 38 | + "arguments of the functions below." | ||
| 39 | + msgstr "" | ||
| 40 | + | ||
| 34 | 41 | msgid "" | |
| 35 | 42 | "This instance of :c:type:`PyTypeObject` represents the Python bytearray " | |
| 36 | 43 | "type; it is the same object as :class:`bytearray` in the Python layer." | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.15\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-09-01 17:31+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-09-15 17:49+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2026\n" | |
| 17 | 17 | "Language-Team: Russian (https://app.transifex.com/python-doc/teams/5390/" | |
@@ -32,6 +32,13 @@ msgid "" | |||
| 32 | 32 | "called with a non-bytes parameter." | |
| 33 | 33 | msgstr "" | |
| 34 | 34 | ||
| 35 | + msgid "" | ||
| 36 | + "The internal buffer of :c:type:`PyBytesObject` always includes an extra " | ||
| 37 | + "trailing null byte for compatibility with null terminated C strings. This " | ||
| 38 | + "extra byte is not counted in :c:func:`PyBytes_Size` nor in the various " | ||
| 39 | + "*length* and *size* arguments of the functions below." | ||
| 40 | + msgstr "" | ||
| 41 | + | ||
| 35 | 42 | msgid "This subtype of :c:type:`PyObject` represents a Python bytes object." | |
| 36 | 43 | msgstr "" | |
| 37 | 44 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.15\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-08-25 14:37+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-09-13 17:08+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2025\n" | |
| 17 | 17 | "Language-Team: Russian (https://app.transifex.com/python-doc/teams/5390/" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,7 +12,7 @@ msgid "" | |||
| 12 | 12 | msgstr "" | |
| 13 | 13 | "Project-Id-Version: Python 3.15\n" | |
| 14 | 14 | "Report-Msgid-Bugs-To: \n" | |
| 15 | - "POT-Creation-Date: 2026-08-25 14:37+0000\n" | ||
| 15 | + "POT-Creation-Date: 2026-09-13 17:08+0000\n" | ||
| 16 | 16 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 17 | 17 | "Last-Translator: Vladimir, 2025\n" | |
| 18 | 18 | "Language-Team: Russian (https://app.transifex.com/python-doc/teams/5390/" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.15\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-09-01 17:31+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-09-15 17:49+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2025\n" | |
| 17 | 17 | "Language-Team: Russian (https://app.transifex.com/python-doc/teams/5390/" | |
@@ -1919,6 +1919,11 @@ msgid "" | |||
| 1919 | 1919 | "``errors='strict'`` is supported." | |
| 1920 | 1920 | msgstr "" | |
| 1921 | 1921 | ||
| 1922 | + msgid "" | ||
| 1923 | + "This codec builds on ``punycode``, whose algorithms scale poorly, so limit " | ||
| 1924 | + "the length of untrusted input." | ||
| 1925 | + msgstr "" | ||
| 1926 | + | ||
| 1922 | 1927 | msgid "mbcs" | |
| 1923 | 1928 | msgstr "" | |
| 1924 | 1929 | ||
@@ -2211,6 +2216,11 @@ msgid "" | |||
| 2211 | 2216 | "encoding and :mod:`stringprep`." | |
| 2212 | 2217 | msgstr "" | |
| 2213 | 2218 | ||
| 2219 | + msgid "" | ||
| 2220 | + "This module builds on ``punycode``, whose algorithms scale poorly, so limit " | ||
| 2221 | + "the length of untrusted input." | ||
| 2222 | + msgstr "" | ||
| 2223 | + | ||
| 2214 | 2224 | msgid "" | |
| 2215 | 2225 | "If you need the IDNA 2008 standard from :rfc:`5891` and :rfc:`5895`, use the " | |
| 2216 | 2226 | "third-party :pypi:`idna` module." | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,17 +4,17 @@ | |||
| 4 | 4 | # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
| 5 | 5 | # | |
| 6 | 6 | # Translators: | |
| 7 | - # python-doc bot, 2025 | ||
| 8 | 7 | # Dmitry Luschan, 2025 | |
| 8 | + # python-doc bot, 2026 | ||
| 9 | 9 | # | |
| 10 | 10 | #, fuzzy | |
| 11 | 11 | msgid "" | |
| 12 | 12 | msgstr "" | |
| 13 | 13 | "Project-Id-Version: Python 3.15\n" | |
| 14 | 14 | "Report-Msgid-Bugs-To: \n" | |
| 15 | - "POT-Creation-Date: 2026-08-27 23:26+0000\n" | ||
| 15 | + "POT-Creation-Date: 2026-09-15 17:49+0000\n" | ||
| 16 | 16 | "PO-Revision-Date: 2025-09-16 00:01+0000\n" | |
| 17 | - "Last-Translator: Dmitry Luschan, 2025\n" | ||
| 17 | + "Last-Translator: python-doc bot, 2026\n" | ||
| 18 | 18 | "Language-Team: Russian (https://app.transifex.com/python-doc/teams/5390/" | |
| 19 | 19 | "ru/)\n" | |
| 20 | 20 | "MIME-Version: 1.0\n" | |
@@ -25,7 +25,7 @@ msgstr "" | |||
| 25 | 25 | "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " | |
| 26 | 26 | "(n%100>=11 && n%100<=14)? 2 : 3);\n" | |
| 27 | 27 | ||
| 28 | - msgid ":mod:`!csv` --- CSV File Reading and Writing" | ||
| 28 | + msgid ":mod:`!csv` --- CSV file reading and writing" | ||
| 29 | 29 | msgstr "" | |
| 30 | 30 | ||
| 31 | 31 | msgid "**Source code:** :source:`Lib/csv.py`" | |
@@ -65,7 +65,7 @@ msgstr "" | |||
| 65 | 65 | msgid "The Python Enhancement Proposal which proposed this addition to Python." | |
| 66 | 66 | msgstr "" | |
| 67 | 67 | ||
| 68 | - msgid "Module Contents" | ||
| 68 | + msgid "Module contents" | ||
| 69 | 69 | msgstr "" | |
| 70 | 70 | ||
| 71 | 71 | msgid "The :mod:`!csv` module defines the following functions:" | |
@@ -452,7 +452,7 @@ msgstr "" | |||
| 452 | 452 | msgid "Raised by any of the functions when an error is detected." | |
| 453 | 453 | msgstr "" | |
| 454 | 454 | ||
| 455 | - msgid "Dialects and Formatting Parameters" | ||
| 455 | + msgid "Dialects and formatting parameters" | ||
| 456 | 456 | msgstr "" | |
| 457 | 457 | ||
| 458 | 458 | msgid "" | |
@@ -555,7 +555,7 @@ msgid "" | |||
| 555 | 555 | "``False``." | |
| 556 | 556 | msgstr "" | |
| 557 | 557 | ||
| 558 | - msgid "Reader Objects" | ||
| 558 | + msgid "Reader objects" | ||
| 559 | 559 | msgstr "" | |
| 560 | 560 | ||
| 561 | 561 | msgid "" | |
@@ -589,7 +589,7 @@ msgid "" | |||
| 589 | 589 | "initialized upon first access or when the first record is read from the file." | |
| 590 | 590 | msgstr "" | |
| 591 | 591 | ||
| 592 | - msgid "Writer Objects" | ||
| 592 | + msgid "Writer objects" | ||
| 593 | 593 | msgstr "" | |
| 594 | 594 | ||
| 595 | 595 | msgid "" | |
@@ -675,22 +675,21 @@ msgstr "" | |||
| 675 | 675 | ||
| 676 | 676 | msgid "" | |
| 677 | 677 | "Since :func:`open` is used to open a CSV file for reading, the file will by " | |
| 678 | - "default be decoded into unicode using the system default encoding (see :func:" | ||
| 679 | - "`locale.getencoding`). To decode a file using a different encoding, use the " | ||
| 680 | - "``encoding`` argument of open::" | ||
| 678 | + "default be decoded into Unicode using UTF-8. To decode a file using a " | ||
| 679 | + "different encoding, use the ``encoding`` argument of open::" | ||
| 681 | 680 | msgstr "" | |
| 682 | 681 | ||
| 683 | 682 | msgid "" | |
| 684 | 683 | "import csv\n" | |
| 685 | - "with open('some.csv', newline='', encoding='utf-8') as f:\n" | ||
| 684 | + "with open('some.csv', newline='', encoding='latin-1') as f:\n" | ||
| 686 | 685 | " reader = csv.reader(f)\n" | |
| 687 | 686 | " for row in reader:\n" | |
| 688 | 687 | " print(row)" | |
| 689 | 688 | msgstr "" | |
| 690 | 689 | ||
| 691 | 690 | msgid "" | |
| 692 | - "The same applies to writing in something other than the system default " | ||
| 693 | - "encoding: specify the encoding argument when opening the output file." | ||
| 691 | + "The same applies to writing in something other than the default encoding: " | ||
| 692 | + "specify the encoding argument when opening the output file." | ||
| 694 | 693 | msgstr "" | |
| 695 | 694 | ||
| 696 | 695 | msgid "Registering a new dialect::" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.15\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-08-25 14:37+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-09-13 17:08+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:01+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2026\n" | |
| 17 | 17 | "Language-Team: Russian (https://app.transifex.com/python-doc/teams/5390/" | |
| Back | FazBrowse Home | New Git URL |
0 commit comments