per page, with , order by , clip by
Results of 1 - 5 of about 5 for inquiry (0.004 sec.)
型オブジェクトの構造体 12648
型オブジェクトの構造体 新しい型を定義する PyTypeObject 構造体は、Python のオブジェクトシステムで特に重要な構造体の 1 つです。 型オブジェクトは PyObject_* 関数や PyType_* 関数で扱えますが、ほとんどの Python アプリケーションにとって関心のある ... fferProcs * sub-slots % tp_flags unsigned long X X ? tp_doc const char * __doc__ X X tp_traverse traverseproc X G tp_clear inquiry X G tp_richcompare richcmpfunc __lt__, __le__, __eq__, __ne__, __gt__, __ge__ X G ( tp_weaklistoffset ) Py_ssize_t X ? tp_ ... tp_init initproc __init__ X X X tp_alloc allocfunc X ? ? tp_new newfunc __new__ X X ? ? tp_free freefunc X X ? ? tp_is_gc inquiry X X < tp_bases > PyObject * __bases__ ~ < tp_mro > PyObject * __mro__ ~ [ tp_cache ] PyObject * [ tp_subclasses ] void * _ ... wer ternaryfunc __ipow__ nb_negative unaryfunc __neg__ nb_positive unaryfunc __pos__ nb_absolute unaryfunc __abs__ nb_bool inquiry __bool__ nb_invert unaryfunc __invert__ nb_lshift binaryfunc __lshift__ __rlshift__ nb_inplace_lshift binaryfunc __ilshift ...
https://man.mtool.work/python/3.14/c-api/typeobj.html
循環参照ガベージコレクションをサポートする 9284
循環参照ガベージコレクションをサポートする Python が循環参照を含むガベージの検出とコレクションをサポートするには、他のオブジェクトに対する "コンテナ" (他のオブジェクトには他のコンテナも含みます) となるオブジェクト型によるサポートが必要です。 ... lf , visitproc visit , void * arg ) { Py_VISIT ( self -> foo ); Py_VISIT ( self -> bar ); return 0 ; } tp_clear ハンドラは inquiry 型であるか、オブジェクトが不変 (immutable) な場合は NULL でなければなりません。 typedef int ( * inquiry ) ( PyObject * sel ...
https://man.mtool.work/python/3.14/c-api/gcsupport.html
モジュールオブジェクト (module object) 8309
モジュールオブジェクト (module object) PyTypeObject PyModule_Type 次に属します: Stable ABI . この PyTypeObject のインスタンスは Python のモジュール型を表します。 Python プログラムには types.ModuleType として公開されています。 int PyModule_C ... バージョン 3.5 で変更: バージョン 3.5 より前は、このメンバは常に NULL に設定されていて、次のものとして定義されていました: inquiry m_reload traverseproc m_traverse A traversal function to call during GC traversal of the module object, or NULL if not nee ... returned by PyModule_GetState() ) is NULL . バージョン 3.9 で変更: No longer called before the module state is allocated. inquiry m_clear A clear function to call during GC clearing of the module object, or NULL if not needed. This function is not call ...
https://man.mtool.work/python/3.14/c-api/module.html
3. 拡張の型の定義: 雑多なトピック 8309
3. 拡張の型の定義: 雑多なトピック この節ではさまざまな実装可能なタイプメソッドと、それらが何をするものであるかについて、ざっと説明します。 以下は PyTypeObject の定義です。 デバッグビルド でしか使われないいくつかのメンバは省いてあります: typ ... クセス可能な全オブジェクトについて関数を呼び出す */ traverseproc tp_traverse ; /* 保持するオブジェクトへの参照を削除する */ inquiry tp_clear ; /* リリース 2.1 で意味を割り当て */ /* 拡張比較 */ richcmpfunc tp_richcompare ; /* 弱参照を有効にする */ Py_ssi ... ictoffset ; initproc tp_init ; allocfunc tp_alloc ; newfunc tp_new ; freefunc tp_free ; /* 低レベルのメモリ解放ルーチン */ inquiry tp_is_gc ; /* PyObject_IS_GC 用 */ PyObject * tp_bases ; PyObject * tp_mro ; /* メソッド解決順序 */ PyObject * tp_cache ; ...
https://man.mtool.work/python/3.14/extending/newtypes.html
C API Stability 7353
C API Stability 特記のない限り、Python の C API には後方互換性ポリシー PEP 387 が適用されます。 変更の大半はソース互換性を保ちます (通常は新しい API の追加だけを行います)。 既存 API の変更や削除は、非推奨の期間を経た後、または重大な問題を修 ... inaryfunc descrgetfunc descrsetfunc destructor getattrfunc getattrofunc getbufferproc getiterfunc getter hashfunc initproc inquiry iternextfunc lenfunc newfunc objobjargproc objobjproc releasebufferproc reprfunc richcmpfunc setattrfunc setattrofunc sett ...
https://man.mtool.work/python/3.14/c-api/stable.html
PREV 1 NEXT