Results of 1 - 10 of about 88 for weakref (0.034 sec.)
- weakref --- Weak references — Python 3.14.8 ドキュメント 15134
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » weakref --- Weak references テーマ 自動 ライト ダーク | weakref --- Weak references ¶ ソースコード: Lib/weakref.py The weakref
...eakref module allows the Python programmer to create weak references to objects. 以下では、用語リファレント( referent ) は弱参照が参照するオブジェクトを意味します。 オブジェクトへの弱...they appeared as values or keys in the dictionaries. The WeakKeyDictionary and WeakValueDictionary classes supplied by the weakref module are an alternative, using weak references to construct mappings that don't keep objects alive solely because they a...an image object is a value in a WeakValueDictionary , 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 a... - https://man.mtool.work/python/3.14/library/weakref.html
- weakref --- Weak references — Python 3.14.8 ドキュメント 15134
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » weakref --- Weak references テーマ 自動 ライト ダーク | weakref --- Weak references ¶ ソースコード: Lib/weakref.py The weakref
...eakref module allows the Python programmer to create weak references to objects. 以下では、用語リファレント( referent ) は弱参照が参照するオブジェクトを意味します。 オブジェクトへの弱...they appeared as values or keys in the dictionaries. The WeakKeyDictionary and WeakValueDictionary classes supplied by the weakref module are an alternative, using weak references to construct mappings that don't keep objects alive solely because they a...an image object is a value in a WeakValueDictionary , 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 a... - https://man.mtool.work/python/3.14/library/weakref.html
- dataclasses --- データクラス — Python 3.14.8 ドキュメント 7868
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » dataclasses --- データクラス テーマ 自動 ライト ダーク | dataclasses --- データクラス ¶ ソースコード: L
..., eq = True , order = False , unsafe_hash = False , frozen = False , match_args = True , kw_only = False , slots = False , weakref_slot = False ) ¶ この関数は、後述する 特殊メソッド を生成し、クラスに追加する decorator です。 @dataclass デコレータは、 f..., eq = True , order = False , unsafe_hash = False , frozen = False , match_args = True , kw_only = False , slots = False , weakref_slot = False ) class C : ... The parameters to @dataclass are: init : If true (the default), a __init__() method will be g...fields() instead. To be able to determine inherited slots, base class __slots__ may be any iterable, but not an iterator. weakref_slot : If true (the default is False ), add a slot named "__weakref__", which is required to make an instance weakref-able... - https://man.mtool.work/python/3.14/library/dataclasses.html
- 索引 — Python 3.14.8 ドキュメント 7721
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – W W (tkinter モジュール) W_OK (os モジュール) wait() (asyncio モジュール) (asyncio.Barrier のメソッド) (asyncio.Condition のメソッド)
..._read (wave のクラス) Wave_write (wave のクラス) WCONTINUED (os モジュール) WCOREDUMP() (os モジュール) WeakKeyDictionary (weakref のクラス) WeakMethod (weakref のクラス) weakref module WeakSet (weakref のクラス) WeakValueDictionary (weakref のクラス) w...関連キーワード tkinter Misc winfo 属性 asyncio window wait ipaddress pathlib module shlex Text Interface Network threading weakref Condition Event support walk warnings logging calendar width ctypes « ナビゲーション 索引 モジュール | Python » 3.14.8 Doc... - https://man.mtool.work/python/3.14/genindex-W.html
- dataclasses --- データクラス — Python 3.14.8 ドキュメント 7654
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » dataclasses --- データクラス テーマ 自動 ライト ダーク | dataclasses --- データクラス ¶ ソースコード: L
..., eq = True , order = False , unsafe_hash = False , frozen = False , match_args = True , kw_only = False , slots = False , weakref_slot = False ) ¶ この関数は、後述する 特殊メソッド を生成し、クラスに追加する decorator です。 @dataclass デコレータは、 f..., eq = True , order = False , unsafe_hash = False , frozen = False , match_args = True , kw_only = False , slots = False , weakref_slot = False ) class C : ... The parameters to @dataclass are: init : If true (the default), a __init__() method will be g...fields() instead. To be able to determine inherited slots, base class __slots__ may be any iterable, but not an iterator. weakref_slot : If true (the default is False ), add a slot named "__weakref__", which is required to make an instance weakref-able... - https://man.mtool.work/python/3.14/library/dataclasses.html
- 11. Brief tour of the standard library --- part II — Python 3.14.8 ドキュメント 7506
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 11. Brief tour of the standard library --- part II テーマ 自動 ライト ダーク | 11. Brief tour of the standard library --- part II ¶ ツアー
...アプリケーションを変更しなくてもカスタマイズできるよう、ユーザが編集可能な設定ファイルによって設定することもできます。 11.6. Weak references ¶ Python は自動的にメモリを管理します (ほとんどのオブジェクトは参照カウント方式で管理し、 ガベージコレクション で循...きたい場合もあります。残念ながら、オブジェクトを追跡するだけでオブジェクトに対する恒久的な参照を作ることになってしまいます。 weakref モジュールでは、オブジェクトへの参照を作らずに追跡するためのツールを提供しています。弱参照オブジェクトが不要になると、弱参...照 (weakref) テーブルから自動的に除去され、コールバック関数がトリガされます。弱参照を使う典型的な応用例には、作成コストの大きいオブジェ... - https://man.mtool.work/python/3.14/tutorial/stdlib2.html
- 索引 — Python 3.14.8 ドキュメント 7439
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – W W (tkinter モジュール) W_OK (os モジュール) wait() (asyncio モジュール) (asyncio.Barrier のメソッド) (asyncio.Condition のメソッド)
..._read (wave のクラス) Wave_write (wave のクラス) WCONTINUED (os モジュール) WCOREDUMP() (os モジュール) WeakKeyDictionary (weakref のクラス) WeakMethod (weakref のクラス) weakref module WeakSet (weakref のクラス) WeakValueDictionary (weakref のクラス) w... - https://man.mtool.work/python/3.14/genindex-W.html
- 11. Brief tour of the standard library --- part II — Python 3.14.8 ドキュメント 7225
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 11. Brief tour of the standard library --- part II テーマ 自動 ライト ダーク | 11. Brief tour of the standard library --- part II ¶ ツアー
...アプリケーションを変更しなくてもカスタマイズできるよう、ユーザが編集可能な設定ファイルによって設定することもできます。 11.6. Weak references ¶ Python は自動的にメモリを管理します (ほとんどのオブジェクトは参照カウント方式で管理し、 ガベージコレクション で循...きたい場合もあります。残念ながら、オブジェクトを追跡するだけでオブジェクトに対する恒久的な参照を作ることになってしまいます。 weakref モジュールでは、オブジェクトへの参照を作らずに追跡するためのツールを提供しています。弱参照オブジェクトが不要になると、弱参...照 (weakref) テーブルから自動的に除去され、コールバック関数がトリガされます。弱参照を使う典型的な応用例には、作成コストの大きいオブジェ... - https://man.mtool.work/python/3.14/tutorial/stdlib2.html
- What's New in Python 2.1 — Python 3.14.8 ドキュメント 7225
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New in Python 2.1 テーマ 自動 ライト ダーク | What's New in Python 2.1 ¶ 著者 : A.M. Kuchling はじめに ¶ この記事はPython 2.1の新機
...そぶのが単純明快になっています。 参考 PEP 229 - Distutils を使った Python のビルド A.M. Kuchling 著、実装 PEP 205: 弱参照 ¶ weakref モジュールを通して利用出来る弱参照(weak references)は、ささやかですが有用な、Python プログラマの道具箱に新たに加わったデー...て、その弱参照は参照しているそのオブジェクトがもはや存在しないことを表明します。オブジェクト obj への弱参照を作るには、 wr = weakref.ref(obj) とします。参照されているオブジェクトは、それがあたかも関数であったかのように弱参照を「コール」することで得ます: w...None を返します。 This makes it possible to write a memoize() function whose cache doesn't keep objects alive, by storing weak references in the cache. _cache = {} def memoize ( x ): if _cache . has_key ( x ): obj = _cache [ x ]() # If weak reference o... - https://man.mtool.work/python/3.14/whatsnew/2.1.html
- 変更履歴 — Python 3.14.8 ドキュメント 7225
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...ove might be used even if the files are on the same filesystem. Patch by Fang Li テスト ¶ gh-151130 : Add more tests for PyWeakref_* C API. gh-149776 : Fix test_socket on Linux kernel 7.1 and newer: skip UDP Lite tests if it's not supported. Patch by Vi...character is read from the standard input. Patch by Shamil Abdulaev. gh-91636 : While performing garbage collection, clear weakrefs to unreachable objects that are created during running of finalizers. If those weakrefs were are not cleared, they could...ts and untrack them while in the trashcan to prevent the GC and trashcan mechanisms conflicting. gh-135607 : Fix potential weakref races in an object's destructor on the free threaded build. gh-135608 : Fix a crash in the JIT involving attributes of mod... - https://man.mtool.work/python/3.14/whatsnew/changelog.html