sbinet / go-python

naive go bindings to the CPython2 C-API
Other
1.52k stars 138 forks source link

Hi, #110

Open popeye8777 opened 3 years ago

popeye8777 commented 3 years ago

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 and 64b platforms. I mapped both 'PyInt' and 'PyLong' to Go's 'int'. On a 64b machine, that should work. Probably not so much on a 32b one.

In hindsight, I should have probably matched them to int32 and int64... (Probably something to do when/if I migrate this project to the go-python organization)

Originally posted by @sbinet in https://github.com/sbinet/go-python/issues/70#issuecomment-410344914