per page, with , order by , clip by
Results of 1 - 10 of about 36 for Destructor (0.007 sec.)
カプセル — Python 3.14.8 ドキュメント 13899
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » カプセル テーマ 自動 ライト ダーク | カプセル ¶ using-capsules 以下のオブジェクトを使 ... object corresponding to capsule objects. This is the same object as types.CapsuleType in the Python layer. type PyCapsule_Destructor ¶ 次に属します: Stable ABI . カプセルに対するデストラクタコールバック型. 次のように定義されます: typedef void ( * PyCapsul ... e_Destructor )( PyObject * ); PyCapsule_Destructor コールバックの動作については PyCapsule_New() を参照してください。 int PyCapsule_Chec ... の場合に真を返します。この関数は常に成功します。 PyObject * PyCapsule_New ( void * pointer , const char * name , PyCapsule_Destructor destructor ) ¶ 戻り値: 新しい参照。 次に属します: Stable ABI . Thread safety: Atomic . pointer を格納する PyCapsule を作成 ...
https://man.mtool.work/python/3.14/c-api/capsule.html
カプセル — Python 3.14.8 ドキュメント 12837
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » カプセル テーマ 自動 ライト ダーク | カプセル ¶ using-capsules 以下のオブジェクトを使 ... object corresponding to capsule objects. This is the same object as types.CapsuleType in the Python layer. type PyCapsule_Destructor ¶ 次に属します: Stable ABI . カプセルに対するデストラクタコールバック型. 次のように定義されます: typedef void ( * PyCapsul ... e_Destructor )( PyObject * ); PyCapsule_Destructor コールバックの動作については PyCapsule_New() を参照してください。 int PyCapsule_Chec ... の場合に真を返します。この関数は常に成功します。 PyObject * PyCapsule_New ( void * pointer , const char * name , PyCapsule_Destructor destructor ) ¶ 戻り値: 新しい参照。 次に属します: Stable ABI . Thread safety: Atomic . pointer を格納する PyCapsule を作成 ...
https://man.mtool.work/python/3.14/c-api/capsule.html
Type Object Structures — Python 3.14.8 ドキュメント 10824
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu ... fo [ 2 ] O T D I <R> tp_name const char * __name__ X X tp_basicsize Py_ssize_t X X X tp_itemsize Py_ssize_t X X tp_dealloc destructor X X X tp_vectorcall_offset Py_ssize_t X X ( tp_getattr ) getattrfunc __getattribute__, __getattr__ G ( tp_setattr ) setatt ... PyObject * __mro__ ~ [ tp_cache ] PyObject * [ tp_subclasses ] void * __subclasses__ [ tp_weaklist ] PyObject * ( tp_del ) destructor [ tp_version_tag ] unsigned int tp_finalize destructor __del__ X tp_vectorcall vectorcallfunc [ tp_watched ] unsigned char ... ease_buffer__ スロットの定義型 (typedef) ¶ 定義型 (typedef) 引数型 返り値型 allocfunc PyTypeObject * Py_ssize_t PyObject * destructor PyObject * void freefunc void * void traverseproc PyObject * visitproc void * int newfunc PyTypeObject * PyObject * PyObje ...
https://man.mtool.work/python/3.14/c-api/typeobj.html
Type Object Structures — Python 3.14.8 ドキュメント 10602
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu ... fo [ 2 ] O T D I <R> tp_name const char * __name__ X X tp_basicsize Py_ssize_t X X X tp_itemsize Py_ssize_t X X tp_dealloc destructor X X X tp_vectorcall_offset Py_ssize_t X X ( tp_getattr ) getattrfunc __getattribute__, __getattr__ G ( tp_setattr ) setatt ... PyObject * __mro__ ~ [ tp_cache ] PyObject * [ tp_subclasses ] void * __subclasses__ [ tp_weaklist ] PyObject * ( tp_del ) destructor [ tp_version_tag ] unsigned int tp_finalize destructor __del__ X tp_vectorcall vectorcallfunc [ tp_watched ] unsigned char ... ease_buffer__ スロットの定義型 (typedef) ¶ 定義型 (typedef) 引数型 返り値型 allocfunc PyTypeObject * Py_ssize_t PyObject * destructor PyObject * void freefunc void * void traverseproc PyObject * visitproc void * int newfunc PyTypeObject * PyObject * PyObje ...
https://man.mtool.work/python/3.14/c-api/typeobj.html
3. 拡張の型の定義: 雑多なトピック — Python 3.14.8 ドキュメント 8796
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 3. 拡張の型の定義: 雑多なトピック テーマ 自動 ライト ダーク | 3. 拡張の型の定義: 雑多なトピック ¶ この節ではさまざまな実装可 ... le>.<name>" */ Py_ssize_t tp_basicsize , tp_itemsize ; /* For allocation */ /* Methods to implement standard operations */ destructor tp_dealloc ; Py_ssize_t tp_vectorcall_offset ; getattrfunc tp_getattr ; setattrfunc tp_setattr ; PyAsyncMethods * tp_as_as ... classes ; /* for static builtin types this is an index */ PyObject * tp_weaklist ; /* not used for static builtin types */ destructor tp_del ; /* Type attribute cache version tag. Added in version 2.6. * If zero, the cache is invalid and must be initialize ... d. */ unsigned int tp_version_tag ; destructor tp_finalize ; vectorcallfunc tp_vectorcall ; /* bitset of which type-watchers care about this type */ unsigned char tp_wat ...
https://man.mtool.work/python/3.14/extending/newtypes.html
3. 拡張の型の定義: 雑多なトピック — Python 3.14.8 ドキュメント 8479
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 3. 拡張の型の定義: 雑多なトピック テーマ 自動 ライト ダーク | 3. 拡張の型の定義: 雑多なトピック ¶ この節ではさまざまな実装可 ... le>.<name>" */ Py_ssize_t tp_basicsize , tp_itemsize ; /* For allocation */ /* Methods to implement standard operations */ destructor tp_dealloc ; Py_ssize_t tp_vectorcall_offset ; getattrfunc tp_getattr ; setattrfunc tp_setattr ; PyAsyncMethods * tp_as_as ... classes ; /* for static builtin types this is an index */ PyObject * tp_weaklist ; /* not used for static builtin types */ destructor tp_del ; /* Type attribute cache version tag. Added in version 2.6. * If zero, the cache is invalid and must be initialize ... d. */ unsigned int tp_version_tag ; destructor tp_finalize ; vectorcallfunc tp_vectorcall ; /* bitset of which type-watchers care about this type */ unsigned char tp_wat ...
https://man.mtool.work/python/3.14/extending/newtypes.html
Python 開発モード — Python 3.14.8 ドキュメント 8162
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » Python 開発モード テーマ 自動 ライト ダーク | Python 開発モード ¶ Added in version 3.7. The Python Development Mode in ... ecked at the first encoding/decoding error and the encoding argument is sometimes ignored for empty strings. The io.IOBase destructor logs close() exceptions. Set the dev_mode attribute of sys.flags to True . The Python Development Mode does not enable the ... nly be enabled at the Python startup. Its value can be read from sys.flags.dev_mode . バージョン 3.8 で変更: The io.IOBase destructor now logs close() exceptions. バージョン 3.9 で変更: The encoding and errors arguments are now checked for string encoding ...
https://man.mtool.work/python/3.14/library/devmode.html
Python 開発モード — Python 3.14.8 ドキュメント 8162
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » Python 開発モード テーマ 自動 ライト ダーク | Python 開発モード ¶ Added in version 3.7. The Python Development Mode in ... ecked at the first encoding/decoding error and the encoding argument is sometimes ignored for empty strings. The io.IOBase destructor logs close() exceptions. Set the dev_mode attribute of sys.flags to True . The Python Development Mode does not enable the ... nly be enabled at the Python startup. Its value can be read from sys.flags.dev_mode . バージョン 3.8 で変更: The io.IOBase destructor now logs close() exceptions. バージョン 3.9 で変更: The encoding and errors arguments are now checked for string encoding ...
https://man.mtool.work/python/3.14/library/devmode.html
2. 拡張の型の定義: チュートリアル — Python 3.14.8 ドキュメント 7845
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 2. 拡張の型の定義: チュートリアル テーマ 自動 ライト ダーク | 2. 拡張の型の定義: チュートリアル ¶ Python では、組み込みの s ... ( self -> first ); Py_XDECREF ( self -> last ); Py_TYPE ( self ) -> tp_free (( PyObject * ) self ); } ... . tp_dealloc = ( destructor ) Custom_dealloc , This does the same thing on all architectures that CPython supports, but according to the C standard, i ... would be risky. Our type doesn't restrict the type of the first member, so it could be any kind of object. It could have a destructor that causes code to be executed that tries to access the first member; or that destructor could detach the thread state an ... were to call Py_XDECREF() instead on the attribute before setting it to NULL , there is a possibility that the attribute's destructor would call back into code that reads the attribute again ( especially if there is a reference cycle). 注釈 You could emula ...
https://man.mtool.work/python/3.14/extending/newtypes_tutorial.html
2. 拡張の型の定義: チュートリアル — Python 3.14.8 ドキュメント 7845
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 2. 拡張の型の定義: チュートリアル テーマ 自動 ライト ダーク | 2. 拡張の型の定義: チュートリアル ¶ Python では、組み込みの s ... ( self -> first ); Py_XDECREF ( self -> last ); Py_TYPE ( self ) -> tp_free (( PyObject * ) self ); } ... . tp_dealloc = ( destructor ) Custom_dealloc , This does the same thing on all architectures that CPython supports, but according to the C standard, i ... would be risky. Our type doesn't restrict the type of the first member, so it could be any kind of object. It could have a destructor that causes code to be executed that tries to access the first member; or that destructor could detach the thread state an ... were to call Py_XDECREF() instead on the attribute before setting it to NULL , there is a possibility that the attribute's destructor would call back into code that reads the attribute again ( especially if there is a reference cycle). 注釈 You could emula ...
https://man.mtool.work/python/3.14/extending/newtypes_tutorial.html
PREV 1 2 3 4 NEXT