Results of 1 - 10 of about 190 for operations (0.030 sec.)
- Thread Safety Guarantees — Python 3.14.8 ドキュメント 13972
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Thread Safety Guarantees テーマ 自動 ライト ダーク | Thread Safety Guarantees ¶ This page documents thread-safety guarantees for bui
...uarantees described here apply when using Python with the GIL disabled (free-threaded mode). When the GIL is enabled, most operations are implicitly serialized. For general guidance on writing thread-safe code in free-threaded Python, see Python support fo...eturn results affected by concurrent modifications: item in lst lst . index ( item ) lst . count ( item ) All of the above operations avoid acquiring per-object locks . They do not block concurrent modifications. Other operations that hold a lock will not...block these from observing intermediate states. All other operations from here on block using the per-object lock . Writing a single item via lst[i] = x is safe to call from multiple threads... - https://man.mtool.work/python/3.14/builtins/threadsafety.html
- Thread Safety Guarantees — Python 3.14.8 ドキュメント 13972
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Thread Safety Guarantees テーマ 自動 ライト ダーク | Thread Safety Guarantees ¶ This page documents thread-safety guarantees for bui
...uarantees described here apply when using Python with the GIL disabled (free-threaded mode). When the GIL is enabled, most operations are implicitly serialized. For general guidance on writing thread-safe code in free-threaded Python, see Python support fo...eturn results affected by concurrent modifications: item in lst lst . index ( item ) lst . count ( item ) All of the above operations avoid acquiring per-object locks . They do not block concurrent modifications. Other operations that hold a lock will not...block these from observing intermediate states. All other operations from here on block using the per-object lock . Writing a single item via lst[i] = x is safe to call from multiple threads... - https://man.mtool.work/python/3.14/builtins/threadsafety.html
- Time complexity of operations on built-in types — Python 3.14.8 ドキュメント 10228
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Time complexity of operations on built-in types テーマ 自動 ライト ダーク | Time complexity of operations on built-in types ¶ This p
...age documents the time complexity of various operations on built-in types in CPython. Other Python implementations may have different performance characteristics. Additionally, t...-distributed among the set of possible keys. In the worst case, when every key hashes to the same value, each of the O (1) operations below instead takes O ( n ) time. They also assume that hashing and comparing a key is O (1). For more detail on the imple...nset ¶ See dict as the set and frozenset implementations are similar, and the same caveats apply. In the worst case, O (1) operations instead take O ( n ) time, and operations that look up every element degrade accordingly. A frozenset is immutable , so it... - https://man.mtool.work/python/3.14/builtins/time-complexity.html
- Time complexity of operations on built-in types — Python 3.14.8 ドキュメント 10228
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Time complexity of operations on built-in types テーマ 自動 ライト ダーク | Time complexity of operations on built-in types ¶ This p
...age documents the time complexity of various operations on built-in types in CPython. Other Python implementations may have different performance characteristics. Additionally, t...-distributed among the set of possible keys. In the worst case, when every key hashes to the same value, each of the O (1) operations below instead takes O ( n ) time. They also assume that hashing and comparing a key is O (1). For more detail on the imple...nset ¶ See dict as the set and frozenset implementations are similar, and the same caveats apply. In the worst case, O (1) operations instead take O ( n ) time, and operations that look up every element degrade accordingly. A frozenset is immutable , so it... - https://man.mtool.work/python/3.14/builtins/time-complexity.html
- Pythonモジュール索引 — Python 3.14.8 ドキュメント 7171
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » Pythonモジュール索引 テーマ 自動 ライト ダーク | Pythonモジュール索引 _ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | z _ _
...on file parser. contextlib Utilities for with-statement contexts. contextvars Context Variables copy Shallow and deep copy operations. copyreg Register pickle support functions. cProfile crypt 非推奨: Removed in 3.13. csv Write and read tabular data to and...matching. fractions Rational numbers. ftplib FTP protocol client (requires sockets). functools Higher-order functions and operations on callable objects. g gc Interface to the cycle-detecting garbage collector. getopt Portable parser for command line opti...he standard operators. optparse Command-line option parsing library. os Miscellaneous operating system interfaces. os.path Operations on pathnames. ossaudiodev 非推奨: Removed in 3.13. p pathlib Object-oriented filesystem paths pathlib.types pathlib types... - https://man.mtool.work/python/3.14/py-modindex.html
- Pythonモジュール索引 — Python 3.14.8 ドキュメント 7171
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » Pythonモジュール索引 テーマ 自動 ライト ダーク | Pythonモジュール索引 _ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | z _ _
...on file parser. contextlib Utilities for with-statement contexts. contextvars Context Variables copy Shallow and deep copy operations. copyreg Register pickle support functions. cProfile crypt 非推奨: Removed in 3.13. csv Write and read tabular data to and...matching. fractions Rational numbers. ftplib FTP protocol client (requires sockets). functools Higher-order functions and operations on callable objects. g gc Interface to the cycle-detecting garbage collector. getopt Portable parser for command line opti...he standard operators. optparse Command-line option parsing library. os Miscellaneous operating system interfaces. os.path Operations on pathnames. ossaudiodev 非推奨: Removed in 3.13. p pathlib Object-oriented filesystem paths pathlib.types pathlib types... - https://man.mtool.work/python/3.14/py-modindex.html
- 変更履歴 — Python 3.14.8 ドキュメント 6942
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...e-threaded build. The underlying _PyImport_GetDLOpenFlags and _PyImport_SetDLOpenFlags functions now use atomic load/store operations. gh-151126 : Avoid possible crash in _winapi.c where a device has no memory left. Now it properly raises a MemoryError . P...hitecture. gh-145801 : When Python build is optimized with GCC using PGO, use -fprofile-update=atomic option to use atomic operations when updating profile information. This option reduces the risk of gcov Data Files (.gcda) corruption which can cause rand...t would load and execute PYTHONSTARTUP even if the flag was set. Contributed by Bartosz Sławecki. gh-142991 : Fixed socket operations such as recvfrom() and sendto() for FreeBSD divert(4) socket. gh-143010 : Fixed a bug in mailbox where the precise timing... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- numbers --- 数の抽象基底クラス — Python 3.14.8 ドキュメント 6866
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » numbers --- 数の抽象基底クラス テーマ 自動 ライト ダーク | numbers --- 数の抽象基底クラス ¶ ソースコード: Li
...rs.py The numbers module ( PEP 3141 ) defines a hierarchy of numeric abstract base classes which progressively define more operations. None of the types defined in this module are intended to be instantiated. class numbers. Number ¶ 数の階層の根。引数 x が...パティ。複素共役を返します。たとえば、 (1+3j).conjugate() == (1-3j) です。 class numbers. Real ¶ To Complex , Real adds the operations that work on real numbers. 簡潔に言うとそれらは: float への変換, math.trunc() , round() , math.floor() , math.ceil() , div...のようにします: class MyFoo ( Complex ): ... MyFoo . register ( Real ) 算術演算の実装 ¶ We want to implement the arithmetic operations so that mixed-mode operations either call an implementation whose author knew about the types of both arguments, or conver... - https://man.mtool.work/python/3.14/library/numbers.html
- 用語集 — Python 3.14.8 ドキュメント 6713
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » 用語集 テーマ 自動 ライト ダーク | 用語集 ¶ >>> ¶ 対話型 シェルにおけるデフォルトの Python プロンプトです。インタープリターで対話的に実行されるコード例でよく見ら
...l at once. Python does not guarantee that high-level statements are atomic (for example, x += 1 performs multiple bytecode operations and is not atomic). Atomicity is only guaranteed where explicitly documented. See also race condition and data race . atta...or define __iter__() . And also please note that free-threaded CPython does not guarantee thread-safe behavior of iterator operations. キー ¶ A value that identifies an entry in a mapping . See also subscript . key function ¶ (キー関数) キー関数、あるいは照...s more akin to an array in other languages than to a linked list since access to elements is O (1). See Time complexity of operations on built-in types . list comprehension ¶ (リスト内包表記) シーケンス中の全てあるいは一部の要素を処理して、その結果からなる... - https://man.mtool.work/python/3.14/glossary.html
- 用語集 — Python 3.14.8 ドキュメント 6713
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » 用語集 テーマ 自動 ライト ダーク | 用語集 ¶ >>> ¶ 対話型 シェルにおけるデフォルトの Python プロンプトです。インタープリターで対話的に実行されるコード例でよく見ら
...l at once. Python does not guarantee that high-level statements are atomic (for example, x += 1 performs multiple bytecode operations and is not atomic). Atomicity is only guaranteed where explicitly documented. See also race condition and data race . atta...or define __iter__() . And also please note that free-threaded CPython does not guarantee thread-safe behavior of iterator operations. キー ¶ A value that identifies an entry in a mapping . See also subscript . key function ¶ (キー関数) キー関数、あるいは照...s more akin to an array in other languages than to a linked list since access to elements is O (1). See Time complexity of operations on built-in types . list comprehension ¶ (リスト内包表記) シーケンス中の全てあるいは一部の要素を処理して、その結果からなる... - https://man.mtool.work/python/3.14/glossary.html