gopy icon indicating copy to clipboard operation
gopy copied to clipboard

Python3 support

Open quarnster opened this issue 11 years ago • 3 comments

FYI in case any one is interested. Works on Go 1.1-ish as it's not been released yet, but "go version devel +b27b1ff18f39 Wed Apr 10 07:15:49 2013 +0200 darwin/amd64". Also tested on darwin/386 and linux/amd64. Other platforms untested.

And if you're not interested in Python 3, there's also a memory leak fix in https://github.com/quarnster/gopy/commit/8649515062388d59ae4be3b9f3f056a9170eb396 that should be applied to all versions.

quarnster avatar Apr 11 '13 06:04 quarnster

Is this project dead? Would be brilliant to get these changes merged!

charlierm avatar Jul 06 '13 12:07 charlierm

In the sense that I am still interested in it, and want to work on it - no. It's just not managed to make it high enough up the list of "things to do" for a while ... :(

I've cherry-picked most of the fixes from here. However the Python 3 changes are not backwards compatible - and I still need 2.7 compatibility ... needs some more thought.

qur avatar Jul 06 '13 17:07 qur

Note that python 3 can make a call to sigaltstack even if it's requested that signal handler's aren't installed.

C libraries messing with the signal handlers is not supported and will cause problems. This is true for both Python2 and 3, but 3's a bit more problematic as there's no runtime choice as to whether sigaltstack is called or not.

quarnster avatar Aug 11 '13 11:08 quarnster