Results of 1 - 10 of about 167 for references (0.032 sec.)
- C API Extension Support for Free Threading — Python 3.14.8 ドキュメント 10669
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » C API Extension Support for Free Threading テーマ 自動 ライト ダーク | C API Extension Support for Free Threading ¶ Starting with the 3.13 release
...error checking or locking. These macros are not thread-safe if the container object may be modified concurrently. Borrowed References : C API functions that return borrowed references may not be thread-safe if the containing object is modified concurrently.... See the section on borrowed references for more information. Container Thread Safety ¶ Containers like PyListObject , PyDictObject , and PySetObject perform inte...Py_ssize_t pos = 0 ; while ( PyDict_Next ( dict , & pos , & key , & value )) { ... } Py_END_CRITICAL_SECTION (); Borrowed References ¶ Some C API functions return borrowed references . These APIs are not thread-safe if the containing object is modified co... - https://man.mtool.work/python/3.14/howto/free-threading-extensions.html
- C API Extension Support for Free Threading — Python 3.14.8 ドキュメント 10669
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » C API Extension Support for Free Threading テーマ 自動 ライト ダーク | C API Extension Support for Free Threading ¶ Starting with the 3.13 release
...error checking or locking. These macros are not thread-safe if the container object may be modified concurrently. Borrowed References : C API functions that return borrowed references may not be thread-safe if the containing object is modified concurrently.... See the section on borrowed references for more information. Container Thread Safety ¶ Containers like PyListObject , PyDictObject , and PySetObject perform inte...Py_ssize_t pos = 0 ; while ( PyDict_Next ( dict , & pos , & key , & value )) { ... } Py_END_CRITICAL_SECTION (); Borrowed References ¶ Some C API functions return borrowed references . These APIs are not thread-safe if the containing object is modified co... - https://man.mtool.work/python/3.14/howto/free-threading-extensions.html
- weakref --- Weak references — Python 3.14.8 ドキュメント 10125
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » weakref --- Weak references テーマ 自動 ライト ダーク | weakref --- Weak references ¶ ソースコード: Lib/weakref.py The w
...eakref module allows the Python programmer to create weak references to objects. 以下では、用語リファレント( referent ) は弱参照が参照するオブジェクトを意味します。 オブジェクトへの弱参照があ...aries. 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 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 collection can reclaim the object, and its cor... - https://man.mtool.work/python/3.14/library/weakref.html
- weakref --- Weak references — Python 3.14.8 ドキュメント 10125
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » weakref --- Weak references テーマ 自動 ライト ダーク | weakref --- Weak references ¶ ソースコード: Lib/weakref.py The w
...eakref module allows the Python programmer to create weak references to objects. 以下では、用語リファレント( referent ) は弱参照が参照するオブジェクトを意味します。 オブジェクトへの弱参照があ...aries. 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 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 collection can reclaim the object, and its cor... - https://man.mtool.work/python/3.14/library/weakref.html
- 変更履歴 — Python 3.14.8 ドキュメント 9728
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...ce (like ENV CHANGED then ENV CHANGED ). gh-142414 : Isolate reloading modules in test_interpreters to avoid having broken references. ビルド ¶ gh-158010 : Update Android and iOS build scripts to use OpenSSL 3.5.9. gh-157549 : Use sysconf(_SC_PAGESIZE) ins...oper MemoryError errors. gh-150700 : Fix a SystemError when compiling a class-scope comprehension containing a lambda that references __class__ , __classdict__ , or __conditional_annotations__ . Patch by Bartosz Sławecki. gh-150633 : Fix the frozen importe...t preserve identity, and empty writable PickleBuffer memoized an empty bytearray object in place of b'' , so the following references to b'' were unpickled as an empty bytearray object. gh-148947 : Fix crash in @dataclasses.dataclass with slots=True that o... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- Object Life Cycle — Python 3.14.8 ドキュメント 8651
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Object Life Cycle テーマ 自動 ライト ダーク | Object Life Cycle ¶ This
...inalize 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 called to destroy the o...bject. To avoid code duplication, tp_dealloc typically calls into tp_clear to free up the object's references. When tp_dealloc finishes object destruction, it directly calls tp_free (usually set to PyObject_Free() or PyObject_GC_Del...non-cleared (but potentially finalized) objects. To summarize the possible interactions: A non-finalized object might have references to or from non-finalized and finalized objects, but not to or from cleared objects. A finalized object might have referenc... - https://man.mtool.work/python/3.14/c-api/lifecycle.html
- Object Life Cycle — Python 3.14.8 ドキュメント 8651
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Object Life Cycle テーマ 自動 ライト ダーク | Object Life Cycle ¶ This
...inalize 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 called to destroy the o...bject. To avoid code duplication, tp_dealloc typically calls into tp_clear to free up the object's references. When tp_dealloc finishes object destruction, it directly calls tp_free (usually set to PyObject_Free() or PyObject_GC_Del...non-cleared (but potentially finalized) objects. To summarize the possible interactions: A non-finalized object might have references to or from non-finalized and finalized objects, but not to or from cleared objects. A finalized object might have referenc... - https://man.mtool.work/python/3.14/c-api/lifecycle.html
- annotationlib --- Functionality for introspecting annotations — Python 3.14.8 ... 8243
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » annotationlib --- Functionality for introspecting annotations テーマ 自動 ライト ダーク | annotationlib
...r introspecting annotations on modules, classes, and functions. Annotations are lazily evaluated and often contain forward references to objects that are not yet defined when the annotation is created. This module provides a set of low-level tools that can...be used to retrieve annotations in a reliable way, even in the presence of forward references and other edge cases. This module supports retrieving annotations in three main formats (see Format ), each of which works...ns their value. This is most straightforward to work with, but it may raise errors, for example if the annotations contain references to undefined names. FORWARDREF returns ForwardRef objects for annotations that cannot be resolved, allowing you to inspect... - https://man.mtool.work/python/3.14/library/annotationlib.html
- annotationlib --- Functionality for introspecting annotations — Python 3.14.8 ... 8243
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » annotationlib --- Functionality for introspecting annotations テーマ 自動 ライト ダーク | annotationlib
...r introspecting annotations on modules, classes, and functions. Annotations are lazily evaluated and often contain forward references to objects that are not yet defined when the annotation is created. This module provides a set of low-level tools that can...be used to retrieve annotations in a reliable way, even in the presence of forward references and other edge cases. This module supports retrieving annotations in three main formats (see Format ), each of which works...ns their value. This is most straightforward to work with, but it may raise errors, for example if the annotations contain references to undefined names. FORWARDREF returns ForwardRef objects for annotations that cannot be resolved, allowing you to inspect... - https://man.mtool.work/python/3.14/library/annotationlib.html
- はじめに — Python 3.14.8 ドキュメント 7970
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » はじめに テーマ 自動 ライト ダーク | はじめに ¶ Python のアプリケーションプログラマ用インタフェース (Application Programmer's Int
...rong reference to an object is released (i.e. its reference count becomes zero), the object is deallocated. If it contains references to other objects, those references are released. Those other objects may be deallocated in turn, if there are no more refe...ator is a function pointer contained in the object's type structure. The type-specific deallocator takes care of releasing references for other objects contained in the object if this is a compound object type, such as a list, as well as performing any add...照カウントの詳細 ¶ The reference count behavior of functions in the Python/C API is best explained in terms of ownership of references . Ownership pertains to references, never to objects (objects are not owned: they are always shared). "Owning a reference"... - https://man.mtool.work/python/3.14/c-api/intro.html