Results of 1 - 10 of about 186 for arbitrary (0.037 sec.)
- annotationlib --- Functionality for introspecting annotations — Python 3.14.8 ... 11238
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » annotationlib --- Functionality for introspecting annotations テーマ 自動 ライト ダーク | annotationlib
...call_evaluate_function() function for working with evaluate functions . 注意 Most functionality in this module can execute arbitrary code; see the security section for more information. 参考 PEP 649 proposed the current model for how annotations work in P...t'>, 'b': <class 'str'>, 'return': <class 'float'>} Added in version 3.14. annotationlib. type_repr ( value ) ¶ Convert an arbitrary Python value to a format suitable for use by the STRING format. This calls repr() for most objects, but has special handli...ns it is not safe to request the STRING format on untrusted code: Python is powerful enough that it is possible to achieve arbitrary code execution even with no access to any globals or builtins. For example: >>> def f ( x : ( 1 ) . __class__ . __base__ .... - https://man.mtool.work/python/3.14/library/annotationlib.html
- annotationlib --- Functionality for introspecting annotations — Python 3.14.8 ... 11238
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » annotationlib --- Functionality for introspecting annotations テーマ 自動 ライト ダーク | annotationlib
...call_evaluate_function() function for working with evaluate functions . 注意 Most functionality in this module can execute arbitrary code; see the security section for more information. 参考 PEP 649 proposed the current model for how annotations work in P...t'>, 'b': <class 'str'>, 'return': <class 'float'>} Added in version 3.14. annotationlib. type_repr ( value ) ¶ Convert an arbitrary Python value to a format suitable for use by the STRING format. This calls repr() for most objects, but has special handli...ns it is not safe to request the STRING format on untrusted code: Python is powerful enough that it is possible to achieve arbitrary code execution even with no access to any globals or builtins. For example: >>> def f ( x : ( 1 ) . __class__ . __base__ .... - https://man.mtool.work/python/3.14/library/annotationlib.html
- What's New In Python 3.11 — Python 3.14.8 ドキュメント 9678
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.11 テーマ 自動 ライト ダーク | What's New In Python 3.11 ¶ 編集者 : Pablo Galindo Salgado この記事では Python 3.10
...P 646: Variadic generics PEP 655: Marking individual TypedDict items as required or not-required PEP 673: Self 型 PEP 675: Arbitrary literal string type PEP 681: Data class transforms 重要な非推奨化、削除と制限: PEP 594 : たくさんのレガシーの標準ライブラリ...bling creation of generics parameterised with a single type. PEP 646 adds TypeVarTuple , enabling parameterisation with an arbitrary number of types. In other words, a TypeVarTuple is a variadic type variable, enabling variadic generics. This enables a wi...Contributed by James Hilton-Balfe in bpo-46534 . PEP written by Pradeep Kumar Srinivasan and James Hilton-Balfe.) PEP 675: Arbitrary literal string type ¶ The new LiteralString annotation may be used to indicate that a function parameter can be of any lit... - https://man.mtool.work/python/3.14/whatsnew/3.11.html
- string.templatelib --- テンプレート文字列リテラルのサポート — Python 3.14.8 ド... 9425
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » string.templatelib --- テンプレート文字列リテラルのサポート テーマ 自動 ライト ダーク | string.templatelib -
...selves, and ending before the first ! , : , or = if any is present. For manually created interpolations, expression is the arbitrary string provided when constructing the interpolation instance. We recommend using valid Python expressions or the empty str...conversion semantics. format_spec : str ¶ The format specification to apply to the value. The format_spec is an optional, arbitrary string used as the format specification to present the value: >>> t ' { 1 + 2 : .2f } ' . interpolations [ 0 ] . format_sp...e how to interpret and whether to apply the format specification. As a result, format_spec values in interpolations can be arbitrary strings, including those that do not conform to the format() protocol. メソッド __new__ ( value : object , expression : st... - https://man.mtool.work/python/3.14/library/string.templatelib.html
- 変更履歴 — Python 3.14.8 ドキュメント 9425
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...: Fix bad return code from Lib/venv/bin/activate if hashing is disabled gh-112821 : In the REPL, autocompletion might run arbitrary code in the getter of a descriptor. If that getter raised an exception, autocompletion would fail to present any options f...l of service in the http.server module. When a malicious user is connected to the CGI server on Windows, it could cause an arbitrary amount of memory to be allocated. This could have led to symptoms including a MemoryError , swapping, out of memory (OOM)...x a potential memory denial of service in the http.client module. When connecting to a malicious server, it could cause an arbitrary amount of memory to be allocated. This could have led to symptoms including a MemoryError , swapping, out of memory (OOM)... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- string.templatelib --- テンプレート文字列リテラルのサポート — Python 3.14.8 ド... 9425
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » string.templatelib --- テンプレート文字列リテラルのサポート テーマ 自動 ライト ダーク | string.templatelib -
...selves, and ending before the first ! , : , or = if any is present. For manually created interpolations, expression is the arbitrary string provided when constructing the interpolation instance. We recommend using valid Python expressions or the empty str...conversion semantics. format_spec : str ¶ The format specification to apply to the value. The format_spec is an optional, arbitrary string used as the format specification to present the value: >>> t ' { 1 + 2 : .2f } ' . interpolations [ 0 ] . format_sp...e how to interpret and whether to apply the format specification. As a result, format_spec values in interpolations can be arbitrary strings, including those that do not conform to the format() protocol. メソッド __new__ ( value : object , expression : st... - https://man.mtool.work/python/3.14/library/string.templatelib.html
- What's New In Python 3.11 — Python 3.14.8 ドキュメント 9161
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.11 テーマ 自動 ライト ダーク | What's New In Python 3.11 ¶ 編集者 : Pablo Galindo Salgado この記事では Python 3.10
...P 646: Variadic generics PEP 655: Marking individual TypedDict items as required or not-required PEP 673: Self 型 PEP 675: Arbitrary literal string type PEP 681: Data class transforms 重要な非推奨化、削除と制限: PEP 594 : たくさんのレガシーの標準ライブラリ...bling creation of generics parameterised with a single type. PEP 646 adds TypeVarTuple , enabling parameterisation with an arbitrary number of types. In other words, a TypeVarTuple is a variadic type variable, enabling variadic generics. This enables a wi...Contributed by James Hilton-Balfe in bpo-46534 . PEP written by Pradeep Kumar Srinivasan and James Hilton-Balfe.) PEP 675: Arbitrary literal string type ¶ The new LiteralString annotation may be used to indicate that a function parameter can be of any lit... - https://man.mtool.work/python/3.14/whatsnew/3.11.html
- Thread Safety Guarantees — Python 3.14.8 ドキュメント 8645
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Thread Safety Guarantees テーマ 自動 ライト ダーク | Thread Safety Guarantees ¶ This page documents thread-safety guarantees for bui
...= x # copies elements in place The remove() method may allow concurrent modifications since element comparison may execute arbitrary Python code (via __eq__() ). extend() is safe to call from multiple threads. However, its guarantees depend on the iterabl...t item d . setdefault ( key , v ) # insert if missing These operations may compare keys using __eq__() , which can execute arbitrary Python code. During such comparisons, the dictionary may be modified by another thread. For built-in types like str , int...d the per-object lock: elem in s # set.__contains__ This operation may compare elements using __eq__() , which can execute arbitrary Python code. During such comparisons, the set may be modified by another thread. For built-in types like str , int , and f... - https://man.mtool.work/python/3.14/builtins/threadsafety.html
- Thread Safety Guarantees — Python 3.14.8 ドキュメント 8645
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Thread Safety Guarantees テーマ 自動 ライト ダーク | Thread Safety Guarantees ¶ This page documents thread-safety guarantees for bui
...= x # copies elements in place The remove() method may allow concurrent modifications since element comparison may execute arbitrary Python code (via __eq__() ). extend() is safe to call from multiple threads. However, its guarantees depend on the iterabl...t item d . setdefault ( key , v ) # insert if missing These operations may compare keys using __eq__() , which can execute arbitrary Python code. During such comparisons, the dictionary may be modified by another thread. For built-in types like str , int...d the per-object lock: elem in s # set.__contains__ This operation may compare elements using __eq__() , which can execute arbitrary Python code. During such comparisons, the set may be modified by another thread. For built-in types like str , int , and f... - https://man.mtool.work/python/3.14/builtins/threadsafety.html
- typing --- 型ヒントのサポート — Python 3.14.8 ドキュメント 7602
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » typing --- 型ヒントのサポート テーマ 自動 ライト ダーク | typing --- 型ヒントのサポート ¶ Added in version 3.5. ソース
...typed objects is also acceptable as a LiteralString . 例: def run_query ( sql : LiteralString ) -> None : ... def caller ( arbitrary_string : str , literal_string : LiteralString ) -> None : run_query ( "SELECT * FROM students" ) # OK run_query ( literal_...string ) # OK run_query ( "SELECT * FROM " + literal_string ) # OK run_query ( arbitrary_string ) # type checker error run_query ( # type checker error f "SELECT * FROM students WHERE name = { arbitrary_string }..." ) LiteralString is useful for sensitive APIs where arbitrary user-generated strings could generate problems. For example, the two cases above that generate type checker errors could b... - https://man.mtool.work/python/3.14/library/typing.html