per page, with , order by , clip by
Results of 1 - 10 of about 30 for PyExc (0.016 sec.)
例外処理 — Python 3.14.8 ドキュメント 11778
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 例外処理 テーマ 自動 ライト ダーク | 例外処理 ¶ この章で説明する関数を使うと、 Python の例外の処理や例外の送出ができるようになりま ... the error indicator. The first argument specifies the exception type; it is normally one of the standard exceptions, e.g. PyExc_RuntimeError . You need not create a new strong reference to it (e.g. with Py_INCREF() ). The second argument is an error ... etObject(type, Py_None) を省略したものです。 int PyErr_BadArgument ( ) ¶ 次に属します: Stable ABI . これは PyErr_SetString(PyExc_TypeError, message) を省略したもので、ここで message は組み込み操作が不正な引数で呼び出されたということを表しています。主に ... 用するためのものです。 PyObject * PyErr_NoMemory ( ) ¶ 戻り値: 常に NULL 。 次に属します: Stable ABI . これは PyErr_SetNone(PyExc_MemoryError) を省略したもので、 NULL を返します。したがって、メモリ不足になったとき、オブジェクト割り当て関数は return PyE ...
https://man.mtool.work/python/3.14/c-api/exceptions.html
例外処理 — Python 3.14.8 ドキュメント 11778
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 例外処理 テーマ 自動 ライト ダーク | 例外処理 ¶ この章で説明する関数を使うと、 Python の例外の処理や例外の送出ができるようになりま ... the error indicator. The first argument specifies the exception type; it is normally one of the standard exceptions, e.g. PyExc_RuntimeError . You need not create a new strong reference to it (e.g. with Py_INCREF() ). The second argument is an error ... etObject(type, Py_None) を省略したものです。 int PyErr_BadArgument ( ) ¶ 次に属します: Stable ABI . これは PyErr_SetString(PyExc_TypeError, message) を省略したもので、ここで message は組み込み操作が不正な引数で呼び出されたということを表しています。主に ... 用するためのものです。 PyObject * PyErr_NoMemory ( ) ¶ 戻り値: 常に NULL 。 次に属します: Stable ABI . これは PyErr_SetNone(PyExc_MemoryError) を省略したもので、 NULL を返します。したがって、メモリ不足になったとき、オブジェクト割り当て関数は return PyE ...
https://man.mtool.work/python/3.14/c-api/exceptions.html
C API Stability — Python 3.14.8 ドキュメント 11745
ナビゲーション 索引 モジュール | 次へ | 前へ | 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 ... val_GetGlobals() PyEval_GetLocals() PyEval_InitThreads() PyEval_ReleaseThread() PyEval_RestoreThread() PyEval_SaveThread() PyExc_ArithmeticError PyExc_AssertionError PyExc_AttributeError PyExc_BaseException PyExc_BaseExceptionGroup PyExc_BlockingIOErr ... or PyExc_BrokenPipeError PyExc_BufferError PyExc_BytesWarning PyExc_ChildProcessError PyExc_ConnectionAbortedError PyExc_Connection ... Error PyExc_ConnectionRefusedError PyExc_ConnectionResetError PyExc_DeprecationWarning PyExc_EOFError PyExc_EncodingWarning PyExc_Envi ...
https://man.mtool.work/python/3.14/c-api/stable.html
C API Stability — Python 3.14.8 ドキュメント 11745
ナビゲーション 索引 モジュール | 次へ | 前へ | 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 ... val_GetGlobals() PyEval_GetLocals() PyEval_InitThreads() PyEval_ReleaseThread() PyEval_RestoreThread() PyEval_SaveThread() PyExc_ArithmeticError PyExc_AssertionError PyExc_AttributeError PyExc_BaseException PyExc_BaseExceptionGroup PyExc_BlockingIOErr ... or PyExc_BrokenPipeError PyExc_BufferError PyExc_BytesWarning PyExc_ChildProcessError PyExc_ConnectionAbortedError PyExc_Connection ... Error PyExc_ConnectionRefusedError PyExc_ConnectionResetError PyExc_DeprecationWarning PyExc_EOFError PyExc_EncodingWarning PyExc_Envi ...
https://man.mtool.work/python/3.14/c-api/stable.html
索引 — Python 3.14.8 ドキュメント 10170
ナビゲーション 索引 モジュール | 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 モジ ... (C function) PyEval_SetProfileAllThreads (C function) PyEval_SetTrace (C function) PyEval_SetTraceAllThreads (C function) PyExc_ArithmeticError (C var) PyExc_AssertionError (C var) PyExc_AttributeError (C var) PyExc_BaseException (C var) PyExc_BaseEx ... ceptionGroup (C var) PyExc_BlockingIOError (C var) PyExc_BrokenPipeError (C var) PyExc_BufferError (C var) PyExc_BytesWarning (C var) PyExc_ChildProc ... essError (C var) PyExc_ConnectionAbortedError (C var) PyExc_ConnectionError (C var) PyExc_ConnectionRefusedError (C var) PyExc_ConnectionResetErr ...
https://man.mtool.work/python/3.14/genindex-P.html
索引 — Python 3.14.8 ドキュメント 10170
ナビゲーション 索引 モジュール | 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 モジ ... (C function) PyEval_SetProfileAllThreads (C function) PyEval_SetTrace (C function) PyEval_SetTraceAllThreads (C function) PyExc_ArithmeticError (C var) PyExc_AssertionError (C var) PyExc_AttributeError (C var) PyExc_BaseException (C var) PyExc_BaseEx ... ceptionGroup (C var) PyExc_BlockingIOError (C var) PyExc_BrokenPipeError (C var) PyExc_BufferError (C var) PyExc_BytesWarning (C var) PyExc_ChildProc ... essError (C var) PyExc_ConnectionAbortedError (C var) PyExc_ConnectionError (C var) PyExc_ConnectionRefusedError (C var) PyExc_ConnectionResetErr ...
https://man.mtool.work/python/3.14/genindex-P.html
索引 — Python 3.14.8 ドキュメント 8415
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | 索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | イ | エ | オ | カ | キ ... (C function) PyEval_SetProfileAllThreads (C function) PyEval_SetTrace (C function) PyEval_SetTraceAllThreads (C function) PyExc_ArithmeticError (C var) PyExc_AssertionError (C var) PyExc_AttributeError (C var) PyExc_BaseException (C var) PyExc_BaseEx ... ceptionGroup (C var) PyExc_BlockingIOError (C var) PyExc_BrokenPipeError (C var) PyExc_BufferError (C var) PyExc_BytesWarning (C var) PyExc_ChildProc ... essError (C var) PyExc_ConnectionAbortedError (C var) PyExc_ConnectionError (C var) PyExc_ConnectionRefusedError (C var) PyExc_ConnectionResetErr ...
https://man.mtool.work/python/3.14/genindex-all.html
2. 拡張の型の定義: チュートリアル — Python 3.14.8 ドキュメント 8025
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 2. 拡張の型の定義: チュートリアル テーマ 自動 ライト ダーク | 2. 拡張の型の定義: チュートリアル ¶ Python では、組み込みの s ... ct * Py_UNUSED ( dummy )) { CustomObject * self = ( CustomObject * ) op ; if ( self -> first == NULL ) { PyErr_SetString ( PyExc_AttributeError , "first" ); return NULL ; } if ( self -> last == NULL ) { PyErr_SetString ( PyExc_AttributeError , "last" ... ct * Py_UNUSED ( dummy )) { CustomObject * self = ( CustomObject * ) op ; if ( self -> first == NULL ) { PyErr_SetString ( PyExc_AttributeError , "first" ); return NULL ; } if ( self -> last == NULL ) { PyErr_SetString ( PyExc_AttributeError , "last" ... Object * value , void * closure ) { CustomObject * self = ( CustomObject * ) op ; if ( value == NULL ) { PyErr_SetString ( PyExc_TypeError , "Cannot delete the first attribute" ); return -1 ; } if ( ! PyUnicode_Check ( value )) { PyErr_SetString ( PyE ...
https://man.mtool.work/python/3.14/extending/newtypes_tutorial.html
2. 拡張の型の定義: チュートリアル — Python 3.14.8 ドキュメント 8025
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 2. 拡張の型の定義: チュートリアル テーマ 自動 ライト ダーク | 2. 拡張の型の定義: チュートリアル ¶ Python では、組み込みの s ... ct * Py_UNUSED ( dummy )) { CustomObject * self = ( CustomObject * ) op ; if ( self -> first == NULL ) { PyErr_SetString ( PyExc_AttributeError , "first" ); return NULL ; } if ( self -> last == NULL ) { PyErr_SetString ( PyExc_AttributeError , "last" ... ct * Py_UNUSED ( dummy )) { CustomObject * self = ( CustomObject * ) op ; if ( self -> first == NULL ) { PyErr_SetString ( PyExc_AttributeError , "first" ); return NULL ; } if ( self -> last == NULL ) { PyErr_SetString ( PyExc_AttributeError , "last" ... Object * value , void * closure ) { CustomObject * self = ( CustomObject * ) op ; if ( value == NULL ) { PyErr_SetString ( PyExc_TypeError , "Cannot delete the first attribute" ); return -1 ; } if ( ! PyUnicode_Check ( value )) { PyErr_SetString ( PyE ...
https://man.mtool.work/python/3.14/extending/newtypes_tutorial.html
1. Extending Python with C or C++ — Python 3.14.8 ドキュメント 7586
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 1. Extending Python with C or C++ テーマ 自動 ライト ダーク | 1. Extending Python with C or C++ ¶ It is quite easy to add n ... います。 もっともよく用いられるのは PyErr_SetString() です。引数は例外オブジェクトと C 文字列です。例外オブジェクトは通常、 PyExc_ZeroDivisionError のような定義済みのオブジェクトです。 C 文字列はエラーの原因を示し、Python 文字列オブジェクトに変換されて ... ption to raise is entirely yours. There are predeclared C objects corresponding to all built-in Python exceptions, such as PyExc_ZeroDivisionError , which you can use directly. Of course, you should choose exceptions wisely --- don't use PyExc_TypeErr ... or to mean that a file couldn't be opened (that should probably be PyExc_OSError ). If something's wrong with the argument list, the PyArg_ParseTuple() function usually raises PyExc_TypeError . I ...
https://man.mtool.work/python/3.14/extending/extending.html
PREV 1 2 3 NEXT