pytago icon indicating copy to clipboard operation
pytago copied to clipboard

A source-to-source transpiler for Python to Go translation

Results 12 pytago issues
Sort by recently updated
recently updated
newest added

I imagine changing stuff like this isn't within the scope of the project, but having at least an option to change snake_case variables to camel case could be useful to...

**Describe the bug** Hi, I would like to transpile Python code with type annotations that include `Optional`. **Python code example** Here's an example using a parameter, but ideally it would...

usage: Pytago [-h] [-o OUTFILE] INFILE pytago -o test.go test.py It output an error when using the above command. ``` D:\PythonProject>pytago test.py Traceback (most recent call last): File "D:\Python\Python310\lib\runpy.py", line...

**Describe the bug** A clear and concise description of what the bug is. tuple unpack **Python code example** The simplest possible Python code example to demonstrate the bug. ```py def...

**Describe the bug** A clear and concise description of what the bug is. **Python code example** The simplest possible Python code example to demonstrate the bug. ```py def main(): def...

**Describe the bug** A clear and concise description of what the bug is. `map(int,["1","2"])` convert wrong **Python code example** The simplest possible Python code example to demonstrate the bug. ```py...

**Describe the bug** Converting to bytes in python attempts to run a non-existent function `bytes`. **Python code example** ```python def main(): x = bytes("hello", "utf8") print(x[0]) if __name__ == '__main__':...

**Describe the bug** When using a list of different types, it is implemented as []interface{} as it should, but getting a value does not assert it to the proper type...

I can' get it to work in my environment. Even starting pytago without any arg leads to: ```python Traceback (most recent call last): File "", line 198, in _run_module_as_main File...

**Describe the bug** When I use `pytago` on `window 10` to translate `hello.py` to `main.go`. the result of `main.go` is unexpted, what‘s wrong when I do this? - System: window...