Results of 1 - 10 of about 60 for finished (0.008 sec.)
- Coroutines and tasks — Python 3.14.8 ドキュメント 14571
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Coroutines and tasks テーマ 自動 ライト ダーク | Coroutines and tasks ¶
..."started at { time . strftime ( ' %X ' ) } " ) await say_after ( 1 , 'hello' ) await say_after ( 2 , 'world' ) print ( f "finished at { time . strftime ( ' %X ' ) } " ) asyncio . run ( main ()) 予想される出力: started at 17 : 13 : 52 hello world finishe...' %X ' ) } " ) # Wait until both tasks are completed (should take # around 2 seconds.) await task1 await task2 print ( f "finished at { time . strftime ( ' %X ' ) } " ) 予想される出力が、スニペットの実行が前回よりも 1 秒早いことを示していることに注意して...ください: started at 17 : 14 : 32 hello world finished at 17 : 14 : 34 The asyncio.TaskGroup class provides a more modern alternative to create_task() . Using this API, the last... - https://man.mtool.work/python/3.14/library/asyncio-task.html
- Coroutines and tasks — Python 3.14.8 ドキュメント 14004
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Coroutines and tasks テーマ 自動 ライト ダーク | Coroutines and tasks ¶
..."started at { time . strftime ( ' %X ' ) } " ) await say_after ( 1 , 'hello' ) await say_after ( 2 , 'world' ) print ( f "finished at { time . strftime ( ' %X ' ) } " ) asyncio . run ( main ()) 予想される出力: started at 17 : 13 : 52 hello world finishe...' %X ' ) } " ) # Wait until both tasks are completed (should take # around 2 seconds.) await task1 await task2 print ( f "finished at { time . strftime ( ' %X ' ) } " ) 予想される出力が、スニペットの実行が前回よりも 1 秒早いことを示していることに注意して...ください: started at 17 : 14 : 32 hello world finished at 17 : 14 : 34 The asyncio.TaskGroup class provides a more modern alternative to create_task() . Using this API, the last... - https://man.mtool.work/python/3.14/library/asyncio-task.html
- asyncio での開発 — Python 3.14.8 ドキュメント 9016
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » asyncio での開発 テーマ 自動 ライト ダーク | asyncio での開発 ¶ 非同期プ
...main (): asyncio . create_task ( bug ()) asyncio . run ( main ()) 出力: Task exception was never retrieved future : < Task finished coro =< bug () done , defined at test . py : 3 > exception = Exception ( 'not consumed' ) > Traceback ( most recent call l...てください: asyncio . run ( main (), debug = True ) デバッグモードの出力: Task exception was never retrieved future : < Task finished coro =< bug () done , defined at test . py : 3 > exception = Exception ( 'not consumed' ) created at asyncio / tasks . py...main ()) For this example, we get the following output: unhandled exception during asyncio . run () shutdown task : < Task finished name = 'Task-3' coro =<< async_generator_athrow without __name__ > () > exception = AssertionError () > Traceback ( most r... - https://man.mtool.work/python/3.14/library/asyncio-dev.html
- asyncio での開発 — Python 3.14.8 ドキュメント 9016
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » asyncio での開発 テーマ 自動 ライト ダーク | asyncio での開発 ¶ 非同期プ
...main (): asyncio . create_task ( bug ()) asyncio . run ( main ()) 出力: Task exception was never retrieved future : < Task finished coro =< bug () done , defined at test . py : 3 > exception = Exception ( 'not consumed' ) > Traceback ( most recent call l...てください: asyncio . run ( main (), debug = True ) デバッグモードの出力: Task exception was never retrieved future : < Task finished coro =< bug () done , defined at test . py : 3 > exception = Exception ( 'not consumed' ) created at asyncio / tasks . py...main ()) For this example, we get the following output: unhandled exception during asyncio . run () shutdown task : < Task finished name = 'Task-3' coro =<< async_generator_athrow without __name__ > () > exception = AssertionError () > Traceback ( most r... - https://man.mtool.work/python/3.14/library/asyncio-dev.html
- concurrent.futures --- 並列タスク実行 — Python 3.14.8 ドキュメント 8449
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » concurrent.futures --- 並列タスク実行 テーマ 自動 ライト ダーク | concurrent.futures --- 並列タスク実行 ¶ Added in versi
...トを除いて直接生成すべきではありません。 cancel ( ) ¶ Attempt to cancel the call. If the call is currently being executed or finished running and cannot be cancelled then the method will return False , otherwise the call will be cancelled and the method wi...l be returned only once. Returns a named 2-tuple of sets. The first set, named done , contains the futures that completed (finished or cancelled futures) before the wait completed. The second set, named not_done , contains the futures that did not comple...the Future instances (possibly created by different Executor instances) given by fs that yields futures as they complete (finished or cancelled futures). Any futures given by fs that are duplicated will be returned once. Any futures that completed befor... - https://man.mtool.work/python/3.14/library/concurrent.futures.html
- concurrent.futures --- 並列タスク実行 — Python 3.14.8 ドキュメント 8449
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » concurrent.futures --- 並列タスク実行 テーマ 自動 ライト ダーク | concurrent.futures --- 並列タスク実行 ¶ Added in versi
...トを除いて直接生成すべきではありません。 cancel ( ) ¶ Attempt to cancel the call. If the call is currently being executed or finished running and cannot be cancelled then the method will return False , otherwise the call will be cancelled and the method wi...l be returned only once. Returns a named 2-tuple of sets. The first set, named done , contains the futures that completed (finished or cancelled futures) before the wait completed. The second set, named not_done , contains the futures that did not comple...the Future instances (possibly created by different Executor instances) given by fs that yields futures as they complete (finished or cancelled futures). Any futures given by fs that are duplicated will be returned once. Any futures that completed befor... - https://man.mtool.work/python/3.14/library/concurrent.futures.html
- A Conceptual Overview of asyncio — Python 3.14.8 ドキュメント 7896
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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 : 21 coroutine . send ( 42 ) 22 except StopIteration as e : 23 returned_value = e . value 24 print ( f "Coroutine main() finished and provided value: { returned_value } ." ) yield , as usual, pauses execution and returns control to the caller. In the e...and sending in value: 42. Rock.__await__ resuming with value: 42. Coroutine received value: 42 from rock. Coroutine main() finished and provided value: 23. It's worth pausing for a moment here and making sure you followed the various ways that control fl... - https://man.mtool.work/python/3.14/howto/a-conceptual-overview-of-asyncio.html
- A Conceptual Overview of asyncio — Python 3.14.8 ドキュメント 7896
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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 : 21 coroutine . send ( 42 ) 22 except StopIteration as e : 23 returned_value = e . value 24 print ( f "Coroutine main() finished and provided value: { returned_value } ." ) yield , as usual, pauses execution and returns control to the caller. In the e...and sending in value: 42. Rock.__await__ resuming with value: 42. Coroutine received value: 42 from rock. Coroutine main() finished and provided value: 23. It's worth pausing for a moment here and making sure you followed the various ways that control fl... - https://man.mtool.work/python/3.14/howto/a-conceptual-overview-of-asyncio.html
- Command-line introspection tools — Python 3.14.8 ドキュメント 7620
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Command-line introspection tools テーマ 自動 ライト ダーク | Command-li
...ts process ID: example.py ¶ import asyncio import os async def play ( track ): await asyncio . sleep ( 3600 ) print ( f "? Finished: { track } " ) async def album ( name , tracks ): async with asyncio . TaskGroup () as tg : for track in tracks : tg . cre... - https://man.mtool.work/python/3.14/library/asyncio-tools.html
- socketserver --- ネットワークサーバーのフレームワーク — Python 3.14.8 ドキュメ... 7620
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » socketserver --- ネットワークサーバーのフレームワーク テーマ 自動 ライト ダーク | socketserver
...o handle requests at a time for ForkingMixIn . If the limit is reached, new requests will wait until one child process has finished. daemon_threads ¶ For ThreadingMixIn use daemonic threads by setting ThreadingMixIn.daemon_threads to True to not wait unt...r fork() (or where these are too expensive or inappropriate for the service) is to maintain an explicit table of partially finished requests and to use selectors to decide which request to work on next (or whether to handle a new incoming request). This... - https://man.mtool.work/python/3.14/library/socketserver.html