Results of 1 - 10 of about 65 for collector (0.033 sec.)
- 循環参照ガベージコレクションをサポートする — Python 3.14.8 ドキュメント 13712
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » 循環参照ガベージコレクションをサポートする テーマ 自動 ライト ダーク |
...ally populate the tp_flags , tp_traverse and tp_clear fields if the type inherits from a class that implements the garbage collector protocol and the child class does not include the Py_TPFLAGS_HAVE_GC flag. PyObject_GC_New ( TYPE , typeobj ) ¶ Analogous...t of type TYPE* (refers to any C type) or NULL on failure. op must be of type PyVarObject * and must not be tracked by the collector yet. newsize must be of type Py_ssize_t . void PyObject_GC_Track ( PyObject * op ) ¶ 次に属します: Stable ABI . オブジェク...末尾付近で、呼び出すべきです。 int PyObject_IS_GC ( PyObject * obj ) ¶ Returns non-zero if the object implements the garbage collector protocol, otherwise returns 0. The object cannot be tracked by the garbage collector if this function returns 0. int PyObj... - https://man.mtool.work/python/3.14/c-api/gcsupport.html
- 循環参照ガベージコレクションをサポートする — Python 3.14.8 ドキュメント 13712
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » 循環参照ガベージコレクションをサポートする テーマ 自動 ライト ダーク |
...ally populate the tp_flags , tp_traverse and tp_clear fields if the type inherits from a class that implements the garbage collector protocol and the child class does not include the Py_TPFLAGS_HAVE_GC flag. PyObject_GC_New ( TYPE , typeobj ) ¶ Analogous...t of type TYPE* (refers to any C type) or NULL on failure. op must be of type PyVarObject * and must not be tracked by the collector yet. newsize must be of type Py_ssize_t . void PyObject_GC_Track ( PyObject * op ) ¶ 次に属します: Stable ABI . オブジェク...末尾付近で、呼び出すべきです。 int PyObject_IS_GC ( PyObject * obj ) ¶ Returns non-zero if the object implements the garbage collector protocol, otherwise returns 0. The object cannot be tracked by the garbage collector if this function returns 0. int PyObj... - https://man.mtool.work/python/3.14/c-api/gcsupport.html
- Object Life Cycle — Python 3.14.8 ドキュメント 9905
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Object Life Cycle テーマ 自動 ライト ダーク | Object Life Cycle ¶ This
...to ensure that tp_finalize is always called. If the object is marked as finalized, tp_clear might be called by the garbage collector to clear references held by the object. It is not called when the object's reference count reaches zero. tp_dealloc is cal...garbage collection (the Py_TPFLAGS_HAVE_GC flag is set in tp_flags ), the following events are also possible: The garbage collector occasionally calls tp_traverse to identify cyclic isolates . When the garbage collector discovers a cyclic isolate , it fi...cyclic isolate (the reference cycle may still exist, but if it does the objects are no longer isolated). When the garbage collector discovers a cyclic isolate and all of the objects in the group have already been marked as finalized , the garbage collect... - https://man.mtool.work/python/3.14/c-api/lifecycle.html
- gc --- ガベージコレクターインターフェース — Python 3.14.8 ドキュメント 9475
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » gc --- ガベージコレクターインターフェース テーマ 自動 ライト ダーク | gc --- ガベージコレクターインター
...) ¶ 現在のデバッグフラグを返します。 gc. get_objects ( generation = None ) ¶ Returns a list of all objects tracked by the collector, excluding the list returned. If generation is not None , return only the objects tracked by the collector that are in tha...is the oldest generation, objects in that generation remain there after a collection. In order to decide when to run, the collector keeps track of the number object allocations and deallocations since the last collection. When the number of allocations m...for more information. In the free-threaded build, the increase in process memory usage is also checked before running the collector. If the memory usage has not increased by 10% since the last collection and the net number of object allocations has not e... - https://man.mtool.work/python/3.14/library/gc.html
- Object Life Cycle — Python 3.14.8 ドキュメント 9375
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Object Life Cycle テーマ 自動 ライト ダーク | Object Life Cycle ¶ This
...to ensure that tp_finalize is always called. If the object is marked as finalized, tp_clear might be called by the garbage collector to clear references held by the object. It is not called when the object's reference count reaches zero. tp_dealloc is cal...garbage collection (the Py_TPFLAGS_HAVE_GC flag is set in tp_flags ), the following events are also possible: The garbage collector occasionally calls tp_traverse to identify cyclic isolates . When the garbage collector discovers a cyclic isolate , it fi...cyclic isolate (the reference cycle may still exist, but if it does the objects are no longer isolated). When the garbage collector discovers a cyclic isolate and all of the objects in the group have already been marked as finalized , the garbage collect... - https://man.mtool.work/python/3.14/c-api/lifecycle.html
- オブジェクト実装サポート (object implementation support) — Python 3.14.8 ドキュ... 9161
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) テーマ 自動 ライト ダーク | オブジェクト実装サポート (object implementat
...ure) async オブジェクト構造体 Slot Type typedefs 使用例 循環参照ガベージコレクションをサポートする Controlling the Garbage Collector State Querying Garbage Collector State 関連キーワード オブジェクト 構造体 スロット object types サポート Object structure...Member Type PyTypeObject Types Garbage Collector State 実装 implementation support マクロ Allocating 前のトピックへ メモリ管理 次のトピックへ Allocating objects on the hea... - https://man.mtool.work/python/3.14/c-api/objimpl.html
- gc --- ガベージコレクターインターフェース — Python 3.14.8 ドキュメント 9161
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » gc --- ガベージコレクターインターフェース テーマ 自動 ライト ダーク | gc --- ガベージコレクターインター
...) ¶ 現在のデバッグフラグを返します。 gc. get_objects ( generation = None ) ¶ Returns a list of all objects tracked by the collector, excluding the list returned. If generation is not None , return only the objects tracked by the collector that are in tha...is the oldest generation, objects in that generation remain there after a collection. In order to decide when to run, the collector keeps track of the number object allocations and deallocations since the last collection. When the number of allocations m...for more information. In the free-threaded build, the increase in process memory usage is also checked before running the collector. If the memory usage has not increased by 10% since the last collection and the net number of object allocations has not e... - https://man.mtool.work/python/3.14/library/gc.html
- オブジェクト実装サポート (object implementation support) — Python 3.14.8 ドキュ... 9161
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) テーマ 自動 ライト ダーク | オブジェクト実装サポート (object implementat
...ure) async オブジェクト構造体 Slot Type typedefs 使用例 循環参照ガベージコレクションをサポートする Controlling the Garbage Collector State Querying Garbage Collector State 関連キーワード 構造体 スロット types サポート structure Member Type PyTypeObject Ty...pes Garbage Collector State 実装 implementation support マクロ Allocating objects heap Soft deprecated aliases Life Cycle Life Events 前のトピッ... - https://man.mtool.work/python/3.14/c-api/objimpl.html
- 変更履歴 — Python 3.14.8 ドキュメント 7987
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...ix undefined behaviour in operator.methodcaller : its tp_clear slot function returned void instead of int , so the garbage collector called it through an incompatible function type. Patched by Shamil Abdulaev. gh-157377 : Fix gc.get_count() on the free-th...ghee Na. gh-155515 : Track the internal HAMT iterators, which back iteration over a contextvars.Context , with the garbage collector. A reference cycle running through such an iterator was never collected, leaking the whole context it iterated over. gh-15...Stinner. gh-123619 : PyUnstable_Object_EnableDeferredRefcount() now returns 0 if the object is not tracked by the garbage collector: if gc.is_tracked() is false. Patch by Victor Stinner. Python 3.14.6 final ¶ Release date: 2026-06-10 セキュリティ ¶ gh-15... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- What's new in Python 3.14 — Python 3.14.8 ドキュメント 7357
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's new in Python 3.14 テーマ 自動 ライト ダーク | What's new in Python 3.14 ¶ エディタ : Adam Turner と Hugo van Kemenade この記事では
...syntax warning. (Contributed by Irit Katriel in gh-130080 .) Garbage collection ¶ From Python 3.14.5 onwards: The garbage collector (GC) has changed in Python 3.14.5. Python 3.14.0-3.14.4 shipped with a new incremental GC. However, due to a number of rep...al GC from 3.13. This is the GC now used in Python 3.14.5 and later. Previously in Python 3.14.0-3.14.4: The cycle garbage collector is now incremental. This means that maximum pause times are reduced by an order of magnitude or more for larger heaps. The...Semyon Moroz in gh-130167 .) gc ¶ From Python 3.14.5 onwards: Python 3.14.0-3.14.4 shipped with a new incremental garbage collector. However, due to a number of reports of significant memory pressure in production environments, it has been reverted back... - https://man.mtool.work/python/3.14/whatsnew/3.14.html