per page, with , order by , clip by
Results of 1 - 10 of about 95 for shutdown (0.031 sec.)
ストリーム — Python 3.14.8 ドキュメント 10927
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » ストリーム テーマ 自動 ライト ダーク | ストリーム ¶ ソースコード: Lib/a ... 0 , proto = 0 , flags = 0 , sock = None , local_addr = None , server_hostname = None , ssl_handshake_timeout = None , ssl_shutdown_timeout = None , happy_eyeballs_delay = None , interleave = None ) ¶ ネットワークコネクションを確立し、 (reader, writer) の ... lay と interleave が追加されました。 バージョン 3.10 で変更: loop パラメータが削除されました。 バージョン 3.11 で変更: ssl_shutdown_timeout パラメータが追加されました。 async asyncio. start_server ( client_connected_cb , host = None , port = None , * , l ... log = 100 , ssl = None , reuse_address = None , reuse_port = None , keep_alive = None , ssl_handshake_timeout = None , ssl_shutdown_timeout = None , start_serving = True ) ¶ ソケットサーバーを起動します。 client_connected_cb コールバックは新しいクライアン ...
https://man.mtool.work/python/3.14/library/asyncio-stream.html
queue --- 同期キュークラス — Python 3.14.8 ドキュメント 10927
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » queue --- 同期キュークラス テーマ 自動 ライト ダーク | queue --- 同期キュークラス ¶ ソースコード: Lib/queue.py The queue ... ueue オブジェクトで、非ブロックメソッド put() (または put_nowait() ) が呼ばれたとき、送出される例外です。 exception queue. ShutDown ¶ Exception raised when put() or get() is called on a Queue object which has been shut down. Added in version 3.13. キュー ... できるならば、キューにアイテムを置きます。 できないならば、例外 Full を送出します (この場合 timeout は無視されます)。 Raises ShutDown if the queue has been shut down. Queue. put_nowait ( item ) ¶ put(item, block=False) と等価です。 Queue. get ( block = Tru ... ng lock. This means that no exceptions can occur, and in particular a SIGINT will not trigger a KeyboardInterrupt . Raises ShutDown if the queue has been shut down and is empty, or if the queue has been shut down immediately. Queue. get_nowait ( ) ¶ get( ...
https://man.mtool.work/python/3.14/library/queue.html
Event loop — Python 3.14.8 ドキュメント 10440
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Event loop テーマ 自動 ライト ダーク | Event loop ¶ ソースコード: Lib/a ... 同じ) であり取り消せません。イベントループがクローズされた後、他のいかなるメソッドも呼び出すべきではありません。 async loop. shutdown_asyncgens ( ) ¶ 現在オープンになっているすべての asynchronous generator (非同期ジェネレータ) オブジェクトをスケジュールし、 ... 呼び出す必要はありません。 以下はプログラム例です: try : loop . run_forever () finally : loop . run_until_complete ( loop . shutdown_asyncgens ()) loop . close () Added in version 3.6. async loop. shutdown_default_executor ( timeout = None ) ¶ Schedule th ... threads to finish joining. 注釈 Do not call this method when using asyncio.run() , as the latter handles default executor shutdown automatically. Added in version 3.9. バージョン 3.12 で変更: timeout 引数が追加されました。 コールバックのスケジューリング ...
https://man.mtool.work/python/3.14/library/asyncio-eventloop.html
ストリーム — Python 3.14.8 ドキュメント 10440
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » ストリーム テーマ 自動 ライト ダーク | ストリーム ¶ ソースコード: Lib/a ... 0 , proto = 0 , flags = 0 , sock = None , local_addr = None , server_hostname = None , ssl_handshake_timeout = None , ssl_shutdown_timeout = None , happy_eyeballs_delay = None , interleave = None ) ¶ ネットワークコネクションを確立し、 (reader, writer) の ... lay と interleave が追加されました。 バージョン 3.10 で変更: loop パラメータが削除されました。 バージョン 3.11 で変更: ssl_shutdown_timeout パラメータが追加されました。 async asyncio. start_server ( client_connected_cb , host = None , port = None , * , l ... log = 100 , ssl = None , reuse_address = None , reuse_port = None , keep_alive = None , ssl_handshake_timeout = None , ssl_shutdown_timeout = None , start_serving = True ) ¶ ソケットサーバーを起動します。 client_connected_cb コールバックは新しいクライアン ...
https://man.mtool.work/python/3.14/library/asyncio-stream.html
queue --- 同期キュークラス — Python 3.14.8 ドキュメント 10440
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » queue --- 同期キュークラス テーマ 自動 ライト ダーク | queue --- 同期キュークラス ¶ ソースコード: Lib/queue.py The queue ... ueue オブジェクトで、非ブロックメソッド put() (または put_nowait() ) が呼ばれたとき、送出される例外です。 exception queue. ShutDown ¶ Exception raised when put() or get() is called on a Queue object which has been shut down. Added in version 3.13. キュー ... できるならば、キューにアイテムを置きます。 できないならば、例外 Full を送出します (この場合 timeout は無視されます)。 Raises ShutDown if the queue has been shut down. Queue. put_nowait ( item ) ¶ put(item, block=False) と等価です。 Queue. get ( block = Tru ... ng lock. This means that no exceptions can occur, and in particular a SIGINT will not trigger a KeyboardInterrupt . Raises ShutDown if the queue has been shut down and is empty, or if the queue has been shut down immediately. Queue. get_nowait ( ) ¶ get( ...
https://man.mtool.work/python/3.14/library/queue.html
Event loop — Python 3.14.8 ドキュメント 10440
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Event loop テーマ 自動 ライト ダーク | Event loop ¶ ソースコード: Lib/a ... 同じ) であり取り消せません。イベントループがクローズされた後、他のいかなるメソッドも呼び出すべきではありません。 async loop. shutdown_asyncgens ( ) ¶ 現在オープンになっているすべての asynchronous generator (非同期ジェネレータ) オブジェクトをスケジュールし、 ... 呼び出す必要はありません。 以下はプログラム例です: try : loop . run_forever () finally : loop . run_until_complete ( loop . shutdown_asyncgens ()) loop . close () Added in version 3.6. async loop. shutdown_default_executor ( timeout = None ) ¶ Schedule th ... threads to finish joining. 注釈 Do not call this method when using asyncio.run() , as the latter handles default executor shutdown automatically. Added in version 3.9. バージョン 3.12 で変更: timeout 引数が追加されました。 コールバックのスケジューリング ...
https://man.mtool.work/python/3.14/library/asyncio-eventloop.html
変更履歴 — Python 3.14.8 ドキュメント 8847
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac ... lected, leaking the whole context it iterated over. gh-154937 : Fix a data race on thread handle identifiers when _thread._shutdown() runs concurrently with the startup of non-daemon threads in the free-threaded build . gh-154902 : Fix a crash when __con ... olExecutor stranding submitted work forever when a worker process exited upon reaching its max_tasks_per_child limit after shutdown() was called with wait=False : a replacement worker is now spawned and the remaining work executed as documented. If the e ... xecutor has instead been garbage collected without shutdown() ( gh-152967 ), or a replacement worker cannot be started, the remaining futures now fail with BrokenProcessPool instead ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
asyncio and free-threaded Python — Python 3.14.8 ドキュメント 8597
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » asyncio and free-threaded Python テーマ 自動 ライト ダーク | asyncio an ... def producer ( q : queue . Queue [ int ]) -> None : for i in range ( 5 ): print ( f "Producing { i } " ) q . put ( i ) q . shutdown () async def consumer ( q : queue . Queue [ int ]) -> None : while True : try : item = q . get_nowait () except queue . Em ... pty : await asyncio . sleep ( 0.1 ) continue except queue . ShutDown : break print ( f "Consumed { item } " ) await asyncio . sleep ( item ) q : queue . Queue [ int ] = queue . Queue () consu ... ough queue.Queue . When the queue is empty the consumer sleeps briefly and tries again. When the producer is done it calls shutdown() , which causes subsequent get_nowait() calls to raise queue.ShutDown so the consumer can exit cleanly. 関連キーワード as ...
https://man.mtool.work/python/3.14/library/asyncio-threading.html
asyncio and free-threaded Python — Python 3.14.8 ドキュメント 8597
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » asyncio and free-threaded Python テーマ 自動 ライト ダーク | asyncio an ... def producer ( q : queue . Queue [ int ]) -> None : for i in range ( 5 ): print ( f "Producing { i } " ) q . put ( i ) q . shutdown () async def consumer ( q : queue . Queue [ int ]) -> None : while True : try : item = q . get_nowait () except queue . Em ... pty : await asyncio . sleep ( 0.1 ) continue except queue . ShutDown : break print ( f "Consumed { item } " ) await asyncio . sleep ( item ) q : queue . Queue [ int ] = queue . Queue () consu ... ough queue.Queue . When the queue is empty the consumer sleeps briefly and tries again. When the producer is done it calls shutdown() , which causes subsequent get_nowait() calls to raise queue.ShutDown so the consumer can exit cleanly. 関連キーワード as ...
https://man.mtool.work/python/3.14/library/asyncio-threading.html
atexit --- 終了ハンドラー — Python 3.14.8 ドキュメント 8597
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » atexit --- 終了ハンドラー テーマ 自動 ライト ダーク | atexit --- 終了ハンドラー ¶ The atexit module def ... tion (for instance, if sys.exit() is called or the main module's execution completes) or, more generally, upon interpreter shutdown . At exit, all registered exit handlers are called in the reverse order in which they were registered. If you register A , ... B , and C , at interpreter shutdown time they will be run in the order C , B , A . The assumption is that lower level modules will normally be imported before ... while internal threading routines or the new process try to use that state, which could lead to crashes rather than clean shutdown. バージョン 3.7 で変更: When used with subinterpreters, registered functions are local to the interpreter they were regist ...
https://man.mtool.work/python/3.14/library/atexit.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT