per page, with , order by , clip by
Results of 1 - 10 of about 148 for timeout (0.008 sec.)
Coroutines and tasks — Python 3.14.8 ドキュメント 10173
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Coroutines and tasks テーマ 自動 ライト ダーク | Coroutines and tasks ¶ ... not need to be aware of it. The asyncio components that enable structured concurrency, like asyncio.TaskGroup and asyncio.timeout() , are implemented using cancellation internally and might misbehave if a coroutine swallows asyncio.CancelledError . Sim ... Deprecation warning is emitted if aw is not Future-like object and there is no running event loop. タイムアウト ¶ asyncio. timeout ( delay ) ¶ Return an asynchronous context manager that can be used to limit the amount of time spent waiting on something ... s unknown when the context manager is created. In either case, the context manager can be rescheduled after creation using Timeout.reschedule() . 以下はプログラム例です: async def main (): async with asyncio . timeout ( 10 ): await long_running_task () ...
https://man.mtool.work/python/3.14/library/asyncio-task.html
Coroutines and tasks — Python 3.14.8 ドキュメント 10173
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Coroutines and tasks テーマ 自動 ライト ダーク | Coroutines and tasks ¶ ... not need to be aware of it. The asyncio components that enable structured concurrency, like asyncio.TaskGroup and asyncio.timeout() , are implemented using cancellation internally and might misbehave if a coroutine swallows asyncio.CancelledError . Sim ... Deprecation warning is emitted if aw is not Future-like object and there is no running event loop. タイムアウト ¶ asyncio. timeout ( delay ) ¶ Return an asynchronous context manager that can be used to limit the amount of time spent waiting on something ... s unknown when the context manager is created. In either case, the context manager can be rescheduled after creation using Timeout.reschedule() . 以下はプログラム例です: async def main (): async with asyncio . timeout ( 10 ): await long_running_task () ...
https://man.mtool.work/python/3.14/library/asyncio-task.html
test --- Regression tests package for Python — Python 3.14.8 ドキュメント 9258
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » test --- Regression tests package for Python テーマ 自動 ライト ダーク | test --- Regression tests package for Python ... is True . test.support. unix_shell ¶ Windows 以外ではシェルのパスです; そうでない場合は None です。 test.support. LOOPBACK_TIMEOUTTimeout in seconds for tests using a network server listening on the network local loopback interface like 127.0.0.1 . T ... he timeout is long enough to prevent test failure: it takes into account that the client and the server can run in different threads ... or even different processes. The timeout should be long enough for connect() , recv() and send() methods of socket.socket . Its default value is 10 seconds. INTERN ...
https://man.mtool.work/python/3.14/library/test.html
test --- Regression tests package for Python — Python 3.14.8 ドキュメント 9164
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » test --- Regression tests package for Python テーマ 自動 ライト ダーク | test --- Regression tests package for Python ... is True . test.support. unix_shell ¶ Windows 以外ではシェルのパスです; そうでない場合は None です。 test.support. LOOPBACK_TIMEOUTTimeout in seconds for tests using a network server listening on the network local loopback interface like 127.0.0.1 . T ... he timeout is long enough to prevent test failure: it takes into account that the client and the server can run in different threads ... or even different processes. The timeout should be long enough for connect() , recv() and send() methods of socket.socket . Its default value is 10 seconds. INTERN ...
https://man.mtool.work/python/3.14/library/test.html
concurrent.futures --- 並列タスク実行 — Python 3.14.8 ドキュメント 8660
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » concurrent.futures --- 並列タスク実行 テーマ 自動 ライト ダーク | concurrent.futures --- 並列タスク実行 ¶ Added in versi ... s = 1 ) as executor : future = executor . submit ( pow , 323 , 1235 ) print ( future . result ()) map ( fn , * iterables , timeout = None , chunksize = 1 , buffersize = None ) ¶ Similar to map(fn, *iterables) except: The iterables are collected immediat ... y and several calls to fn may be made concurrently. もし __next__() が呼ばれその結果が元々の Executor.map() の呼び出しから timeout 秒経った後も利用できない場合、返されるイテレータは TimeoutError を送出します。 timeout は整数または浮動小数点数です。もし ... 'http://nonexistent-subdomain.python.org/' ] # Retrieve a single page and report the URL and contents def load_url ( url , timeout ): with urllib . request . urlopen ( url , timeout = timeout ) as conn : return conn . read () # We can use a with stateme ...
https://man.mtool.work/python/3.14/library/concurrent.futures.html
concurrent.futures --- 並列タスク実行 — Python 3.14.8 ドキュメント 8660
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » concurrent.futures --- 並列タスク実行 テーマ 自動 ライト ダーク | concurrent.futures --- 並列タスク実行 ¶ Added in versi ... s = 1 ) as executor : future = executor . submit ( pow , 323 , 1235 ) print ( future . result ()) map ( fn , * iterables , timeout = None , chunksize = 1 , buffersize = None ) ¶ Similar to map(fn, *iterables) except: The iterables are collected immediat ... y and several calls to fn may be made concurrently. もし __next__() が呼ばれその結果が元々の Executor.map() の呼び出しから timeout 秒経った後も利用できない場合、返されるイテレータは TimeoutError を送出します。 timeout は整数または浮動小数点数です。もし ... 'http://nonexistent-subdomain.python.org/' ] # Retrieve a single page and report the URL and contents def load_url ( url , timeout ): with urllib . request . urlopen ( url , timeout = timeout ) as conn : return conn . read () # We can use a with stateme ...
https://man.mtool.work/python/3.14/library/concurrent.futures.html
threading --- スレッドベースの並列処理 — Python 3.14.8 ドキュメント 8531
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » threading --- スレッドベースの並列処理 テーマ 自動 ライト ダーク | threading --- スレッドベースの並列処理 ¶ ソースコード ... y : Windows, pthreads. Unix platforms with POSIX threads support. このモジュールでは以下の定数も定義しています: threading. TIMEOUT_MAX ¶ ブロックする関数 ( Lock.acquire() , RLock.acquire() , Condition.wait() など) の timeout 引数に許される最大値。これ以 ... 上の値を timeout に指定すると OverflowError が発生します。 Added in version 3.2. このモジュールは多くのクラスを定義しています。それらは下記 ... ( target = print , args = [ 1 ]) >>> t . run () 1 >>> t = Thread ( target = print , args = ( 1 ,)) >>> t . run () 1 join ( timeout = None ) ¶ スレッドが終了するまで待機します。 このメソッドは、 join() を呼ばれたスレッドが正常終了あるいは処理されない例外 ...
https://man.mtool.work/python/3.14/library/threading.html
threading --- スレッドベースの並列処理 — Python 3.14.8 ドキュメント 8531
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » threading --- スレッドベースの並列処理 テーマ 自動 ライト ダーク | threading --- スレッドベースの並列処理 ¶ ソースコード ... y : Windows, pthreads. Unix platforms with POSIX threads support. このモジュールでは以下の定数も定義しています: threading. TIMEOUT_MAX ¶ ブロックする関数 ( Lock.acquire() , RLock.acquire() , Condition.wait() など) の timeout 引数に許される最大値。これ以 ... 上の値を timeout に指定すると OverflowError が発生します。 Added in version 3.2. このモジュールは多くのクラスを定義しています。それらは下記 ... ( target = print , args = [ 1 ]) >>> t . run () 1 >>> t = Thread ( target = print , args = ( 1 ,)) >>> t . run () 1 join ( timeout = None ) ¶ スレッドが終了するまで待機します。 このメソッドは、 join() を呼ばれたスレッドが正常終了あるいは処理されない例外 ...
https://man.mtool.work/python/3.14/library/threading.html
queue --- 同期キュークラス — Python 3.14.8 ドキュメント 8437
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » queue --- 同期キュークラス テーマ 自動 ライト ダーク | queue --- 同期キュークラス ¶ ソースコード: Lib/queue.py The queue ... ll() が False を返しても、後続の put() の呼び出しがブロックしないことは保証されません。 Queue. put ( item , block = True , timeout = None ) ¶ item をキューに入れます。 もしオプション引数 block が真で timeout が None (デフォルト) の場合は、必要であればフ ... リースロットが利用可能になるまでブロックします。 timeout が正の数の場合は、最大で timeout 秒間ブロックし、その時間内に空きスロットが利用可能にならなければ、例外 Full を送出します。 ... 偽) は、空きスロットが直ちに利用できるならば、キューにアイテムを置きます。 できないならば、例外 Full を送出します (この場合 timeout は無視されます)。 Raises ShutDown if the queue has been shut down. Queue. put_nowait ( item ) ¶ put(item, block=False) と等 ...
https://man.mtool.work/python/3.14/library/queue.html
queue --- 同期キュークラス — Python 3.14.8 ドキュメント 8437
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » queue --- 同期キュークラス テーマ 自動 ライト ダーク | queue --- 同期キュークラス ¶ ソースコード: Lib/queue.py The queue ... ll() が False を返しても、後続の put() の呼び出しがブロックしないことは保証されません。 Queue. put ( item , block = True , timeout = None ) ¶ item をキューに入れます。 もしオプション引数 block が真で timeout が None (デフォルト) の場合は、必要であればフ ... リースロットが利用可能になるまでブロックします。 timeout が正の数の場合は、最大で timeout 秒間ブロックし、その時間内に空きスロットが利用可能にならなければ、例外 Full を送出します。 ... 偽) は、空きスロットが直ちに利用できるならば、キューにアイテムを置きます。 できないならば、例外 Full を送出します (この場合 timeout は無視されます)。 Raises ShutDown if the queue has been shut down. Queue. put_nowait ( item ) ¶ put(item, block=False) と等 ...
https://man.mtool.work/python/3.14/library/queue.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT