| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent da4eb39 commit f3de20d
14 files changed
| 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-10-11 18:31+0000\n" | ||
| 15 | + "POT-Creation-Date: 2026-10-17 16:44+0000\n" | ||
| 16 | 16 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 17 | 17 | "Last-Translator: python-doc bot, 2025\n" | |
| 18 | 18 | "Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/" | |
@@ -375,8 +375,8 @@ msgid "A bytes writer instance." | |||
| 375 | 375 | msgstr "" | |
| 376 | 376 | ||
| 377 | 377 | msgid "" | |
| 378 | - "The API is **not thread safe**: a writer should only be used by a single " | ||
| 379 | - "thread at the same time." | ||
| 378 | + "The API is **not thread safe**. To share a writer with multiple threads, a " | ||
| 379 | + "critical section or a lock is needed." | ||
| 380 | 380 | msgstr "" | |
| 381 | 381 | ||
| 382 | 382 | msgid "" | |
@@ -514,7 +514,7 @@ msgid "" | |||
| 514 | 514 | "resizing multiple times." | |
| 515 | 515 | msgstr "" | |
| 516 | 516 | ||
| 517 | - msgid "*size* can be negative to shrink the writer." | ||
| 517 | + msgid "*grow* can be negative to shrink the writer." | ||
| 518 | 518 | msgstr "" | |
| 519 | 519 | ||
| 520 | 520 | msgid "" | |
| 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-10-13 19:59+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-10-17 16:44+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: Indonesian (https://app.transifex.com/python-doc/teams/5390/" | |
@@ -41,6 +41,13 @@ msgid "" | |||
| 41 | 41 | "UTF-8 representation is created on demand and cached in the Unicode object." | |
| 42 | 42 | msgstr "" | |
| 43 | 43 | ||
| 44 | + msgid "" | ||
| 45 | + "The internal buffer always includes an extra trailing null character for " | ||
| 46 | + "compatibility with null terminated C strings. This extra character is not " | ||
| 47 | + "counted in :c:func:`PyUnicode_GetLength` nor in the various *size* arguments " | ||
| 48 | + "of the functions below." | ||
| 49 | + msgstr "" | ||
| 50 | + | ||
| 44 | 51 | msgid "" | |
| 45 | 52 | "The :c:type:`Py_UNICODE` representation has been removed since Python 3.12 " | |
| 46 | 53 | "with deprecated APIs. See :pep:`623` for more information." | |
@@ -152,7 +159,12 @@ msgstr "" | |||
| 152 | 159 | ||
| 153 | 160 | msgid "" | |
| 154 | 161 | "Read a code point from a canonical representation *data* (as obtained with :" | |
| 155 | - "c:func:`PyUnicode_DATA`). No checks or ready calls are performed." | ||
| 162 | + "c:func:`PyUnicode_DATA`). No checks are performed." | ||
| 163 | + msgstr "" | ||
| 164 | + | ||
| 165 | + msgid "" | ||
| 166 | + "Accept reading the trailing null character at index :c:func:" | ||
| 167 | + "`PyUnicode_GetLength`." | ||
| 156 | 168 | msgstr "" | |
| 157 | 169 | ||
| 158 | 170 | msgid "" | |
@@ -373,6 +385,12 @@ msgid "" | |||
| 373 | 385 | "range, it will be transformed into UCS1 (:c:macro:`PyUnicode_1BYTE_KIND`)." | |
| 374 | 386 | msgstr "" | |
| 375 | 387 | ||
| 388 | + msgid "" | ||
| 389 | + "All characters must be in range [U+0000; U+10ffff]. If *kind* is :c:macro:" | ||
| 390 | + "`PyUnicode_4BYTE_KIND` and the string contains invalid characters, the " | ||
| 391 | + "behavior is undefined." | ||
| 392 | + msgstr "" | ||
| 393 | + | ||
| 376 | 394 | msgid "" | |
| 377 | 395 | "Create a Unicode object from the char buffer *str*. The bytes will be " | |
| 378 | 396 | "interpreted as being UTF-8 encoded. The buffer is copied into the new " | |
@@ -793,6 +811,9 @@ msgstr "" | |||
| 793 | 811 | msgid "On error, set an exception and return ``-1``." | |
| 794 | 812 | msgstr "" | |
| 795 | 813 | ||
| 814 | + msgid "The length does not count the trailing null character." | ||
| 815 | + msgstr "" | ||
| 816 | + | ||
| 796 | 817 | msgid "" | |
| 797 | 818 | "Copy characters from one Unicode object into another. This function " | |
| 798 | 819 | "performs character conversion when necessary and falls back to :c:func:`!" | |
@@ -861,6 +882,11 @@ msgstr "" | |||
| 861 | 882 | msgid "Return character on success, ``-1`` on error with an exception set." | |
| 862 | 883 | msgstr "" | |
| 863 | 884 | ||
| 885 | + msgid "" | ||
| 886 | + "Do not accept reading the trailing null character at index :c:func:" | ||
| 887 | + "`PyUnicode_GetLength`." | ||
| 888 | + msgstr "" | ||
| 889 | + | ||
| 864 | 890 | msgid "" | |
| 865 | 891 | "Return a substring of *unicode*, from character index *start* (included) to " | |
| 866 | 892 | "character index *end* (excluded). Negative indices are not supported. On " | |
@@ -1800,6 +1826,11 @@ msgid "" | |||
| 1800 | 1826 | "success, or :c:func:`PyUnicodeWriter_Discard` on error." | |
| 1801 | 1827 | msgstr "" | |
| 1802 | 1828 | ||
| 1829 | + msgid "" | ||
| 1830 | + "The API is **not thread safe**. To share a writer with multiple threads, a " | ||
| 1831 | + "critical section or a lock is needed." | ||
| 1832 | + msgstr "" | ||
| 1833 | + | ||
| 1803 | 1834 | msgid "Create a Unicode writer instance." | |
| 1804 | 1835 | msgstr "" | |
| 1805 | 1836 | ||
@@ -1864,12 +1895,17 @@ msgid "" | |||
| 1864 | 1895 | "``wcslen(str)`` to get the string length." | |
| 1865 | 1896 | msgstr "" | |
| 1866 | 1897 | ||
| 1867 | - msgid "Writer the UCS4 string *str* into *writer*." | ||
| 1898 | + msgid "Write the UCS4 string *str* into *writer*." | ||
| 1868 | 1899 | msgstr "" | |
| 1869 | 1900 | ||
| 1870 | 1901 | msgid "*size* is a number of UCS4 characters." | |
| 1871 | 1902 | msgstr "" | |
| 1872 | 1903 | ||
| 1904 | + msgid "" | ||
| 1905 | + "All characters must be in range [U+0000; U+10ffff]. If the string contains " | ||
| 1906 | + "invalid characters, the behavior is undefined." | ||
| 1907 | + msgstr "" | ||
| 1908 | + | ||
| 1873 | 1909 | msgid "" | |
| 1874 | 1910 | "Call :c:func:`PyObject_Str` on *obj* and write the output into *writer*." | |
| 1875 | 1911 | msgstr "" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,7 +8,7 @@ msgid "" | |||
| 8 | 8 | msgstr "" | |
| 9 | 9 | "Project-Id-Version: Python 3.15\n" | |
| 10 | 10 | "Report-Msgid-Bugs-To: \n" | |
| 11 | - "POT-Creation-Date: 2026-09-25 18:08+0000\n" | ||
| 11 | + "POT-Creation-Date: 2026-10-15 17:56+0000\n" | ||
| 12 | 12 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 13 | 13 | "Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/" | |
| 14 | 14 | "id/)\n" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,7 +8,7 @@ msgid "" | |||
| 8 | 8 | msgstr "" | |
| 9 | 9 | "Project-Id-Version: Python 3.15\n" | |
| 10 | 10 | "Report-Msgid-Bugs-To: \n" | |
| 11 | - "POT-Creation-Date: 2026-09-25 18:08+0000\n" | ||
| 11 | + "POT-Creation-Date: 2026-10-17 16:44+0000\n" | ||
| 12 | 12 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 13 | 13 | "Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/" | |
| 14 | 14 | "id/)\n" | |
| 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-10-07 19:39+0000\n" | ||
| 15 | + "POT-Creation-Date: 2026-10-17 16:44+0000\n" | ||
| 16 | 16 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 17 | 17 | "Last-Translator: Hengky Kurniawan, 2025\n" | |
| 18 | 18 | "Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/" | |
@@ -246,10 +246,9 @@ msgid "" | |||
| 246 | 246 | msgstr "" | |
| 247 | 247 | ||
| 248 | 248 | msgid "" | |
| 249 | - "Return a single week in a string with no newline. If *w* is provided, it " | ||
| 250 | - "specifies the width of the date columns, which are centered. Depends on the " | ||
| 251 | - "first weekday as specified in the constructor or set by the :meth:" | ||
| 252 | - "`setfirstweekday` method." | ||
| 249 | + "Return a single week in a string with no newline. *width* specifies the " | ||
| 250 | + "width of the date columns, which are centered. Depends on the first weekday " | ||
| 251 | + "as specified in the constructor or set by the :meth:`setfirstweekday` method." | ||
| 253 | 252 | msgstr "" | |
| 254 | 253 | ||
| 255 | 254 | msgid "" | |
| 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-25 18:08+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-10-17 16:44+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:01+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2025\n" | |
| 17 | 17 | "Language-Team: Indonesian (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-25 18:08+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-10-17 16:44+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:01+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2025\n" | |
| 17 | 17 | "Language-Team: Indonesian (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-25 18:08+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-10-17 16:44+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:01+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2025\n" | |
| 17 | 17 | "Language-Team: Indonesian (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-25 18:08+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-10-15 17:56+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:01+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2025\n" | |
| 17 | 17 | "Language-Team: Indonesian (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-10-11 18:31+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-10-17 16:44+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:01+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2025\n" | |
| 17 | 17 | "Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/" | |
@@ -216,13 +216,15 @@ msgid "" | |||
| 216 | 216 | "Under the hood, it uses :mod:`!test.regrtest`; the call :program:`python -m " | |
| 217 | 217 | "test.regrtest` used in previous Python versions still works. Running the " | |
| 218 | 218 | "script by itself automatically starts running all regression tests in the :" | |
| 219 | - "mod:`!test` package. It does this by finding all modules in the package " | ||
| 220 | - "whose name starts with ``test_``, importing them, and executing the " | ||
| 221 | - "function :func:`test_main` if present or loading the tests via unittest." | ||
| 222 | - "TestLoader.loadTestsFromModule if ``test_main`` does not exist. The names " | ||
| 223 | - "of tests to execute may also be passed to the script. Specifying a single " | ||
| 224 | - "regression test (:program:`python -m test test_spam`) will minimize output " | ||
| 225 | - "and only print whether the test passed or failed." | ||
| 219 | + "mod:`!test` package. It does this by finding modules and packages whose " | ||
| 220 | + "names start with ``test_``, importing each one, and loading its tests with :" | ||
| 221 | + "meth:`unittest.TestLoader.loadTestsFromModule`. See the :ref:`load_tests " | ||
| 222 | + "protocol <load_tests-protocol>` for how a module or package can customize " | ||
| 223 | + "what is loaded. Defining a module-level ``test_main()`` function is not " | ||
| 224 | + "supported and causes the test to fail. The names of tests to execute may " | ||
| 225 | + "also be passed to the script. Specifying a single regression test (:program:" | ||
| 226 | + "`python -m test test_spam`) will minimize output and only print whether the " | ||
| 227 | + "test passed or failed." | ||
| 226 | 228 | msgstr "" | |
| 227 | 229 | ||
| 228 | 230 | msgid "" | |
@@ -867,8 +869,9 @@ msgid "Open *url*. If open fails, raises :exc:`TestFailed`." | |||
| 867 | 869 | msgstr "" | |
| 868 | 870 | ||
| 869 | 871 | msgid "" | |
| 870 | - "Use this at the end of ``test_main`` whenever sub-processes are started. " | ||
| 871 | - "This will help ensure that no extra children (zombies) stick around to hog " | ||
| 872 | + "Call this from :meth:`~unittest.TestCase.setUp`, :meth:`~unittest.TestCase." | ||
| 873 | + "tearDown`, or ``tearDownModule()`` in tests that start subprocesses. This " | ||
| 874 | + "will help ensure that no extra children (zombies) stick around to hog " | ||
| 872 | 875 | "resources and create problems when looking for refleaks." | |
| 873 | 876 | msgstr "" | |
| 874 | 877 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments