gpython icon indicating copy to clipboard operation
gpython copied to clipboard

gpython is a python interpreter written in go "batteries not included"

Results 55 gpython issues
Sort by recently updated
recently updated
newest added

starting with Go-1.12, there's a nifty function [runtime/debug.ReadBuildInfo](https://golang.org/pkg/runtime/debug/#ReadBuildInfo) to extract build informations out of a Go binary. we could leverage this to display: ``` $> gpython Python 3.4.0 (none, unknown)...

## python ``` >>> a = 10.0 >>> type(a) >>> a.is_integer() True ``` ## gpython ``` >>> a = 10.0 >>> type(a) >>> a.is_integer() Traceback (most recent call last): File...

Contributhon2019

TypeError occurs when comparing NotImplemented value from execution result. ### Expected result (cpython) ```python >>> range(0).__ne__(2) == NotImplemented True ``` ### Actual result ```python >>> range(0).__ne__(2) == NotImplemented Traceback (most...

Currently it's hard to close the REPL on Windows using standard terminal. On WSL Ubuntu it works with Ctrl+Z, in Windows nothing happens.

enhancement

There are some attributes that should be implemented for gpython. ## Expected ```python >>> a = True >>> a.imag 0 >>> a.real 1 >>> a.conjugate() 1 ``` ## Actual ```python...

good first issue
Contributhon2019

https://github.com/go-python/gopy https://github.com/DataDog/go-python3 Might prove useful.

Likewise, PyPy3, if we can display build information such as commit information, go version. it will be awesome. ``` python Python 3.5.3 (fdd60ed87e941677e8ea11acf9f1819466521bf2, Apr 26 2018, 01:23:42) [PyPy 6.0.0 with...

good first issue

given an ast, how does one generate the corresponding python source code thank you

This definition works: class X(object): def __init__(self, x): self.x = x def __str__(self): return "my name is %s" % self.x This doesn't: class X(object): def __init__(self, x): self.x = x...

bug

right now, `gpython` fails with: ```python >>> import math >>> dir(math) Traceback (most recent call last): File "", line 1, in FIXME line of source goes here NameError: NameError: "name...