@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.15\n "
1313"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 "
1515"PO-Revision-Date : 2025-09-16 00:01+0000\n "
1616"Last-Translator : python-doc bot, 2025\n "
1717"Language-Team : Russian (https://app.transifex.com/python-doc/teams/5390/ "
@@ -160,46 +160,26 @@ msgid ""
160160"implement retry behavior."
161161msgstr ""
162162
163- msgid "Text Encoding "
163+ msgid "Text encoding "
164164msgstr ""
165165
166166msgid ""
167- "The default encoding of :class:`TextIOWrapper` and :func:`open` is locale-"
168- "specific (:func:`locale.getencoding`)."
169- msgstr ""
170-
171- msgid ""
172- "However, many developers forget to specify the encoding when opening text "
173- "files encoded in UTF-8 (e.g. JSON, TOML, Markdown, etc...) since most Unix "
174- "platforms use UTF-8 locale by default. This causes bugs because the locale "
175- "encoding is not UTF-8 for most Windows users. For example::"
176- msgstr ""
177-
178- msgid ""
179- "# May not work on Windows when non-ASCII characters in the file.\n"
180- "with open(\" README.md\" ) as f:\n"
181- " long_description = f.read()"
182- msgstr ""
183-
184- msgid ""
185- "Accordingly, it is highly recommended that you specify the encoding "
186- "explicitly when opening text files. If you want to use UTF-8, pass "
187- "``encoding=\" utf-8\" ``. To use the current locale encoding, "
188- "``encoding=\" locale\" `` is supported since Python 3.10."
167+ "The default encoding of :class:`TextIOWrapper` and :func:`open` is UTF-8. "
168+ "If :ref:`Python UTF-8 Mode <utf8-mode>` is disabled, the default encoding is "
169+ "locale-specific (:func:`locale.getencoding`)."
189170msgstr ""
190171
191172msgid ":ref:`utf8-mode`"
192173msgstr ""
193174
194175msgid ""
195- "Python UTF-8 Mode can be used to change the default encoding to UTF-8 from "
196- "locale-specific encoding."
176+ "Python UTF-8 Mode ignores the locale encoding and forces the use of UTF-8."
197177msgstr ""
198178
199179msgid ":pep:`686`"
200180msgstr ""
201181
202- msgid "Python 3.15 will make :ref:`utf8-mode` default."
182+ msgid "Python 3.15 made :ref:`utf8-mode` the default."
203183msgstr ""
204184
205185msgid "Opt-in EncodingWarning"
@@ -209,10 +189,10 @@ msgid "See :pep:`597` for more details."
209189msgstr ""
210190
211191msgid ""
212- "To find where the default locale encoding is used, you can enable the :"
213- "option:`-X warn_default_encoding <-X>` command line option or set the :"
214- "envvar: `PYTHONWARNDEFAULTENCODING` environment variable, which will emit an :"
215- "exc: `EncodingWarning` when the default encoding is used."
192+ "To find where the default encoding is used, you can enable the :option:`-X "
193+ "warn_default_encoding <-X>` command line option or set the :envvar :"
194+ "`PYTHONWARNDEFAULTENCODING` environment variable, which will emit an :exc :"
195+ "`EncodingWarning` when the default encoding is used."
216196msgstr ""
217197
218198msgid ""
@@ -223,7 +203,7 @@ msgid ""
223203"consider using UTF-8 by default (i.e. ``encoding=\" utf-8\" ``) for new APIs."
224204msgstr ""
225205
226- msgid "High-level Module Interface "
206+ msgid "High-level module interface "
227207msgstr ""
228208
229209msgid ""
@@ -422,7 +402,7 @@ msgid ""
422402"Inherited :class:`IOBase` methods, ``encoding``, ``errors``, and ``newlines``"
423403msgstr ""
424404
425- msgid "I/O Base Classes "
405+ msgid "I/O base classes "
426406msgstr ""
427407
428408msgid "The abstract base class for all I/O classes."
@@ -807,7 +787,7 @@ msgid ""
807787"implementation should only access *b* during the method call."
808788msgstr ""
809789
810- msgid "Raw File I/O"
790+ msgid "Raw file I/O"
811791msgstr ""
812792
813793msgid ""
@@ -888,7 +868,7 @@ msgid ""
888868"given in the constructor."
889869msgstr ""
890870
891- msgid "Buffered Streams "
871+ msgid "Buffered streams "
892872msgstr ""
893873
894874msgid ""
@@ -1179,10 +1159,10 @@ msgstr ""
11791159
11801160msgid ""
11811161"*encoding* gives the name of the encoding that the stream will be decoded or "
1182- "encoded with. In :ref:`UTF-8 Mode <utf8-mode>`, this defaults to UTF-8. "
1183- "Otherwise , it defaults to :func:`locale.getencoding`. "
1184- "``encoding= \" locale \" `` can be used to specify the current locale's encoding "
1185- "explicitly. See :ref: `io-text-encoding` for more information."
1162+ "encoded with. This defaults to UTF-8; if :ref:`UTF-8 Mode <utf8-mode>` is "
1163+ "disabled , it defaults to :func:`locale.getencoding`. ``encoding= \" locale \" `` "
1164+ "can be used to specify the current locale's encoding explicitly. See :ref: "
1165+ "`io-text-encoding` for more information."
11861166msgstr ""
11871167
11881168msgid ""
@@ -1383,7 +1363,7 @@ msgid ""
13831363"inherits from :class:`codecs.IncrementalDecoder`."
13841364msgstr ""
13851365
1386- msgid "Static Typing "
1366+ msgid "Static typing "
13871367msgstr ""
13881368
13891369msgid ""
0 commit comments