Results of 1 - 10 of about 88 for PyErr (0.008 sec.)
- 例外処理 — Python 3.14.8 ドキュメント 11983
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 例外処理 テーマ 自動 ライト ダーク | 例外処理 ¶ この章で説明する関数を使うと、 Python の例外の処理や例外の送出ができるようになりま
...ng), while the latter returns an exception after it is caught (and has therefore stopped propagating). 出力とクリア ¶ void PyErr_Clear ( ) ¶ 次に属します: Stable ABI . エラーインジケータをクリアします。エラーインジケータが設定されていないならば、効果は...ありません。 void PyErr_PrintEx ( int set_sys_last_vars ) ¶ 次に属します: Stable ABI . 標準のトレースバックを sys.stderr に出力し、エラーインジケー..., value and traceback of this exception, respectively. バージョン 3.12 で変更: The setting of sys.last_exc was added. void PyErr_Print ( ) ¶ 次に属します: Stable ABI . PyErr_PrintEx(1) のエイリアスです。 void PyErr_WriteUnraisable ( PyObject * obj ) ¶... - https://man.mtool.work/python/3.14/c-api/exceptions.html
- 例外処理 — Python 3.14.8 ドキュメント 11983
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 例外処理 テーマ 自動 ライト ダーク | 例外処理 ¶ この章で説明する関数を使うと、 Python の例外の処理や例外の送出ができるようになりま
...ng), while the latter returns an exception after it is caught (and has therefore stopped propagating). 出力とクリア ¶ void PyErr_Clear ( ) ¶ 次に属します: Stable ABI . エラーインジケータをクリアします。エラーインジケータが設定されていないならば、効果は...ありません。 void PyErr_PrintEx ( int set_sys_last_vars ) ¶ 次に属します: Stable ABI . 標準のトレースバックを sys.stderr に出力し、エラーインジケー..., value and traceback of this exception, respectively. バージョン 3.12 で変更: The setting of sys.last_exc was added. void PyErr_Print ( ) ¶ 次に属します: Stable ABI . PyErr_PrintEx(1) のエイリアスです。 void PyErr_WriteUnraisable ( PyObject * obj ) ¶... - https://man.mtool.work/python/3.14/c-api/exceptions.html
- C API Stability — Python 3.14.8 ドキュメント 11072
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » C API Stability テーマ 自動 ライト ダーク | C API Stability ¶ Unless documented otherwise, Python's C API is covered by the Backw
...ict_SetItem() PyDict_SetItemString() PyDict_Size() PyDict_Type PyDict_Update() PyDict_Values() PyEllipsis_Type PyEnum_Type PyErr_BadArgument() PyErr_BadInternalCall() PyErr_CheckSignals() PyErr_Clear() PyErr_Display() PyErr_DisplayException() PyErr_Ex...ceptionMatches() PyErr_Fetch() PyErr_Format() PyErr_FormatV() PyErr_GetExcInfo() PyErr_GetHandledException() PyErr_GetRaisedException() PyErr_Giv...enExceptionMatches() PyErr_NewException() PyErr_NewExceptionWithDoc() PyErr_NoMemory() PyErr_NormalizeException() PyErr_Occurred() PyErr_Print() PyEr... - https://man.mtool.work/python/3.14/c-api/stable.html
- C API Stability — Python 3.14.8 ドキュメント 11072
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » C API Stability テーマ 自動 ライト ダーク | C API Stability ¶ Unless documented otherwise, Python's C API is covered by the Backw
...ict_SetItem() PyDict_SetItemString() PyDict_Size() PyDict_Type PyDict_Update() PyDict_Values() PyEllipsis_Type PyEnum_Type PyErr_BadArgument() PyErr_BadInternalCall() PyErr_CheckSignals() PyErr_Clear() PyErr_Display() PyErr_DisplayException() PyErr_Ex...ceptionMatches() PyErr_Fetch() PyErr_Format() PyErr_FormatV() PyErr_GetExcInfo() PyErr_GetHandledException() PyErr_GetRaisedException() PyErr_Giv...enExceptionMatches() PyErr_NewException() PyErr_NewExceptionWithDoc() PyErr_NoMemory() PyErr_NormalizeException() PyErr_Occurred() PyErr_Print() PyEr... - https://man.mtool.work/python/3.14/c-api/stable.html
- Pending removal in future versions — Python 3.14.8 ドキュメント 9933
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » Pending removal in future versions テーマ 自動 ライト ダーク | Pending removal in future versions ¶ The following APIs are deprecated and will be removed, although there is cu
...rrently no date scheduled for their removal. Py_TPFLAGS_HAVE_FINALIZE : Unneeded since Python 3.8. PyErr_Fetch() : Use PyErr_GetRaisedException() instead. PyErr_NormalizeException() : Use PyErr_GetRaisedException() instead. PyE...rr_Restore() : Use PyErr_SetRaisedException() instead. PyModule_GetFilename() : Use PyModule_GetFilenameObject() instead. PyOS_AfterFork() : Use Py..._GetIndicesEx() : Use PySlice_Unpack() and PySlice_AdjustIndices() instead. PyUnicode_READY() : Unneeded since Python 3.12 PyErr_Display() : Use PyErr_DisplayException() instead. _PyErr_ChainExceptions() : Use _PyErr_ChainExceptions1() instead. PyByte... - https://man.mtool.work/python/3.14/deprecations/c-api-pending-removal-in-future....
- Pending removal in future versions — Python 3.14.8 ドキュメント 9892
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » Pending removal in future versions テーマ 自動 ライト ダーク | Pending removal in future versions ¶ The following APIs are deprecated and will be removed, although there is cu
...rrently no date scheduled for their removal. Py_TPFLAGS_HAVE_FINALIZE : Unneeded since Python 3.8. PyErr_Fetch() : Use PyErr_GetRaisedException() instead. PyErr_NormalizeException() : Use PyErr_GetRaisedException() instead. PyE...rr_Restore() : Use PyErr_SetRaisedException() instead. PyModule_GetFilename() : Use PyModule_GetFilenameObject() instead. PyOS_AfterFork() : Use Py..._GetIndicesEx() : Use PySlice_Unpack() and PySlice_AdjustIndices() instead. PyUnicode_READY() : Unneeded since Python 3.12 PyErr_Display() : Use PyErr_DisplayException() instead. _PyErr_ChainExceptions() : Use _PyErr_ChainExceptions1() instead. PyByte... - https://man.mtool.work/python/3.14/deprecations/c-api-pending-removal-in-future....
- 索引 — Python 3.14.8 ドキュメント 8860
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – P p (pdb command) P_ALL (os モジュール) P_DETACH (os モジュール) P_NOWAIT (os モジュール) P_NOWAITO (os モジュール) P_OVERLAY (os モジ
...LED (C function) PyDTrace_LINE (C function) PyDTrace_LINE_ENABLED (C function) PyEllipsis_Type (C var) PyEnum_Type (C var) PyErr_BadArgument (C function) PyErr_BadInternalCall (C function) PyErr_CheckSignals (C function) PyErr_Clear (C function) , [1]..., [2] PyErr_Display (C function) PyErr_DisplayException (C function) PyErr_ExceptionMatches (C function) , [1] PyErr_Fetch (C function...) , [1] PyErr_Format (C function) PyErr_FormatUnraisable (C function) PyErr_FormatV (C function) PyErr_GetExcInfo (C function) PyErr_Get... - https://man.mtool.work/python/3.14/genindex-P.html
- 索引 — Python 3.14.8 ドキュメント 8860
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – P p (pdb command) P_ALL (os モジュール) P_DETACH (os モジュール) P_NOWAIT (os モジュール) P_NOWAITO (os モジュール) P_OVERLAY (os モジ
...LED (C function) PyDTrace_LINE (C function) PyDTrace_LINE_ENABLED (C function) PyEllipsis_Type (C var) PyEnum_Type (C var) PyErr_BadArgument (C function) PyErr_BadInternalCall (C function) PyErr_CheckSignals (C function) PyErr_Clear (C function) , [1]..., [2] PyErr_Display (C function) PyErr_DisplayException (C function) PyErr_ExceptionMatches (C function) , [1] PyErr_Fetch (C function...) , [1] PyErr_Format (C function) PyErr_FormatUnraisable (C function) PyErr_FormatV (C function) PyErr_GetExcInfo (C function) PyErr_Get... - https://man.mtool.work/python/3.14/genindex-P.html
- What's New In Python 3.12 — Python 3.14.8 ドキュメント 7600
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.12 テーマ 自動 ライト ダーク | What's New In Python 3.12 ¶ 編集者 : Adam Turner この記事では Python 3.11 と比較した
...the eval breaker mechanism of the Python bytecode evaluation loop instead of object allocations. The GC can also run when PyErr_CheckSignals() is called so C extensions that need to run for a long time without executing any Python code also have a ch...nd PyFrame_GetVarString() functions to get a frame variable by its name. (Contributed by Victor Stinner in gh-91248 .) Add PyErr_GetRaisedException() and PyErr_SetRaisedException() for saving and restoring the current exception. These functions return...and accept a single exception object, rather than the triple arguments of the now-deprecated PyErr_Fetch() and PyErr_Restore() . This is less error prone and a bit more efficient. (Contributed by Mark Shannon in gh-101578... - https://man.mtool.work/python/3.14/whatsnew/3.12.html
- 整数型オブジェクト (integer object) — Python 3.14.8 ドキュメント 7600
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » 整数型オブジェクト (integer object) テーマ 自動 ライト ダーク | 整数型オブジェクト (i
...起きると、ほとんどの PyLong_As* API は (return type)-1 を返しますが、これは数値と見分けが付きません。 見分けを付けるためには PyErr_Occurred() を使ってください。 type PyLongObject ¶ 次に属します: Limited API (不透明な構造体として). この PyObject のサブタ...bj の値が long の範囲外であれば、 OverflowError を送出します。 エラーが起きたときに -1 を返します。 見分けを付けるためには PyErr_Occurred() を使ってください。 バージョン 3.8 で変更: 可能であれば __index__() を使うようになりました。 バージョン 3.10 で変...er exception occurs set *overflow to 0 and return -1 as usual. エラーが起きたときに -1 を返します。 見分けを付けるためには PyErr_Occurred() を使ってください。 バージョン 3.8 で変更: 可能であれば __index__() を使うようになりました。 バージョン 3.10 で変... - https://man.mtool.work/python/3.14/c-api/long.html