go-python / go-python/gopy

text/template/parse

Open
#362 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.3k
Forks
136
Avg merge
14m
Merged PRs (30d)
2

Description

Hi, wanted to create wrapper for the standard text/template/parse/library but the generated code contains following:

```python
if 3 < len(args):
self.True = args[3]
```
where
```python

@property
def True(self):
return _htoy.parse_BoolNode_True_Get(self.handle)
```

which obviously leads to the following python error:

```
byte-compiling build/bdist.macosx-14-x86_64/egg/htoy/go.py to go.cpython-311.pyc
byte-compiling build/bdist.macosx-14-x86_64/egg/htoy/parse.py to parse.cpython-311.pyc
File "build/bdist.macosx-14-x86_64/egg/htoy/parse.py", line 1490
self.True = args[3]
```
Thanks for considering this and hope it helps to improve your wonderful work

Greets
Zokrezyl

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.