Results of 1 - 10 of about 183 for cause (0.082 sec.)
- 組み込み例外 — Python 3.14.8 ドキュメント 13047
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み例外 テーマ 自動 ライト ダーク | 組み込み例外 ¶ Python において、すべての例外は BaseException から派生したクラスのインスタン
...例外オブジェクトの3つの属性は、例外が送出された常用に関する情報を提供します: BaseException. __context__ ¶ BaseException. __cause__ ¶ BaseException. __suppress_context__ ¶ When raising a new exception while another exception is already being handled, t...cept or finally clause, or a with statement, is used. This implicit exception context can be supplemented with an explicit cause by using from with raise : raise new_exc from original_exc from に続く式は例外か None でなくてはなりません。 式は送出される...例外の __cause__ として設定されます。 __cause__ を設定することは、 __suppress_context__ 属性を暗黙的に True に設定することにもなるので、... - https://man.mtool.work/python/3.14/builtins/exceptions.html
- 組み込み例外 — Python 3.14.8 ドキュメント 13047
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み例外 テーマ 自動 ライト ダーク | 組み込み例外 ¶ Python において、すべての例外は BaseException から派生したクラスのインスタン
...例外オブジェクトの3つの属性は、例外が送出された常用に関する情報を提供します: BaseException. __context__ ¶ BaseException. __cause__ ¶ BaseException. __suppress_context__ ¶ When raising a new exception while another exception is already being handled, t...cept or finally clause, or a with statement, is used. This implicit exception context can be supplemented with an explicit cause by using from with raise : raise new_exc from original_exc from に続く式は例外か None でなくてはなりません。 式は送出される...例外の __cause__ として設定されます。 __cause__ を設定することは、 __suppress_context__ 属性を暗黙的に True に設定することにもなるので、... - https://man.mtool.work/python/3.14/builtins/exceptions.html
- 変更履歴 — Python 3.14.8 ドキュメント 10983
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...ome platforms, such as s390x. gh-157048 : Preserve the position and contents of io.BytesIO when BytesIO.__init__() fails because a buffer is exported. gh-156961 : Fix tkinter.font.nametofont() and the tkinter.font.Font constructor for a font name retu...s AttributeError . gh-155468 : Fix netrc to distinguish empty quoted tokens from end-of-file, so malformed files no longer cause the remaining content to be silently ignored. gh-155519 : Avoid a data-race in free-threaded builds when reading and writi.... gh-90304 : Prevent IDLE from failing to start when a font reports a zero width for the '0' character. Such a broken font caused a ZeroDivisionError ; the editor now falls back to the configured width. gh-135511 : Fix display of NameError and Attribu... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- Python support for free threading — Python 3.14.8 ドキュメント 8179
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Python support for free threading テーマ 自動 ライト ダーク | Python support for free threading ¶ Starting with the 3.13 release, CPython has supp
...ded build. Context variables ¶ In the free-threaded build, the flag thread_inherit_context is set to true by default which causes threads created with threading.Thread to start with a copy of the Context() of the caller of start() . In the default GIL...rings are immortal ¶ For modern Python versions (since version 2.3), interning a string (e.g. with sys.intern() ) does not cause it to become immortal. Instead, if the last reference to that string disappears, it will be removed from the interned stri...e InternalDocs/qsbr.md in the CPython source tree for more details on how QSBR is implemented. Running gc.collect() should cause all memory being held by QSBR to be actually freed. Note that even when QSBR frees the memory, the underlying memory alloc... - https://man.mtool.work/python/3.14/howto/free-threading-python.html
- Python support for free threading — Python 3.14.8 ドキュメント 8179
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Python support for free threading テーマ 自動 ライト ダーク | Python support for free threading ¶ Starting with the 3.13 release, CPython has supp
...ded build. Context variables ¶ In the free-threaded build, the flag thread_inherit_context is set to true by default which causes threads created with threading.Thread to start with a copy of the Context() of the caller of start() . In the default GIL...rings are immortal ¶ For modern Python versions (since version 2.3), interning a string (e.g. with sys.intern() ) does not cause it to become immortal. Instead, if the last reference to that string disappears, it will be removed from the interned stri...e InternalDocs/qsbr.md in the CPython source tree for more details on how QSBR is implemented. Running gc.collect() should cause all memory being held by QSBR to be actually freed. Note that even when QSBR frees the memory, the underlying memory alloc... - https://man.mtool.work/python/3.14/howto/free-threading-python.html
- 例外処理 — Python 3.14.8 ドキュメント 7616
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 例外処理 テーマ 自動 ライト ダーク | 例外処理 ¶ この章で説明する関数を使うと、 Python の例外の処理や例外の送出ができるようになりま
...aceback. The exception type should be a class. Do not pass an invalid exception type or value. (Violating these rules will cause subtle problems later.) This call takes away a reference to each object: you must own a reference to each object before th...se processing has been delayed until it is safe to run Python code and/or raise exceptions. For example, pressing Ctrl - C causes a terminal to send the signal.SIGINT signal. This function executes the corresponding Python signal handler, which, by de...type check to make sure that ctx is an exception instance. This " steals " a reference to ctx . PyObject * PyException_GetCause ( PyObject * ex ) ¶ 戻り値: 新しい参照。 次に属します: Stable ABI . Return the cause (either an exception instance, or Non... - https://man.mtool.work/python/3.14/c-api/exceptions.html
- 例外処理 — Python 3.14.8 ドキュメント 7616
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 例外処理 テーマ 自動 ライト ダーク | 例外処理 ¶ この章で説明する関数を使うと、 Python の例外の処理や例外の送出ができるようになりま
...aceback. The exception type should be a class. Do not pass an invalid exception type or value. (Violating these rules will cause subtle problems later.) This call takes away a reference to each object: you must own a reference to each object before th...se processing has been delayed until it is safe to run Python code and/or raise exceptions. For example, pressing Ctrl - C causes a terminal to send the signal.SIGINT signal. This function executes the corresponding Python signal handler, which, by de...type check to make sure that ctx is an exception instance. This " steals " a reference to ctx . PyObject * PyException_GetCause ( PyObject * ex ) ¶ 戻り値: 新しい参照。 次に属します: Stable ABI . Return the cause (either an exception instance, or Non... - https://man.mtool.work/python/3.14/c-api/exceptions.html
- traceback --- スタックトレースの表示または取得 — Python 3.14.8 ドキュメント 7429
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » traceback --- スタックトレースの表示または取得 テーマ 自動 ライト ダーク | traceback --- スタックトレー
...ibility. オプション引数 limit の意味は print_tb() のものと同じです。 chain が真の場合 (デフォルト)、連鎖した例外 (例外の __cause__ か __context__ 属性) も出力されます。 これはインタープリタ自身が処理されていない例外を出力するときと同じです。 バージョン...xception 's format() method is saved in the class attributes. In particular, the __context__ field is calculated only if __cause__ is None and __suppress_context__ is false. 局所変数がキャプチャされたとき、それらはトレースバックに表示されることに注意し...で変更: compact 引数が追加されました。 バージョン 3.11 で変更: max_group_width と max_group_depth 引数が追加されました。 __cause__ ¶ 元々の __cause__ の TracebackException 。 __context__ ¶ 元々の __context__ の TracebackException 。 exceptions ¶ If se... - https://man.mtool.work/python/3.14/library/traceback.html
- traceback --- スタックトレースの表示または取得 — Python 3.14.8 ドキュメント 7429
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » traceback --- スタックトレースの表示または取得 テーマ 自動 ライト ダーク | traceback --- スタックトレー
...ibility. オプション引数 limit の意味は print_tb() のものと同じです。 chain が真の場合 (デフォルト)、連鎖した例外 (例外の __cause__ か __context__ 属性) も出力されます。 これはインタープリタ自身が処理されていない例外を出力するときと同じです。 バージョン...xception 's format() method is saved in the class attributes. In particular, the __context__ field is calculated only if __cause__ is None and __suppress_context__ is false. 局所変数がキャプチャされたとき、それらはトレースバックに表示されることに注意し...で変更: compact 引数が追加されました。 バージョン 3.11 で変更: max_group_width と max_group_depth 引数が追加されました。 __cause__ ¶ 元々の __cause__ の TracebackException 。 __context__ ¶ 元々の __context__ の TracebackException 。 exceptions ¶ If se... - https://man.mtool.work/python/3.14/library/traceback.html
- 変更履歴 — Python 3.14.8 ドキュメント 7429
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...ome platforms, such as s390x. gh-157048 : Preserve the position and contents of io.BytesIO when BytesIO.__init__() fails because a buffer is exported. gh-156961 : Fix tkinter.font.nametofont() and the tkinter.font.Font constructor for a font name retu...s AttributeError . gh-155468 : Fix netrc to distinguish empty quoted tokens from end-of-file, so malformed files no longer cause the remaining content to be silently ignored. gh-155519 : Avoid a data-race in free-threaded builds when reading and writi.... gh-90304 : Prevent IDLE from failing to start when a font reports a zero width for the '0' character. Such a broken font caused a ZeroDivisionError ; the editor now falls back to the configured width. gh-135511 : Fix display of NameError and Attribu... - https://man.mtool.work/python/3.14/whatsnew/changelog.html