go-python icon indicating copy to clipboard operation
go-python copied to clipboard

naive go bindings to the CPython2 C-API

Results 29 go-python issues
Sort by recently updated
recently updated
newest added

OS: mac air go version: 1.8 I run your example, but got this and nothing in output: what's the problem? ``` Process finished with exit code 137 (interrupted by signal...

Hi We are experiencing a MemoryError while running a function in Python from your go library. Increasing the amount of memory works fine to solve this issue when the Python...

How to use cPickle loads or dump complicated data, like python array or class object and so on. Only found string examples. Can you give an example?

I'm using an api interface(python) which requires at least python 3.6. I need this api for my project(I cannot use older version because i need some updated functions in current...

I just found there is no any 3rd packages were imported in your test examples. I tried to import 3rd package, import numpy in a py file, then go run...

* Remove Makefile and use the built-in travis go support. * Enable modules during testing. * Add go1.12 to travis build. * Simplify testing code and make it more declarative....

`Py_BuildValue` is not implemented. ``` func Py_BuildValue(format string, args ...interface{}) *PyObject { return nil } ``` Example: f(7,8,9) = ``` values := python.PyTuple_New(3) python.PyTuple_SET_ITEM(values, 0, python.PyInt_FromLong(7)) python.PyTuple_SET_ITEM(values, 1, python.PyInt_FromLong(8)) python.PyTuple_SET_ITEM(values,...

Argument a dictionary in python, How to pass the dictionary parameter in golang?

This change is [](https://reviewable.io/reviews/sbinet/go-python/66)

Hello, I am planning to use the go-python package in one of my demo project. However I am a bit curious on this TODO item - "fix handling of integers...