Grumpy: Go running Python!

Grumpy: Go running Python!

80 comments · 91% upvoted · source · other discussions

comments

[deleted]

So is this a kick in Pythons nuts ? (i.e. Google moving away from it)

ihsw

Think of it like TypeScript->ES6 transpilation -- you don't have to use Go to write Go apps, but instead Go-based Python.

Error handling will have to be Go-like though, so handling return values instead of raised exceptions.

weberc2

This project supports exceptions. If you're calling a Go function, you'll have to check the returned error (assuming it has an error in its return signature) before promoting it to an exception for your Python code. It's analogous to using C extensions, except the glue code is on the Python side.