per page, with , order by , clip by
Results of 1 - 10 of about 51 for concurrently (0.011 sec.)
C API Extension Support for Free Threading — Python 3.14.8 ドキュメント 12244
ナビゲーション 索引 モジュール | 次へ | 前へ | 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 ... tions. Struct Fields : Accessing fields in Python C API 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 ... t() do not perform 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 concurrently. See the section on borrowed references for more information. Container Thread Safety ¶ Containers like PyListObject , PyD ...
https://man.mtool.work/python/3.14/howto/free-threading-extensions.html
C API Extension Support for Free Threading — Python 3.14.8 ドキュメント 12244
ナビゲーション 索引 モジュール | 次へ | 前へ | 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 ... tions. Struct Fields : Accessing fields in Python C API 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 ... t() do not perform 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 concurrently. See the section on borrowed references for more information. Container Thread Safety ¶ Containers like PyListObject , PyD ...
https://man.mtool.work/python/3.14/howto/free-threading-extensions.html
変更履歴 — Python 3.14.8 ドキュメント 11045
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac ... the whole context it iterated over. gh-154937 : Fix a data race on thread handle identifiers when _thread._shutdown() runs concurrently with the startup of non-daemon threads in the free-threaded build . gh-154902 : Fix a crash when __conditional_annotations ... OWrapper.tell() when the decoder's getstate method triggers a reentrant seek, or when another thread seeks the same stream concurrently. Patch by tonghuaroot. gh-152907 : Restore cooked-mode terminal output flags around PyOS_InputHook callbacks in the new RE ... now raises a proper MemoryError . gh-151644 : Fix a data race in sys.setdlopenflags() and sys.getdlopenflags() when called concurrently in the free-threaded build. The underlying _PyImport_GetDLOpenFlags and _PyImport_SetDLOpenFlags functions now use atomic ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
Dictionary Objects — Python 3.14.8 ドキュメント 10446
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Dictionary Objects テーマ 自動 ライト ダーク | Dictionary Objects ¶ type PyDictObject ... In the free-threaded build , the returned borrowed reference may become invalid if another thread modifies the dictionary concurrently. Prefer PyDict_GetItemRef() , which returns a strong reference . バージョン 3.10 で変更: Calling this API without an attac ... In the free-threaded build , the returned borrowed reference may become invalid if another thread modifies the dictionary concurrently. Prefer PyDict_GetItemRef() , which returns a strong reference . PyObject * PyDict_GetItemString ( PyObject * p , const ch ... In the free-threaded build , the returned borrowed reference may become invalid if another thread modifies the dictionary concurrently. Prefer PyDict_GetItemStringRef() , which returns a strong reference . int PyDict_GetItemStringRef ( PyObject * p , const ...
https://man.mtool.work/python/3.14/c-api/dict.html
Dictionary Objects — Python 3.14.8 ドキュメント 10446
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Dictionary Objects テーマ 自動 ライト ダーク | Dictionary Objects ¶ type PyDictObject ... In the free-threaded build , the returned borrowed reference may become invalid if another thread modifies the dictionary concurrently. Prefer PyDict_GetItemRef() , which returns a strong reference . バージョン 3.10 で変更: Calling this API without an attac ... In the free-threaded build , the returned borrowed reference may become invalid if another thread modifies the dictionary concurrently. Prefer PyDict_GetItemRef() , which returns a strong reference . PyObject * PyDict_GetItemString ( PyObject * p , const ch ... In the free-threaded build , the returned borrowed reference may become invalid if another thread modifies the dictionary concurrently. Prefer PyDict_GetItemStringRef() , which returns a strong reference . int PyDict_GetItemStringRef ( PyObject * p , const ...
https://man.mtool.work/python/3.14/c-api/dict.html
Coroutines and tasks — Python 3.14.8 ドキュメント 9052
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Coroutines and tasks テーマ 自動 ライト ダーク | Coroutines and tasks ¶ ... ようにスケジュールされます: import asyncio async def nested (): return 42 async def main (): # Schedule nested() to run soon concurrently # with "main()". task = asyncio . create_task ( nested ()) # "task" can now be used to cancel "nested()", or # can simply ... ン 3.10 で変更: loop パラメータが削除されました。 バージョン 3.13 で変更: Raises ValueError if delay is nan . Running tasks concurrently ¶ awaitable asyncio. gather ( * aws , return_exceptions = False ) ¶ aws シーケンスにある awaitable オブジェクト を 並行 実 ... ルが、他の Task あるいは Future のキャンセルを引き起こすのを避けるためです。 注釈 A new alternative to create and run tasks concurrently and wait for their completion is asyncio.TaskGroup . TaskGroup provides stronger safety guarantees than gather for schedul ...
https://man.mtool.work/python/3.14/library/asyncio-task.html
Coroutines and tasks — Python 3.14.8 ドキュメント 9052
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Coroutines and tasks テーマ 自動 ライト ダーク | Coroutines and tasks ¶ ... ようにスケジュールされます: import asyncio async def nested (): return 42 async def main (): # Schedule nested() to run soon concurrently # with "main()". task = asyncio . create_task ( nested ()) # "task" can now be used to cancel "nested()", or # can simply ... ン 3.10 で変更: loop パラメータが削除されました。 バージョン 3.13 で変更: Raises ValueError if delay is nan . Running tasks concurrently ¶ awaitable asyncio. gather ( * aws , return_exceptions = False ) ¶ aws シーケンスにある awaitable オブジェクト を 並行 実 ... ルが、他の Task あるいは Future のキャンセルを引き起こすのを避けるためです。 注釈 A new alternative to create and run tasks concurrently and wait for their completion is asyncio.TaskGroup . TaskGroup provides stronger safety guarantees than gather for schedul ...
https://man.mtool.work/python/3.14/library/asyncio-task.html
リストオブジェクト — Python 3.14.8 ドキュメント 8857
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » リストオブジェクト テーマ 自動 ライト ダーク | リストオブジェクト ¶ type PyListObject ... . 注釈 In the free-threaded build , the returned borrowed reference may become invalid if another thread modifies the list concurrently. Prefer PyList_GetItemRef() , which returns a strong reference . PyObject * PyList_GET_ITEM ( PyObject * list , Py_ssize_t ... 。 注釈 In the free-threaded build , the returned borrowed reference may become invalid if another thread modifies the list concurrently. Prefer PyList_GetItemRef() , which returns a strong reference . int PyList_SetItem ( PyObject * list , Py_ssize_t index , ... s underlying dict) are locked for the duration of the operation. For other iterables, only list is locked; iterable may be concurrently modified by another thread. int PyList_Clear ( PyObject * list ) ¶ Thread safety: Atomic . Remove all items from list . Th ...
https://man.mtool.work/python/3.14/c-api/list.html
リストオブジェクト — Python 3.14.8 ドキュメント 8857
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » リストオブジェクト テーマ 自動 ライト ダーク | リストオブジェクト ¶ type PyListObject ... . 注釈 In the free-threaded build , the returned borrowed reference may become invalid if another thread modifies the list concurrently. Prefer PyList_GetItemRef() , which returns a strong reference . PyObject * PyList_GET_ITEM ( PyObject * list , Py_ssize_t ... 。 注釈 In the free-threaded build , the returned borrowed reference may become invalid if another thread modifies the list concurrently. Prefer PyList_GetItemRef() , which returns a strong reference . int PyList_SetItem ( PyObject * list , Py_ssize_t index , ... s underlying dict) are locked for the duration of the operation. For other iterables, only list is locked; iterable may be concurrently modified by another thread. int PyList_Clear ( PyObject * list ) ¶ Thread safety: Atomic . Remove all items from list . Th ...
https://man.mtool.work/python/3.14/c-api/list.html
asyncio and free-threaded Python — Python 3.14.8 ドキュメント 8452
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » asyncio and free-threaded Python テーマ 自動 ライト ダーク | asyncio an ... ion of asyncio is safe to use in a multi-threaded environment. A single event loop on one core can handle many connections concurrently, but the Python code that runs to handle each one still executes serially. Once requests involve a non-trivial amount of p ... In this example, each thread creates its own event loop with asyncio.run() and runs a coroutine on it. The threads execute concurrently, and in a free-threaded build they can run on separate CPU cores in parallel. Producer/consumer across threads ¶ When a re ...
https://man.mtool.work/python/3.14/library/asyncio-threading.html
PREV 1 2 3 4 5 6 NEXT