Results of 1 - 6 of about 6 for vectorcallfunc (0.009 sec.)
- Call プロトコル 12960
- Call プロトコル CPython は tp_call と vectorcall の二つの呼び出しプロトコルをサポートしています。 tp_call プロトコル tp_call を設定したクラスのインスタンスは呼び出し可能です。 このスロットのシグネチャは次のとおりです。 PyObject * tp_call (
...する意味はありません。 クラスは Py_TPFLAGS_HAVE_VECTORCALL フラグを有効にし、 tp_vectorcall_offset をオブジェクト構造体内の vectorcallfunc の位置のオフセットに設定することで、vectorcall プロトコルを実装できます。 これは次のシグネチャを持つ関数へのポインタです。...typedef PyObject * ( * vectorcallfunc ) ( PyObject * callable , PyObject * const * args , size_t nargsf , PyObject * kwnames ) 次に属します: Stable ABI (バージョ...CALL_ARGUMENTS_OFFSET ) ただし、将来の拡張に対応するため、関数 PyVectorcall_NARGS を使ってください。 Added in version 3.8. vectorcallfunc PyVectorcall_Function ( PyObject * op ) op が vectorcall プロトコルをサポートしていなければ (型がサポートしていない場合も、... - https://man.mtool.work/python/3.14/c-api/call.html
- 型オブジェクトの構造体 9578
- 型オブジェクトの構造体 新しい型を定義する PyTypeObject 構造体は、Python のオブジェクトシステムで特に重要な構造体の 1 つです。 型オブジェクトは PyObject_* 関数や PyType_* 関数で扱えますが、ほとんどの Python アプリケーションにとって関心のある
...weaklist ] PyObject * ( tp_del ) destructor [ tp_version_tag ] unsigned int tp_finalize destructor __del__ X tp_vectorcall vectorcallfunc [ tp_watched ] unsigned char [ 1 ] () : 丸括弧で囲まれたスロット名は、そのスロットが (事実上) 非推奨であることを示します。...ョン 2.6 で追加。 * ゼロならキャッシュは無効であり、初期化が必要。 */ unsigned int tp_version_tag ; destructor tp_finalize ; vectorcallfunc tp_vectorcall ; /* この型に関心を持つ型ウォッチャーを表すビット集合 */ unsigned char tp_watched ; /* 使用された tp_version...トです。 このフィールドは Py_TPFLAGS_HAVE_VECTORCALL フラグが設定されている場合にのみ使われます。 その場合、インスタンス内の vectorcallfunc ポインタのオフセットを表す正の整数でなければなりません。 vectorcallfunc ポインタは NULL にできます。 その場合、インスタンス... - https://man.mtool.work/python/3.14/c-api/typeobj.html
- Function オブジェクト 8573
- Function オブジェクト Functionオブジェクト固有の関数はわずかです。 type PyFunctionObject 関数に使われるCの構造体。 In the free-threaded build, direct access to mutable fields requires synchronization if another thread may modify the functio
...けません。 失敗した時は、 SystemError を発生させ、 -1 を返します。 void PyFunction_SetVectorcall ( PyFunctionObject * func , vectorcallfunc vectorcall ) 指定された関数オブジェクト func の vectorcall フィールドを設定します。 警告: この API を使う拡張は、変更前の... - https://man.mtool.work/python/3.14/c-api/function.html
- C API Stability 8225
- C API Stability 特記のない限り、Python の C API には後方互換性ポリシー PEP 387 が適用されます。 変更の大半はソース互換性を保ちます (通常は新しい API の追加だけを行います)。 既存 API の変更や削除は、非推奨の期間を経た後、または重大な問題を修
...unc setter ssizeargfunc ssizeobjargproc ssizessizeargfunc ssizessizeobjargproc symtable ternaryfunc traverseproc unaryfunc vectorcallfunc visitproc 他のマニュアルの関連ページ PHP quickhash.requirements PHP rnp.requirements PHP rnp_version_string() PHP mongodb.... - https://man.mtool.work/python/3.14/c-api/stable.html
- 3. 拡張の型の定義: 雑多なトピック 7896
- 3. 拡張の型の定義: 雑多なトピック この節ではさまざまな実装可能なタイプメソッドと、それらが何をするものであるかについて、ざっと説明します。 以下は PyTypeObject の定義です。 デバッグビルド でしか使われないいくつかのメンバは省いてあります: typ
...ョン 2.6 で追加。 * ゼロならキャッシュは無効であり、初期化が必要。 */ unsigned int tp_version_tag ; destructor tp_finalize ; vectorcallfunc tp_vectorcall ; /* この型に関心を持つ型ウォッチャーを表すビット集合 */ unsigned char tp_watched ; /* 使用された tp_version... - https://man.mtool.work/python/3.14/extending/newtypes.html
- What's New In Python 3.12 7549
- What's New In Python 3.12 編集者 : Adam Turner この記事では Python 3.11 と比較した Python 3.12 の新機能を解説します。Python 3.12 は2023年10月2日にリリースされました。全詳細については 変更履歴 をご覧ください。 参考 PEP 693 -- Python 3.12 リリ
...ブジェクトを作成する API を Limited API に追加しました。 Py_TPFLAGS_HAVE_VECTORCALL PyVectorcall_NARGS() PyVectorcall_Call() vectorcallfunc クラスの __call__() メソッドを再代入すると、そのクラスの Py_TPFLAGS_HAVE_VECTORCALL フラグを削除するようになりました。 これ... - https://man.mtool.work/python/3.14/whatsnew/3.12.html
PREV
1
NEXT