per page, with , order by , clip by
Results of 1 - 10 of about 230 for exceptions (0.050 sec.)
変更履歴 — Python 3.14.8 ドキュメント 14094
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac ... scheme continue to match any scheme. Core and Builtins ¶ gh-158364 : Fix crash when sys._current_frames() or sys._current_exceptions() is called while another interpreter is running. gh-158254 : Reverse iterators over a dict and its views now raise Runtim ... th, such as the NetBSD one. gh-135683 : logging.FileHandler and logging.handlers.WatchedFileHandler now honor logging.raiseExceptions for errors that occur while opening the file, like for other errors during logging. gh-153970 : Calling str() on a subproc ... eError instead of causing a NULL pointer dereference. gh-151905 : Fix OOM error handling in PyFrame_GetBack() to propagate exceptions instead of masking them as None. gh-151773 : Fix a crash in contextvars.ContextVar.set() when memory allocation fails. gh- ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
traceback --- スタックトレースの表示または取得 — Python 3.14.8 ドキュメント 9791
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » traceback --- スタックトレースの表示または取得 テーマ 自動 ライト ダーク | traceback --- スタックトレー ... ough information about an exception to print it later, without the need to save a reference to the actual exception. Since exceptions can be the roots of large objects graph, this utility can significantly improve memory management. The module uses traceba ... ivided into two parts: Module-level functions offering basic functionality, which are useful for interactive inspection of exceptions and tracebacks. TracebackException class and its helper classes StackSummary and FrameSummary . These offer both more flex ... nding in a newline. The list contains the exception's message, which is normally a single string; however, for SyntaxError exceptions, it contains several lines that (when printed) display detailed information about where the syntax error occurred. Followi ...
https://man.mtool.work/python/3.14/library/traceback.html
traceback --- スタックトレースの表示または取得 — Python 3.14.8 ドキュメント 9235
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » traceback --- スタックトレースの表示または取得 テーマ 自動 ライト ダーク | traceback --- スタックトレー ... ough information about an exception to print it later, without the need to save a reference to the actual exception. Since exceptions can be the roots of large objects graph, this utility can significantly improve memory management. The module uses traceba ... ivided into two parts: Module-level functions offering basic functionality, which are useful for interactive inspection of exceptions and tracebacks. TracebackException class and its helper classes StackSummary and FrameSummary . These offer both more flex ... nding in a newline. The list contains the exception's message, which is normally a single string; however, for SyntaxError exceptions, it contains several lines that (when printed) display detailed information about where the syntax error occurred. Followi ...
https://man.mtool.work/python/3.14/library/traceback.html
contextlib --- with 文コンテキスト用ユーティリティ — Python 3.14.8 ドキュメント 8257
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » contextlib --- with 文コンテキスト用ユーティリティ テーマ 自動 ライト ダーク | contextlib --- with 文コ ... thing. It is intended to be used as a stand-in for an optional context manager, for example: def myfunction ( arg , ignore_exceptions = False ): if ignore_exceptions : # Use suppress to ignore all exceptions. cm = contextlib . suppress ( Exception ) else : ... # Do not ignore any exceptions, cm has no effect. cm = contextlib . nullcontext () with cm : # Do something enter_result を使った例です: def process_file ... で変更: 非同期コンテキストマネージャ ( asynchronous context manager ) のサポートが追加されました。 contextlib. suppress ( * exceptions ) ¶ with 文の内部で指定された例外の発生を抑えるコンテキストマネージャを返します。 with 文の後に続く最初の文から処理が再開さ ...
https://man.mtool.work/python/3.14/library/contextlib.html
contextlib --- with 文コンテキスト用ユーティリティ — Python 3.14.8 ドキュメント 7979
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » contextlib --- with 文コンテキスト用ユーティリティ テーマ 自動 ライト ダーク | contextlib --- with 文コ ... thing. It is intended to be used as a stand-in for an optional context manager, for example: def myfunction ( arg , ignore_exceptions = False ): if ignore_exceptions : # Use suppress to ignore all exceptions. cm = contextlib . suppress ( Exception ) else : ... # Do not ignore any exceptions, cm has no effect. cm = contextlib . nullcontext () with cm : # Do something enter_result を使った例です: def process_file ... で変更: 非同期コンテキストマネージャ ( asynchronous context manager ) のサポートが追加されました。 contextlib. suppress ( * exceptions ) ¶ with 文の内部で指定された例外の発生を抑えるコンテキストマネージャを返します。 with 文の後に続く最初の文から処理が再開さ ...
https://man.mtool.work/python/3.14/library/contextlib.html
Coroutines and tasks — Python 3.14.8 ドキュメント 7567
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Coroutines and tasks テーマ 自動 ライト ダーク | Coroutines and tasks ¶ ... lected. To avoid this, use asyncio.TaskGroup which keeps a strong reference to each task, awaits them and propagates their exceptions: async with asyncio . TaskGroup () as tg : for i in range ( 10 ): tg . create_task ( some_coro ( param = i )) Added in ver ... icitly caught, it should generally be propagated when clean-up is complete. asyncio.CancelledError directly subclasses BaseException so most code will not need to be aware of it. The asyncio components that enable structured concurrency, like asyncio.TaskG ... tement. Once all tasks have finished, if any tasks have failed with an exception other than asyncio.CancelledError , those exceptions are combined in an ExceptionGroup or BaseExceptionGroup (as appropriate; see their documentation) which is then raised. Tw ...
https://man.mtool.work/python/3.14/library/asyncio-task.html
pdb --- The Python Debugger — Python 3.14.8 ドキュメント 7567
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » pdb --- The Python Debugger テーマ 自動 ライト ダーク | pdb --- The Python Debugger ¶ ソースコード: Lib/p ... t to be executed in the current environment). retval ¶ Print the return value for the last return of the current function. exceptions [excnumber] ¶ List or jump between chained exceptions. When using pdb.pm() or Pdb.post_mortem(...) with a chained exceptio ... n instead of a traceback, it allows the user to move between the chained exceptions using exceptions command to list exceptions, and exceptions <number> to switch to that exception. 以下はプログラム例です: ... eption as e : raise ValueError ( "Middle fail" ) def inner ( x ): 1 / x out () calling pdb.pm() will allow to move between exceptions: > example . py ( 5 ) out () -> raise ValueError ( "reraise middle() error" ) from e ( Pdb ) exceptions 0 ZeroDivisionErro ...
https://man.mtool.work/python/3.14/library/pdb.html
Coroutines and tasks — Python 3.14.8 ドキュメント 7567
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Coroutines and tasks テーマ 自動 ライト ダーク | Coroutines and tasks ¶ ... lected. To avoid this, use asyncio.TaskGroup which keeps a strong reference to each task, awaits them and propagates their exceptions: async with asyncio . TaskGroup () as tg : for i in range ( 10 ): tg . create_task ( some_coro ( param = i )) Added in ver ... icitly caught, it should generally be propagated when clean-up is complete. asyncio.CancelledError directly subclasses BaseException so most code will not need to be aware of it. The asyncio components that enable structured concurrency, like asyncio.TaskG ... tement. Once all tasks have finished, if any tasks have failed with an exception other than asyncio.CancelledError , those exceptions are combined in an ExceptionGroup or BaseExceptionGroup (as appropriate; see their documentation) which is then raised. Tw ...
https://man.mtool.work/python/3.14/library/asyncio-task.html
pdb --- The Python Debugger — Python 3.14.8 ドキュメント 7567
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » pdb --- The Python Debugger テーマ 自動 ライト ダーク | pdb --- The Python Debugger ¶ ソースコード: Lib/p ... t to be executed in the current environment). retval ¶ Print the return value for the last return of the current function. exceptions [excnumber] ¶ List or jump between chained exceptions. When using pdb.pm() or Pdb.post_mortem(...) with a chained exceptio ... n instead of a traceback, it allows the user to move between the chained exceptions using exceptions command to list exceptions, and exceptions <number> to switch to that exception. 以下はプログラム例です: ... eption as e : raise ValueError ( "Middle fail" ) def inner ( x ): 1 / x out () calling pdb.pm() will allow to move between exceptions: > example . py ( 5 ) out () -> raise ValueError ( "reraise middle() error" ) from e ( Pdb ) exceptions 0 ZeroDivisionErro ...
https://man.mtool.work/python/3.14/library/pdb.html
urllib.error --- urllib.request によって送出される例外クラス — Python 3.14.8 ド... 7289
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » urllib.error --- urllib.request によって送出される例外クラス テーマ 自動 ライト ダーク | urlli ... によって送出される例外クラス ¶ ソースコード: Lib/urllib/error.py The urllib.error module defines the exception classes for exceptions raised by urllib.request . The base exception class is URLError . The following exceptions are raised by urllib.error as a ... り捨てられた) データ。 関連キーワード urllib 例外 error exception URLError エイリアス HTTPError msg リクエスト 属性 request exceptions raised OSError サブクラス reason url code hdrs fp 前のトピックへ urllib.parse --- URL を構成要素に解析する 次のトピックへ ...
https://man.mtool.work/python/3.14/library/urllib.error.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT