Results of 1 - 10 of about 34 for PyList (0.029 sec.)
- リストオブジェクト — Python 3.14.8 ドキュメント 13836
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » リストオブジェクト テーマ 自動 ライト ダーク | リストオブジェクト ¶ type PyListObject
...¶ この PyObject のサブタイプは Python のリストオブジェクトを表現します。 PyTypeObject PyList_Type ¶ 次に属します: Stable ABI . この PyTypeObject のインスタンスは Python のリスト型を表現します。これは Python レイヤに...おける list と同じオブジェクトです。 int PyList_Check ( PyObject * p ) ¶ Thread safety: Atomic . p がリストオブジェクトかリスト型のサブタイプのインスタンスである場合に真を...返します。この関数は常に成功します。 int PyList_CheckExact ( PyObject * p ) ¶ Thread safety: Atomic . p がリストオブジェクトだがリスト型のサブタイプのインスタンスでない場... - https://man.mtool.work/python/3.14/c-api/list.html
- リストオブジェクト — Python 3.14.8 ドキュメント 13836
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » リストオブジェクト テーマ 自動 ライト ダーク | リストオブジェクト ¶ type PyListObject
...¶ この PyObject のサブタイプは Python のリストオブジェクトを表現します。 PyTypeObject PyList_Type ¶ 次に属します: Stable ABI . この PyTypeObject のインスタンスは Python のリスト型を表現します。これは Python レイヤに...おける list と同じオブジェクトです。 int PyList_Check ( PyObject * p ) ¶ Thread safety: Atomic . p がリストオブジェクトかリスト型のサブタイプのインスタンスである場合に真を...返します。この関数は常に成功します。 int PyList_CheckExact ( PyObject * p ) ¶ Thread safety: Atomic . p がリストオブジェクトだがリスト型のサブタイプのインスタンスでない場... - https://man.mtool.work/python/3.14/c-api/list.html
- C API Stability — Python 3.14.8 ドキュメント 9282
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » C API Stability テーマ 自動 ライト ダーク | C API Stability ¶ Unless documented otherwise, Python's C API is covered by the Backw
...I is to allow everything that is possible with the full C API, but possibly with a performance penalty. For example, while PyList_GetItem() is available, its “unsafe” macro variant PyList_GET_ITEM() is not. The macro can be faster because it can rely o...GetDict() PyInterpreterState_GetID() PyInterpreterState_New() PyIter_Check() PyIter_Next() PyIter_NextItem() PyIter_Send() PyListIter_Type PyListRevIter_Type PyList_Append() PyList_AsTuple() PyList_GetItem() PyList_GetItemRef() PyList_GetSlice() PyList..._Insert() PyList_New() PyList_Reverse() PyList_SetItem() PyList_SetSlice() PyList_Size() PyList_Sort() PyList_Type PyLongObject PyLongRange... - https://man.mtool.work/python/3.14/c-api/stable.html
- C API Stability — Python 3.14.8 ドキュメント 9282
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » C API Stability テーマ 自動 ライト ダーク | C API Stability ¶ Unless documented otherwise, Python's C API is covered by the Backw
...I is to allow everything that is possible with the full C API, but possibly with a performance penalty. For example, while PyList_GetItem() is available, its “unsafe” macro variant PyList_GET_ITEM() is not. The macro can be faster because it can rely o...GetDict() PyInterpreterState_GetID() PyInterpreterState_New() PyIter_Check() PyIter_Next() PyIter_NextItem() PyIter_Send() PyListIter_Type PyListRevIter_Type PyList_Append() PyList_AsTuple() PyList_GetItem() PyList_GetItemRef() PyList_GetSlice() PyList..._Insert() PyList_New() PyList_Reverse() PyList_SetItem() PyList_SetSlice() PyList_Size() PyList_Sort() PyList_Type PyLongObject PyLongRange... - https://man.mtool.work/python/3.14/c-api/stable.html
- C API Extension Support for Free Threading — Python 3.14.8 ドキュメント 8883
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...PI objects or structs directly is not thread-safe if the field may be concurrently modified. Macros : Accessor macros like PyList_GET_ITEM , PyList_SET_ITEM , and macros like PySequence_Fast_GET_SIZE that use the object returned by PySequence_Fast() do...ified concurrently. See the section on borrowed references for more information. Container Thread Safety ¶ Containers like PyListObject , PyDictObject , and PySetObject perform internal locking in the free-threaded build. For example, the PyList_Append...nces . These APIs are not thread-safe if the containing object is modified concurrently. For example, it's not safe to use PyList_GetItem() if the list may be modified concurrently. The following table lists some borrowed reference APIs and their repla... - https://man.mtool.work/python/3.14/howto/free-threading-extensions.html
- C API Extension Support for Free Threading — Python 3.14.8 ドキュメント 8883
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...PI objects or structs directly is not thread-safe if the field may be concurrently modified. Macros : Accessor macros like PyList_GET_ITEM , PyList_SET_ITEM , and macros like PySequence_Fast_GET_SIZE that use the object returned by PySequence_Fast() do...ified concurrently. See the section on borrowed references for more information. Container Thread Safety ¶ Containers like PyListObject , PyDictObject , and PySetObject perform internal locking in the free-threaded build. For example, the PyList_Append...nces . These APIs are not thread-safe if the containing object is modified concurrently. For example, it's not safe to use PyList_GetItem() if the list may be modified concurrently. The following table lists some borrowed reference APIs and their repla... - https://man.mtool.work/python/3.14/howto/free-threading-extensions.html
- 索引 — Python 3.14.8 ドキュメント 8324
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – P p (pdb command) P_ALL (os モジュール) P_DETACH (os モジュール) P_NOWAIT (os モジュール) P_NOWAITO (os モジュール) P_OVERLAY (os モジ
...(C function) PyIter_Next (C function) PyIter_NextItem (C function) PyIter_Send (C function) PYLAUNCHER_ALLOW_INSTALL , [1] PyList_Append (C function) PyList_AsTuple (C function) PyList_Check (C function) PyList_CheckExact (C function) PyList_Clear (C f...unction) PyList_Extend (C function) PyList_GET_ITEM (C function) PyList_GET_SIZE (C function) PyList_GetItem (C function) , [1] PyList_Get...ItemRef (C function) PyList_GetSlice (C function) PyList_Insert (C function) PyList_New (C function) PyList_Reverse (C function) PyList_SET_ITEM (C fu... - https://man.mtool.work/python/3.14/genindex-P.html
- 索引 — Python 3.14.8 ドキュメント 8324
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – P p (pdb command) P_ALL (os モジュール) P_DETACH (os モジュール) P_NOWAIT (os モジュール) P_NOWAITO (os モジュール) P_OVERLAY (os モジ
...(C function) PyIter_Next (C function) PyIter_NextItem (C function) PyIter_Send (C function) PYLAUNCHER_ALLOW_INSTALL , [1] PyList_Append (C function) PyList_AsTuple (C function) PyList_Check (C function) PyList_CheckExact (C function) PyList_Clear (C f...unction) PyList_Extend (C function) PyList_GET_ITEM (C function) PyList_GET_SIZE (C function) PyList_GetItem (C function) , [1] PyList_Get...ItemRef (C function) PyList_GetSlice (C function) PyList_Insert (C function) PyList_New (C function) PyList_Reverse (C function) PyList_SET_ITEM (C fu... - https://man.mtool.work/python/3.14/genindex-P.html
- 1. Extending Python with C or C++ — Python 3.14.8 ドキュメント 7828
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 1. Extending Python with C or C++ テーマ 自動 ライト ダーク | 1. Extending Python with C or C++ ¶ It is quite easy to add n
...方はやや理解しにくいかもしれません。というのはよく使われるルーチンのいくつかが例外となっているからです: PyTuple_GetItem() 、 PyList_GetItem() 、 PyDict_GetItem() 、および PyDict_GetItemString() は全て、タプル、リスト、または辞書から借用参照を返します。 P...ら、関数側は Py_INCREF() を呼び出して独立した所有者になります。とはいえ、この規則には二つの重要な例外: PyTuple_SetItem() と PyList_SetItem() があります。これらの関数は、渡された引数要素に対して所有権を乗っ取り (take over) ます --- たとえ失敗してもです!...る際に起きる、関係ないオブジェクトに対する Py_DECREF() の使用です。例えば: void bug ( PyObject * list ) { PyObject * item = PyList_GetItem ( list , 0 ); PyList_SetItem ( list , 1 , PyLong_FromLong ( 0L )); PyObject_Print ( item , stdout , 0 ); /* BUG! *... - https://man.mtool.work/python/3.14/extending/extending.html
- 1. Extending Python with C or C++ — Python 3.14.8 ドキュメント 7828
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 1. Extending Python with C or C++ テーマ 自動 ライト ダーク | 1. Extending Python with C or C++ ¶ It is quite easy to add n
...方はやや理解しにくいかもしれません。というのはよく使われるルーチンのいくつかが例外となっているからです: PyTuple_GetItem() 、 PyList_GetItem() 、 PyDict_GetItem() 、および PyDict_GetItemString() は全て、タプル、リスト、または辞書から借用参照を返します。 P...ら、関数側は Py_INCREF() を呼び出して独立した所有者になります。とはいえ、この規則には二つの重要な例外: PyTuple_SetItem() と PyList_SetItem() があります。これらの関数は、渡された引数要素に対して所有権を乗っ取り (take over) ます --- たとえ失敗してもです!...る際に起きる、関係ないオブジェクトに対する Py_DECREF() の使用です。例えば: void bug ( PyObject * list ) { PyObject * item = PyList_GetItem ( list , 0 ); PyList_SetItem ( list , 1 , PyLong_FromLong ( 0L )); PyObject_Print ( item , stdout , 0 ); /* BUG! *... - https://man.mtool.work/python/3.14/extending/extending.html