Results of 1 - 10 of about 39 for finalized (0.006 sec.)
- Object Life Cycle — Python 3.14.8 ドキュメント 14440
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Object Life Cycle テーマ 自動 ライト ダーク | Object Life Cycle ¶ This
...averse tp_traverse reachable->tp_traverse not in a cyclic isolate reachable->tp_traverse periodic cyclic isolate detection finalized? marked as finalized? reachable->finalized? no refs tp_finalize tp_finalize reachable->tp_finalize resurrected (maybe remo...ve finalized mark) uncollectable uncollectable (leaked) reachable->uncollectable cyclic isolate (no GC support) tp_dealloc tp_dealloc r...eachable->tp_dealloc no refs tp_traverse->finalized? cyclic isolate finalized?->tp_finalize no (mark as finalized) tp_clear tp_clear finalized?->tp_clear yes tp_finalize->tp_... - https://man.mtool.work/python/3.14/c-api/lifecycle.html
- Object Life Cycle — Python 3.14.8 ドキュメント 14440
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Object Life Cycle テーマ 自動 ライト ダーク | Object Life Cycle ¶ This
...averse tp_traverse reachable->tp_traverse not in a cyclic isolate reachable->tp_traverse periodic cyclic isolate detection finalized? marked as finalized? reachable->finalized? no refs tp_finalize tp_finalize reachable->tp_finalize resurrected (maybe remo...ve finalized mark) uncollectable uncollectable (leaked) reachable->uncollectable cyclic isolate (no GC support) tp_dealloc tp_dealloc r...eachable->tp_dealloc no refs tp_traverse->finalized? cyclic isolate finalized?->tp_finalize no (mark as finalized) tp_clear tp_clear finalized?->tp_clear yes tp_finalize->tp_... - https://man.mtool.work/python/3.14/c-api/lifecycle.html
- Type Object Structures — Python 3.14.8 ドキュメント 8520
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu
...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 [ 1 ] () : A slot name in parentheses indica...alizer ( tp_finalize ) subsequently resurrects the object. An object will not be destroyed while it is being automatically finalized ( tp_finalize ) or automatically cleared ( tp_clear ). CPython currently destroys an object immediately from Py_DECREF() w...ommended to call PyObject_CallFinalizerFromDealloc() at the beginning of tp_dealloc to guarantee that the object is always finalized before destruction. If the type supports garbage collection (the Py_TPFLAGS_HAVE_GC flag is set), the destructor should ca... - https://man.mtool.work/python/3.14/c-api/typeobj.html
- Type Object Structures — Python 3.14.8 ドキュメント 8520
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu
...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 [ 1 ] () : A slot name in parentheses indica...alizer ( tp_finalize ) subsequently resurrects the object. An object will not be destroyed while it is being automatically finalized ( tp_finalize ) or automatically cleared ( tp_clear ). CPython currently destroys an object immediately from Py_DECREF() w...ommended to call PyObject_CallFinalizerFromDealloc() at the beginning of tp_dealloc to guarantee that the object is always finalized before destruction. If the type supports garbage collection (the Py_TPFLAGS_HAVE_GC flag is set), the destructor should ca... - https://man.mtool.work/python/3.14/c-api/typeobj.html
- gc --- ガベージコレクターインターフェース — Python 3.14.8 ドキュメント 7956
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » gc --- ガベージコレクターインターフェース テーマ 自動 ライト ダーク | gc --- ガベージコレクターインター
.... is_tracked ([]) True >>> gc . is_tracked ({}) False >>> gc . is_tracked ({ "a" : 1 }) True Added in version 3.1. gc. is_finalized ( obj ) ¶ Returns True if the given object has been finalized by the garbage collector, False otherwise. >>> x = None >>>...class Lazarus : ... def __del__ ( self ): ... global x ... x = self ... >>> lazarus = Lazarus () >>> gc . is_finalized ( lazarus ) False >>> del lazarus >>> gc . is_finalized ( x ) True Added in version 3.9. gc. freeze ( ) ¶ Freeze all the o... - https://man.mtool.work/python/3.14/library/gc.html
- gc --- ガベージコレクターインターフェース — Python 3.14.8 ドキュメント 7956
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » gc --- ガベージコレクターインターフェース テーマ 自動 ライト ダーク | gc --- ガベージコレクターインター
.... is_tracked ([]) True >>> gc . is_tracked ({}) False >>> gc . is_tracked ({ "a" : 1 }) True Added in version 3.1. gc. is_finalized ( obj ) ¶ Returns True if the given object has been finalized by the garbage collector, False otherwise. >>> x = None >>>...class Lazarus : ... def __del__ ( self ): ... global x ... x = self ... >>> lazarus = Lazarus () >>> gc . is_finalized ( lazarus ) False >>> del lazarus >>> gc . is_finalized ( x ) True Added in version 3.9. gc. freeze ( ) ¶ Freeze all the o... - https://man.mtool.work/python/3.14/library/gc.html
- graphlib --- グラフ構造を操作する機能 — Python 3.14.8 ドキュメント 7706
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » graphlib --- グラフ構造を操作する機能 テーマ 自動 ライト ダーク | graphlib --- グラフ構造を操作する機能 ¶ ソースコード:
...on off the # 'task_queue' queue. task_queue . put ( node ) # When the work for a node is done, workers put the node in # 'finalized_tasks_queue' so we can get more nodes to work on. # The definition of 'is_active()' guarantees that, at this point, at # l...loop back to call 'get_ready()' # again, so put newly freed nodes on 'task_queue' as soon as # logically possible. node = finalized_tasks_queue . get () topological_sorter . done ( node ) add ( node , * predecessors ) ¶ 新しいノードとその先行ノードをグラ... - https://man.mtool.work/python/3.14/library/graphlib.html
- graphlib --- グラフ構造を操作する機能 — Python 3.14.8 ドキュメント 7706
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » graphlib --- グラフ構造を操作する機能 テーマ 自動 ライト ダーク | graphlib --- グラフ構造を操作する機能 ¶ ソースコード:
...on off the # 'task_queue' queue. task_queue . put ( node ) # When the work for a node is done, workers put the node in # 'finalized_tasks_queue' so we can get more nodes to work on. # The definition of 'is_active()' guarantees that, at this point, at # l...loop back to call 'get_ready()' # again, so put newly freed nodes on 'task_queue' as soon as # logically possible. node = finalized_tasks_queue . get () topological_sorter . done ( node ) add ( node , * predecessors ) ¶ 新しいノードとその先行ノードをグラ... - https://man.mtool.work/python/3.14/library/graphlib.html
- 循環参照ガベージコレクションをサポートする — Python 3.14.8 ドキュメント 7612
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » 循環参照ガベージコレクションをサポートする テーマ 自動 ライト ダーク |
...lector and 0 otherwise. This is analogous to the Python function gc.is_tracked() . Added in version 3.9. int PyObject_GC_IsFinalized ( PyObject * op ) ¶ 次に属します: Stable ABI (バージョン 3.9 より). Returns 1 if the object type of op implements the GC p...rotocol and op has been already finalized by the garbage collector and 0 otherwise. This is analogous to the Python function gc.is_finalized() . Added in version 3.... - https://man.mtool.work/python/3.14/c-api/gcsupport.html
- 循環参照ガベージコレクションをサポートする — Python 3.14.8 ドキュメント 7612
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » 循環参照ガベージコレクションをサポートする テーマ 自動 ライト ダーク |
...lector and 0 otherwise. This is analogous to the Python function gc.is_tracked() . Added in version 3.9. int PyObject_GC_IsFinalized ( PyObject * op ) ¶ 次に属します: Stable ABI (バージョン 3.9 より). Returns 1 if the object type of op implements the GC p...rotocol and op has been already finalized by the garbage collector and 0 otherwise. This is analogous to the Python function gc.is_finalized() . Added in version 3.... - https://man.mtool.work/python/3.14/c-api/gcsupport.html