Results of 1 - 10 of about 108 for interpreters (0.005 sec.)
- concurrent.interpreters --- Multiple interpreters in the same process — Python ... 14301
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » concurrent.interpreters --- Multiple interpreters in the same process テーマ 自動 ライト ダーク | concurrent.interpreters
...s --- Multiple interpreters in the same process ¶ Added in version 3.14. Source code: Lib/concurrent/interpreters The concurrent.interpreters module c...onstructs higher-level interfaces on top of the lower level _interpreters module. The module is primarily meant to provide a basic API for managing interpreters (AKA "subinterpreters") and running...ves switching to an interpreter (in the current thread) and calling a function in that execution context. For concurrency, interpreters themselves (and this module) don't provide much more than isolation, which on its own isn't useful. Actual concurrency is... - https://man.mtool.work/python/3.14/library/concurrent.interpreters.html
- concurrent.interpreters --- Multiple interpreters in the same process — Python ... 14301
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » concurrent.interpreters --- Multiple interpreters in the same process テーマ 自動 ライト ダーク | concurrent.interpreters
...s --- Multiple interpreters in the same process ¶ Added in version 3.14. Source code: Lib/concurrent/interpreters The concurrent.interpreters module c...onstructs higher-level interfaces on top of the lower level _interpreters module. The module is primarily meant to provide a basic API for managing interpreters (AKA "subinterpreters") and running...ves switching to an interpreter (in the current thread) and calling a function in that execution context. For concurrency, interpreters themselves (and this module) don't provide much more than isolation, which on its own isn't useful. Actual concurrency is... - https://man.mtool.work/python/3.14/library/concurrent.interpreters.html
- Multiple interpreters in a Python process — Python 3.14.8 ドキュメント 8943
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Multiple interpreters in a Python process テーマ 自動 ライト ダーク | Multiple interpreters in a Python process ¶ ほとんどの場合は
...プリタにはランタイムの初期化中の処理実行という責務もあり、通常はランタイムの終了処理中に動いているランタイムでもあります。 PyInterpreterState_Main() 関数は、メインインタプリタの状態へのポインタを返します。 サブインタプリタを切り替えが PyThreadState_Swap() 関数...rently active. Otherwise only multi-phase init extension modules (see PEP 489 ) may be imported. (Also see Py_mod_multiple_interpreters .) This must be 1 (non-zero) if use_main_obmalloc is 0 . int gil ¶ This determines the operation of the GIL for the sub-in...o the current thread and the previous interpreter's attached thread state will remain detached. Added in version 3.12. Sub-interpreters are most effective when isolated from each other, with certain functionality restricted: PyInterpreterConfig config = { .... - https://man.mtool.work/python/3.14/c-api/subinterpreters.html
- Multiple interpreters in a Python process — Python 3.14.8 ドキュメント 8943
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Multiple interpreters in a Python process テーマ 自動 ライト ダーク | Multiple interpreters in a Python process ¶ ほとんどの場合は
...プリタにはランタイムの初期化中の処理実行という責務もあり、通常はランタイムの終了処理中に動いているランタイムでもあります。 PyInterpreterState_Main() 関数は、メインインタプリタの状態へのポインタを返します。 サブインタプリタを切り替えが PyThreadState_Swap() 関数...rently active. Otherwise only multi-phase init extension modules (see PEP 489 ) may be imported. (Also see Py_mod_multiple_interpreters .) This must be 1 (non-zero) if use_main_obmalloc is 0 . int gil ¶ This determines the operation of the GIL for the sub-in...o the current thread and the previous interpreter's attached thread state will remain detached. Added in version 3.12. Sub-interpreters are most effective when isolated from each other, with certain functionality restricted: PyInterpreterConfig config = { .... - https://man.mtool.work/python/3.14/c-api/subinterpreters.html
- 拡張モジュールを分離する — Python 3.14.8 ドキュメント 8114
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » 拡張モジュールを分離する テーマ 自動 ライト ダーク | 拡張モジュールを分離する ¶ 概要 Traditionally, state belonging to Python extension modules wa
...onfiguration (e.g. the import path) and runtime state (e.g. the set of imported modules). Python supports running multiple interpreters in one process. There are two cases to think about—users may run interpreters: in sequence, with several Py_InitializeEx().../ Py_FinalizeEx() cycles, and in parallel, managing "sub-interpreters" using Py_NewInterpreter() / Py_EndInterpreter() . Both cases (and combinations of them) would be most useful when embeddi...tic variables are extremely easy to use. Thus, data that should be specific to an interpreter ends up being shared between interpreters. Unless the extension developer is careful, it is very easy to introduce edge cases that lead to crashes when a module is... - https://man.mtool.work/python/3.14/howto/isolating-extensions.html
- 拡張モジュールを分離する — Python 3.14.8 ドキュメント 8114
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » 拡張モジュールを分離する テーマ 自動 ライト ダーク | 拡張モジュールを分離する ¶ 概要 Traditionally, state belonging to Python extension modules wa
...onfiguration (e.g. the import path) and runtime state (e.g. the set of imported modules). Python supports running multiple interpreters in one process. There are two cases to think about—users may run interpreters: in sequence, with several Py_InitializeEx().../ Py_FinalizeEx() cycles, and in parallel, managing "sub-interpreters" using Py_NewInterpreter() / Py_EndInterpreter() . Both cases (and combinations of them) would be most useful when embeddi...tic variables are extremely easy to use. Thus, data that should be specific to an interpreter ends up being shared between interpreters. Unless the extension developer is careful, it is very easy to introduce edge cases that lead to crashes when a module is... - https://man.mtool.work/python/3.14/howto/isolating-extensions.html
- 並行実行 — Python 3.14.8 ドキュメント 7744
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 テーマ 自動 ライト ダーク | 並行実行 ¶ この章で記述されているモジュールは、コードの並行実行のサポートを提供します。ツールの
...erpreterPoolExecutor ProcessPoolExecutor ProcessPoolExecutor の例 Future オブジェクト モジュール関数 例外クラス concurrent.interpreters --- Multiple interpreters in the same process Key details はじめに Multiple Interpreters and Isolation Running in an Inter...preter Concurrency and Parallelism Communication Between Interpreters "Sharing" Objects リファレンス Interpreter objects 例外 Communicating Between Interpreters 基本的な使い方 subprocess --- サ...ects multiprocessing コンテキスト サポート 並列 リファレンス 変数 開始 方式 同期 共有 キュー マネージャー spawn concurrent Interpreters subprocess Popen Windows Replacing 並行 タスク bound スレッド ベース 前のトピックへ cmd --- 行指向のコマンドインタープリタ... - https://man.mtool.work/python/3.14/library/concurrency.html
- 並行実行 — Python 3.14.8 ドキュメント 7374
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 テーマ 自動 ライト ダーク | 並行実行 ¶ この章で記述されているモジュールは、コードの並行実行のサポートを提供します。ツールの
...erpreterPoolExecutor ProcessPoolExecutor ProcessPoolExecutor の例 Future オブジェクト モジュール関数 例外クラス concurrent.interpreters --- Multiple interpreters in the same process Key details はじめに Multiple Interpreters and Isolation Running in an Inter...preter Concurrency and Parallelism Communication Between Interpreters "Sharing" Objects リファレンス Interpreter objects 例外 Communicating Between Interpreters 基本的な使い方 subprocess --- サ... - https://man.mtool.work/python/3.14/library/concurrency.html
- concurrent.futures --- 並列タスク実行 — Python 3.14.8 ドキュメント 7374
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » concurrent.futures --- 並列タスク実行 テーマ 自動 ライト ダーク | concurrent.futures --- 並列タスク実行 ¶ Added in versi
...% ( url , len ( data ))) InterpreterPoolExecutor ¶ Added in version 3.14. The InterpreterPoolExecutor class uses a pool of interpreters to execute calls asynchronously. It is a ThreadPoolExecutor subclass, which means each worker is running in its own thread...here is that each worker has its own interpreter, and runs each task using that interpreter. The biggest benefit to using interpreters instead of only threads is true multi-core parallelism. Each interpreter has its own Global Interpreter Lock , so code run...another interpreter runs unblocked on a different core. The tradeoff is that writing concurrent code for use with multiple interpreters can take extra effort. However, this is because it forces you to be deliberate about how and when interpreters interact, a... - https://man.mtool.work/python/3.14/library/concurrent.futures.html
- concurrent.futures --- 並列タスク実行 — Python 3.14.8 ドキュメント 7374
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » concurrent.futures --- 並列タスク実行 テーマ 自動 ライト ダーク | concurrent.futures --- 並列タスク実行 ¶ Added in versi
...% ( url , len ( data ))) InterpreterPoolExecutor ¶ Added in version 3.14. The InterpreterPoolExecutor class uses a pool of interpreters to execute calls asynchronously. It is a ThreadPoolExecutor subclass, which means each worker is running in its own thread...here is that each worker has its own interpreter, and runs each task using that interpreter. The biggest benefit to using interpreters instead of only threads is true multi-core parallelism. Each interpreter has its own Global Interpreter Lock , so code run...another interpreter runs unblocked on a different core. The tradeoff is that writing concurrent code for use with multiple interpreters can take extra effort. However, this is because it forces you to be deliberate about how and when interpreters interact, a... - https://man.mtool.work/python/3.14/library/concurrent.futures.html