per page, with , order by , clip by
Results of 1 - 10 of about 121 for Garbage (0.032 sec.)
循環参照ガベージコレクションをサポートする — Python 3.14.8 ドキュメント 12354
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » 循環参照ガベージコレクションをサポートする テーマ 自動 ライト ダーク | ... utomatically 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 ) ¶ ... ラクタの末尾付近で、呼び出すべきです。 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. ... バージョン 3.9 より). Returns 1 if the object type of op implements the GC protocol and op is being currently tracked by the garbage collector and 0 otherwise. This is analogous to the Python function gc.is_tracked() . Added in version 3.9. int PyObject_G ...
https://man.mtool.work/python/3.14/c-api/gcsupport.html
循環参照ガベージコレクションをサポートする — Python 3.14.8 ドキュメント 12354
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » 循環参照ガベージコレクションをサポートする テーマ 自動 ライト ダーク | ... utomatically 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 ) ¶ ... ラクタの末尾付近で、呼び出すべきです。 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. ... バージョン 3.9 より). Returns 1 if the object type of op implements the GC protocol and op is being currently tracked by the garbage collector and 0 otherwise. This is analogous to the Python function gc.is_tracked() . Added in version 3.9. int PyObject_G ...
https://man.mtool.work/python/3.14/c-api/gcsupport.html
Object Life Cycle — Python 3.14.8 ドキュメント 10743
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Object Life Cycle テーマ 自動 ライト ダーク | Object Life Cycle ¶ This ... alloc() 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_deal ... inalized mark to be removed. Currently, Python does not remove the finalized mark from a resurrected object if it supports garbage collection (i.e., the Py_TPFLAGS_HAVE_GC flag is set) but does remove the mark if the object does not support garbage coll ... was erroneously omitted in one of the involved types), the objects remain indefinitely uncollectable (they "leak"). See gc.garbage . If the object is marked as supporting garbage collection (the Py_TPFLAGS_HAVE_GC flag is set in tp_flags ), the followin ...
https://man.mtool.work/python/3.14/c-api/lifecycle.html
Object Life Cycle — Python 3.14.8 ドキュメント 10743
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Object Life Cycle テーマ 自動 ライト ダーク | Object Life Cycle ¶ This ... alloc() 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_deal ... inalized mark to be removed. Currently, Python does not remove the finalized mark from a resurrected object if it supports garbage collection (i.e., the Py_TPFLAGS_HAVE_GC flag is set) but does remove the mark if the object does not support garbage coll ... was erroneously omitted in one of the involved types), the objects remain indefinitely uncollectable (they "leak"). See gc.garbage . If the object is marked as supporting garbage collection (the Py_TPFLAGS_HAVE_GC flag is set in tp_flags ), the followin ...
https://man.mtool.work/python/3.14/c-api/lifecycle.html
gc --- ガベージコレクターインターフェース — Python 3.14.8 ドキュメント 9653
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » gc --- ガベージコレクターインターフェース テーマ 自動 ライト ダーク | gc --- ガベージコレクターインター ... 。これは gc.DEBUG_SAVEALL を含んでいることに注意しましょう。ガベージとして検出されたオブジェクトは、インスペクション用に gc.garbage に保存されます。 The gc module provides the following functions: gc. enable ( ) ¶ 自動ガベージコレクションを有効にします。 ... 総数です; uncollectable is the total number of objects which were found to be uncollectable (and were therefore moved to the garbage list) inside this generation. Added in version 3.4. gc. set_threshold ( threshold0 [ , threshold1 [ , threshold2 ] ] ) ¶ ガ ... collection and the net number of object allocations has not exceeded 40 times threshold0 , the collection is not run. See Garbage collector design for more information. バージョン 3.14 で変更: threshold2 is ignored バージョン 3.14.5 で変更: threshold2 ...
https://man.mtool.work/python/3.14/library/gc.html
gc --- ガベージコレクターインターフェース — Python 3.14.8 ドキュメント 9653
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » gc --- ガベージコレクターインターフェース テーマ 自動 ライト ダーク | gc --- ガベージコレクターインター ... 。これは gc.DEBUG_SAVEALL を含んでいることに注意しましょう。ガベージとして検出されたオブジェクトは、インスペクション用に gc.garbage に保存されます。 The gc module provides the following functions: gc. enable ( ) ¶ 自動ガベージコレクションを有効にします。 ... 総数です; uncollectable is the total number of objects which were found to be uncollectable (and were therefore moved to the garbage list) inside this generation. Added in version 3.4. gc. set_threshold ( threshold0 [ , threshold1 [ , threshold2 ] ] ) ¶ ガ ... collection and the net number of object allocations has not exceeded 40 times threshold0 , the collection is not run. See Garbage collector design for more information. バージョン 3.14 で変更: threshold2 is ignored バージョン 3.14.5 で変更: threshold2 ...
https://man.mtool.work/python/3.14/library/gc.html
変更履歴 — Python 3.14.8 ドキュメント 8463
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac ... 6762 : Fix 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 t ... he free-threaded build resetting the thread-local allocation counter that schedules automatic garbage collection. A thread that called it while allocating could prevent cyclic garbage from ever being collected. gh-156091 : F ... h by Donghee 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 o ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
weakref --- Weak references — Python 3.14.8 ドキュメント 7955
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » weakref --- Weak references テーマ 自動 ライト ダーク | weakref --- Weak references ¶ ソースコード: Lib/weakref.py The w ... トへの弱参照があることは、そのオブジェクトを生かしておくのには不十分です。リファレントへの参照が弱参照しか残っていない場合、 garbage collection はリファレントを自由に破棄し、メモリを別のものに再利用することができます。しかし、オブジェクトへの強参照がなくて ... ueDictionary , then when the last remaining references to that image object are the weak references held by weak mappings, garbage collection can reclaim the object, and its corresponding entries in weak mappings are simply deleted. WeakKeyDictionary と ... が消えるという状態の変更があるために、変更可能型です。---) Accessing an attribute of the proxy object after the referent is garbage collected raises ReferenceError . バージョン 3.8 で変更: Extended the operator support on proxy objects to include the mat ...
https://man.mtool.work/python/3.14/library/weakref.html
オブジェクト実装サポート (object implementation support) — Python 3.14.8 ドキュ... 7695
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) テーマ 自動 ライト ダーク | オブジェクト実装サポート (object implementat ... t structure) 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 ...
https://man.mtool.work/python/3.14/c-api/objimpl.html
weakref --- Weak references — Python 3.14.8 ドキュメント 7695
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » weakref --- Weak references テーマ 自動 ライト ダーク | weakref --- Weak references ¶ ソースコード: Lib/weakref.py The w ... トへの弱参照があることは、そのオブジェクトを生かしておくのには不十分です。リファレントへの参照が弱参照しか残っていない場合、 garbage collection はリファレントを自由に破棄し、メモリを別のものに再利用することができます。しかし、オブジェクトへの強参照がなくて ... ueDictionary , then when the last remaining references to that image object are the weak references held by weak mappings, garbage collection can reclaim the object, and its corresponding entries in weak mappings are simply deleted. WeakKeyDictionary と ... が消えるという状態の変更があるために、変更可能型です。---) Accessing an attribute of the proxy object after the referent is garbage collected raises ReferenceError . バージョン 3.8 で変更: Extended the operator support on proxy objects to include the mat ...
https://man.mtool.work/python/3.14/library/weakref.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT