Results of 1 - 10 of about 99 for coroutine (0.009 sec.)
- A Conceptual Overview of asyncio — Python 3.14.8 ドキュメント 14091
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...tutorial series on asyncio created by Python core team member, Łukasz Langa. 500 Lines or Less: A Web Crawler With asyncio Coroutines by A. Jesse Jiryu Davis and Guido van Rossum. A conceptual overview part 1: the high-level ¶ In part 1, we'll cover the m...ain, high-level building blocks of asyncio : the event loop, coroutine functions, coroutine objects, tasks, and await . Event Loop ¶ Everything in asyncio happens relative to the event loop. It...# its collection of jobs. event_loop = asyncio . new_event_loop () event_loop . run_forever () Asynchronous functions and coroutines ¶ This is a basic, boring Python function: def hello_printer (): print ( "Hi, I am a lowly, simple printer, though I have... - https://man.mtool.work/python/3.14/howto/a-conceptual-overview-of-asyncio.html
- A Conceptual Overview of asyncio — Python 3.14.8 ドキュメント 14091
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...tutorial series on asyncio created by Python core team member, Łukasz Langa. 500 Lines or Less: A Web Crawler With asyncio Coroutines by A. Jesse Jiryu Davis and Guido van Rossum. A conceptual overview part 1: the high-level ¶ In part 1, we'll cover the m...ain, high-level building blocks of asyncio : the event loop, coroutine functions, coroutine objects, tasks, and await . Event Loop ¶ Everything in asyncio happens relative to the event loop. It...# its collection of jobs. event_loop = asyncio . new_event_loop () event_loop . run_forever () Asynchronous functions and coroutines ¶ This is a basic, boring Python function: def hello_printer (): print ( "Hi, I am a lowly, simple printer, though I have... - https://man.mtool.work/python/3.14/howto/a-conceptual-overview-of-asyncio.html
- Coroutines and tasks — Python 3.14.8 ドキュメント 9750
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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 を使ったアプリケーションを書くのに推奨される方法です。例えば、次の...rld 単にコルーチンを呼び出しただけでは、コルーチンの実行スケジュールは予約されていないことに注意してください: >>> main () <coroutine object main at 0x1053bb7c8> 実際にコルーチンを実行するために、asyncio は以下のメカニズムを提供しています: 最上位のエントリ...できます: import asyncio async def nested (): return 42 async def main (): # Nothing happens if we just call "nested()". # A coroutine object is created but not awaited, # so it *won't run at all*. nested () # will raise a "RuntimeWarning". # Let's do it di... - https://man.mtool.work/python/3.14/library/asyncio-task.html
- Coroutines and tasks — Python 3.14.8 ドキュメント 9750
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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 を使ったアプリケーションを書くのに推奨される方法です。例えば、次の...rld 単にコルーチンを呼び出しただけでは、コルーチンの実行スケジュールは予約されていないことに注意してください: >>> main () <coroutine object main at 0x1053bb7c8> 実際にコルーチンを実行するために、asyncio は以下のメカニズムを提供しています: 最上位のエントリ...できます: import asyncio async def nested (): return 42 async def main (): # Nothing happens if we just call "nested()". # A coroutine object is created but not awaited, # so it *won't run at all*. nested () # will raise a "RuntimeWarning". # Let's do it di... - https://man.mtool.work/python/3.14/library/asyncio-task.html
- Extending — Python 3.14.8 ドキュメント 8108
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Extending テーマ 自動 ライト ダーク | Extending ¶ The main direction fo
...oop , task ) ¶ Switch the current task to the task argument. Call the function just before executing a portion of embedded coroutine ( coroutine.send() or coroutine.throw() ). asyncio. _leave_task ( loop , task ) ¶ Switch the current task back from task t...o None . Call the function just after coroutine.send() or coroutine.throw() execution. 関連キーワード task asyncio loop create None coroutine event Task instance function... - https://man.mtool.work/python/3.14/library/asyncio-extending.html
- Extending — Python 3.14.8 ドキュメント 8108
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Extending テーマ 自動 ライト ダーク | Extending ¶ The main direction fo
...oop , task ) ¶ Switch the current task to the task argument. Call the function just before executing a portion of embedded coroutine ( coroutine.send() or coroutine.throw() ). asyncio. _leave_task ( loop , task ) ¶ Switch the current task back from task t...o None . Call the function just after coroutine.send() or coroutine.throw() execution. 関連キーワード task asyncio loop create None coroutine event Task instance free int... - https://man.mtool.work/python/3.14/library/asyncio-extending.html
- inspect --- 活動中のオブジェクトを調査する — Python 3.14.8 ドキュメント 8003
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » inspect --- 活動中のオブジェクトを調査する テーマ 自動 ライト ダーク | inspect --- 活動中のオブジェクト
...現在の Python ソースコードの行番号 f_locals このフレームで参照しているローカル名前空間 f_generator returns the generator or coroutine object that owns this frame, or None if the frame is of a regular function f_trace このフレームのトレース関数、または None..._await 待機されているオブジェクト、または None cr_frame フレーム cr_running コルーチンが実行中かどうか cr_suspended is the coroutine suspended? cr_code コード cr_origin None またはコルーチンが生成された場所。 sys.set_coroutine_origin_tracking_depth() を参...た。 バージョン 3.11 で変更: Add gi_suspended attribute to generators. バージョン 3.11 で変更: Add cr_suspended attribute to coroutines. バージョン 3.12 で変更: Add ag_suspended attribute to async generators. バージョン 3.14 で変更: Add f_generator attribut... - https://man.mtool.work/python/3.14/library/inspect.html
- inspect --- 活動中のオブジェクトを調査する — Python 3.14.8 ドキュメント 7899
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » inspect --- 活動中のオブジェクトを調査する テーマ 自動 ライト ダーク | inspect --- 活動中のオブジェクト
...現在の Python ソースコードの行番号 f_locals このフレームで参照しているローカル名前空間 f_generator returns the generator or coroutine object that owns this frame, or None if the frame is of a regular function f_trace このフレームのトレース関数、または None..._await 待機されているオブジェクト、または None cr_frame フレーム cr_running コルーチンが実行中かどうか cr_suspended is the coroutine suspended? cr_code コード cr_origin None またはコルーチンが生成された場所。 sys.set_coroutine_origin_tracking_depth() を参...た。 バージョン 3.11 で変更: Add gi_suspended attribute to generators. バージョン 3.11 で変更: Add cr_suspended attribute to coroutines. バージョン 3.12 で変更: Add ag_suspended attribute to async generators. バージョン 3.14 で変更: Add f_generator attribut... - https://man.mtool.work/python/3.14/library/inspect.html
- collections.abc --- コンテナの抽象基底クラス — Python 3.14.8 ドキュメント 7443
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » collections.abc --- コンテナの抽象基底クラス テーマ 自動 ライト ダーク | collections.abc --- コンテナの抽象基底クラス ¶
...ngView , Set __contains__ , __iter__ ValuesView MappingView , Collection __contains__ , __iter__ Awaitable [ 1 ] __await__ Coroutine [ 1 ] Awaitable send , throw close AsyncIterable [ 1 ] __aiter__ AsyncIterator [ 1 ] AsyncIterable __anext__ __aiter__ Asy...コルを実装する、 ジェネレータ クラスの ABC です。 Generator を型アノテーションで使う方法の詳細は、 Annotating generators and coroutines を参照してください。 Added in version 3.5. class collections.abc. Sequence ¶ class collections.abc. MutableSequence ¶ cla...await で使用できる awaitable オブジェクトの ABC です。カスタムの実装は、 __await__() メソッドを提供しなければなりません。 Coroutine ABC の Coroutine オブジェクトとインスタンスは、すべてこの ABC のインスタンスです。 注釈 In CPython, generator-based corout... - https://man.mtool.work/python/3.14/library/collections.abc.html
- collections.abc --- コンテナの抽象基底クラス — Python 3.14.8 ドキュメント 7443
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » collections.abc --- コンテナの抽象基底クラス テーマ 自動 ライト ダーク | collections.abc --- コンテナの抽象基底クラス ¶
...ngView , Set __contains__ , __iter__ ValuesView MappingView , Collection __contains__ , __iter__ Awaitable [ 1 ] __await__ Coroutine [ 1 ] Awaitable send , throw close AsyncIterable [ 1 ] __aiter__ AsyncIterator [ 1 ] AsyncIterable __anext__ __aiter__ Asy...コルを実装する、 ジェネレータ クラスの ABC です。 Generator を型アノテーションで使う方法の詳細は、 Annotating generators and coroutines を参照してください。 Added in version 3.5. class collections.abc. Sequence ¶ class collections.abc. MutableSequence ¶ cla...await で使用できる awaitable オブジェクトの ABC です。カスタムの実装は、 __await__() メソッドを提供しなければなりません。 Coroutine ABC の Coroutine オブジェクトとインスタンスは、すべてこの ABC のインスタンスです。 注釈 In CPython, generator-based corout... - https://man.mtool.work/python/3.14/library/collections.abc.html