Results of 1 - 10 of about 21 for runtime (0.008 sec.)
- リモートデバッグのアタッチプロトコル 14004
- リモートデバッグのアタッチプロトコル このプロトコルを使うと、外部ツールから実行中の CPython プロセスにアタッチし、Python コードをリモートで実行できます。 別の Python プロセスへのアタッチには、プラットフォームによって追加の権限や設定が必要な
...ど、プロトコルの手順を説明します。 プラットフォームによる違いは該当箇所に記し、各操作を明確にするための実装例も示します。 PyRuntime 構造体の位置の特定 外部ツールが実行時に見つけやすいように、CPython は PyRuntime 構造体をバイナリ内の専用セクションに配置し...ます。 このセクションの名前と形式はプラットフォームによって異なります。 例えば、ELF システムでは .PyRuntime 、macOS では __DATA,__PyRuntime を使います。 ツールはディスク上のバイナリを調べることで、この構造体のオフセットを見つけられ...ます。 PyRuntime 構造体には CPython のグローバルなインタープリタの状態が格納されており、インタープリタのリスト、スレッド状態、デバッガーを支... - https://man.mtool.work/python/3.14/howto/remote_debugging.html
- perf map のサポート 10672
- perf map のサポート On supported platforms (as of this writing, only Linux), the runtime can take advantage of perf map files to make Python functions visible to an external profiling tool (such as perf ). A running process may create a fil
...perf トランポリンを使って、指定されたコードオブジェクトをコンパイルします。 The "current" trampoline is the one set by the runtime or the most recent PyUnstable_PerfTrampoline_SetPersistAfterFork() call. If no trampoline is set, falls back to normal com... - https://man.mtool.work/python/3.14/c-api/perfmaps.html
- スレッド状態とグローバルインタープリタロック 10367
- スレッド状態とグローバルインタープリタロック CPython の フリースレッドビルド を除き、Python インタープリタは一般にスレッドセーフではありません。 マルチスレッドの Python プログラムをサポートするため、 グローバルインタープリタロック 、または
...レッド状態のデタッチは、インタープリタの終了処理中に予期しない動作を引き起こす可能性があります。 詳しくは Cautions regarding runtime finalization を参照してください。 API 以下のマクロは、通常末尾にセミコロンを付けずに使います; Python ソース配布物内の使用例...ラムが終了するまで停止したままになります。 これは Python で作成したスレッドでなくても同じです。 詳しくは Cautions regarding runtime finalization を参照してください。 バージョン 3.14 で変更: インタープリタの終了処理中に呼び出された場合、現在のスレッドを終...e and the thread will be able to call arbitrary Python code. Failure is a fatal error. 警告 Calling this function when the runtime is finalizing is unsafe. Doing so will either hang the thread until the program ends, or fully crash the interpreter in ra... - https://man.mtool.work/python/3.14/c-api/threads.html
- typing --- 型ヒントのサポート 10063
- typing --- 型ヒントのサポート Added in version 3.5. ソースコード: Lib/typing.py 注釈 Python ランタイムは、関数や変数の型アノテーションを強制しません。型アノテーションは、 type checkers や IDE、linterなどのサードパーティーツールで使われます。
...うに、関数が決して戻らないことを示すために使えます。 from typing import Never # または NoReturn def stop () -> Never : raise RuntimeError ( 'no way' ) また、 assert_never() のように、有効な引数が存在しないため決して呼び出されるべきでない関数を定義するため...call, and should be only be used to annotate **kwargs . Both attributes require the annotated parameter to be in scope. At runtime, P.args and P.kwargs are instances respectively of ParamSpecArgs and ParamSpecKwargs . __name__ パラメータ仕様の名前です。...return x . meth () func ( C ()) # 静的型チェックを通過する See PEP 544 for more details. Protocol classes decorated with @runtime_checkable (described later) act as simple-minded runtime protocols that check only the presence of given attributes, ignor... - https://man.mtool.work/python/3.14/library/typing.html
- zlib --- gzip 互換の圧縮 9454
- zlib --- gzip 互換の圧縮 データ圧縮が必要なアプリケーションでは、このモジュールの関数を使い、 zlib library による圧縮と展開を行えます。 これは オプションモジュール です。 使用している CPython に含まれていない場合は、配布元 (Python を提供した
...の定数で確認できます: zlib. ZLIB_VERSION モジュールのビルド時に使用された zlib ライブラリのバージョン文字列です。これは ZLIB_RUNTIME_VERSION で確認できる、実行時に使用している実際の zlib ライブラリのバージョンとは異なる場合があります。 zlib. ZLIB_RUNTIME_...のモジュールをビルドした場合、その zlib-ng ライブラリのバージョン文字列です。 この定数がある場合、 ZLIB_VERSION 定数と ZLIB_RUNTIME_VERSION 定数は zlib-ng が提供する zlib API のバージョンを表します。 zlib-ng を使わずにこのモジュールをビルドした場合、この... - https://man.mtool.work/python/3.14/library/zlib.html
- 4. Windows で Python を使う 9150
- 4. Windows で Python を使う このドキュメントは、 Python を Microsoft Windows で使うときに知っておくべき、 Windows 固有の動作についての概要を伝えることを目的としています。 多くの Unix システムやサービスと異なり、Windows にはシステムでサポート
...かもしれません。 動作しないコマンドへの対処については、 トラブルシューティング を参照してください。 When you first install a runtime, you will likely be prompted to add a directory to your PATH . This is optional, if you prefer to use the py command, but...特別なタグ default でデフォルトを選択できます。 インストールでは範囲指定をサポートしていません。 CPython publishes multiple runtime variants. For most users, PythonCore is recommended and provides the standard CPython runtime. Tags without any prefix are...treated as PythonCore\<TAG> . PythonTest includes the standard runtime together with the test suite and debugging symbols. It is intended for contributors or users who need these additional fil... - https://man.mtool.work/python/3.14/using/windows.html
- インタープリタの初期化と終了処理 8845
- インタープリタの初期化と終了処理 初期化前にインタープリタを設定する方法の詳細は、 Python の初期化設定 を参照してください。 Python の初期化前 Python を組み込むアプリケーションでは、一部の関数と グローバルな設定変数 を除き、ほかの Python/C AP
...示的に受け取ります。 interp の スレッド状態がアタッチされていなければなりません 。 Added in version 3.13. Cautions regarding runtime finalization In the late stage of interpreter shutdown , after attempting to wait for non-daemon threads to exit (though t...his can be interrupted by KeyboardInterrupt ) and running the atexit functions, the runtime is marked as finalizing : Py_IsFinalizing() and sys.is_finalizing() return true. At this point, only the finalization thre...nalizations further up the call stack when such threads were forcibly exited here in CPython 3.13 and earlier. The CPython runtime thread state C APIs have never had any error reporting or handling expectations at thread state attachment time that would... - https://man.mtool.work/python/3.14/c-api/interp-lifecycle.html
- Python/C API リファレンスマニュアル 8541
- Python/C API リファレンスマニュアル このマニュアルでは、拡張モジュールを書いたり Python インタプリタをアプリケーションに埋め込んだりしたい C/C++ プログラマが利用できる API について述べています。 Python インタプリタの拡張と埋め込み は拡張モジ
...インタープリタの初期化と終了処理 Python の初期化前 グローバルな設定変数 インタープリタの初期化と終了処理 Cautions regarding runtime finalization プロセスワイドのパラメータ スレッド状態とグローバルインタープリタロック 拡張コードからのスレッド状態のデタッチ... - https://man.mtool.work/python/3.14/c-api/
- ctypes --- Python 用の外部関数ライブラリ 8253
- ctypes --- Python 用の外部関数ライブラリ ソースコード: Lib/ctypes ctypes は Python 用の外部関数ライブラリです。 C と互換性のあるデータ型を提供し、DLL や共有ライブラリの関数を呼び出せます。 これらのライブラリを純粋な Python でラップするために
...program is run. The purpose of the find_library() function is to locate a library in a way similar to what the compiler or runtime loader does (on platforms with several versions of a shared library the most recent should be loaded), while the ctypes li...brary loaders act like when a program is run, and call the runtime loader directly. The ctypes.util module provides a function which can help to determine the library to load. ctypes.util....me at development time, and hardcode that into the wrapper module instead of using find_library() to locate the library at runtime. ロード済み共有ライブラリの一覧取得 共有ライブラリからロードしたコードに依存するコードを書く場合、現在のプロセスにどの共有... - https://man.mtool.work/python/3.14/library/ctypes.html
- Pythonモジュール索引 7949
- 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 _ __future__ Future statement definitions __main__ The environment where top-level code is run. Covers command-line i
...inder Find modules used by a script. msilib 非推奨: Removed in 3.13. msvcrt Miscellaneous useful routines from the MS VC++ runtime. multiprocessing Process-based parallelism. multiprocessing.connection API for dealing with sockets. multiprocessing.dummy... - https://man.mtool.work/python/3.14/py-modindex.html