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

the case is that when i use CallFunction to execute python module functions, and pass int type variable, it occur error like this: ``` txt [root@c7dev rootwd]# go build gptest/main.go...

Let's try it, python bindings cgo-less https://github.com/aadog/py3-go

Hi, this project is based on `Python 2.7` version but I need it for `Python 2.7.5`. So I changed the `cgo` file to `Python 2.7.5` version by downloading the project...

Wrong information: # go-python In file included from .\capi.go:3:0: ./go-python.h:4:20: fatal error: Python.h: No such file or directory #include "Python.h" ^ compilation terminated

### Hi, I have a problem and I need help !!! When used python.PyInstance_New to instance my python script Class, if Class inherit other Class, then have bad error ```...

![image](https://user-images.githubusercontent.com/54094925/139771757-06b8b916-52a4-4a01-a0c8-1d3088961679.png)

This isn't goroutine safe is it? Are you planning to add go-routine safe features if it is doable? Thank you. My preliminary tests crashed when I tried to access multiple...

Hi, Apologies for the belated answer. IIRC, what I meant with that to-do note was that I wasn't completely sure what I did for integers would work consistently between 32b...

Hi, When i tried make, i got many python errors. I confirmed the python is correctly installed....any idea on this? Thanks a lot! gcc -I . -fPIC -m64 -pthread -fmessage-length=0...

``` # github.com/sbinet/go-python /usr/local/lib/libpython2.7.a(posixmodule.o): In function `posix_tmpnam': /root/Python-2.7.13/./Modules/posixmodule.c:7614: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp' /usr/local/lib/libpython2.7.a(posixmodule.o): In function `posix_tempnam': /root/Python-2.7.13/./Modules/posixmodule.c:7561: warning: the use of `tempnam' is dangerous,...