Results of 1 - 10 of about 92 for across (0.030 sec.)
- asyncio and free-threaded Python — Python 3.14.8 ドキュメント 14818
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » asyncio and free-threaded Python テーマ 自動 ライト ダーク | asyncio an
...h threads is most useful here: by running an event loop per thread, the handling of different requests can run in parallel across multiple CPU cores. It is also useful when you need to run blocking or CPU-bound code from an asyncio application. 参考 Sc...n mind when using asyncio with threads: Event loop : Each thread should have its own event loop which should not be shared across threads. This ensures that the event loop can manage its own tasks and callbacks without interference from other threads....on : The synchronization primitives provided by asyncio (like asyncio.Lock and asyncio.Event ) are not designed to be used across threads. If you need to synchronize between threads, you should use the synchronization primitives from the threading modu... - https://man.mtool.work/python/3.14/library/asyncio-threading.html
- asyncio and free-threaded Python — Python 3.14.8 ドキュメント 13372
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » asyncio and free-threaded Python テーマ 自動 ライト ダーク | asyncio an
...h threads is most useful here: by running an event loop per thread, the handling of different requests can run in parallel across multiple CPU cores. It is also useful when you need to run blocking or CPU-bound code from an asyncio application. 参考 Sc...n mind when using asyncio with threads: Event loop : Each thread should have its own event loop which should not be shared across threads. This ensures that the event loop can manage its own tasks and callbacks without interference from other threads....on : The synchronization primitives provided by asyncio (like asyncio.Lock and asyncio.Event ) are not designed to be used across threads. If you need to synchronize between threads, you should use the synchronization primitives from the threading modu... - https://man.mtool.work/python/3.14/library/asyncio-threading.html
- Thread Safety Guarantees — Python 3.14.8 ドキュメント 9511
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Thread Safety Guarantees テーマ 自動 ライト ダーク | Thread Safety Guarantees ¶ This page documents thread-safety guarantees for bui
...em in lst : process ( item ) # another thread may modify lst Consider external synchronization when sharing list instances across threads. Thread safety for dict objects ¶ Creating a dictionary with the dict constructor is atomic when the argument to i...y for key , value in d . copy () . items (): process ( key ) Consider external synchronization when sharing dict instances across threads. Thread safety for set objects ¶ The len() function is lock-free and atomic . The following read operation is lock...or elem in s : process ( elem ) # another thread may modify s Consider external synchronization when sharing set instances across threads. See Python support for free threading for more information. Thread safety for bytearray objects ¶ The len() funct... - https://man.mtool.work/python/3.14/builtins/threadsafety.html
- Thread Safety Guarantees — Python 3.14.8 ドキュメント 9511
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Thread Safety Guarantees テーマ 自動 ライト ダーク | Thread Safety Guarantees ¶ This page documents thread-safety guarantees for bui
...em in lst : process ( item ) # another thread may modify lst Consider external synchronization when sharing list instances across threads. Thread safety for dict objects ¶ Creating a dictionary with the dict constructor is atomic when the argument to i...y for key , value in d . copy () . items (): process ( key ) Consider external synchronization when sharing dict instances across threads. Thread safety for set objects ¶ The len() function is lock-free and atomic . The following read operation is lock...or elem in s : process ( elem ) # another thread may modify s Consider external synchronization when sharing set instances across threads. See Python support for free threading for more information. Thread safety for bytearray objects ¶ The len() funct... - https://man.mtool.work/python/3.14/builtins/threadsafety.html
- C API Stability — Python 3.14.8 ドキュメント 8556
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...ecation period or to fix serious issues. CPython's Application Binary Interface (ABI) is forward- and backwards-compatible across a minor release (if these are compiled the same way; see プラットフォームで考慮すべき点 below). So, code compiled for Pyth...n minor versions without a deprecation period. It is marked by the PyUnstable prefix in names. Limited API , is compatible across several minor releases. When Py_LIMITED_API is defined, only this subset is exposed from Python.h . These are discussed in...Limited API). Stable ABI ¶ To enable this, Python provides a Stable ABI : a set of symbols that will remain ABI-compatible across Python 3.x versions. 注釈 The Stable ABI prevents ABI issues, like linker errors due to missing symbols or data corruption... - https://man.mtool.work/python/3.14/c-api/stable.html
- 拡張モジュールを分離する — Python 3.14.8 ドキュメント 8065
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » 拡張モジュールを分離する テーマ 自動 ライト ダーク | 拡張モジュールを分離する ¶ 概要 Traditionally, state belonging to Python extension modules wa
...ld do with less stringent restrictions, isolated modules make it easier to set clear expectations and guidelines that work across a variety of use cases. Surprising Edge Cases ¶ Note that isolated modules do create some surprising edge cases. Most nota...PyTypeObject structures defined directly in code and initialized using PyType_Ready() . Such types are necessarily shared across the process. Sharing them between module objects requires paying attention to any state they own or access. To limit the p...ion detail: the reference count. Changes to the refcount are guarded by the GIL. Thus, code that shares any Python objects across interpreters implicitly depends on CPython's current, process-wide GIL. Because they are immutable and process-global, sta... - https://man.mtool.work/python/3.14/howto/isolating-extensions.html
- 変更履歴 — Python 3.14.8 ドキュメント 8065
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...or a frame that begins before the previous one has ended, now raises pickle.UnpicklingError instead of being silently read across the boundary. This prevents the loaded data from diverging from the pickletools disassembly of the same pickle. gh-109638...LY to 0 silently has no effect. gh-154283 : On DragonFly BSD, threading.get_native_id() now returns a value that is unique across processes, matching the other platforms. gh-154258 : Fix a crash in mmap.mmap.resize() on NetBSD when growing a shared ano...nctions on functions. gh-147998 : Fixed a memory leak in interpreter helper calls so cleanup works when an operation falls across interpreter boundaries. Patch by Maurycy Pawłowski-Wieroński. gh-146455 : Fix O(N²) compile-time regression in constant fo... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- 拡張モジュールを分離する — Python 3.14.8 ドキュメント 8065
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » 拡張モジュールを分離する テーマ 自動 ライト ダーク | 拡張モジュールを分離する ¶ 概要 Traditionally, state belonging to Python extension modules wa
...ld do with less stringent restrictions, isolated modules make it easier to set clear expectations and guidelines that work across a variety of use cases. Surprising Edge Cases ¶ Note that isolated modules do create some surprising edge cases. Most nota...PyTypeObject structures defined directly in code and initialized using PyType_Ready() . Such types are necessarily shared across the process. Sharing them between module objects requires paying attention to any state they own or access. To limit the p...ion detail: the reference count. Changes to the refcount are guarded by the GIL. Thus, code that shares any Python objects across interpreters implicitly depends on CPython's current, process-wide GIL. Because they are immutable and process-global, sta... - https://man.mtool.work/python/3.14/howto/isolating-extensions.html
- C API Stability — Python 3.14.8 ドキュメント 7827
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...ecation period or to fix serious issues. CPython's Application Binary Interface (ABI) is forward- and backwards-compatible across a minor release (if these are compiled the same way; see プラットフォームで考慮すべき点 below). So, code compiled for Pyth...n minor versions without a deprecation period. It is marked by the PyUnstable prefix in names. Limited API , is compatible across several minor releases. When Py_LIMITED_API is defined, only this subset is exposed from Python.h . These are discussed in...Limited API). Stable ABI ¶ To enable this, Python provides a Stable ABI : a set of symbols that will remain ABI-compatible across Python 3.x versions. 注釈 The Stable ABI prevents ABI issues, like linker errors due to missing symbols or data corruption... - https://man.mtool.work/python/3.14/c-api/stable.html
- multiprocessing.shared_memory --- プロセス間で直接アクセス可能な共有メモリ — Py... 7588
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » multiprocessing.shared_memory --- プロセス間で直接アクセス可能な共有メモリ テーマ 自動 ライト ダーク | multiprocessing.s
...e and a different process can attach to that same shared memory block using that same name. As a resource for sharing data across processes, shared memory blocks may outlive the original process that created them. When one process no longer needs acces...ey ] ] ) ¶ A subclass of multiprocessing.managers.BaseManager which can be used for the management of shared memory blocks across processes. A call to start() on a SharedMemoryManager instance causes a new process to be started. This new process's sole... - https://man.mtool.work/python/3.14/library/multiprocessing.shared_memory.html