per page, with , order by , clip by
Results of 1 - 10 of about 45 for Runner (0.035 sec.)
Runners — Python 3.14.8 ドキュメント 14592
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Runners テーマ 自動 ライト ダーク | Runners ¶ ソースコード: Lib/asyncio ... /runners.py この節では、asyncio のコードを実行するための高レベルの asyncio のプリミティブの概略を解説します。 これらは イベントルー ... recated and will be removed in Python 3.16; from there on, an explicit loop_factory is needed to configure the event loop. Runner context manager ¶ class asyncio. Runner ( * , debug = None , loop_factory = None ) ¶ 同じコンテキスト上での 複数 の非同期関 ... nt loop with asyncio.set_event_loop() if loop_factory is None . Basically, asyncio.run() example can be rewritten with the runner usage: async def main (): await asyncio . sleep ( 1 ) print ( 'hello' ) with asyncio . Runner () as runner : runner . run ...
https://man.mtool.work/python/3.14/library/asyncio-runner.html
Runners — Python 3.14.8 ドキュメント 14592
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Runners テーマ 自動 ライト ダーク | Runners ¶ ソースコード: Lib/asyncio ... /runners.py この節では、asyncio のコードを実行するための高レベルの asyncio のプリミティブの概略を解説します。 これらは イベントルー ... recated and will be removed in Python 3.16; from there on, an explicit loop_factory is needed to configure the event loop. Runner context manager ¶ class asyncio. Runner ( * , debug = None , loop_factory = None ) ¶ 同じコンテキスト上での 複数 の非同期関 ... nt loop with asyncio.set_event_loop() if loop_factory is None . Basically, asyncio.run() example can be rewritten with the runner usage: async def main (): await asyncio . sleep ( 1 ) print ( 'hello' ) with asyncio . Runner () as runner : runner . run ...
https://man.mtool.work/python/3.14/library/asyncio-runner.html
asyncio での開発 — Python 3.14.8 ドキュメント 8191
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » asyncio での開発 テーマ 自動 ライト ダーク | asyncio での開発 ¶ 非同期プ ... えてみてください。: import asyncio async def agenfn (): try : yield 10 finally : await asyncio . sleep ( 0 ) with asyncio . Runner () as runner : agen = agenfn () print ( runner . run ( anext ( agen ))) del agen 出力: 10 Exception ignored while closing ... ent call last ): File "test.py" , line 38 , in < module > asyncio . run ( amain ()) ~~~~~~~~~~~^^^^^^^^^ File "Lib/asyncio/runners.py" , line 204 , in run return runner . run ( main ) ~~~~~~~~~~^^^^^^ File "Lib/asyncio/runners.py" , line 127 , in run r ...
https://man.mtool.work/python/3.14/library/asyncio-dev.html
asyncio での開発 — Python 3.14.8 ドキュメント 8191
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » asyncio での開発 テーマ 自動 ライト ダーク | asyncio での開発 ¶ 非同期プ ... えてみてください。: import asyncio async def agenfn (): try : yield 10 finally : await asyncio . sleep ( 0 ) with asyncio . Runner () as runner : agen = agenfn () print ( runner . run ( anext ( agen ))) del agen 出力: 10 Exception ignored while closing ... ent call last ): File "test.py" , line 38 , in < module > asyncio . run ( amain ()) ~~~~~~~~~~~^^^^^^^^^ File "Lib/asyncio/runners.py" , line 204 , in run return runner . run ( main ) ~~~~~~~~~~^^^^^^ File "Lib/asyncio/runners.py" , line 127 , in run r ...
https://man.mtool.work/python/3.14/library/asyncio-dev.html
unittest --- ユニットテストフレームワーク — Python 3.14.8 ドキュメント 8023
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » unittest --- ユニットテストフレームワーク テーマ 自動 ライト ダーク | unittest --- ユニットテストフレームワーク ¶ ソー ... テストケースとテストスイートの集まりで、同時に実行しなければならないテストをまとめる場合に使用します。 テストランナー (test runner) テストランナー ( test runner ) はテストの実行を管理し結果を提供する要素です。ランナーはグラフィカルインターフェースやテキ ... efault_widget_size' )) suite . addTest ( WidgetTestCase ( 'test_widget_resize' )) return suite if __name__ == '__main__' : runner = unittest . TextTestRunner () runner . run ( suite ()) テストケースやテストコードの定義を ( widget.py のような) テスト対象 ... lass, with specific tests being implemented by concrete subclasses. This class implements the interface needed by the test runner to allow it to drive the tests, and methods that the test code can use to check for and report various kinds of failure. T ...
https://man.mtool.work/python/3.14/library/unittest.html
unittest --- ユニットテストフレームワーク — Python 3.14.8 ドキュメント 8023
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » unittest --- ユニットテストフレームワーク テーマ 自動 ライト ダーク | unittest --- ユニットテストフレームワーク ¶ ソー ... テストケースとテストスイートの集まりで、同時に実行しなければならないテストをまとめる場合に使用します。 テストランナー (test runner) テストランナー ( test runner ) はテストの実行を管理し結果を提供する要素です。ランナーはグラフィカルインターフェースやテキ ... efault_widget_size' )) suite . addTest ( WidgetTestCase ( 'test_widget_resize' )) return suite if __name__ == '__main__' : runner = unittest . TextTestRunner () runner . run ( suite ()) テストケースやテストコードの定義を ( widget.py のような) テスト対象 ... lass, with specific tests being implemented by concrete subclasses. This class implements the interface needed by the test runner to allow it to drive the tests, and methods that the test code can use to check for and report various kinds of failure. T ...
https://man.mtool.work/python/3.14/library/unittest.html
What's new in Python 3.14 — Python 3.14.8 ドキュメント 7778
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's new in Python 3.14 テーマ 自動 ライト ダーク | What's new in Python 3.14 ¶ エディタ : Adam Turner と Hugo van Kemenade この記事では ... asyncio . run ( main ()) If you need to run something in an event loop, then run some blocking code around it, use asyncio.Runner . Before: async def operation_one (): ... def blocking_code (): ... async def operation_two (): ... loop = asyncio . get_e ... . close () After: async def operation_one (): ... def blocking_code (): ... async def operation_two (): ... with asyncio . Runner () as runner : runner . run ( operation_one ()) blocking_code () runner . run ( operation_two ()) email ¶ Remove email.uti ... rEventLoopPolicy asyncio.get_event_loop_policy() asyncio.set_event_loop_policy() Users should use asyncio.run() or asyncio.Runner with the loop_factory argument to use the desired event loop implementation. For example, to use asyncio.SelectorEventLoop ...
https://man.mtool.work/python/3.14/whatsnew/3.14.html
What's new in Python 3.14 — Python 3.14.8 ドキュメント 7778
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's new in Python 3.14 テーマ 自動 ライト ダーク | What's new in Python 3.14 ¶ エディタ : Adam Turner と Hugo van Kemenade この記事では ... asyncio . run ( main ()) If you need to run something in an event loop, then run some blocking code around it, use asyncio.Runner . Before: async def operation_one (): ... def blocking_code (): ... async def operation_two (): ... loop = asyncio . get_e ... . close () After: async def operation_one (): ... def blocking_code (): ... async def operation_two (): ... with asyncio . Runner () as runner : runner . run ( operation_one ()) blocking_code () runner . run ( operation_two ()) email ¶ Remove email.uti ... rEventLoopPolicy asyncio.get_event_loop_policy() asyncio.set_event_loop_policy() Users should use asyncio.run() or asyncio.Runner with the loop_factory argument to use the desired event loop implementation. For example, to use asyncio.SelectorEventLoop ...
https://man.mtool.work/python/3.14/whatsnew/3.14.html
Pending removal in Python 3.16 — Python 3.14.8 ドキュメント 7610
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » Pending removal in Python 3.16 テーマ 自動 ライト ダーク | Pending removal in Python 3.16 ¶ The import system: Setting __loader__ on a module while failing to set __spec__.loa ... rEventLoopPolicy asyncio.get_event_loop_policy() asyncio.set_event_loop_policy() Users should use asyncio.run() or asyncio.Runner with loop_factory to use the desired event loop implementation. For example, to use asyncio.SelectorEventLoop on Windows: ...
https://man.mtool.work/python/3.14/deprecations/pending-removal-in-3.16.html
変更履歴 — Python 3.14.8 ドキュメント 7610
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac ... st the C stack if the stack limit is very large (e.g. on DragonFly BSD or with ulimit -s unlimited ). gh-154167 : The test runner (regrtest) now restores the default SIGINT handler if it was inherited as ignored, so the test suite no longer hangs when ... indows ¶ gh-138896 : Fix error installing C runtime on non-updated Windows machines Tools/Demos ¶ gh-137873 : The iOS test runner has been simplified, resolving some issues that have been observed using the runner in GitHub Actions and Azure Pipelines ... references. gh-129911 : Fix the keyword entry in the help output of pygettext . テスト ¶ gh-129200 : Multiple iOS testbed runners can now be started at the same time without introducing an ambiguity over simulator ownership. gh-130292 : The iOS testbe ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
PREV 1 2 3 4 5 NEXT