Results of 1 - 10 of about 56 for borrowed (0.004 sec.)
- C API Extension Support for Free Threading — Python 3.14.8 ドキュメント 13643
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...form any 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 c...oncurrently. See the section on borrowed references for more information. Container Thread Safety ¶ Containers like PyListObject , PyDictObject , and PySetObject p...* value ; 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... - https://man.mtool.work/python/3.14/howto/free-threading-extensions.html
- C API Extension Support for Free Threading — Python 3.14.8 ドキュメント 13643
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...form any 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 c...oncurrently. See the section on borrowed references for more information. Container Thread Safety ¶ Containers like PyListObject , PyDictObject , and PySetObject p...* value ; 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... - https://man.mtool.work/python/3.14/howto/free-threading-extensions.html
- Dictionary Objects — Python 3.14.8 ドキュメント 9547
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Dictionary Objects テーマ 自動 ライト ダーク | Dictionary Objects ¶ type PyDictObject
...次に属します: Stable ABI . Thread safety: Safe to call from multiple threads with external synchronization only . Return a borrowed reference to the object from dictionary p which has a key key . Return NULL if the key key is missing without setting an e...re silently ignored. Prefer the PyDict_GetItemWithError() function instead. 注釈 In the free-threaded build , the returned borrowed reference may become invalid if another thread modifies the dictionary concurrently. Prefer PyDict_GetItemRef() , which re...返します。 キーが存在しなかった場合は、例外をセット せずに NULL を返します。 注釈 In the free-threaded build , the returned borrowed reference may become invalid if another thread modifies the dictionary concurrently. Prefer PyDict_GetItemRef() , which re... - https://man.mtool.work/python/3.14/c-api/dict.html
- 引数の解釈と値の構築 — Python 3.14.8 ドキュメント 9076
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » ユーティリティ » 引数の解釈と値の構築 テーマ 自動 ライト ダーク | 引数の解釈と値の構築 ¶ These functions are useful when creating
...す。 y (読み出し専用の bytes-like object ) [const char *] この形式は bytes-like Cポインタへのオブジェクトへの参照を拒否する borrowed 文字列; Unicode オブジェクトは受け付けません。 バイトバッファには埋め込みのヌルバイトを含んではいけません。もし含まれている...individual format units in items . Format units for sequences may be nested. If items contains format units which store a borrowed buffer ( s , s# , z , z# , y , or y# ) or a borrowed reference ( S , Y , U , O , or O! ), the object must be a Python tupl...e. The converter for the O& format unit in items must not store a borrowed buffer or a borrowed reference. バージョン 3.14 で変更: str and bytearray objects no longer accepted as a sequence. バージ... - https://man.mtool.work/python/3.14/c-api/arg.html
- Dictionary Objects — Python 3.14.8 ドキュメント 9076
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Dictionary Objects テーマ 自動 ライト ダーク | Dictionary Objects ¶ type PyDictObject
...次に属します: Stable ABI . Thread safety: Safe to call from multiple threads with external synchronization only . Return a borrowed reference to the object from dictionary p which has a key key . Return NULL if the key key is missing without setting an e...re silently ignored. Prefer the PyDict_GetItemWithError() function instead. 注釈 In the free-threaded build , the returned borrowed reference may become invalid if another thread modifies the dictionary concurrently. Prefer PyDict_GetItemRef() , which re...返します。 キーが存在しなかった場合は、例外をセット せずに NULL を返します。 注釈 In the free-threaded build , the returned borrowed reference may become invalid if another thread modifies the dictionary concurrently. Prefer PyDict_GetItemRef() , which re... - https://man.mtool.work/python/3.14/c-api/dict.html
- 引数の解釈と値の構築 — Python 3.14.8 ドキュメント 9076
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » ユーティリティ » 引数の解釈と値の構築 テーマ 自動 ライト ダーク | 引数の解釈と値の構築 ¶ These functions are useful when creating
...す。 y (読み出し専用の bytes-like object ) [const char *] この形式は bytes-like Cポインタへのオブジェクトへの参照を拒否する borrowed 文字列; Unicode オブジェクトは受け付けません。 バイトバッファには埋め込みのヌルバイトを含んではいけません。もし含まれている...individual format units in items . Format units for sequences may be nested. If items contains format units which store a borrowed buffer ( s , s# , z , z# , y , or y# ) or a borrowed reference ( S , Y , U , O , or O! ), the object must be a Python tupl...e. The converter for the O& format unit in items must not store a borrowed buffer or a borrowed reference. バージョン 3.14 で変更: str and bytearray objects no longer accepted as a sequence. バージ... - https://man.mtool.work/python/3.14/c-api/arg.html
- 弱参照オブジェクト — Python 3.14.8 ドキュメント 8914
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » 弱参照オブジェクト テーマ 自動 ライト ダーク | 弱参照オブジェクト ¶ Python は 弱参照
...n version 3.13. PyObject * PyWeakref_GetObject ( PyObject * ref ) ¶ 戻り値: 借用参照。 次に属します: Stable ABI . Return a borrowed reference to the referenced object from a weak reference, ref . If the referent is no longer live, returns Py_None . 注釈...This function returns a borrowed reference to the referenced object. This means that you should always call Py_INCREF() on the object except when it cannot...be destroyed before the last usage of the borrowed reference. バージョン 3.13 で非推奨、バージョン 3.15 で削除予定: Use PyWeakref_GetRef() instead. PyObject * PyWeakref_GET_... - https://man.mtool.work/python/3.14/c-api/weakref.html
- 弱参照オブジェクト — Python 3.14.8 ドキュメント 8914
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » 弱参照オブジェクト テーマ 自動 ライト ダーク | 弱参照オブジェクト ¶ Python は 弱参照
...n version 3.13. PyObject * PyWeakref_GetObject ( PyObject * ref ) ¶ 戻り値: 借用参照。 次に属します: Stable ABI . Return a borrowed reference to the referenced object from a weak reference, ref . If the referent is no longer live, returns Py_None . 注釈...This function returns a borrowed reference to the referenced object. This means that you should always call Py_INCREF() on the object except when it cannot...be destroyed before the last usage of the borrowed reference. バージョン 3.13 で非推奨、バージョン 3.15 で削除予定: Use PyWeakref_GetRef() instead. PyObject * PyWeakref_GET_... - https://man.mtool.work/python/3.14/c-api/weakref.html
- リストオブジェクト — Python 3.14.8 ドキュメント 8280
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » リストオブジェクト テーマ 自動 ライト ダーク | リストオブジェクト ¶ type PyListObject
...d safety: Safe to call from multiple threads with external synchronization only . Like PyList_GetItemRef() , but returns a borrowed reference instead of a strong reference . 注釈 In the free-threaded build , the returned borrowed reference may become inv...zation only . PyList_GetItem() に似ていますが、エラーチェックを行いません。 注釈 In the free-threaded build , the returned borrowed reference may become invalid if another thread modifies the list concurrently. Prefer PyList_GetItemRef() , which returns... - https://man.mtool.work/python/3.14/c-api/list.html
- リストオブジェクト — Python 3.14.8 ドキュメント 8280
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » リストオブジェクト テーマ 自動 ライト ダーク | リストオブジェクト ¶ type PyListObject
...d safety: Safe to call from multiple threads with external synchronization only . Like PyList_GetItemRef() , but returns a borrowed reference instead of a strong reference . 注釈 In the free-threaded build , the returned borrowed reference may become inv...zation only . PyList_GetItem() に似ていますが、エラーチェックを行いません。 注釈 In the free-threaded build , the returned borrowed reference may become invalid if another thread modifies the list concurrently. Prefer PyList_GetItemRef() , which returns... - https://man.mtool.work/python/3.14/c-api/list.html