Results of 1 - 10 of about 194 for asyncio (0.068 sec.)
- Coroutines and tasks — Python 3.14.8 ドキュメント 8114
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Coroutines and tasks テーマ 自動 ライト ダーク | Coroutines and tasks ¶
...この節では、コルーチンと Task を利用する高レベルの asyncio の API の概略を解説します。 コルーチン ¶ Source code: Lib/asyncio/coroutines.py async/await 構文で宣言された コルーチン は...、 asyncio を使ったアプリケーションを書くのに推奨される方法です。例えば、次のコードスニペットは "hello" を出力し、そこから 1 秒待って..."world" を出力します: >>> import asyncio >>> async def main (): ... print ( 'hello' ) ... await asyncio . sleep ( 1 ) ... print ( 'world' ) >>> asyncio . run ( mai... - https://man.mtool.work/python/3.14/library/asyncio-task.html
- Coroutines and tasks — Python 3.14.8 ドキュメント 8114
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Coroutines and tasks テーマ 自動 ライト ダーク | Coroutines and tasks ¶
...この節では、コルーチンと Task を利用する高レベルの asyncio の API の概略を解説します。 コルーチン ¶ Source code: Lib/asyncio/coroutines.py async/await 構文で宣言された コルーチン は...、 asyncio を使ったアプリケーションを書くのに推奨される方法です。例えば、次のコードスニペットは "hello" を出力し、そこから 1 秒待って..."world" を出力します: >>> import asyncio >>> async def main (): ... print ( 'hello' ) ... await asyncio . sleep ( 1 ) ... print ( 'world' ) >>> asyncio . run ( mai... - https://man.mtool.work/python/3.14/library/asyncio-task.html
- 変更履歴 — Python 3.14.8 ドキュメント 7778
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...The recursion is now bounded, and exceeding the limit is reported as an unraisable exception. ライブラリ ¶ gh-156321 : Fix asyncio.shield() reporting an exception from the inner future through the loop exception handler as soon as it completes after the...364 : Make frame, coroutine and task-waiter walks iterative and bounded, avoiding potential hangs and stack overflows. Fix asyncio task inspection when awaited-by sets contain removed entries. Patch by Maurycy Pawłowski-Wieroński. Python 3.14.8 final ¶...ardless of presentation type or value, as the format string parsers already did for precisions above INT_MAX . gh-156793 : asyncio : loop.start_tls() and loop.create_connection() now validate the server_hostname argument if an ssl.SSLContext is passed w... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- asyncio and free-threaded Python — Python 3.14.8 ドキュメント 7734
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » asyncio and free-threaded Python テーマ 自動 ライト ダーク | asyncio an
...d free-threaded Python ¶ asyncio uses an event loop as a scheduler to enable highly efficient concurrency by switching between tasks to allow non-blocking...ython. However, in free-threaded Python , the GIL is disabled and Python can run true multi-threaded code. This means that asyncio can now take advantage of multiple CPU cores without the limitations imposed by the GIL. Since Python 3.14, asyncio has fi...rst-class support for free-threaded Python, and the implementation of asyncio is safe to use in a multi-threaded environment. A single event loop on one core can handle many connections concurrently,... - https://man.mtool.work/python/3.14/library/asyncio-threading.html
- asyncio and free-threaded Python — Python 3.14.8 ドキュメント 7734
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » asyncio and free-threaded Python テーマ 自動 ライト ダーク | asyncio an
...d free-threaded Python ¶ asyncio uses an event loop as a scheduler to enable highly efficient concurrency by switching between tasks to allow non-blocking...ython. However, in free-threaded Python , the GIL is disabled and Python can run true multi-threaded code. This means that asyncio can now take advantage of multiple CPU cores without the limitations imposed by the GIL. Since Python 3.14, asyncio has fi...rst-class support for free-threaded Python, and the implementation of asyncio is safe to use in a multi-threaded environment. A single event loop on one core can handle many connections concurrently,... - https://man.mtool.work/python/3.14/library/asyncio-threading.html
- asyncio での開発 — Python 3.14.8 ドキュメント 7582
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » asyncio での開発 テーマ 自動 ライト ダーク | asyncio での開発 ¶ 非同期プ
...グラミングとは異なります。 このページはよくある間違いや落とし穴を列挙し、それらを回避する方法を説明します。 デバッグモード ¶ asyncio はデフォルトで本運用モードで実行されます。いっぽう、開発を容易にするために asyncio は "デバッグモード" を持っています。 as...yncio のデバッグモードを有効化する方法はいくつかあります: PYTHONASYNCIODEBUG 環境変数の値を 1 に設定する。 Python 開発モード を使う。 asyncio.run() 実行時に debug=True を設定する。 loop.set_debu...g() を呼び出す。 デバッグモードを有効化することに加え、以下も検討してください: asyncio ロガー のログレベルを logging.DEBUG に設定します。例えばアプリケーションの起動時に以下を実行します: logging . basicConfig... - https://man.mtool.work/python/3.14/library/asyncio-dev.html
- asyncio での開発 — Python 3.14.8 ドキュメント 7582
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » asyncio での開発 テーマ 自動 ライト ダーク | asyncio での開発 ¶ 非同期プ
...グラミングとは異なります。 このページはよくある間違いや落とし穴を列挙し、それらを回避する方法を説明します。 デバッグモード ¶ asyncio はデフォルトで本運用モードで実行されます。いっぽう、開発を容易にするために asyncio は "デバッグモード" を持っています。 as...yncio のデバッグモードを有効化する方法はいくつかあります: PYTHONASYNCIODEBUG 環境変数の値を 1 に設定する。 Python 開発モード を使う。 asyncio.run() 実行時に debug=True を設定する。 loop.set_debu...g() を呼び出す。 デバッグモードを有効化することに加え、以下も検討してください: asyncio ロガー のログレベルを logging.DEBUG に設定します。例えばアプリケーションの起動時に以下を実行します: logging . basicConfig... - https://man.mtool.work/python/3.14/library/asyncio-dev.html
- 索引 — Python 3.14.8 ドキュメント 7365
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | 索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | イ | エ | オ | カ | キ
...r モジュール) __index__() (object のメソッド) (operator モジュール) __infer_variance__ (typing.TypeVar の属性) __init__() (asyncio.Future のメソッド) (asyncio.Task のメソッド) (difflib.Differ のメソッド) (difflib.HtmlDiff のメソッド) (enum.Enum のメソッ...tats() (sys モジュール) _emscripten_info (sys モジュール) _enablelegacywindowsfsencoding() (sys モジュール) _enter_task() (asyncio モジュール) _exit() (os モジュール) _Feature (__future__ のクラス) _field_defaults (collections.somenamedtuple の属性) _fi..._jit.is_available() (sys モジュール) _jit.is_enabled() (sys モジュール) _layout_ (ctypes.Structure の属性) _leave_task() (asyncio モジュール) _length_ (ctypes.Array の属性) _locale module _log (logging.LoggerAdapter の属性) _make() (collections.somenam... - https://man.mtool.work/python/3.14/genindex-all.html
- A Conceptual Overview of asyncio — Python 3.14.8 ドキュメント 7365
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » A Conceptual Overview of asyncio テーマ 自動 ライト ダーク | A Conceptual Overview of asyncio ¶ This HOWTO article seeks to help you build a sturd
...y mental model of how asyncio fundamentally works, helping you understand the how and why behind the recommended patterns. You might be curious about so...me key asyncio concepts. By the end of this article, you'll be able to comfortably answer these questions: What's happening behind the sc...enes when an object is awaited? How does asyncio differentiate between a task which doesn't need CPU time (such as a network request or file read) as opposed to a task tha... - https://man.mtool.work/python/3.14/howto/a-conceptual-overview-of-asyncio.html
- A Conceptual Overview of asyncio — Python 3.14.8 ドキュメント 7365
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » A Conceptual Overview of asyncio テーマ 自動 ライト ダーク | A Conceptual Overview of asyncio ¶ This HOWTO article seeks to help you build a sturd
...y mental model of how asyncio fundamentally works, helping you understand the how and why behind the recommended patterns. You might be curious about so...me key asyncio concepts. By the end of this article, you'll be able to comfortably answer these questions: What's happening behind the sc...enes when an object is awaited? How does asyncio differentiate between a task which doesn't need CPU time (such as a network request or file read) as opposed to a task tha... - https://man.mtool.work/python/3.14/howto/a-conceptual-overview-of-asyncio.html