Results of 1 - 10 of about 272 for Raises (0.052 sec.)
- 変更履歴 — Python 3.14.8 ドキュメント 16006
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...ld occur when formatting a float or complex with a precision close to the platform's INT_MAX . PyOS_double_to_string() now raises ValueError for any precision of that magnitude, regardless of presentation type or value, as the format string parsers alr...ntext.wrap_socket() . In particular, a context with check_hostname enabled and no server_hostname passed to wrap_bio() now raises ValueError instead of completing a handshake that verified the certificate chain without verifying the peer's identity, wi...Fixed segmentation fault when called repr for BaseExceptionGroup with empty or 1-size tuple args. gh-85260 : compile() now raises ValueError instead of crashing on a debug build if an identifier field of an AST node (such as the name of a function, a c... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- 変更履歴 — Python 3.14.8 ドキュメント 10345
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...ld occur when formatting a float or complex with a precision close to the platform's INT_MAX . PyOS_double_to_string() now raises ValueError for any precision of that magnitude, regardless of presentation type or value, as the format string parsers alr...ntext.wrap_socket() . In particular, a context with check_hostname enabled and no server_hostname passed to wrap_bio() now raises ValueError instead of completing a handshake that verified the certificate chain without verifying the peer's identity, wi...Fixed segmentation fault when called repr for BaseExceptionGroup with empty or 1-size tuple args. gh-85260 : compile() now raises ValueError instead of crashing on a debug build if an identifier field of an AST node (such as the name of a function, a c... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- Runners — Python 3.14.8 ドキュメント 7456
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Runners テーマ 自動 ライト ダーク | Runners ¶ ソースコード: Lib/asyncio
...ontext for the code to run in. The runner's default context is used if context is None . Returns the awaitable's result or raises an exception. この関数は、同じスレッドで他の非同期イベントループが実行中のときは呼び出せません。 バージョン 3.14 で変更: c...gnal.SIGINT is raised by Ctrl - C , the custom signal handler cancels the main task by calling asyncio.Task.cancel() which raises asyncio.CancelledError inside the main task. This causes the Python stack to unwind, try/except and try/finally blocks can...be used for resource cleanup. After the main task is cancelled, asyncio.Runner.run() raises KeyboardInterrupt . A user could write a tight loop which cannot be interrupted by asyncio.Task.cancel() , in which case t... - https://man.mtool.work/python/3.14/library/asyncio-runner.html
- キュー — Python 3.14.8 ドキュメント 7095
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » キュー テーマ 自動 ライト ダーク | キュー ¶ ソースコード: Lib/asyncio/q
...ever returns True . async get ( ) ¶ キューから要素を削除して返します。キューが空の場合項目が利用可能になるまで待機します。 Raises QueueShutDown if the queue has been shut down and is empty, or if the queue has been shut down immediately. get_nowait ( )...¶ 直ちに利用できるアイテムがあるときはそれを、そうでなければ QueueEmpty を返します。 Raises QueueShutDown if the queue has been shut down and is empty. async join ( ) ¶ キューにある全ての要素が取得され、処理されるま...tem ) ¶ 要素をキューに入力します。キューが満杯の場合、要素を追加する前に空きスロットが利用できるようになるまで待機します。 Raises QueueShutDown if the queue has been shut down. put_nowait ( item ) ¶ ブロックせずにアイテムをキューに追加します。 直ちに利... - https://man.mtool.work/python/3.14/library/asyncio-queue.html
- Runners — Python 3.14.8 ドキュメント 6861
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Runners テーマ 自動 ライト ダーク | Runners ¶ ソースコード: Lib/asyncio
...ontext for the code to run in. The runner's default context is used if context is None . Returns the awaitable's result or raises an exception. この関数は、同じスレッドで他の非同期イベントループが実行中のときは呼び出せません。 バージョン 3.14 で変更: c...gnal.SIGINT is raised by Ctrl - C , the custom signal handler cancels the main task by calling asyncio.Task.cancel() which raises asyncio.CancelledError inside the main task. This causes the Python stack to unwind, try/except and try/finally blocks can...be used for resource cleanup. After the main task is cancelled, asyncio.Runner.run() raises KeyboardInterrupt . A user could write a tight loop which cannot be interrupted by asyncio.Task.cancel() , in which case t... - https://man.mtool.work/python/3.14/library/asyncio-runner.html
- 6. 式 (expression) — Python 3.14.8 ドキュメント 6734
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 6. 式 (expression) テーマ 自動 ライト ダーク | 6. 式 (expression) ¶ この章では、Python の式における個々の要素の意味について解説します。
...nature (type[, value[, traceback]]) is deprecated and may be removed in a future version of Python. generator. close ( ) ¶ Raises a GeneratorExit exception at the point where the generator function was paused (equivalent to calling throw(GeneratorExit)...s the exception and returns a value, this value is returned from close() . If the generator function is already closed, or raises GeneratorExit (by not catching the exception), close() returns None . If the generator yields a value, a RuntimeError is r...aised. If the generator raises any other exception, it is propagated to the caller. If the generator has already exited due to an exception or normal exi... - https://man.mtool.work/python/3.14/reference/expressions.html
- 6. 式 (expression) — Python 3.14.8 ドキュメント 6734
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 6. 式 (expression) テーマ 自動 ライト ダーク | 6. 式 (expression) ¶ この章では、Python の式における個々の要素の意味について解説します。
...nature (type[, value[, traceback]]) is deprecated and may be removed in a future version of Python. generator. close ( ) ¶ Raises a GeneratorExit exception at the point where the generator function was paused (equivalent to calling throw(GeneratorExit)...s the exception and returns a value, this value is returned from close() . If the generator function is already closed, or raises GeneratorExit (by not catching the exception), close() returns None . If the generator yields a value, a RuntimeError is r...aised. If the generator raises any other exception, it is propagated to the caller. If the generator has already exited due to an exception or normal exi... - https://man.mtool.work/python/3.14/reference/expressions.html
- キュー — Python 3.14.8 ドキュメント 6500
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » キュー テーマ 自動 ライト ダーク | キュー ¶ ソースコード: Lib/asyncio/q
...ever returns True . async get ( ) ¶ キューから要素を削除して返します。キューが空の場合項目が利用可能になるまで待機します。 Raises QueueShutDown if the queue has been shut down and is empty, or if the queue has been shut down immediately. get_nowait ( )...¶ 直ちに利用できるアイテムがあるときはそれを、そうでなければ QueueEmpty を返します。 Raises QueueShutDown if the queue has been shut down and is empty. async join ( ) ¶ キューにある全ての要素が取得され、処理されるま...tem ) ¶ 要素をキューに入力します。キューが満杯の場合、要素を追加する前に空きスロットが利用できるようになるまで待機します。 Raises QueueShutDown if the queue has been shut down. put_nowait ( item ) ¶ ブロックせずにアイテムをキューに追加します。 直ちに利... - https://man.mtool.work/python/3.14/library/asyncio-queue.html
- Coroutines and tasks — Python 3.14.8 ドキュメント 6500
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Coroutines and tasks テーマ 自動 ライト ダーク | Coroutines and tasks ¶
...p ( 1 ) asyncio . run ( display_date ()) バージョン 3.10 で変更: loop パラメータが削除されました。 バージョン 3.13 で変更: Raises ValueError if delay is nan . Running tasks concurrently ¶ awaitable asyncio. gather ( * aws , return_exceptions = False )...r safety guarantees than gather for scheduling a nesting of subtasks: if a task (or a subtask, a task scheduled by a task) raises an exception, TaskGroup will, while gather will not, cancel the remaining scheduled tasks. 以下はプログラム例です: import...void actual I/O when possible. 注釈 Immediate execution of the coroutine is a semantic change. If the coroutine returns or raises, the task is never scheduled to the event loop. If the coroutine execution blocks, the task is scheduled to the event loop... - https://man.mtool.work/python/3.14/library/asyncio-task.html
- Coroutines and tasks — Python 3.14.8 ドキュメント 6500
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Coroutines and tasks テーマ 自動 ライト ダーク | Coroutines and tasks ¶
...p ( 1 ) asyncio . run ( display_date ()) バージョン 3.10 で変更: loop パラメータが削除されました。 バージョン 3.13 で変更: Raises ValueError if delay is nan . Running tasks concurrently ¶ awaitable asyncio. gather ( * aws , return_exceptions = False )...r safety guarantees than gather for scheduling a nesting of subtasks: if a task (or a subtask, a task scheduled by a task) raises an exception, TaskGroup will, while gather will not, cancel the remaining scheduled tasks. 以下はプログラム例です: import...void actual I/O when possible. 注釈 Immediate execution of the coroutine is a semantic change. If the coroutine returns or raises, the task is never scheduled to the event loop. If the coroutine execution blocks, the task is scheduled to the event loop... - https://man.mtool.work/python/3.14/library/asyncio-task.html