per page, with , order by , clip by
Results of 1 - 10 of about 15 for WeakValueDictionary (0.032 sec.)
weakref --- Weak references — Python 3.14.8 ドキュメント 13044
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » weakref --- Weak references テーマ 自動 ライト ダーク | weakref --- Weak references ¶ ソースコード: Lib/weakref.py The w ... age objects would remain alive just because 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 obj ... ects alive solely because they appear in the mapping objects. If, for example, 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 coll ... ection can reclaim the object, and its corresponding entries in weak mappings are simply deleted. WeakKeyDictionary と WeakValueDictionary はその実装に弱参照を使用しており、キーや値がガーベジコレクションによって回収されたことを弱参照辞書に通知するコールバック関 ...
https://man.mtool.work/python/3.14/library/weakref.html
weakref --- Weak references — Python 3.14.8 ドキュメント 13044
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » weakref --- Weak references テーマ 自動 ライト ダーク | weakref --- Weak references ¶ ソースコード: Lib/weakref.py The w ... age objects would remain alive just because 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 obj ... ects alive solely because they appear in the mapping objects. If, for example, 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 coll ... ection can reclaim the object, and its corresponding entries in weak mappings are simply deleted. WeakKeyDictionary と WeakValueDictionary はその実装に弱参照を使用しており、キーや値がガーベジコレクションによって回収されたことを弱参照辞書に通知するコールバック関 ...
https://man.mtool.work/python/3.14/library/weakref.html
索引 — Python 3.14.8 ドキュメント 8620
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – V v4_int_to_packed() (ipaddress モジュール) v6_int_to_packed() (ipaddress モジュール) valid_signals() (signal モジュール) validate() ( ... .cookies.BaseCookie のメソッド) VALUE_WITH_FAKE_GLOBALS (annotationlib.Format の属性) ValueError 例外 valuerefs() (weakref.WeakValueDictionary のメソッド) Values (optparse のクラス) values (string.templatelib.Template の属性) values() (contextvars.Context のメソッド ...
https://man.mtool.work/python/3.14/genindex-V.html
変更履歴 — Python 3.14.8 ドキュメント 8620
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac ... e ctypes supports double complex only with libffi >= 3.3.0. Patch by Mikhail Efimov. gh-89967 : Make WeakKeyDictionary and WeakValueDictionary safe against concurrent mutations from other threads. Patch by Kumar Aditya. gh-125260 : The gzip.compress() mtime paramet ... e an assert that would cause a spurious crash in a devious case that should only trigger deoptimization. gh-106176 : Use a WeakValueDictionary to track the lists containing the modules each thread is currently importing. This helps avoid a reference leak from keepi ... w() methods for anext_awaitable objects. Patch by Pablo Galindo. ライブラリ ¶ bpo-44962 : Fix a race in WeakKeyDictionary, WeakValueDictionary and WeakSet when two threads attempt to commit the last pending removal. This fixes asyncio.create_task and fixes a data l ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
索引 — Python 3.14.8 ドキュメント 8620
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – V v4_int_to_packed() (ipaddress モジュール) v6_int_to_packed() (ipaddress モジュール) valid_signals() (signal モジュール) validate() ( ... .cookies.BaseCookie のメソッド) VALUE_WITH_FAKE_GLOBALS (annotationlib.Format の属性) ValueError 例外 valuerefs() (weakref.WeakValueDictionary のメソッド) Values (optparse のクラス) values (string.templatelib.Template の属性) values() (contextvars.Context のメソッド ...
https://man.mtool.work/python/3.14/genindex-V.html
索引 — Python 3.14.8 ドキュメント 7993
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – W W (tkinter モジュール) W_OK (os モジュール) wait() (asyncio モジュール) (asyncio.Barrier のメソッド) (asyncio.Condition のメソッド) ... s モジュール) WeakKeyDictionary (weakref のクラス) WeakMethod (weakref のクラス) weakref module WeakSet (weakref のクラス) WeakValueDictionary (weakref のクラス) webbrowser module webbrowser コマンドラインオプション --new-tab --new-window -n -t WEDNESDAY (calendar ...
https://man.mtool.work/python/3.14/genindex-W.html
11. Brief tour of the standard library --- part II — Python 3.14.8 ドキュメント 7993
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 11. Brief tour of the standard library --- part II テーマ 自動 ライト ダーク | 11. Brief tour of the standard library --- part II ¶ ツアー ... lue ... def __repr__ ( self ): ... return str ( self . value ) ... >>> a = A ( 10 ) # create a reference >>> d = weakref . WeakValueDictionary () >>> d [ 'primary' ] = a # does not create a reference >>> d [ 'primary' ] # fetch the object if it is still alive 10 >> ...
https://man.mtool.work/python/3.14/tutorial/stdlib2.html
What's New in Python 2.5 — Python 3.14.8 ドキュメント 7993
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New in Python 2.5 テーマ 自動 ライト ダーク | What's New in Python 2.5 ¶ 著者 : A.M. Kuchling This article explains the new feature ... g' ) UUID('886313e1-3b8a-5372-9b90-0c9aee199e5d') (Contributed by Ka-Ping Yee.) The weakref module's WeakKeyDictionary and WeakValueDictionary types gained new methods for iterating over the weak references contained in the dictionary. iterkeyrefs() and keyrefs() m ... ethods were added to WeakKeyDictionary , and itervaluerefs() and valuerefs() were added to WeakValueDictionary . (Contributed by Fred L. Drake, Jr.) The webbrowser module received a number of enhancements. It's now usable as a script ...
https://man.mtool.work/python/3.14/whatsnew/2.5.html
索引 — Python 3.14.8 ドキュメント 7993
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – W W (tkinter モジュール) W_OK (os モジュール) wait() (asyncio モジュール) (asyncio.Barrier のメソッド) (asyncio.Condition のメソッド) ... s モジュール) WeakKeyDictionary (weakref のクラス) WeakMethod (weakref のクラス) weakref module WeakSet (weakref のクラス) WeakValueDictionary (weakref のクラス) webbrowser module webbrowser コマンドラインオプション --new-tab --new-window -n -t WEDNESDAY (calendar ...
https://man.mtool.work/python/3.14/genindex-W.html
11. Brief tour of the standard library --- part II — Python 3.14.8 ドキュメント 7993
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 11. Brief tour of the standard library --- part II テーマ 自動 ライト ダーク | 11. Brief tour of the standard library --- part II ¶ ツアー ... lue ... def __repr__ ( self ): ... return str ( self . value ) ... >>> a = A ( 10 ) # create a reference >>> d = weakref . WeakValueDictionary () >>> d [ 'primary' ] = a # does not create a reference >>> d [ 'primary' ] # fetch the object if it is still alive 10 >> ...
https://man.mtool.work/python/3.14/tutorial/stdlib2.html
PREV 1 2 NEXT