Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit be7bc78

Browse files
author
GitHub Action's update-translation job
committed
Update translation from Transifex
1 parent c1328db commit be7bc78

File tree

4 files changed

+52
-4
lines changed

4 files changed

+52
-4
lines changed

‎library/annotationlib.po‎

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-09-08 14:49-0300\n"
14+
"POT-Creation-Date: 2025-09-09 14:15+0000\n"
1515
"PO-Revision-Date: 2025年08月15日 19:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/"
@@ -75,6 +75,11 @@ msgid ""
7575
"function for working with :term:`evaluate functions <evaluate function>`."
7676
msgstr ""
7777

78+
msgid ""
79+
"Most functionality in this module can execute arbitrary code; see :ref:`the "
80+
"security section <annotationlib-security>` for more information."
81+
msgstr ""
82+
7883
msgid ""
7984
":pep:`649` proposed the current model for how annotations work in Python."
8085
msgstr ""
@@ -807,3 +812,28 @@ msgid ""
807812
">>> get_annotations(ifexp, format=Format.STRING)\n"
808813
"{'x': '1'}"
809814
msgstr ""
815+
816+
msgid "Security implications of introspecting annotations"
817+
msgstr ""
818+
819+
msgid ""
820+
"Much of the functionality in this module involves executing code related to "
821+
"annotations, which can then do arbitrary things. For example, :func:"
822+
"`get_annotations` may call an arbitrary :term:`annotate function`, and :meth:"
823+
"`ForwardRef.evaluate` may call :func:`eval` on an arbitrary string. Code "
824+
"contained in an annotation might make arbitrary system calls, enter an "
825+
"infinite loop, or perform any other operation. This is also true for any "
826+
"access of the :attr:`~object.__annotations__` attribute, and for various "
827+
"functions in the :mod:`typing` module that work with annotations, such as :"
828+
"func:`typing.get_type_hints`."
829+
msgstr ""
830+
831+
msgid ""
832+
"Any security issue arising from this also applies immediately after "
833+
"importing code that may contain untrusted annotations: importing code can "
834+
"always cause arbitrary operations to be performed. However, it is unsafe to "
835+
"accept strings or other input from an untrusted source and pass them to any "
836+
"of the APIs for introspecting annotations, for example by editing an "
837+
"``__annotations__`` dictionary or directly creating a :class:`ForwardRef` "
838+
"object."
839+
msgstr ""

‎library/getpass.po‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.14\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2025-09-08 14:49-0300\n"
11+
"POT-Creation-Date: 2025-09-09 14:15+0000\n"
1212
"PO-Revision-Date: 2025年08月15日 19:00+0000\n"
1313
"Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/"
1414
"id/)\n"
@@ -63,6 +63,14 @@ msgid ""
6363
"you launched IDLE from rather than the idle window itself."
6464
msgstr ""
6565

66+
msgid ""
67+
"On Unix systems, when *echo_char* is set, the terminal will be configured to "
68+
"operate in :manpage:`noncanonical mode "
69+
"<termios(3)#Canonical_and_noncanonical_mode>`. In particular, this means "
70+
"that line editing shortcuts such as :kbd:`Ctrl+U` will not work and may "
71+
"insert unexpected characters into the input."
72+
msgstr ""
73+
6674
msgid "Added the *echo_char* parameter for keyboard feedback."
6775
msgstr ""
6876

‎library/inspect.po‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-09-08 14:49-0300\n"
14+
"POT-Creation-Date: 2025-09-09 14:15+0000\n"
1515
"PO-Revision-Date: 2025年08月15日 19:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/"
@@ -1421,6 +1421,11 @@ msgid ""
14211421
"documentation of that function for more information."
14221422
msgstr ""
14231423

1424+
msgid ""
1425+
"This function may execute arbitrary code contained in annotations. See :ref:"
1426+
"`annotationlib-security` for more information."
1427+
msgstr ""
1428+
14241429
msgid ""
14251430
"This function is now an alias for :func:`annotationlib.get_annotations`. "
14261431
"Calling it as ``inspect.get_annotations`` will continue to work."

‎library/typing.po‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-09-08 14:49-0300\n"
14+
"POT-Creation-Date: 2025-09-09 14:15+0000\n"
1515
"PO-Revision-Date: 2025年08月15日 19:01+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/"
@@ -3996,6 +3996,11 @@ msgid ""
39963996
"returns annotations more directly."
39973997
msgstr ""
39983998

3999+
msgid ""
4000+
"This function may execute arbitrary code contained in annotations. See :ref:"
4001+
"`annotationlib-security` for more information."
4002+
msgstr ""
4003+
39994004
msgid ""
40004005
"If any forward references in the annotations of *obj* are not resolvable or "
40014006
"are not valid Python code, this function will raise an exception such as :"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /