per page, with , order by , clip by
Results of 1 - 5 of about 5 for embedding (0.004 sec.)
PyHash API 12740
PyHash API PyTypeObject.tp_hash メンバや 数値型のハッシュ化 も参照してください。 type Py_hash_t ハッシュ値型: 符号付き整数。 Added in version 3.2. type Py_uhash_t ハッシュ値型: 符号なし整数。 Added in version 3.2. Py_HASH_ALGORITHM str 、 b ... --with-hash-algorithm option. Py_HASH_EXTERNAL has value 0 and indicates a hash implementation supplied by the application embedding Python; see PyHash_Func . Added in version 3.4: Add Py_HASH_FNV , Py_HASH_SIPHASH24 , and Py_HASH_EXTERNAL . Added in vers ... sion 3.4. PyHash_FuncDef PyHash_Func When Python is built with Py_HASH_ALGORITHM set to Py_HASH_EXTERNAL , the application embedding Python must define this variable to supply a hash implementation instead of using one of Python's built-in hash algorithms ...
https://man.mtool.work/python/3.14/c-api/hash.html
はじめに 8898
はじめに Python のアプリケーションプログラマー向けインターフェース (API) は、C と C++ のプログラマーに、Python インタープリタへのさまざまなレベルのアクセスを提供します。 C++ からも同様に使えますが、簡潔に Python/C API と呼びます。 Python/C ... り大きなアプリケーションの構成要素として Python を使うことです。 この技法は一般に、アプリケーションへの Python の 埋め込み ( embedding ) と呼ばれます。 拡張モジュールの作成は比較的わかりやすいプロセスで、 "手引書 (cookbook)" 的なアプローチでうまく実現できま ... の動作をオーバーライドしたり、 PYTHONPATH を設定して追加のディレクトリを標準モジュール検索パスの前に挿入したりできます。 The embedding application can steer the search by setting PyConfig.program_name before calling Py_InitializeFromConfig() . Note that PYT ...
https://man.mtool.work/python/3.14/c-api/intro.html
C API Stability 8420
C API Stability 特記のない限り、Python の C API には後方互換性ポリシー PEP 387 が適用されます。 変更の大半はソース互換性を保ちます (通常は新しい API の追加だけを行います)。 既存 API の変更や削除は、非推奨の期間を経た後、または重大な問題を修 ... ument talks about extensions , but the Limited API and Stable ABI work the same way for all uses of the API – for example, embedding Python. Limited C API Python 3.2 introduced the Limited API , a subset of Python's C API. Extensions that only use the Lim ...
https://man.mtool.work/python/3.14/c-api/stable.html
1. Extending Python with C or C++ 8420
1. Extending Python with C or C++ It is quite easy to add new built-in modules to Python, if you know how to program in C. Such extension modules can do two things that can't be done directly in Python: they can implement new built-in objec ... . PyInit_spam() is called when each interpreter imports its module spam for the first time. (See below for comments about embedding Python.) A pointer to the module definition must be returned via PyModuleDef_Init() , so that the import machinery can cre ... ate the module and store it in sys.modules . When embedding Python, the PyInit_spam() function is not called automatically unless there's an entry in the PyImport_Inittab table. To a ...
https://man.mtool.work/python/3.14/extending/extending.html
Python 初期化設定 7445
Python 初期化設定 PyInitConfig C API Added in version 3.14. Python は Py_InitializeFromInitConfig() で初期化できます。 Py_RunMain() 関数は、カスタマイズされた Python プログラムを書くために使用できます。 Initialization, Finalization, and Thr ... 元のコマンドライン引数を取得します。 PyConfig.orig_argv メンバーも参照してください。 Delaying main module execution In some embedding use cases, it may be desirable to separate interpreter initialization from the execution of the main module. This separati ...
https://man.mtool.work/python/3.14/c-api/init_config.html
PREV 1 NEXT