Results of 1 - 10 of about 61 for finalize (0.009 sec.)
- Object Life Cycle — Python 3.14.8 ドキュメント 14408
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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 rem...ove finalized mark) uncollectable uncollectable (leaked) reachable->uncollectable cyclic isolate (no GC support) tp_dealloc tp_dealloc...reachable->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 ドキュメント 14336
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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 rem...ove finalized mark) uncollectable uncollectable (leaked) reachable->uncollectable cyclic isolate (no GC support) tp_dealloc tp_dealloc...reachable->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 ドキュメント 9451
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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 indic...ed in version 2.6. * If zero, the cache is invalid and must be initialized. */ unsigned int tp_version_tag ; destructor tp_finalize ; vectorcallfunc tp_vectorcall ; /* bitset of which type-watchers care about this type */ unsigned char tp_watched ; /* Nu...ept: Python will destroy an object immediately or some time after the final reference to the object is deleted, unless its finalizer ( tp_finalize ) subsequently resurrects the object. An object will not be destroyed while it is being automatically final... - https://man.mtool.work/python/3.14/c-api/typeobj.html
- Type Object Structures — Python 3.14.8 ドキュメント 9451
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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 indic...ed in version 2.6. * If zero, the cache is invalid and must be initialized. */ unsigned int tp_version_tag ; destructor tp_finalize ; vectorcallfunc tp_vectorcall ; /* bitset of which type-watchers care about this type */ unsigned char tp_watched ; /* Nu...ept: Python will destroy an object immediately or some time after the final reference to the object is deleted, unless its finalizer ( tp_finalize ) subsequently resurrects the object. An object will not be destroyed while it is being automatically final... - https://man.mtool.work/python/3.14/c-api/typeobj.html
- weakref --- Weak references — Python 3.14.8 ドキュメント 9045
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » weakref --- Weak references テーマ 自動 ライト ダーク | weakref --- Weak references ¶ ソースコード: Lib/weakref.py The w
...を設定しています。 WeakSet は set インターフェースを実装していますが、 WeakKeyDictionary のように要素への弱参照を持ちます。 finalize は、オブジェクトのガベージコレクションの実行時にクリーンアップ関数が呼び出されるように登録する、単純な方法を提供します。こ...けることを、モジュールが自動的に保証するからです。 Most programs should find that using one of these weak container types or finalize is all they need -- it's not usually necessary to create your own weak references directly. The low-level machinery is exp...() >>> callback is the same as the parameter of the same name to the ref() function. Added in version 3.4. class weakref. finalize ( obj , func , / , * args , ** kwargs ) ¶ obj がガベージコレクションで回収されるときに呼び出される、呼び出し可能なファイナ... - https://man.mtool.work/python/3.14/library/weakref.html
- weakref --- Weak references — Python 3.14.8 ドキュメント 8987
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » weakref --- Weak references テーマ 自動 ライト ダーク | weakref --- Weak references ¶ ソースコード: Lib/weakref.py The w
...を設定しています。 WeakSet は set インターフェースを実装していますが、 WeakKeyDictionary のように要素への弱参照を持ちます。 finalize は、オブジェクトのガベージコレクションの実行時にクリーンアップ関数が呼び出されるように登録する、単純な方法を提供します。こ...けることを、モジュールが自動的に保証するからです。 Most programs should find that using one of these weak container types or finalize is all they need -- it's not usually necessary to create your own weak references directly. The low-level machinery is exp...() >>> callback is the same as the parameter of the same name to the ref() function. Added in version 3.4. class weakref. finalize ( obj , func , / , * args , ** kwargs ) ¶ obj がガベージコレクションで回収されるときに呼び出される、呼び出し可能なファイナ... - https://man.mtool.work/python/3.14/library/weakref.html
- Pending removal in future versions — Python 3.14.8 ドキュメント 7175
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » Pending removal in future versions テーマ 自動 ライト ダーク | Pending removal in future versions ¶ The following APIs are deprecated and will be removed, although there is cu
...rrently no date scheduled for their removal. Py_TPFLAGS_HAVE_FINALIZE : Unneeded since Python 3.8. PyErr_Fetch() : Use PyErr_GetRaisedException() instead. PyErr_NormalizeException() : Use PyEr... - https://man.mtool.work/python/3.14/deprecations/c-api-pending-removal-in-future....
- Pending removal in future versions — Python 3.14.8 ドキュメント 7175
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » Pending removal in future versions テーマ 自動 ライト ダーク | Pending removal in future versions ¶ The following APIs are deprecated and will be removed, although there is cu
...rrently no date scheduled for their removal. Py_TPFLAGS_HAVE_FINALIZE : Unneeded since Python 3.8. PyErr_Fetch() : Use PyErr_GetRaisedException() instead. PyErr_NormalizeException() : Use PyEr... - https://man.mtool.work/python/3.14/deprecations/c-api-pending-removal-in-future....
- What's New In Python 3.8 — Python 3.14.8 ドキュメント 7117
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.8 テーマ 自動 ライト ダーク | What's New In Python 3.8 ¶ 編集者 : Raymond Hettinger This article explains the new f
...ation ) (Raymond Hettinger の貢献による bpo-36326 ) io ¶ In development mode ( -X env ) and in debug build , the io.IOBase finalizer now logs the exception if the close() method fails. The exception is ignored silently by default in release build. (Contr...bpo-36048 .) Deprecated passing the following arguments as keyword arguments: func in functools.partialmethod() , weakref.finalize() , profile.Profile.runcall() , cProfile.Profile.runcall() , bdb.Bdb.runcall() , trace.Trace.runfunc() and curses.wrapper(...in the create() method of multiprocessing.managers.Server and multiprocessing.managers.SharedMemoryServer . obj in weakref.finalize() . In future releases of Python, they will be positional-only . (Contributed by Serhiy Storchaka in bpo-36492 .) API と機... - https://man.mtool.work/python/3.14/whatsnew/3.8.html
- What's New In Python 3.8 — Python 3.14.8 ドキュメント 7117
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.8 テーマ 自動 ライト ダーク | What's New In Python 3.8 ¶ 編集者 : Raymond Hettinger This article explains the new f
...ation ) (Raymond Hettinger の貢献による bpo-36326 ) io ¶ In development mode ( -X env ) and in debug build , the io.IOBase finalizer now logs the exception if the close() method fails. The exception is ignored silently by default in release build. (Contr...bpo-36048 .) Deprecated passing the following arguments as keyword arguments: func in functools.partialmethod() , weakref.finalize() , profile.Profile.runcall() , cProfile.Profile.runcall() , bdb.Bdb.runcall() , trace.Trace.runfunc() and curses.wrapper(...in the create() method of multiprocessing.managers.Server and multiprocessing.managers.SharedMemoryServer . obj in weakref.finalize() . In future releases of Python, they will be positional-only . (Contributed by Serhiy Storchaka in bpo-36492 .) API と機... - https://man.mtool.work/python/3.14/whatsnew/3.8.html