SYMBOL INDEX (273 symbols across 31 files) FILE: class.go type Class (line 8) | type Class struct method NewNoArgs (line 27) | func (t *Class) NewNoArgs() (ret *Base, err error) { method New (line 36) | func (t *Class) New(args *Tuple, kw *Dict) (ret *Base, err error) { method NewObjArgs (line 41) | func (t *Class) NewObjArgs(args ...*Base) (ret *Base, err error) { method IsSubclass (line 48) | func (t *Class) IsSubclass(base *Base) bool { function newClass (line 16) | func newClass(obj *C.PyObject) *Class { function AsClass (line 20) | func AsClass(o *Base) (v *Class, ok bool) { FILE: code.go type StartToken (line 29) | type StartToken constant EvalInput (line 32) | EvalInput = StartToken(C.Py_eval_input) constant FileInput (line 34) | FileInput = StartToken(C.Py_file_input) constant SingleInput (line 37) | SingleInput = StartToken(C.Py_single_input) type Code (line 43) | type Code struct method Eval (line 94) | func (code *Code) Eval(globals, locals *Base) (*Base, error) { method Run (line 100) | func (code *Code) Run(globals, locals *Base) error { function newCode (line 51) | func newCode(obj *C.PyObject) *Code { function AsCode (line 55) | func AsCode(o *Base) (v *Code, ok bool) { function Compile (line 62) | func Compile(text, filename string, start StartToken) (*Code, error) { function CompileFile (line 76) | func CompileFile(name string, start StartToken) (*Code, error) { function Run (line 112) | func Run(text string) error { function GetBuiltins (line 125) | func GetBuiltins() *Base { function GetLocals (line 134) | func GetLocals() *Base { function GetGlobals (line 143) | func GetGlobals() *Base { FILE: code_test.go type compileCase (line 7) | type compileCase struct function TestCompile (line 19) | func TestCompile(t *testing.T) { type evalLocalGlobalsCase (line 46) | type evalLocalGlobalsCase struct function _TestEvalLocalGlobals (line 59) | func _TestEvalLocalGlobals(t *testing.T) { FILE: dict.go type Dict (line 12) | type Dict struct method CheckExact (line 46) | func (d *Dict) CheckExact() bool { method Clear (line 55) | func (d *Dict) Clear() { method Contains (line 61) | func (d *Dict) Contains(key *Base) (bool, error) { method Copy (line 69) | func (d *Dict) Copy() (*Base, error) { method SetItem (line 76) | func (d *Dict) SetItem(key, val *Base) error { method SetItemString (line 84) | func (d *Dict) SetItemString(key string, val *Base) error { method DelItem (line 93) | func (d *Dict) DelItem(key *Base) error { method DelItemString (line 100) | func (d *Dict) DelItemString(key string) error { method GetItem (line 111) | func (d *Dict) GetItem(key *Base) *Base { method GetItemString (line 121) | func (d *Dict) GetItemString(key string) *Base { method Size (line 159) | func (d *Dict) Size() int { method Merge (line 173) | func (d *Dict) Merge(o *Base, override bool) error { method Update (line 184) | func (d *Dict) Update(o *Base) error { method MergeFromSeq2 (line 194) | func (d *Dict) MergeFromSeq2(o *Base, override bool) error { method Map (line 209) | func (d *Dict) Map() map[*Base]*Base { method MapString (line 226) | func (d *Dict) MapString() (map[string]*Base, error) { method Next (line 249) | func (d *Dict) Next(pos *DictIter, k, v **Base) bool { function newDict (line 20) | func newDict(obj *C.PyObject) *Dict { function NewDict (line 27) | func NewDict() *Dict { function NewDictProxy (line 32) | func NewDictProxy(obj *Base) *Dict { function AsDict (line 37) | func AsDict(o *Base) (v *Dict, ok bool) { type DictIter (line 240) | type DictIter FILE: error.go type Error (line 17) | type Error struct method release (line 29) | func (e *Error) release() error { method Error (line 46) | func (e *Error) Error() string { method Normalize (line 69) | func (e *Error) Normalize() { function newError (line 23) | func newError(kind, val *Base, tb *C.PyObject) *Error { function NewErrorV (line 81) | func NewErrorV(kind *Base, value *Base) *Error { function NewError (line 89) | func NewError(kind *Base, format string, args ...interface{}) *Error { function Raise (line 96) | func Raise(err error) { function GetException (line 113) | func GetException() error { function exceptionRaised (line 117) | func exceptionRaised() bool { function exception (line 121) | func exception() error { function ssize_t2Int64Err (line 132) | func ssize_t2Int64Err(s C.Py_ssize_t) (int64, error) { function int2BoolErr (line 139) | func int2BoolErr(i C.int) (bool, error) { function int2Err (line 146) | func int2Err(i C.int) error { function obj2ObjErr (line 153) | func obj2ObjErr(obj *C.PyObject) (*Base, error) { FILE: examples/gomodule/gomodule.go type FooModule (line 11) | type FooModule struct method Py_bar (line 14) | func (r *FooModule) Py_bar(args *py.Tuple) (ret *py.Base, err error) { method Py_bar2 (line 25) | func (r *FooModule) Py_bar2(args *py.Tuple) (ret *py.Base, err error) { constant pyCode (line 38) | pyCode = ` function main (line 45) | func main() { FILE: exception.go type ExceptionClass (line 7) | type ExceptionClass struct method ErrV (line 17) | func (kind *ExceptionClass) ErrV(obj *Base) *Error { method Err (line 23) | func (kind *ExceptionClass) Err(format string, args ...interface{}) *E... function newException (line 12) | func newException(obj *C.PyObject) *ExceptionClass { FILE: float.go type Float (line 8) | type Float struct method Float (line 37) | func (f *Float) Float() float64 { function newFloat (line 17) | func newFloat(obj *C.PyObject) *Float { function NewFloat (line 21) | func NewFloat(i float64) *Float { function AsFloat (line 25) | func AsFloat(o *Base) (v *Float, ok bool) { function NewFloatFromString (line 32) | func NewFloatFromString(s string) *Float { FILE: goargs.go function ToInt (line 12) | func ToInt(in *Base) (int, bool) { function ToLong (line 18) | func ToLong(in *Base) (int64, bool) { function ToString (line 29) | func ToString(in *Base) (string, bool) { function ToInterface (line 37) | func ToInterface(in *Base) (v interface{}, ok bool) { function assignToMap (line 49) | func assignToMap(in *Base, out reflect.Value) (err error) { function assignToComplex (line 87) | func assignToComplex(in *Base, out1 reflect.Value) (err error) { function AssignTo (line 105) | func AssignTo(in *Base, out interface{}) (err error) { function Parse (line 129) | func Parse(in *Tuple, out ...interface{}) (err error) { function ParseV (line 152) | func ParseV(in *Tuple, out ...interface{}) (err error) { FILE: gofunction.c function setMethod (line 4) | int setMethod(PyMethodDef* d, int nin) { FILE: gofunction.go type Closure (line 13) | type Closure struct method NewFunction (line 19) | func (closure *Closure) NewFunction(name string, nin int, doc string) ... function goClassCallMethodArgs (line 42) | func goClassCallMethodArgs(obj, args unsafe.Pointer) unsafe.Pointer { function goClassCallMethodKwds (line 66) | func goClassCallMethodKwds(obj, args, kwds unsafe.Pointer) unsafe.Pointer { FILE: gomodule.go type GoModule (line 10) | type GoModule struct function NewGoModule (line 15) | func NewGoModule(name string, doc string, self interface{}) (mod GoModul... FILE: gomodule_test.go type FooModule (line 10) | type FooModule struct method Py_bar (line 13) | func (r *FooModule) Py_bar(args *Tuple) (ret *Base, err error) { type gomoduleCase (line 26) | type gomoduleCase struct function TestGoModule (line 38) | func TestGoModule(t *testing.T) { FILE: goregister.go function sigMatches (line 11) | func sigMatches(got, want reflect.Type) bool { type RegisterCtx (line 43) | type RegisterCtx function Register (line 45) | func Register(dict *Dict, nsprefix string, self interface{}) (ctx Regist... FILE: goregister_test.go function init (line 8) | func init() { type Foo (line 14) | type Foo struct method Py_foo (line 17) | func (r *Foo) Py_foo(args *Tuple) (*Base, error) { method Py_bar (line 21) | func (r *Foo) Py_bar(args *Tuple) (*Base) { function _TestRegister (line 27) | func _TestRegister(t *testing.T) { FILE: int.go type Int (line 12) | type Int struct method Int (line 40) | func (i *Int) Int() int { function newInt (line 21) | func newInt(obj *C.PyObject) *Int { function NewInt (line 25) | func NewInt(i int) *Int { function NewInt64 (line 29) | func NewInt64(i int64) *Int { function AsInt (line 33) | func AsInt(o *Base) (v *Int, ok bool) { FILE: long.go type Long (line 8) | type Long struct method Long (line 32) | func (l *Long) Long() int64 { function newLong (line 17) | func newLong(obj *C.PyObject) *Long { function NewLong (line 21) | func NewLong(i int64) *Long { function AsLong (line 25) | func AsLong(o *Base) (v *Long, ok bool) { FILE: module.go type Module (line 10) | type Module struct method CheckExact (line 66) | func (mod *Module) CheckExact() bool { method Dict (line 71) | func (mod *Module) Dict() *Dict { method Name (line 78) | func (mod *Module) Name() (string, error) { method Filename (line 86) | func (mod *Module) Filename() (string, error) { method AddObject (line 94) | func (mod *Module) AddObject(name string, obj *Base) error { method AddIntConstant (line 110) | func (mod *Module) AddIntConstant(name string, value int) error { method AddStringConstant (line 122) | func (mod *Module) AddStringConstant(name, value string) error { function newModule (line 18) | func newModule(obj *C.PyObject) *Module { function Import (line 22) | func Import(name string) (*Module, error) { function ExecCodeModule (line 37) | func ExecCodeModule(name string, code *Base) (*Module, error) { function NewModule (line 47) | func NewModule(name string) (*Module, error) { function AsModule (line 59) | func AsModule(o *Base) (v *Module, ok bool) { FILE: module_test.go type moduleCase (line 7) | type moduleCase struct function TestModule (line 22) | func TestModule(t *testing.T) { FILE: none.go function IncNone (line 12) | func IncNone() *Base { FILE: number.go type NumberProtocol (line 14) | type NumberProtocol struct method Add (line 24) | func (n *NumberProtocol) Add(obj *Base) (*Base, error) { method Subtract (line 33) | func (n *NumberProtocol) Subtract(obj *Base) (*Base, error) { method Multiply (line 42) | func (n *NumberProtocol) Multiply(obj *Base) (*Base, error) { method Divide (line 51) | func (n *NumberProtocol) Divide(obj *Base) (*Base, error) { method FloorDivide (line 59) | func (n *NumberProtocol) FloorDivide(obj *Base) (*Base, error) { method TrueDivide (line 67) | func (n *NumberProtocol) TrueDivide(obj *Base) (*Base, error) { method Remainder (line 76) | func (n *NumberProtocol) Remainder(obj *Base) (*Base, error) { method Divmod (line 84) | func (n *NumberProtocol) Divmod(obj *Base) (*Base, error) { method Power (line 92) | func (n *NumberProtocol) Power(obj1, obj2 *Base) (*Base, error) { method Negative (line 100) | func (n *NumberProtocol) Negative() (*Base, error) { method Positive (line 108) | func (n *NumberProtocol) Positive() (*Base, error) { method Absolute (line 116) | func (n *NumberProtocol) Absolute() (*Base, error) { method Invert (line 124) | func (n *NumberProtocol) Invert() (*Base, error) { method Lshift (line 133) | func (n *NumberProtocol) Lshift(obj *Base) (*Base, error) { method Rshift (line 142) | func (n *NumberProtocol) Rshift(obj *Base) (*Base, error) { method And (line 151) | func (n *NumberProtocol) And(obj *Base) (*Base, error) { method Xor (line 160) | func (n *NumberProtocol) Xor(obj *Base) (*Base, error) { method Or (line 168) | func (n *NumberProtocol) Or(obj *Base) (*Base, error) { method InPlaceAdd (line 177) | func (n *NumberProtocol) InPlaceAdd(obj *Base) (*Base, error) { method InPlaceSubtract (line 186) | func (n *NumberProtocol) InPlaceSubtract(obj *Base) (*Base, error) { method InPlaceMultiply (line 195) | func (n *NumberProtocol) InPlaceMultiply(obj *Base) (*Base, error) { method InPlaceDivide (line 204) | func (n *NumberProtocol) InPlaceDivide(obj *Base) (*Base, error) { method InPlaceFloorDivide (line 212) | func (n *NumberProtocol) InPlaceFloorDivide(obj *Base) (*Base, error) { method InPlaceTrueDivide (line 220) | func (n *NumberProtocol) InPlaceTrueDivide(obj *Base) (*Base, error) { method InPlaceRemainder (line 229) | func (n *NumberProtocol) InPlaceRemainder(obj *Base) (*Base, error) { method InPlacePower (line 240) | func (n *NumberProtocol) InPlacePower(obj1, obj2 *Base) (*Base, error) { method InPlaceLshift (line 249) | func (n *NumberProtocol) InPlaceLshift(obj *Base) (*Base, error) { method InPlaceRshift (line 258) | func (n *NumberProtocol) InPlaceRshift(obj *Base) (*Base, error) { method InPlaceAnd (line 267) | func (n *NumberProtocol) InPlaceAnd(obj *Base) (*Base, error) { method InPlaceXor (line 276) | func (n *NumberProtocol) InPlaceXor(obj *Base) (*Base, error) { method InPlaceOr (line 285) | func (n *NumberProtocol) InPlaceOr(obj *Base) (*Base, error) { function cnp (line 16) | func cnp(n *NumberProtocol) *C.PyObject { FILE: object.go type Op (line 9) | type Op constant LT (line 12) | LT = Op(C.Py_LT) constant LE (line 13) | LE = Op(C.Py_LE) constant EQ (line 14) | EQ = Op(C.Py_EQ) constant NE (line 15) | NE = Op(C.Py_NE) constant GT (line 16) | GT = Op(C.Py_GT) constant GE (line 17) | GE = Op(C.Py_GE) type Base (line 22) | type Base struct method c (line 28) | func (obj *Base) c() *C.PyObject { method Obj (line 32) | func (obj *Base) Obj() *Base { method Init (line 38) | func (obj *Base) Init(args *Tuple, kw *Dict) error { method Type (line 44) | func (obj *Base) Type() *Type { method Decref (line 50) | func (obj *Base) Decref() { method Incref (line 55) | func (obj *Base) Incref() { method IsTrue (line 61) | func (obj *Base) IsTrue() bool { method Not (line 71) | func (obj *Base) Not() bool { method HasAttr (line 81) | func (obj *Base) HasAttr(name *Base) bool { method HasAttrString (line 91) | func (obj *Base) HasAttrString(name string) bool { method GetAttr (line 105) | func (obj *Base) GetAttr(name *Base) (*Base, error) { method GetAttrString (line 114) | func (obj *Base) GetAttrString(name string) (*Base, error) { method SetAttr (line 126) | func (obj *Base) SetAttr(name, value *Base) error { method SetAttrString (line 133) | func (obj *Base) SetAttrString(name string, value *Base) error { method DelAttr (line 145) | func (obj *Base) DelAttr(name *Base) error { method DelAttrString (line 152) | func (obj *Base) DelAttrString(name string) error { method RichCompare (line 164) | func (obj *Base) RichCompare(obj2 *Base, op Op) (*Base, error) { method RichCompareBool (line 172) | func (obj *Base) RichCompareBool(obj2 *Base, op Op) (bool, error) { method Compare (line 182) | func (obj *Base) Compare(obj2 *Base) (int, error) { method Repr (line 191) | func (obj *Base) Repr() (*Base, error) { method Str (line 200) | func (obj *Base) Str() (*Base, error) { method String (line 205) | func (obj *Base) String() string { method Bytes (line 221) | func (obj *Base) Bytes() (*Base, error) { method IsInstance (line 233) | func (obj *Base) IsInstance(cls *Base) (bool, error) { method IsSubclass (line 241) | func (obj *Base) IsSubclass(cls *Base) (bool, error) { method Call (line 252) | func (obj *Base) Call(args *Tuple, kwds *Dict) (*Base, error) { method CallObject (line 262) | func (obj *Base) CallObject(args *Tuple) (*Base, error) { method CallMethodObject (line 271) | func (obj *Base) CallMethodObject(name string, args *Tuple) (*Base, er... method CallObjArgs (line 289) | func (obj *Base) CallObjArgs(args ...*Base) (*Base, error) { method CallMethodObjArgs (line 295) | func (obj *Base) CallMethodObjArgs(name string, args ...*Base) (*Base,... method Length (line 308) | func (obj *Base) Length() (int64, error) { method Size (line 315) | func (obj *Base) Size() (int64, error) { method GetItem (line 324) | func (obj *Base) GetItem(key *Base) (*Base, error) { method SetItem (line 331) | func (obj *Base) SetItem(key, value *Base) error { method DelItem (line 338) | func (obj *Base) DelItem(key *Base) error { method Dir (line 345) | func (obj *Base) Dir() (*Base, error) { function newObject (line 24) | func newObject(obj *C.PyObject) *Base { FILE: object_test.go function TestBase (line 7) | func TestBase(t *testing.T) { FILE: python.go function init (line 19) | func init() { function Initialize (line 23) | func Initialize() { function InitializeEx (line 27) | func InitializeEx(initsigs bool) { function Finalize (line 35) | func Finalize() { function AddToPath (line 39) | func AddToPath(dir string) { function Main (line 59) | func Main(args []string) int { function EnterRecursiveCall (line 77) | func EnterRecursiveCall(where string) bool { function LeaveRecursiveCall (line 85) | func LeaveRecursiveCall() { FILE: pyutil/call.go function PackEx (line 11) | func PackEx(cfg *Config, args ...interface{}) (ret *py.Tuple, err error) { function Pack (line 27) | func Pack(args ...interface{}) (ret *py.Tuple, err error) { function CallEx (line 34) | func CallEx(cfg *Config, fn *py.Base, args ...interface{}) (ret *py.Base... function Call (line 46) | func Call(fn *py.Base, args ...interface{}) (*py.Base, error) { function CallMethodEx (line 53) | func CallMethodEx(cfg *Config, self *py.Base, method string, args ...int... function CallMethod (line 65) | func CallMethod(self *py.Base, method string, args ...interface{}) (ret ... function NewInstanceEx (line 72) | func NewInstanceEx(cfg *Config, typ *py.Class, args ...interface{}) (ret... function NewInstance (line 84) | func NewInstance(typ *py.Class, args ...interface{}) (ret *py.Base, err ... function NewEx (line 91) | func NewEx(cfg *Config, mod *py.Base, clsname string, args ...interface{... function New (line 109) | func New(mod *py.Base, clsname string, args ...interface{}) (ret *py.Bas... FILE: pyutil/call_test.go type moduleCase (line 10) | type moduleCase struct function TestCall (line 23) | func TestCall(t *testing.T) { FILE: pyutil/var.go type Config (line 11) | type Config struct function tagName (line 22) | func tagName(tag string) (string) { function newStruct (line 29) | func newStruct(sv reflect.Value, cfg *Config) (ret *py.Base, ok bool) { function newMap (line 54) | func newMap(v reflect.Value, cfg *Config) (ret *py.Base, ok bool) { function newComplex (line 79) | func newComplex(val reflect.Value, cfg *Config) (ret *py.Base, ok bool) { function NewVarEx (line 96) | func NewVarEx(val interface{}, cfg *Config) (ret *py.Base, ok bool) { function NewVar (line 109) | func NewVar(val interface{}) (ret *py.Base, ok bool) { FILE: pyutil/var_test.go type Foo (line 8) | type Foo struct function Test (line 13) | func Test(t *testing.T) { function checkFoo (line 68) | func checkFoo(val *py.Dict, t *testing.T) bool { FILE: string.go type String (line 8) | type String struct method String (line 34) | func (s *String) String() string { method Format (line 42) | func (s *String) Format(args *Tuple) (*String, error) { function newString (line 16) | func newString(obj *C.PyObject) *String { function NewString (line 20) | func NewString(s string) *String { function AsString (line 27) | func AsString(o *Base) (v *String, ok bool) { FILE: tuple.go type Tuple (line 10) | type Tuple struct method CheckExact (line 68) | func (t *Tuple) CheckExact() bool { method Size (line 76) | func (t *Tuple) Size() int { method GetItem (line 88) | func (t *Tuple) GetItem(pos int) (*Base, error) { method GetSlice (line 93) | func (t *Tuple) GetSlice(low, high int) (*Tuple, error) { method SetItem (line 103) | func (t *Tuple) SetItem(pos int, obj *Base) error { method Slice (line 112) | func (t *Tuple) Slice() []*Base { function newTuple (line 18) | func newTuple(obj *C.PyObject) *Tuple { function NewTuple (line 27) | func NewTuple(size int) *Tuple { function AsTuple (line 32) | func AsTuple(o *Base) (v *Tuple, ok bool) { function PackTuple (line 43) | func PackTuple(items ...*Base) *Tuple { FILE: type.go type Type (line 18) | type Type struct method NewNoArgs (line 37) | func (t *Type) NewNoArgs() (ret *Base, err error) { method New (line 43) | func (t *Type) New(args *Tuple, kw *Dict) (ret *Base, err error) { method NewObjArgs (line 48) | func (t *Type) NewObjArgs(args ...*Base) (ret *Base, err error) { method Alloc (line 54) | func (t *Type) Alloc(n int64) (*Base, error) { method Init (line 59) | func (t *Type) Init(obj *Base, args *Tuple, kw *Dict) error { method CheckExact (line 69) | func (t *Type) CheckExact() bool { method Modified (line 77) | func (t *Type) Modified() { method HasFeature (line 82) | func (t *Type) HasFeature(feature uint32) bool { method IsGc (line 87) | func (t *Type) IsGc() bool { method IsSubtype (line 92) | func (t *Type) IsSubtype(t2 *Type) bool { function newType (line 26) | func newType(obj *C.PyObject) *Type { function AsType (line 30) | func AsType(o *Base) (v *Type, ok bool) {