Documentation ¶
Index ¶
- Constants
- Variables
- func PyBool_Check(o *PyObject) bool
- func PyByteArray_AsString(o *PyObject) string
- func PyByteArray_Check(o *PyObject) bool
- func PyByteArray_CheckExact(o *PyObject) bool
- func PyByteArray_Resize(bytearray *PyObject, len int)
- func PyByteArray_Size(o *PyObject) int
- func PyBytes_AsString(o *PyObject) string
- func PyBytes_Check(o *PyObject) bool
- func PyBytes_CheckExact(o *PyObject) bool
- func PyBytes_Size(o *PyObject) int
- func PyCallable_Check(o *PyObject) bool
- func PyComplex_Check(p *PyObject) bool
- func PyComplex_CheckExact(p *PyObject) bool
- func PyComplex_ImagAsDouble(op *PyObject) float64
- func PyComplex_RealAsDouble(op *PyObject) float64
- func PyDict_Check(p *PyObject) bool
- func PyDict_CheckExact(p *PyObject) bool
- func PyDict_Clear(p *PyObject)
- func PyDict_ClearFreeList() int
- func PyDict_Contains(p, key *PyObject) int
- func PyDict_DelItem(p, key *PyObject) int
- func PyDict_DelItemString(p *PyObject, key string) int
- func PyDict_Next(p *PyObject, ppos *int, pkey, pvalue **PyObject) bool
- func PyDict_SetItem(p, key, val *PyObject) int
- func PyDict_SetItemString(p *PyObject, key string, val *PyObject) int
- func PyDict_Size(p *PyObject) int
- func PyErr_BadArgument()
- func PyErr_BadInternalCall()
- func PyErr_CheckSignals() int
- func PyErr_Clear()
- func PyErr_ExceptionMatches(exc *PyObject) bool
- func PyErr_Fetch() (*PyObject, *PyObject, *PyObject)
- func PyErr_GetExcInfo() (*PyObject, *PyObject, *PyObject)
- func PyErr_GivenExceptionMatches(given, exc *PyObject) bool
- func PyErr_NormalizeException(exc, val, tb *PyObject) (*PyObject, *PyObject, *PyObject)
- func PyErr_Print()
- func PyErr_PrintEx(setSysLastVars bool)
- func PyErr_Restore(pyType *PyObject, value *PyObject, traceback *PyObject)
- func PyErr_SetExcInfo(pyType *PyObject, value *PyObject, traceback *PyObject)
- func PyErr_SetInterrupt()
- func PyErr_SetNone(pyType *PyObject)
- func PyErr_SetObject(pyType, value *PyObject)
- func PyErr_SetString(pyType *PyObject, message string)
- func PyErr_SyntaxLocation(filename string, lineno int)
- func PyErr_SyntaxLocationEx(filename string, lineno, col_offset int)
- func PyErr_SyntaxLocationObject(filename *PyObject, lineno, col_offset int)
- func PyErr_WarnEx(category *PyObject, message string, stack_level int) int
- func PyErr_WarnExplicit(category *PyObject, message string, filename string, lineno int, module string, ...) int
- func PyErr_WarnExplicitObject(category *PyObject, message *PyObject, filename *PyObject, lineno int, ...) int
- func PyErr_WriteUnraisable(obj *PyObject)
- func PyEval_GetFuncDesc(pyFunc *PyObject) string
- func PyEval_GetFuncName(pyFunc *PyObject) string
- func PyEval_InitThreads()
- func PyEval_RestoreThread(tstate *PyThreadState)
- func PyEval_ThreadsInitialized() bool
- func PyException_SetCause(ex, cause *PyObject)
- func PyException_SetContext(ex, ctx *PyObject)
- func PyException_SetTraceback(ex, tb *PyObject) int
- func PyFloat_AsDouble(obj *PyObject) float64
- func PyFloat_Check(p *PyObject) bool
- func PyFloat_CheckExact(p *PyObject) bool
- func PyFloat_ClearFreeList() int
- func PyFloat_GetMax() float64
- func PyFloat_GetMin() float64
- func PyGILState_Check() bool
- func PyGILState_Release(state PyGILState)
- func PyImport_GetMagicNumber() int
- func PyImport_GetMagicTag() string
- func PyImport_ImportFrozenModule(name string) int
- func PyImport_ImportFrozenModuleObject(name *PyObject) int
- func PyList_Append(p, item *PyObject) int
- func PyList_Check(p *PyObject) bool
- func PyList_CheckExact(p *PyObject) bool
- func PyList_ClearFreeList() int
- func PyList_Insert(p *PyObject, index int, item *PyObject) int
- func PyList_Reverse(list *PyObject) int
- func PyList_SetItem(p *PyObject, pos int, o *PyObject) int
- func PyList_SetSlice(p *PyObject, low, high int, itemlist *PyObject) int
- func PyList_Size(p *PyObject) int
- func PyList_Sort(list *PyObject) int
- func PyLong_AsDouble(obj *PyObject) float64
- func PyLong_AsLong(obj *PyObject) int
- func PyLong_AsLongAndOverflow(obj *PyObject) (int, int)
- func PyLong_AsLongLong(obj *PyObject) int64
- func PyLong_AsLongLongAndOverflow(obj *PyObject) (int64, int)
- func PyLong_AsUnsignedLong(obj *PyObject) uint
- func PyLong_AsUnsignedLongLong(obj *PyObject) uint64
- func PyLong_AsUnsignedLongLongMask(obj *PyObject) uint64
- func PyLong_AsUnsignedLongMask(obj *PyObject) uint
- func PyLong_Check(p *PyObject) bool
- func PyLong_CheckExact(p *PyObject) bool
- func PyModule_Check(p *PyObject) bool
- func PyModule_CheckExact(p *PyObject) bool
- func PyModule_GetName(module *PyObject) string
- func PyModule_GetState(module *PyObject) unsafe.Pointer
- func PyRun_AnyFile(filename string) (int, error)
- func PyRun_SimpleString(command string) int
- func PySignal_SetWakeupFd(fd uintptr) uintptr
- func PySys_AddWarnOption(s string) error
- func PySys_AddXOption(s string) error
- func PySys_ResetWarnOptions()
- func PySys_SetArgv(args []string) error
- func PySys_SetArgvEx(args []string, updatepath bool) error
- func PySys_SetObject(name string, v *PyObject) int
- func PySys_SetPath(path string) error
- func PyTuple_Check(p *PyObject) bool
- func PyTuple_CheckExact(p *PyObject) bool
- func PyTuple_SetItem(p *PyObject, pos int, o *PyObject) int
- func PyTuple_Size(p *PyObject) int
- func PyType_Check(o *PyObject) bool
- func PyType_CheckExact(o *PyObject) bool
- func PyUnicode_AsUTF8(unicode *PyObject) string
- func PyUnicode_Check(o *PyObject) bool
- func PyUnicode_CheckExact(o *PyObject) bool
- func PyUnicode_CopyCharacters(to, from *PyObject, to_start, from_start, how_many int) int
- func PyUnicode_Fill(unicode *PyObject, start, length int, fill_char rune) int
- func PyUnicode_GetLength(unicode *PyObject) int
- func PyUnicode_ReadChar(unicode *PyObject, index int) rune
- func PyUnicode_WriteChar(unicode *PyObject, index int, character rune) int
- func Py_EnterRecursiveCall(where string) int
- func Py_Finalize()
- func Py_FinalizeEx() int
- func Py_GetBuildInfo() string
- func Py_GetCompiler() string
- func Py_GetCopyright() string
- func Py_GetExecPrefix() (string, error)
- func Py_GetPath() (string, error)
- func Py_GetPlatform() string
- func Py_GetPrefix() (string, error)
- func Py_GetProgramFullPath() (string, error)
- func Py_GetProgramName() (string, error)
- func Py_GetPythonHome() (string, error)
- func Py_GetVersion() string
- func Py_Initialize()
- func Py_InitializeEx(initsigs bool)
- func Py_IsInitialized() bool
- func Py_LeaveRecursiveCall()
- func Py_Main(args []string) (int, error)
- func Py_SetPath(path string) error
- func Py_SetProgramName(name string) error
- func Py_SetPythonHome(home string) error
- func Py_SetStandardStreamEncoding(encoding, errors string) int
- type PyGILState
- type PyObject
- func PyBool_FromLong(v int) *PyObject
- func PyByteArray_Concat(a, b *PyObject) *PyObject
- func PyByteArray_FromObject(o *PyObject) *PyObject
- func PyByteArray_FromStringAndSize(str string) *PyObject
- func PyBytes_Concat(bytes, newpart *PyObject) *PyObject
- func PyBytes_ConcatAndDel(bytes, newpart *PyObject) *PyObject
- func PyBytes_FromObject(o *PyObject) *PyObject
- func PyBytes_FromString(str string) *PyObject
- func PyComplex_FromDoubles(real, imag float64) *PyObject
- func PyDictProxy_New(mapping *PyObject) *PyObject
- func PyDict_Copy(p *PyObject) *PyObject
- func PyDict_GetItem(p, key *PyObject) *PyObject
- func PyDict_GetItemString(p *PyObject, key string) *PyObject
- func PyDict_GetItemWithError(p, key *PyObject) *PyObject
- func PyDict_Items(p *PyObject) *PyObject
- func PyDict_Keys(p *PyObject) *PyObject
- func PyDict_New() *PyObject
- func PyDict_SetDefault(p, key, pyDefault *PyObject) *PyObject
- func PyDict_Values(p *PyObject) *PyObject
- func PyErr_NewException(name string, base, dict *PyObject) *PyObject
- func PyErr_NewExceptionWithDoc(name, doc string, base, dict *PyObject) *PyObject
- func PyErr_NoMemory() *PyObject
- func PyErr_Occurred() *PyObject
- func PyErr_SetImportError(msg, name, path *PyObject) *PyObject
- func PyErr_SetImportErrorSubclass(msg, name, path, subclass *PyObject) *PyObject
- func PyEval_GetBuiltins() *PyObject
- func PyEval_GetGlobals() *PyObject
- func PyEval_GetLocals() *PyObject
- func PyException_GetCause(ex *PyObject) *PyObject
- func PyException_GetContext(ex *PyObject) *PyObject
- func PyException_GetTraceback(ex *PyObject) *PyObject
- func PyFloat_FromDouble(v float64) *PyObject
- func PyFloat_FromString(str *PyObject) *PyObject
- func PyFloat_GetInfo() *PyObject
- func PyImport_AddModule(name string) *PyObject
- func PyImport_AddModuleObject(name *PyObject) *PyObject
- func PyImport_ExecCodeModule(name string, co *PyObject) *PyObject
- func PyImport_ExecCodeModuleEx(name string, co *PyObject, pathname string) *PyObject
- func PyImport_ExecCodeModuleObject(name, co, pathname, cpathname *PyObject) *PyObject
- func PyImport_ExecCodeModuleWithPathnames(name string, co *PyObject, pathname string, cpathname string) *PyObject
- func PyImport_GetImporter(path *PyObject) *PyObject
- func PyImport_GetModuleDict() *PyObject
- func PyImport_Import(name *PyObject) *PyObject
- func PyImport_ImportModule(name string) *PyObject
- func PyImport_ImportModuleEx(name string, globals, locals, fromlist *PyObject) *PyObject
- func PyImport_ImportModuleLevel(name string, globals, locals, fromlist *PyObject, level int) *PyObject
- func PyImport_ImportModuleLevelObject(name, globals, locals, fromlist *PyObject, level int) *PyObject
- func PyImport_ReloadModule(name *PyObject) *PyObject
- func PyList_AsTuple(list *PyObject) *PyObject
- func PyList_GetItem(p *PyObject, pos int) *PyObject
- func PyList_GetSlice(p *PyObject, low, high int) *PyObject
- func PyList_New(len int) *PyObject
- func PyLong_FromDouble(v float64) *PyObject
- func PyLong_FromGoFloat64(v float64) *PyObject
- func PyLong_FromGoInt(v int) *PyObject
- func PyLong_FromGoInt64(v int64) *PyObject
- func PyLong_FromGoUint(v uint) *PyObject
- func PyLong_FromGoUint64(v uint64) *PyObject
- func PyLong_FromLong(v int) *PyObject
- func PyLong_FromLongLong(v int64) *PyObject
- func PyLong_FromString(str string, base int) *PyObject
- func PyLong_FromUnicodeObject(u *PyObject, base int) *PyObject
- func PyLong_FromUnsignedLong(v uint) *PyObject
- func PyLong_FromUnsignedLongLong(v uint64) *PyObject
- func PyModule_GetDict(module *PyObject) *PyObject
- func PyModule_GetFilenameObject(module *PyObject) *PyObject
- func PyModule_GetNameObject(module *PyObject) *PyObject
- func PyModule_New(name string) *PyObject
- func PyModule_NewObject(name *PyObject) *PyObject
- func PySys_GetObject(name string) *PyObject
- func PySys_GetXOptions() *PyObject
- func PyTuple_GetItem(p *PyObject, pos int) *PyObject
- func PyTuple_GetSlice(p *PyObject, low, high int) *PyObject
- func PyTuple_New(len int) *PyObject
- func PyUnicode_FromEncodedObject(obj *PyObject, encoding, errors string) *PyObject
- func PyUnicode_FromString(u string) *PyObject
- func PyUnicode_New(size int, maxchar rune) *PyObject
- func PyUnicode_Substring(unicode *PyObject, start, end int) *PyObject
- func (pyObject *PyObject) ASCII() *PyObject
- func (pyObject *PyObject) Bytes() *PyObject
- func (pyObject *PyObject) Call(args *PyObject, kwargs *PyObject) *PyObject
- func (pyObject *PyObject) CallFunctionObjArgs(args ...*PyObject) *PyObject
- func (pyObject *PyObject) CallMethodArgs(name string, args ...*PyObject) *PyObject
- func (pyObject *PyObject) CallMethodObjArgs(name *PyObject, args ...*PyObject) *PyObject
- func (pyObject *PyObject) CallObject(args *PyObject) *PyObject
- func (pyObject *PyObject) DecRef()
- func (pyObject *PyObject) DelAttr(attr_name *PyObject) int
- func (pyObject *PyObject) DelAttrString(attr_name string) int
- func (pyObject *PyObject) DelItem(key *PyObject) int
- func (pyObject *PyObject) Dir() *PyObject
- func (pyObject *PyObject) GetAttr(attr_name *PyObject) *PyObject
- func (pyObject *PyObject) GetAttrString(attr_name string) *PyObject
- func (pyObject *PyObject) GetItem(key *PyObject) *PyObject
- func (pyObject *PyObject) GetIter() *PyObject
- func (pyObject *PyObject) HasAttr(attr_name *PyObject) bool
- func (pyObject *PyObject) HasAttrString(attr_name string) bool
- func (pyObject *PyObject) Hash() int
- func (pyObject *PyObject) HashNotImplemented() int
- func (pyObject *PyObject) IncRef()
- func (pyObject *PyObject) IsInstance(cls *PyObject) int
- func (pyObject *PyObject) IsSubclass(cls *PyObject) int
- func (pyObject *PyObject) IsTrue() int
- func (pyObject *PyObject) Length() int
- func (pyObject *PyObject) LengthHint(pyDefault int) int
- func (pyObject *PyObject) Not() int
- func (pyObject *PyObject) Repr() *PyObject
- func (pyObject *PyObject) ReprEnter() int
- func (pyObject *PyObject) ReprLeave()
- func (pyObject *PyObject) RichCompare(o *PyObject, opid int) *PyObject
- func (pyObject *PyObject) RichCompareBool(o *PyObject, opid int) int
- func (pyObject *PyObject) SetAttr(attr_name *PyObject, v *PyObject) int
- func (pyObject *PyObject) SetAttrString(attr_name string, v *PyObject) int
- func (pyObject *PyObject) SetItem(key, v *PyObject) int
- func (pyObject *PyObject) Str() *PyObject
- func (pyObject *PyObject) Type() *PyObject
- type PyThreadState
Constants ¶
const MaxVariadicLength = 20
MaxVariadicLength is the maximum number of arguments that can be passed to a variadic C function due to a cgo limitation
Variables ¶
var ( Py_False = togo(C.Py_False) Py_True = togo(C.Py_True) )
python boolean constants
var ( PyExc_BaseException = togo(C.PyExc_BaseException) PyExc_Exception = togo(C.PyExc_Exception) PyExc_ArithmeticError = togo(C.PyExc_ArithmeticError) PyExc_AssertionError = togo(C.PyExc_AssertionError) PyExc_AttributeError = togo(C.PyExc_AttributeError) PyExc_BlockingIOError = togo(C.PyExc_BlockingIOError) PyExc_BrokenPipeError = togo(C.PyExc_BrokenPipeError) PyExc_BufferError = togo(C.PyExc_BufferError) PyExc_ChildProcessError = togo(C.PyExc_ChildProcessError) PyExc_ConnectionAbortedError = togo(C.PyExc_ConnectionAbortedError) PyExc_ConnectionError = togo(C.PyExc_ConnectionError) PyExc_ConnectionRefusedError = togo(C.PyExc_ConnectionRefusedError) PyExc_ConnectcionResetError = togo(C.PyExc_ConnectionResetError) PyExc_EOFError = togo(C.PyExc_EOFError) PyExc_FileExistsError = togo(C.PyExc_FileExistsError) PyExc_FileNotFoundError = togo(C.PyExc_FileNotFoundError) PyExc_FloatingPointError = togo(C.PyExc_FloatingPointError) PyExc_GeneratorExit = togo(C.PyExc_GeneratorExit) PyExc_ImportError = togo(C.PyExc_ImportError) PyExc_IndentationError = togo(C.PyExc_IndentationError) PyExc_IndexError = togo(C.PyExc_IndexError) PyExc_InterruptedError = togo(C.PyExc_InterruptedError) PyExc_IsADirectoryError = togo(C.PyExc_IsADirectoryError) PyExc_KeyError = togo(C.PyExc_KeyError) PyExc_KeyboardInterrupt = togo(C.PyExc_KeyboardInterrupt) PyExc_LookupError = togo(C.PyExc_LookupError) PyExc_MemoryError = togo(C.PyExc_MemoryError) PyExc_ModuleNotFoundError = togo(C.PyExc_ModuleNotFoundError) PyExc_NameError = togo(C.PyExc_NameError) PyExc_NotADirectoryError = togo(C.PyExc_NotADirectoryError) PyExc_NotImplementedError = togo(C.PyExc_NotImplementedError) PyExc_OSError = togo(C.PyExc_OSError) PyExc_OverflowError = togo(C.PyExc_OverflowError) PyExc_PermissionError = togo(C.PyExc_PermissionError) PyExc_ProcessLookupError = togo(C.PyExc_ProcessLookupError) PyExc_RecursionError = togo(C.PyExc_RecursionError) PyExc_ReferenceError = togo(C.PyExc_ReferenceError) PyExc_RuntimeError = togo(C.PyExc_RuntimeError) PyExc_StopAsyncIteration = togo(C.PyExc_StopAsyncIteration) PyExc_StopIteration = togo(C.PyExc_StopIteration) PyExc_SyntaxError = togo(C.PyExc_SyntaxError) PyExc_SystemError = togo(C.PyExc_SystemError) PyExc_SystemExit = togo(C.PyExc_SystemExit) PyExc_TabError = togo(C.PyExc_TabError) PyExc_TimeoutError = togo(C.PyExc_TimeoutError) PyExc_TypeError = togo(C.PyExc_TypeError) PyExc_UnboundLocalError = togo(C.PyExc_UnboundLocalError) PyExc_UnicodeDecodeError = togo(C.PyExc_UnicodeDecodeError) PyExc_UnicodeEncodeError = togo(C.PyExc_UnicodeEncodeError) PyExc_UnicodeError = togo(C.PyExc_UnicodeError) PyExc_UnicodeTranslateError = togo(C.PyExc_UnicodeTranslateError) PyExc_ValueError = togo(C.PyExc_ValueError) PyExc_ZeroDivisionError = togo(C.PyExc_ZeroDivisionError) )
All standard Python exceptions are available as global variables whose names are PyExc_ followed by the Python exception name. These have the type PyObject*; they are all class objects.
var ( Py_LT = int(C.Py_LT) Py_LE = int(C.Py_LE) Py_EQ = int(C.Py_EQ) Py_NE = int(C.Py_NE) Py_GT = int(C.Py_GT) Py_GE = int(C.Py_GE) )
Constants used for comparison in PyObject_RichCompareBool
var ( PyExc_Warning = togo(C.PyExc_Warning) PyExc_BytesWarning = togo(C.PyExc_BytesWarning) PyExc_DeprecationWarning = togo(C.PyExc_DeprecationWarning) PyExc_FutureWarning = togo(C.PyExc_FutureWarning) PyExc_ImportWarning = togo(C.PyExc_ImportWarning) PyExc_PendingDeprecationWarning = togo(C.PyExc_PendingDeprecationWarning) PyExc_ResourceWarning = togo(C.PyExc_ResourceWarning) PyExc_RuntimeWarning = togo(C.PyExc_RuntimeWarning) PyExc_SyntaxWarning = togo(C.PyExc_SyntaxWarning) PyExc_UnicodeWarning = togo(C.PyExc_UnicodeWarning) PyExc_UserWarning = togo(C.PyExc_UserWarning) )
All standard Python warning categories are available as global variables whose names are PyExc_ followed by the Python exception name. These have the type PyObject*; they are all class objects.
var Bool = togo((*C.PyObject)(unsafe.Pointer(&C.PyBool_Type)))
Bool : https://docs.python.org/3/c-api/bool.html#c.PyBool_Type
var ByteArray = togo((*C.PyObject)(unsafe.Pointer(&C.PyByteArray_Type)))
ByteArray : https://docs.python.org/3/c-api/bytearray.html#c.PyByteArray_Type
var Bytes = togo((*C.PyObject)(unsafe.Pointer(&C.PyBytes_Type)))
Bytes : https://docs.python.org/3/c-api/bytes.html#c.PyBytes_Type
var Complex = togo((*C.PyObject)(unsafe.Pointer(&C.PyComplex_Type)))
Complex : https://docs.python.org/3/c-api/complex.html#c.PyComplex_Type
var Dict = togo((*C.PyObject)(unsafe.Pointer(&C.PyDict_Type)))
Dict : https://docs.python.org/3/c-api/dict.html#c.PyDict_Type
var Float = togo((*C.PyObject)(unsafe.Pointer(&C.PyFloat_Type)))
Float : https://docs.python.org/3/c-api/float.html#c.PyFloat_Type
var List = togo((*C.PyObject)(unsafe.Pointer(&C.PyList_Type)))
List : https://docs.python.org/3/c-api/list.html#c.PyList_Type
var Long = togo((*C.PyObject)(unsafe.Pointer(&C.PyLong_Type)))
Long : https://docs.python.org/3/c-api/long.html#c.PyLong_Type
var Module = togo((*C.PyObject)(unsafe.Pointer(&C.PyModule_Type)))
Module : https://docs.python.org/3/c-api/module.html#c.PyModule_Type
var Py_None = togo(C.Py_None)
None : https://docs.python.org/3/c-api/none.html#c.Py_None
var Tuple = togo((*C.PyObject)(unsafe.Pointer(&C.PyTuple_Type)))
Tuple : https://docs.python.org/3/c-api/tuple.html#c.PyTuple_Type
var Type = togo((*C.PyObject)(unsafe.Pointer(&C.PyType_Type)))
Type : https://docs.python.org/3/c-api/type.html#c.PyType_Type
var Unicode = togo((*C.PyObject)(unsafe.Pointer(&C.PyUnicode_Type)))
Unicode : https://docs.python.org/3/c-api/unicode.html#c.PyUnicode_Type
Functions ¶
func PyBool_Check ¶
PyBool_Check : https://docs.python.org/3/c-api/bool.html#c.PyBool_Check
func PyByteArray_AsString ¶
PyByteArray_AsString : https://docs.python.org/3/c-api/bytearray.html#c.PyByteArray_AsString
func PyByteArray_Check ¶
PyByteArray_Check : https://docs.python.org/3/c-api/bytearray.html#c.PyByteArray_Check
func PyByteArray_CheckExact ¶
PyByteArray_CheckExact : https://docs.python.org/3/c-api/bytearray.html#c.PyByteArray_CheckExact
func PyByteArray_Resize ¶
PyByteArray_Resize : https://docs.python.org/3/c-api/bytearray.html#c.PyByteArray_Resize
func PyByteArray_Size ¶
PyByteArray_Size : https://docs.python.org/3/c-api/bytearray.html#c.PyByteArray_Size
func PyBytes_AsString ¶
PyBytes_AsString : https://docs.python.org/3/c-api/bytes.html#c.PyBytes_AsString
func PyBytes_Check ¶
PyBytes_Check : https://docs.python.org/3/c-api/bytes.html#c.PyBytes_Check
func PyBytes_CheckExact ¶
PyBytes_CheckExact : https://docs.python.org/3/c-api/bytes.html#c.PyBytes_CheckExact
func PyBytes_Size ¶
PyBytes_Size : https://docs.python.org/3/c-api/bytes.html#c.PyBytes_Size
func PyCallable_Check ¶
PyCallable_Check : https://docs.python.org/3/c-api/object.html#c.PyCallable_Check
func PyComplex_Check ¶
PyComplex_Check : https://docs.python.org/3/c-api/complex.html#c.PyComplex_Check
func PyComplex_CheckExact ¶
PyComplex_CheckExact : https://docs.python.org/3/c-api/complex.html#c.PyComplex_CheckExact
func PyComplex_ImagAsDouble ¶
PyComplex_ImagAsDouble : https://docs.python.org/3/c-api/complex.html#c.PyComplex_ImagAsDouble
func PyComplex_RealAsDouble ¶
PyComplex_RealAsDouble : https://docs.python.org/3/c-api/complex.html#c.PyComplex_RealAsDouble
func PyDict_Check ¶
PyDict_Check : https://docs.python.org/3/c-api/dict.html#c.PyDict_Check
func PyDict_CheckExact ¶
PyDict_CheckExact : https://docs.python.org/3/c-api/dict.html#c.PyDict_CheckExact
func PyDict_Clear ¶
func PyDict_Clear(p *PyObject)
PyDict_Clear : https://docs.python.org/3/c-api/dict.html#c.PyDict_Clear
func PyDict_ClearFreeList ¶
func PyDict_ClearFreeList() int
PyDict_ClearFreeList : https://docs.python.org/3/c-api/dict.html#c.PyDict_ClearFreeList
func PyDict_Contains ¶
PyDict_Contains : https://docs.python.org/3/c-api/dict.html#c.PyDict_Contains
func PyDict_DelItem ¶
PyDict_DelItem : https://docs.python.org/3/c-api/dict.html#c.PyDict_DelItem
func PyDict_DelItemString ¶
PyDict_DelItemString : https://docs.python.org/3/c-api/dict.html#c.PyDict_DelItemString
func PyDict_Next ¶
PyDict_Next : https://docs.python.org/3/c-api/dict.html#c.PyDict_Next
func PyDict_SetItem ¶
PyDict_SetItem : https://docs.python.org/3/c-api/dict.html#c.PyDict_SetItem
func PyDict_SetItemString ¶
PyDict_SetItemString : https://docs.python.org/3/c-api/dict.html#c.PyDict_SetItemString
func PyDict_Size ¶
PyDict_Size : https://docs.python.org/3/c-api/dict.html#c.PyDict_Size
func PyErr_BadArgument ¶
func PyErr_BadArgument()
PyErr_BadArgument : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_BadArgument
func PyErr_BadInternalCall ¶
func PyErr_BadInternalCall()
PyErr_BadInternalCall : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_BadInternalCall
func PyErr_CheckSignals ¶
func PyErr_CheckSignals() int
PyErr_CheckSignals : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_CheckSignals
func PyErr_Clear ¶
func PyErr_Clear()
PyErr_Clear : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_Clear
func PyErr_ExceptionMatches ¶
PyErr_ExceptionMatches : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_ExceptionMatches
func PyErr_Fetch ¶
PyErr_Fetch : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_Fetch
func PyErr_GetExcInfo ¶
PyErr_GetExcInfo : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_GetExcInfo
func PyErr_GivenExceptionMatches ¶
PyErr_GivenExceptionMatches : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_GivenExceptionMatches
func PyErr_NormalizeException ¶
PyErr_NormalizeException : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_NormalizeException
func PyErr_Print ¶
func PyErr_Print()
PyErr_Print : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_Print
func PyErr_PrintEx ¶
func PyErr_PrintEx(setSysLastVars bool)
PyErr_PrintEx : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_PrintEx
func PyErr_Restore ¶
PyErr_Restore : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_Restore
func PyErr_SetExcInfo ¶
PyErr_SetExcInfo : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_SetExcInfo
func PyErr_SetInterrupt ¶
func PyErr_SetInterrupt()
PyErr_SetInterrupt : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_SetInterrupt
func PyErr_SetNone ¶
func PyErr_SetNone(pyType *PyObject)
PyErr_SetNone : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_SetNone
func PyErr_SetObject ¶
func PyErr_SetObject(pyType, value *PyObject)
PyErr_SetObject : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_SetObject
func PyErr_SetString ¶
PyErr_SetString : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_SetString
func PyErr_SyntaxLocation ¶
PyErr_SyntaxLocation : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_SyntaxLocation
func PyErr_SyntaxLocationEx ¶
PyErr_SyntaxLocationEx : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_SyntaxLocationEx
func PyErr_SyntaxLocationObject ¶
PyErr_SyntaxLocationObject : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_SyntaxLocationObject
func PyErr_WarnEx ¶
PyErr_WarnEx : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_WarnEx
func PyErr_WarnExplicit ¶
func PyErr_WarnExplicit(category *PyObject, message string, filename string, lineno int, module string, registry *PyObject) int
PyErr_WarnExplicit : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_WarnExplicit
func PyErr_WarnExplicitObject ¶
func PyErr_WarnExplicitObject(category *PyObject, message *PyObject, filename *PyObject, lineno int, module *PyObject, registry *PyObject) int
PyErr_WarnExplicitObject : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_WarnExplicitObject
func PyErr_WriteUnraisable ¶
func PyErr_WriteUnraisable(obj *PyObject)
PyErr_WriteUnraisable : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_WriteUnraisable
func PyEval_GetFuncDesc ¶
PyEval_GetFuncDesc : https://docs.python.org/3/c-api/reflection.html?highlight=reflection#c.PyEval_GetFuncDesc
func PyEval_GetFuncName ¶
PyEval_GetFuncName : https://docs.python.org/3/c-api/reflection.html?highlight=reflection#c.PyEval_GetFuncName
func PyEval_InitThreads ¶
func PyEval_InitThreads()
PyEval_InitThreads : https://docs.python.org/3/c-api/init.html#c.PyEval_InitThreads
func PyEval_RestoreThread ¶
func PyEval_RestoreThread(tstate *PyThreadState)
PyEval_RestoreThread : https://docs.python.org/3/c-api/init.html#c.PyEval_RestoreThread
func PyEval_ThreadsInitialized ¶
func PyEval_ThreadsInitialized() bool
PyEval_ThreadsInitialized : https://docs.python.org/3/c-api/init.html#c.PyEval_ThreadsInitialized
func PyException_SetCause ¶
func PyException_SetCause(ex, cause *PyObject)
PyException_SetCause : https://docs.python.org/3/c-api/exceptions.html#c.PyException_SetCause
func PyException_SetContext ¶
func PyException_SetContext(ex, ctx *PyObject)
PyException_SetContext : https://docs.python.org/3/c-api/exceptions.html#c.PyException_SetContext
func PyException_SetTraceback ¶
PyException_SetTraceback : https://docs.python.org/3/c-api/exceptions.html#c.PyException_SetTraceback
func PyFloat_AsDouble ¶
PyFloat_AsDouble : https://docs.python.org/3/c-api/float.html#c.PyFloat_AsDouble
func PyFloat_Check ¶
PyFloat_Check : https://docs.python.org/3/c-api/float.html#c.PyFloat_Check
func PyFloat_CheckExact ¶
PyFloat_CheckExact : https://docs.python.org/3/c-api/float.html#c.PyFloat_CheckExact
func PyFloat_ClearFreeList ¶
func PyFloat_ClearFreeList() int
PyFloat_ClearFreeList : https://docs.python.org/3/c-api/float.html#c.PyFloat_ClearFreeList
func PyFloat_GetMax ¶
func PyFloat_GetMax() float64
PyFloat_GetMax : https://docs.python.org/3/c-api/float.html#c.PyFloat_GetMax
func PyFloat_GetMin ¶
func PyFloat_GetMin() float64
PyFloat_GetMin : https://docs.python.org/3/c-api/float.html#c.PyFloat_GetMin
func PyGILState_Check ¶
func PyGILState_Check() bool
PyGILState_Check : https://docs.python.org/3/c-api/init.html#c.PyGILState_Check
func PyGILState_Release ¶
func PyGILState_Release(state PyGILState)
PyGILState_Release : https://docs.python.org/3/c-api/init.html#c.PyGILState_Release
func PyImport_GetMagicNumber ¶
func PyImport_GetMagicNumber() int
PyImport_GetMagicNumber : https://docs.python.org/3/c-api/import.html#c.PyImport_GetMagicNumber
func PyImport_GetMagicTag ¶
func PyImport_GetMagicTag() string
PyImport_GetMagicTag : https://docs.python.org/3/c-api/import.html#c.PyImport_GetMagicTag
func PyImport_ImportFrozenModule ¶
PyImport_ImportFrozenModule : https://docs.python.org/3/c-api/import.html#c.PyImport_ImportFrozenModule
func PyImport_ImportFrozenModuleObject ¶
PyImport_ImportFrozenModuleObject : https://docs.python.org/3/c-api/import.html#c.PyImport_ImportFrozenModuleObject
func PyList_Append ¶
PyList_Append : https://docs.python.org/3/c-api/list.html#c.PyList_Append
func PyList_Check ¶
PyList_Check : https://docs.python.org/3/c-api/list.html#c.PyList_Check
func PyList_CheckExact ¶
PyList_CheckExact : https://docs.python.org/3/c-api/list.html#c.PyList_CheckExact
func PyList_ClearFreeList ¶
func PyList_ClearFreeList() int
PyList_ClearFreeList : https://docs.python.org/3/c-api/list.html#c.PyList_ClearFreeList
func PyList_Insert ¶
PyList_Insert : https://docs.python.org/3/c-api/list.html#c.PyList_Insert
func PyList_Reverse ¶
PyList_Reverse : https://docs.python.org/3/c-api/list.html#c.PyList_Reverse
func PyList_SetItem ¶
PyList_SetItem : https://docs.python.org/3/c-api/list.html#c.PyList_SetItem
func PyList_SetSlice ¶
PyList_SetSlice : https://docs.python.org/3/c-api/list.html#c.PyList_SetSlice
func PyList_Size ¶
PyList_Size : https://docs.python.org/3/c-api/list.html#c.PyList_Size
func PyList_Sort ¶
PyList_Sort : https://docs.python.org/3/c-api/list.html#c.PyList_Sort
func PyLong_AsDouble ¶
PyLong_AsDouble : https://docs.python.org/3/c-api/long.html#c.PyLong_AsDouble
func PyLong_AsLong ¶
PyLong_AsLong : https://docs.python.org/3/c-api/long.html#c.PyLong_AsLong
func PyLong_AsLongAndOverflow ¶
PyLong_AsLongAndOverflow : https://docs.python.org/3/c-api/long.html#c.PyLong_AsLongAndOverflow
func PyLong_AsLongLong ¶
PyLong_AsLongLong : https://docs.python.org/3/c-api/long.html#c.PyLong_AsLongLong
func PyLong_AsLongLongAndOverflow ¶
PyLong_AsLongLongAndOverflow : https://docs.python.org/3/c-api/long.html#c.PyLong_AsLongLongAndOverflow
func PyLong_AsUnsignedLong ¶
PyLong_AsUnsignedLong : https://docs.python.org/3/c-api/long.html#c.PyLong_AsUnsignedLong
func PyLong_AsUnsignedLongLong ¶
PyLong_AsUnsignedLongLong : https://docs.python.org/3/c-api/long.html#c.PyLong_AsUnsignedLongLong
func PyLong_AsUnsignedLongLongMask ¶
PyLong_AsUnsignedLongLongMask : https://docs.python.org/3/c-api/long.html#c.PyLong_AsUnsignedLongLongMask
func PyLong_AsUnsignedLongMask ¶
PyLong_AsUnsignedLongMask : https://docs.python.org/3/c-api/long.html#c.PyLong_AsUnsignedLongMask
func PyLong_Check ¶
PyLong_Check : https://docs.python.org/3/c-api/long.html#c.PyLong_Check
func PyLong_CheckExact ¶
PyLong_CheckExact : https://docs.python.org/3/c-api/long.html#c.PyLong_CheckExact
func PyModule_Check ¶
PyModule_Check : https://docs.python.org/3/c-api/module.html#c.PyModule_Check
func PyModule_CheckExact ¶
PyModule_CheckExact : https://docs.python.org/3/c-api/module.html#c.PyModule_CheckExact
func PyModule_GetName ¶
PyModule_GetName : https://docs.python.org/3/c-api/module.html#c.PyModule_GetName
func PyModule_GetState ¶
PyModule_GetState : https://docs.python.org/3/c-api/module.html#c.PyModule_GetState
func PyRun_AnyFile ¶
PyRun_AnyFile : https://docs.python.org/3/c-api/veryhigh.html?highlight=pycompilerflags#c.PyRun_AnyFile "error" will be set if we fail to open "filename".
func PyRun_SimpleString ¶
PyRun_SimpleString : https://docs.python.org/3/c-api/veryhigh.html?highlight=pycompilerflags#c.PyRun_SimpleString
func PySignal_SetWakeupFd ¶
PySignal_SetWakeupFd : https://docs.python.org/3/c-api/exceptions.html#c.PySignal_SetWakeupFd
func PySys_AddWarnOption ¶
PySys_AddWarnOption : https://docs.python.org/3/c-api/sys.html#c.PySys_AddWarnOption
func PySys_AddXOption ¶
PySys_AddXOption : https://docs.python.org/3/c-api/sys.html#c.PySys_AddXOption
func PySys_ResetWarnOptions ¶
func PySys_ResetWarnOptions()
PySys_ResetWarnOptions : https://docs.python.org/3/c-api/sys.html#c.PySys_ResetWarnOptions
func PySys_SetArgv ¶
PySys_SetArgv : https://docs.python.org/3/c-api/init.html#c.PySys_SetArgv
func PySys_SetArgvEx ¶
PySys_SetArgvEx : https://docs.python.org/3/c-api/init.html#c.PySys_SetArgvEx
func PySys_SetObject ¶
PySys_SetObject : https://docs.python.org/3/c-api/sys.html#c.PySys_SetObject
func PySys_SetPath ¶
PySys_SetPath : https://docs.python.org/3/c-api/sys.html#c.PySys_SetPath
func PyTuple_Check ¶
PyTuple_Check : https://docs.python.org/3/c-api/tuple.html#c.PyTuple_Check
func PyTuple_CheckExact ¶
PyTuple_CheckExact : https://docs.python.org/3/c-api/tuple.html#c.PyTuple_CheckExact
func PyTuple_SetItem ¶
PyTuple_SetItem : https://docs.python.org/3/c-api/tuple.html#c.PyTuple_SetItem
func PyTuple_Size ¶
PyTuple_Size : https://docs.python.org/3/c-api/tuple.html#c.PyTuple_Size
func PyType_Check ¶
PyType_Check : https://docs.python.org/3/c-api/type.html#c.PyType_Check
func PyType_CheckExact ¶
PyType_CheckExact : https://docs.python.org/3/c-api/type.html#c.PyType_CheckExact
func PyUnicode_AsUTF8 ¶
PyUnicode_AsUTF8 : https://docs.python.org/3/c-api/unicode.html#c.PyUnicode_AsUTF8
func PyUnicode_Check ¶
PyUnicode_Check : https://docs.python.org/3/c-api/unicode.html#c.PyUnicode_Check
func PyUnicode_CheckExact ¶
PyUnicode_CheckExact : https://docs.python.org/3/c-api/unicode.html#c.PyUnicode_CheckExact
func PyUnicode_CopyCharacters ¶
PyUnicode_CopyCharacters : https://docs.python.org/3/c-api/unicode.html#c.PyUnicode_CopyCharacters
func PyUnicode_Fill ¶
PyUnicode_Fill : https://docs.python.org/3/c-api/unicode.html#c.PyUnicode_Fill
func PyUnicode_GetLength ¶
PyUnicode_GetLength : https://docs.python.org/3/c-api/unicode.html#c.PyUnicode_GetLength
func PyUnicode_ReadChar ¶
PyUnicode_ReadChar : https://docs.python.org/3/c-api/unicode.html#c.PyUnicode_ReadChar
func PyUnicode_WriteChar ¶
PyUnicode_WriteChar : https://docs.python.org/3/c-api/unicode.html#c.PyUnicode_WriteChar
func Py_EnterRecursiveCall ¶
Py_EnterRecursiveCall : https://docs.python.org/3/c-api/exceptions.html#c.Py_EnterRecursiveCall
func Py_Finalize ¶
func Py_Finalize()
Py_Finalize : https://docs.python.org/3/c-api/init.html#c.Py_Finalize
func Py_FinalizeEx ¶
func Py_FinalizeEx() int
Py_FinalizeEx : https://docs.python.org/3/c-api/init.html#c.Py_FinalizeEx
func Py_GetBuildInfo ¶
func Py_GetBuildInfo() string
Py_GetBuildInfo : https://docs.python.org/3/c-api/init.html#c.Py_GetBuildInfo
func Py_GetCompiler ¶
func Py_GetCompiler() string
Py_GetCompiler : https://docs.python.org/3/c-api/init.html#c.Py_GetCompiler
func Py_GetCopyright ¶
func Py_GetCopyright() string
Py_GetCopyright : https://docs.python.org/3/c-api/init.html#c.Py_GetCopyright
func Py_GetExecPrefix ¶
Py_GetExecPrefix : https://docs.python.org/3/c-api/init.html#c.Py_GetExecPrefix
func Py_GetPath ¶
Py_GetPath : https://docs.python.org/3/c-api/init.html#c.Py_GetPath
func Py_GetPlatform ¶
func Py_GetPlatform() string
Py_GetPlatform : https://docs.python.org/3/c-api/init.html#c.Py_GetPlatform
func Py_GetPrefix ¶
Py_GetPrefix : https://docs.python.org/3/c-api/init.html#c.Py_GetPrefix
func Py_GetProgramFullPath ¶
Py_GetProgramFullPath : https://docs.python.org/3/c-api/init.html#c.Py_GetProgramFullPath
func Py_GetProgramName ¶
Py_GetProgramName : https://docs.python.org/3/c-api/init.html#c.Py_GetProgramName
func Py_GetPythonHome ¶
Py_GetPythonHome : https://docs.python.org/3/c-api/init.html#c.Py_GetPythonHome
func Py_GetVersion ¶
func Py_GetVersion() string
Py_GetVersion : https://docs.python.org/3/c-api/init.html#c.Py_GetVersion
func Py_Initialize ¶
func Py_Initialize()
Py_Initialize : https://docs.python.org/3/c-api/init.html#c.Py_Initialize
func Py_InitializeEx ¶
func Py_InitializeEx(initsigs bool)
Py_InitializeEx : https://docs.python.org/3/c-api/init.html#c.Py_InitializeEx
func Py_IsInitialized ¶
func Py_IsInitialized() bool
Py_IsInitialized : https://docs.python.org/3/c-api/init.html#c.Py_IsInitialized
func Py_LeaveRecursiveCall ¶
func Py_LeaveRecursiveCall()
Py_LeaveRecursiveCall : https://docs.python.org/3/c-api/exceptions.html#c.Py_LeaveRecursiveCall
func Py_Main ¶
Py_Main : https://docs.python.org/3/c-api/veryhigh.html?highlight=pycompilerflags#c.Py_Main "error" will be set if we fail to call "Py_DecodeLocale" on every "args".
func Py_SetPath ¶
Py_SetPath : https://docs.python.org/3/c-api/init.html#c.Py_SetPath
func Py_SetProgramName ¶
Py_SetProgramName : https://docs.python.org/3/c-api/init.html#c.Py_SetProgramName
func Py_SetPythonHome ¶
Py_SetPythonHome : https://docs.python.org/3/c-api/init.html#c.Py_SetPythonHome
func Py_SetStandardStreamEncoding ¶
Py_SetStandardStreamEncoding : https://docs.python.org/3/c-api/init.html#c.Py_SetStandardStreamEncoding
Types ¶
type PyGILState ¶
type PyGILState C.PyGILState_STATE
PyGILState is an opaque “handle” to the thread state when PyGILState_Ensure() was called, and must be passed to PyGILState_Release() to ensure Python is left in the same state
func PyGILState_Ensure ¶
func PyGILState_Ensure() PyGILState
PyGILState_Ensure : https://docs.python.org/3/c-api/init.html#c.PyGILState_Ensure
type PyObject ¶
PyObject : https://docs.python.org/3/c-api/structures.html?highlight=pyobject#c.PyObject
func PyBool_FromLong ¶
PyBool_FromLong : https://docs.python.org/3/c-api/bool.html#c.PyBool_FromLong
func PyByteArray_Concat ¶
PyByteArray_Concat : https://docs.python.org/3/c-api/bytearray.html#c.PyByteArray_Concat
func PyByteArray_FromObject ¶
PyByteArray_FromObject : https://docs.python.org/3/c-api/bytearray.html#c.PyByteArray_FromObject
func PyByteArray_FromStringAndSize ¶
PyByteArray_FromStringAndSize : https://docs.python.org/3/c-api/bytearray.html#c.PyByteArray_FromStringAndSize
func PyBytes_Concat ¶
PyBytes_Concat : https://docs.python.org/3/c-api/bytes.html#c.PyBytes_Concat
func PyBytes_ConcatAndDel ¶
PyBytes_ConcatAndDel : https://docs.python.org/3/c-api/bytes.html#c.PyBytes_ConcatAndDel
func PyBytes_FromObject ¶
PyBytes_FromObject : https://docs.python.org/3/c-api/bytes.html#c.PyBytes_FromObject
func PyBytes_FromString ¶
PyBytes_FromString : https://docs.python.org/3/c-api/bytes.html#c.PyBytes_FromString
func PyComplex_FromDoubles ¶
PyComplex_FromDoubles : https://docs.python.org/3/c-api/complex.html#c.PyComplex_FromDoubles
func PyDictProxy_New ¶
PyDictProxy_New : https://docs.python.org/3/c-api/dict.html#c.PyDictProxy_New
func PyDict_Copy ¶
PyDict_Copy : https://docs.python.org/3/c-api/dict.html#c.PyDict_Copy
func PyDict_GetItem ¶
PyDict_GetItem : https://docs.python.org/3/c-api/dict.html#c.PyDict_GetItem
func PyDict_GetItemString ¶
PyDict_GetItemString : https://docs.python.org/3/c-api/dict.html#c.PyDict_GetItemString
func PyDict_GetItemWithError ¶
PyDict_GetItemWithError : https://docs.python.org/3/c-api/dict.html#c.PyDict_GetItemWithError
func PyDict_Items ¶
PyDict_Items : https://docs.python.org/3/c-api/dict.html#c.PyDict_Items
func PyDict_Keys ¶
PyDict_Keys : https://docs.python.org/3/c-api/dict.html#c.PyDict_Keys
func PyDict_New ¶
func PyDict_New() *PyObject
PyDict_New : https://docs.python.org/3/c-api/dict.html#c.PyDict_New
func PyDict_SetDefault ¶
PyDict_SetDefault : https://docs.python.org/3/c-api/dict.html#c.PyDict_SetDefault
func PyDict_Values ¶
PyDict_Values : https://docs.python.org/3/c-api/dict.html#c.PyDict_Values
func PyErr_NewException ¶
PyErr_NewException : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_NewException
func PyErr_NewExceptionWithDoc ¶
PyErr_NewExceptionWithDoc : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_NewExceptionWithDoc
func PyErr_NoMemory ¶
func PyErr_NoMemory() *PyObject
PyErr_NoMemory : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_NoMemory
func PyErr_Occurred ¶
func PyErr_Occurred() *PyObject
PyErr_Occurred : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_Occurred
func PyErr_SetImportError ¶
PyErr_SetImportError : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_SetImportError
func PyErr_SetImportErrorSubclass ¶
PyErr_SetImportErrorSubclass : https://docs.python.org/3/c-api/exceptions.html#c.PyErr_SetImportErrorSubclass
func PyEval_GetBuiltins ¶
func PyEval_GetBuiltins() *PyObject
PyEval_GetBuiltins : https://docs.python.org/3/c-api/reflection.html?highlight=reflection#c.PyEval_GetBuiltins
func PyEval_GetGlobals ¶
func PyEval_GetGlobals() *PyObject
PyEval_GetGlobals : https://docs.python.org/3/c-api/reflection.html?highlight=reflection#c.PyEval_GetGlobals
func PyEval_GetLocals ¶
func PyEval_GetLocals() *PyObject
PyEval_GetLocals : https://docs.python.org/3/c-api/reflection.html?highlight=reflection#c.PyEval_GetLocals
func PyException_GetCause ¶
PyException_GetCause : https://docs.python.org/3/c-api/exceptions.html#c.PyException_GetCause
func PyException_GetContext ¶
PyException_GetContext : https://docs.python.org/3/c-api/exceptions.html#c.PyException_GetContext
func PyException_GetTraceback ¶
PyException_GetTraceback : https://docs.python.org/3/c-api/exceptions.html#c.PyException_GetTraceback
func PyFloat_FromDouble ¶
PyFloat_FromDouble : https://docs.python.org/3/c-api/float.html#c.PyFloat_FromDouble
func PyFloat_FromString ¶
PyFloat_FromString : https://docs.python.org/3/c-api/float.html#c.PyFloat_FromString
func PyFloat_GetInfo ¶
func PyFloat_GetInfo() *PyObject
PyFloat_GetInfo : https://docs.python.org/3/c-api/float.html#c.PyFloat_GetInfo
func PyImport_AddModule ¶
PyImport_AddModule : https://docs.python.org/3/c-api/import.html#c.PyImport_AddModule
func PyImport_AddModuleObject ¶
PyImport_AddModuleObject : https://docs.python.org/3/c-api/import.html#c.PyImport_AddModuleObject
func PyImport_ExecCodeModule ¶
PyImport_ExecCodeModule : https://docs.python.org/3/c-api/import.html#c.PyImport_ExecCodeModule
func PyImport_ExecCodeModuleEx ¶
PyImport_ExecCodeModuleEx : https://docs.python.org/3/c-api/import.html#c.PyImport_ExecCodeModuleEx
func PyImport_ExecCodeModuleObject ¶
PyImport_ExecCodeModuleObject : https://docs.python.org/3/c-api/import.html#c.PyImport_ExecCodeModuleObject
func PyImport_ExecCodeModuleWithPathnames ¶
func PyImport_ExecCodeModuleWithPathnames(name string, co *PyObject, pathname string, cpathname string) *PyObject
PyImport_ExecCodeModuleWithPathnames : https://docs.python.org/3/c-api/import.html#c.PyImport_ExecCodeModuleWithPathnames
func PyImport_GetImporter ¶
PyImport_GetImporter : https://docs.python.org/3/c-api/import.html#c.PyImport_GetImporter
func PyImport_GetModuleDict ¶
func PyImport_GetModuleDict() *PyObject
PyImport_GetModuleDict : https://docs.python.org/3/c-api/import.html#c.PyImport_GetModuleDict
func PyImport_Import ¶
PyImport_Import : https://docs.python.org/3/c-api/import.html#c.PyImport_Import
func PyImport_ImportModule ¶
PyImport_ImportModule : https://docs.python.org/3/c-api/import.html#c.PyImport_ImportModule
func PyImport_ImportModuleEx ¶
PyImport_ImportModuleEx : https://docs.python.org/3/c-api/import.html#c.PyImport_ImportModuleEx
func PyImport_ImportModuleLevel ¶
func PyImport_ImportModuleLevel(name string, globals, locals, fromlist *PyObject, level int) *PyObject
PyImport_ImportModuleLevel : https://docs.python.org/3/c-api/import.html#c.PyImport_ImportModuleLevel
func PyImport_ImportModuleLevelObject ¶
func PyImport_ImportModuleLevelObject(name, globals, locals, fromlist *PyObject, level int) *PyObject
PyImport_ImportModuleLevelObject : https://docs.python.org/3/c-api/import.html#c.PyImport_ImportModuleLevelObject
func PyImport_ReloadModule ¶
PyImport_ReloadModule : https://docs.python.org/3/c-api/import.html#c.PyImport_ReloadModule
func PyList_AsTuple ¶
PyList_AsTuple : https://docs.python.org/3/c-api/list.html#c.PyList_AsTuple
func PyList_GetItem ¶
PyList_GetItem : https://docs.python.org/3/c-api/list.html#c.PyList_GetItem
func PyList_GetSlice ¶
PyList_GetSlice : https://docs.python.org/3/c-api/list.html#c.PyList_GetSlice
func PyList_New ¶
PyList_New : https://docs.python.org/3/c-api/list.html#c.PyList_New
func PyLong_FromDouble ¶
PyLong_FromDouble : https://docs.python.org/3/c-api/long.html#c.PyLong_FromDouble
func PyLong_FromGoFloat64 ¶
PyLong_FromGoFloat64 ensures the go integer type does not overflow
func PyLong_FromGoInt ¶
PyLong_FromGoInt ensures the go integer type does not overflow
func PyLong_FromGoInt64 ¶
PyLong_FromGoInt64 ensures the go integer type does not overflow
func PyLong_FromGoUint ¶
PyLong_FromGoUint ensures the go integer type does not overflow
func PyLong_FromGoUint64 ¶
PyLong_FromGoUint64 ensures the go integer type does not overflow
func PyLong_FromLong ¶
PyLong_FromLong : https://docs.python.org/3/c-api/long.html#c.PyLong_FromLong
func PyLong_FromLongLong ¶
PyLong_FromLongLong : https://docs.python.org/3/c-api/long.html#c.PyLong_FromLongLong
func PyLong_FromString ¶
PyLong_FromString : https://docs.python.org/3/c-api/long.html#c.PyLong_FromString
func PyLong_FromUnicodeObject ¶
PyLong_FromUnicodeObject : https://docs.python.org/3/c-api/long.html#c.PyLong_FromUnicodeObject
func PyLong_FromUnsignedLong ¶
PyLong_FromUnsignedLong : https://docs.python.org/3/c-api/long.html#c.PyLong_FromUnsignedLong
func PyLong_FromUnsignedLongLong ¶
PyLong_FromUnsignedLongLong : https://docs.python.org/3/c-api/long.html#c.PyLong_FromUnsignedLongLong
func PyModule_GetDict ¶
PyModule_GetDict : https://docs.python.org/3/c-api/module.html#c.PyModule_GetDict
func PyModule_GetFilenameObject ¶
PyModule_GetFilenameObject : https://docs.python.org/3/c-api/module.html#c.PyModule_GetFilenameObject
func PyModule_GetNameObject ¶
PyModule_GetNameObject : https://docs.python.org/3/c-api/module.html#c.PyModule_GetNameObject
func PyModule_New ¶
PyModule_New : https://docs.python.org/3/c-api/module.html#c.PyModule_New
func PyModule_NewObject ¶
PyModule_NewObject : https://docs.python.org/3/c-api/module.html#c.PyModule_NewObject
func PySys_GetObject ¶
PySys_GetObject : https://docs.python.org/3/c-api/sys.html#c.PySys_GetObject
func PySys_GetXOptions ¶
func PySys_GetXOptions() *PyObject
PySys_GetXOptions : https://docs.python.org/3/c-api/sys.html#c.PySys_GetXOptions
func PyTuple_GetItem ¶
PyTuple_GetItem : https://docs.python.org/3/c-api/tuple.html#c.PyTuple_GetItem
func PyTuple_GetSlice ¶
PyTuple_GetSlice : https://docs.python.org/3/c-api/tuple.html#c.PyTuple_GetSlice
func PyTuple_New ¶
PyTuple_New : https://docs.python.org/3/c-api/tuple.html#c.PyTuple_New
func PyUnicode_FromEncodedObject ¶
PyUnicode_FromEncodedObject : https://docs.python.org/3/c-api/unicode.html#c.PyUnicode_FromEncodedObject
func PyUnicode_FromString ¶
PyUnicode_FromString : https://docs.python.org/3/c-api/unicode.html#c.PyUnicode_FromString
func PyUnicode_New ¶
PyUnicode_New : https://docs.python.org/3/c-api/unicode.html#c.PyUnicode_New
func PyUnicode_Substring ¶
PyUnicode_Substring : https://docs.python.org/3/c-api/unicode.html#c.PyUnicode_Substring
func (*PyObject) ASCII ¶
ASCII : https://docs.python.org/3/c-api/object.html#c.PyObject_ASCII
func (*PyObject) Bytes ¶
Bytes : https://docs.python.org/3/c-api/object.html#c.PyObject_Bytes
func (*PyObject) Call ¶
Call : https://docs.python.org/3/c-api/object.html#c.PyObject_Call
func (*PyObject) CallFunctionObjArgs ¶
CallFunctionObjArgs : https://docs.python.org/3/c-api/object.html#c.PyObject_CallFunctionObjArgs
func (*PyObject) CallMethodArgs ¶
CallMethodArgs : same as CallMethodObjArgs but with name as go string
func (*PyObject) CallMethodObjArgs ¶
CallMethodObjArgs : https://docs.python.org/3/c-api/object.html#c.PyObject_CallMethodObjArgs
func (*PyObject) CallObject ¶
CallObject : https://docs.python.org/3/c-api/object.html#c.PyObject_CallObject
func (*PyObject) DecRef ¶
func (pyObject *PyObject) DecRef()
DecRef : https://docs.python.org/3/c-api/refcounting.html#c.Py_DECREF
func (*PyObject) DelAttr ¶
DelAttr : https://docs.python.org/3/c-api/object.html#c.PyObject_DelAttr
func (*PyObject) DelAttrString ¶
DelAttrString : https://docs.python.org/3/c-api/object.html#c.PyObject_DelAttrString
func (*PyObject) DelItem ¶
DelItem : https://docs.python.org/3/c-api/object.html#c.PyObject_DelItem
func (*PyObject) Dir ¶
Dir : https://docs.python.org/3/c-api/object.html#c.PyObject_Dir
func (*PyObject) GetAttr ¶
GetAttr : https://docs.python.org/3/c-api/object.html#c.PyObject_GetAttr
func (*PyObject) GetAttrString ¶
GetAttrString : https://docs.python.org/3/c-api/object.html#c.PyObject_GetAttrString
func (*PyObject) GetItem ¶
GetItem : https://docs.python.org/3/c-api/object.html#c.PyObject_GetItem
func (*PyObject) GetIter ¶
GetIter : https://docs.python.org/3/c-api/object.html#c.PyObject_GetIter
func (*PyObject) HasAttr ¶
HasAttr : https://docs.python.org/3/c-api/object.html#c.PyObject_HasAttr
func (*PyObject) HasAttrString ¶
HasAttrString : https://docs.python.org/3/c-api/object.html#c.PyObject_HasAttrString
func (*PyObject) Hash ¶
Hash : https://docs.python.org/3/c-api/object.html#c.PyObject_Hash
func (*PyObject) HashNotImplemented ¶
HashNotImplemented : https://docs.python.org/3/c-api/object.html#c.PyObject_HashNotImplemented
func (*PyObject) IncRef ¶
func (pyObject *PyObject) IncRef()
IncRef : https://docs.python.org/3/c-api/refcounting.html#c.Py_INCREF
func (*PyObject) IsInstance ¶
IsInstance : https://docs.python.org/3/c-api/object.html#c.PyObject_IsInstance
func (*PyObject) IsSubclass ¶
IsSubclass : https://docs.python.org/3/c-api/object.html#c.PyObject_IsSubclass
func (*PyObject) IsTrue ¶
IsTrue : https://docs.python.org/3/c-api/object.html#c.PyObject_IsTrue
func (*PyObject) Length ¶
Length : https://docs.python.org/3/c-api/object.html#c.PyObject_Length
func (*PyObject) LengthHint ¶
LengthHint : https://docs.python.org/3/c-api/object.html#c.PyObject_LengthHint
func (*PyObject) Not ¶
Not : https://docs.python.org/3/c-api/object.html#c.PyObject_Not
func (*PyObject) Repr ¶
Repr : https://docs.python.org/3/c-api/object.html#c.PyObject_Repr
func (*PyObject) ReprEnter ¶
ReprEnter : https://docs.python.org/3/c-api/exceptions.html#c.Py_ReprEnter
func (*PyObject) ReprLeave ¶
func (pyObject *PyObject) ReprLeave()
ReprLeave : https://docs.python.org/3/c-api/exceptions.html#c.Py_ReprLeave
func (*PyObject) RichCompare ¶
RichCompare : https://docs.python.org/3/c-api/object.html#c.PyObject_RichCompare
func (*PyObject) RichCompareBool ¶
RichCompareBool : https://docs.python.org/3/c-api/object.html#c.PyObject_RichCompareBool
func (*PyObject) SetAttr ¶
SetAttr : https://docs.python.org/3/c-api/object.html#c.PyObject_SetAttr
func (*PyObject) SetAttrString ¶
SetAttrString : https://docs.python.org/3/c-api/object.html#c.PyObject_SetAttrString
func (*PyObject) SetItem ¶
SetItem : https://docs.python.org/3/c-api/object.html#c.PyObject_SetItem
func (*PyObject) Str ¶
Str : https://docs.python.org/3/c-api/object.html#c.PyObject_Str
func (*PyObject) Type ¶
Type : https://docs.python.org/3/c-api/object.html#c.PyObject_Type
type PyThreadState ¶
type PyThreadState C.PyThreadState
PyThreadState : https://docs.python.org/3/c-api/init.html#c.PyThreadState
func PyEval_SaveThread ¶
func PyEval_SaveThread() *PyThreadState
PyEval_SaveThread : https://docs.python.org/3/c-api/init.html#c.PyEval_SaveThread
func PyGILState_GetThisThreadState ¶
func PyGILState_GetThisThreadState() *PyThreadState
PyGILState_GetThisThreadState : https://docs.python.org/3/c-api/init.html#c.PyGILState_GetThisThreadState
func PyThreadState_Get ¶
func PyThreadState_Get() *PyThreadState
PyThreadState_Get : https://docs.python.org/3/c-api/init.html#c.PyThreadState_Get
func PyThreadState_Swap ¶
func PyThreadState_Swap(tstate *PyThreadState) *PyThreadState
PyThreadState_Swap : https://docs.python.org/3/c-api/init.html#c.PyThreadState_Swap