Results of 1 - 10 of about 272 for interpreter (0.031 sec.)
- concurrent.interpreters --- Multiple interpreters in the same process — Python ... 10062
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » concurrent.interpreters --- Multiple interpreters in the same process テーマ 自動 ライト ダーク | concurrent.interpreter
...s --- Multiple interpreters in the same process ¶ Added in version 3.14. Source code: Lib/concurrent/interpreters The concurrent.interpreters module...constructs 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 runnin...g things in them. Running mostly involves switching to an interpreter (in the current thread) and calling a function in that execution context. For concurrency, interpreters themselves (and th... - https://man.mtool.work/python/3.14/library/concurrent.interpreters.html
- concurrent.interpreters --- Multiple interpreters in the same process — Python ... 10062
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » concurrent.interpreters --- Multiple interpreters in the same process テーマ 自動 ライト ダーク | concurrent.interpreter
...s --- Multiple interpreters in the same process ¶ Added in version 3.14. Source code: Lib/concurrent/interpreters The concurrent.interpreters module...constructs 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 runnin...g things in them. Running mostly involves switching to an interpreter (in the current thread) and calling a function in that execution context. For concurrency, interpreters themselves (and th... - https://man.mtool.work/python/3.14/library/concurrent.interpreters.html
- Multiple interpreters in a Python process — Python 3.14.8 ドキュメント 9565
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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() 関数...でできます。 次の関数を使ってサブインタプリタの作成と削除が行えます: type PyInterpreterConfig ¶ Structure containing most parameters to configure a sub-interpreter. Its values are used only in Py_NewInterpreter...never modified by the runtime. Added in version 3.12. 構造体フィールド: int use_main_obmalloc ¶ If this is 0 then the sub-interpreter will use its own "object" allocator state. Otherwise it will use (share) the main interpreter's. If this is 0 then check_m... - https://man.mtool.work/python/3.14/c-api/subinterpreters.html
- Multiple interpreters in a Python process — Python 3.14.8 ドキュメント 9565
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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() 関数...でできます。 次の関数を使ってサブインタプリタの作成と削除が行えます: type PyInterpreterConfig ¶ Structure containing most parameters to configure a sub-interpreter. Its values are used only in Py_NewInterpreter...never modified by the runtime. Added in version 3.12. 構造体フィールド: int use_main_obmalloc ¶ If this is 0 then the sub-interpreter will use its own "object" allocator state. Otherwise it will use (share) the main interpreter's. If this is 0 then check_m... - https://man.mtool.work/python/3.14/c-api/subinterpreters.html
- Thread states and the global interpreter lock — Python 3.14.8 ドキュメント 8803
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Thread states and the global interpreter lock テーマ 自動 ライト ダーク | Thread states and the global interpreter lock ¶ Unless
...on a free-threaded build of CPython , the Python interpreter is generally not thread-safe. In order to support multi-threaded Python programs, there's a global lock, called the global...interpreter lock or GIL , that must be held by a thread before accessing Python objects. Without the lock, even the simplest operation...y a thread that holds the GIL may operate on Python objects or invoke Python's C API. In order to emulate concurrency, the interpreter regularly tries to switch threads between bytecode instructions (see sys.setswitchinterval() ). This is why locks are also... - https://man.mtool.work/python/3.14/c-api/threads.html
- Thread states and the global interpreter lock — Python 3.14.8 ドキュメント 8803
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Thread states and the global interpreter lock テーマ 自動 ライト ダーク | Thread states and the global interpreter lock ¶ Unless
...on a free-threaded build of CPython , the Python interpreter is generally not thread-safe. In order to support multi-threaded Python programs, there's a global lock, called the global...interpreter lock or GIL , that must be held by a thread before accessing Python objects. Without the lock, even the simplest operation...y a thread that holds the GIL may operate on Python objects or invoke Python's C API. In order to emulate concurrency, the interpreter regularly tries to switch threads between bytecode instructions (see sys.setswitchinterval() ). This is why locks are also... - https://man.mtool.work/python/3.14/c-api/threads.html
- Remote debugging attachment protocol — Python 3.14.8 ドキュメント 8384
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Remote debugging attachment protocol テーマ 自動 ライト ダーク | Remote debugging attachment protocol ¶ This protocol enables external tools to at
...gging support, use any of the following: Set the PYTHON_DISABLE_REMOTE_DEBUG environment variable to 1 before starting the interpreter. Use the -X disable_remote_debug command-line option. Compile Python with the --without-remote-debug build flag. Permissio...plementation of the protocol, regardless of programming language. 警告 The execution of the injected script depends on the interpreter reaching a safe evaluation point. As a result, execution may be delayed depending on the runtime state of the target proce...ss. Once injected, the script is executed by the interpreter within the target process the next time a safe evaluation point is reached. This approach enables remote execution capabil... - https://man.mtool.work/python/3.14/howto/remote_debugging.html
- Remote debugging attachment protocol — Python 3.14.8 ドキュメント 8384
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Remote debugging attachment protocol テーマ 自動 ライト ダーク | Remote debugging attachment protocol ¶ This protocol enables external tools to at
...gging support, use any of the following: Set the PYTHON_DISABLE_REMOTE_DEBUG environment variable to 1 before starting the interpreter. Use the -X disable_remote_debug command-line option. Compile Python with the --without-remote-debug build flag. Permissio...plementation of the protocol, regardless of programming language. 警告 The execution of the injected script depends on the interpreter reaching a safe evaluation point. As a result, execution may be delayed depending on the runtime state of the target proce...ss. Once injected, the script is executed by the interpreter within the target process the next time a safe evaluation point is reached. This approach enables remote execution capabil... - https://man.mtool.work/python/3.14/howto/remote_debugging.html
- 変更履歴 — Python 3.14.8 ドキュメント 8198
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...Core and Builtins ¶ gh-158364 : Fix crash when sys._current_frames() or sys._current_exceptions() is called while another interpreter is running. gh-158254 : Reverse iterators over a dict and its views now raise RuntimeError if the dictionary's keys change...re-enters the profiler. Profiling events raised while the external timer runs are now ignored. gh-69919 : code.InteractiveInterpreter.runsource() and the REPL now report any exception raised by compiling the source, such as MemoryError or RecursionError fo...the zoneinfo accelerator module when a transition index is -1 or a TZ string's __bool__ raises. gh-155997 : Fix concurrent.interpreters.list_all() . It failed if an interpreter was destroyed during the call, in particular by a garbage collection which final... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- concurrent.futures --- 並列タスク実行 — Python 3.14.8 ドキュメント 7320
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » concurrent.futures --- 並列タスク実行 テーマ 自動 ライト ダーク | concurrent.futures --- 並列タスク実行 ¶ Added in versi
...on 3.2. ソースコード: Lib/concurrent/futures/thread.py 、 Lib/concurrent/futures/process.py および Lib/concurrent/futures/interpreter.py The concurrent.futures module provides a high-level interface for asynchronously executing callables. The asynchronous...execution can be performed with threads, using ThreadPoolExecutor or InterpreterPoolExecutor , or separate processes, using ProcessPoolExecutor . Each implements the same interface, which is defined by t...e value for chunksize can significantly improve performance compared to the default size of 1. With ThreadPoolExecutor and InterpreterPoolExecutor , chunksize has no effect. バージョン 3.5 で変更: chunksize 引数が追加されました。 バージョン 3.14 で変更: buf... - https://man.mtool.work/python/3.14/library/concurrent.futures.html