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)
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