Types
PyIndexErrorObject = ref object of PyLookupErrorObject
- Source Edit
PyIOErrorObject = ref object of PyOSErrorObject
- Source Edit
PyKeyErrorObject = ref object of PyLookupErrorObject
- Source Edit
PyModuleNotFoundErrorObject = ref object of PyImportErrorObject
- Source Edit
PyNotImplementedErrorObject = ref object of PyRuntimeErrorObject
- Source Edit
PyOverflowErrorObject = ref object of PyArithmeticErrorObject
- Source Edit
PyRecursionErrorObject = ref object of PyRuntimeErrorObject
- Source Edit
PyUnboundLocalErrorObject = ref object of PyNameErrorObject
- Source Edit
PyZeroDivisionErrorObject = ref object of PyArithmeticErrorObject
- Source Edit
Lets
pyIndexErrorObjectType {.inject.} = newPyType("indexerror", pyLookupErrorObjectType)
- Source Edit
pyIOErrorObjectType {.inject.} = newPyType("ioerror", pyOSErrorObjectType)
- Source Edit
pyKeyErrorObjectType {.inject.} = newPyType("keyerror", pyLookupErrorObjectType)
- Source Edit
pyModuleNotFoundErrorObjectType {.inject.} = newPyType("modulenotfounderror", pyImportErrorObjectType)
- Source Edit
pyNotImplementedErrorObjectType {.inject.} = newPyType("notimplementederror", pyRuntimeErrorObjectType)
- Source Edit
pyOverflowErrorObjectType {.inject.} = newPyType("overflowerror", pyArithmeticErrorObjectType)
- Source Edit
pyRecursionErrorObjectType {.inject.} = newPyType("recursionerror", pyRuntimeErrorObjectType)
- Source Edit
pyUnboundLocalErrorObjectType {.inject.} = newPyType("unboundlocalerror", pyNameErrorObjectType)
- Source Edit
pyZeroDivisionErrorObjectType {.inject.} = newPyType("zerodivisionerror", pyArithmeticErrorObjectType)
- Source Edit
Procs
proc newIndexError(): PyIndexErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newIndexError(msgStr: PyStrObject): PyIndexErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newIOError(): PyIOErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newIOError(msgStr: PyStrObject): PyIOErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newKeyError(): PyKeyErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newKeyError(msgStr: PyStrObject): PyKeyErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newModuleNotFoundError(): PyModuleNotFoundErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newModuleNotFoundError(msgStr: PyStrObject): PyModuleNotFoundErrorObject {. inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newNotImplementedError(): PyNotImplementedErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newNotImplementedError(msgStr: PyStrObject): PyNotImplementedErrorObject {. inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newOverflowError(): PyOverflowErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newOverflowError(msgStr: PyStrObject): PyOverflowErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyIndexErrorSimple(): PyIndexErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyIOErrorSimple(): PyIOErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyKeyErrorSimple(): PyKeyErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyModuleNotFoundErrorSimple(): PyModuleNotFoundErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyNotImplementedErrorSimple(): PyNotImplementedErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyOverflowErrorSimple(): PyOverflowErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyRecursionErrorSimple(): PyRecursionErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyUnboundLocalErrorSimple(): PyUnboundLocalErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyZeroDivisionErrorSimple(): PyZeroDivisionErrorObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newRecursionError(): PyRecursionErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newRecursionError(msgStr: PyStrObject): PyRecursionErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newUnboundLocalError(): PyUnboundLocalErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newUnboundLocalError(msgStr: PyStrObject): PyUnboundLocalErrorObject {. inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newZeroDivisionError(): PyZeroDivisionErrorObject {.inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newZeroDivisionError(msgStr: PyStrObject): PyZeroDivisionErrorObject {. inline, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc ofExactPyIndexErrorObject(obj`gensym17: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyIOErrorObject(obj`gensym65: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyKeyErrorObject(obj`gensym25: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyModuleNotFoundErrorObject(obj`gensym57: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyNotImplementedErrorObject(obj`gensym41: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyOverflowErrorObject(obj`gensym1: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyRecursionErrorObject(obj`gensym49: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyUnboundLocalErrorObject(obj`gensym33: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPyZeroDivisionErrorObject(obj`gensym9: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyIndexErrorObject(obj`gensym17: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyIOErrorObject(obj`gensym65: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyKeyErrorObject(obj`gensym25: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyModuleNotFoundErrorObject(obj`gensym57: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyNotImplementedErrorObject(obj`gensym41: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyOverflowErrorObject(obj`gensym1: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyRecursionErrorObject(obj`gensym49: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyUnboundLocalErrorObject(obj`gensym33: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyZeroDivisionErrorObject(obj`gensym9: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
Templates
template newAttributeError(tobj: PyObject; attrName: PyStrObject): untyped
- Source Edit
template newIndexTypeError(typeName: PyStrObject; obj: PyObject): untyped
- Source Edit