go-python / go-python/gopy

text/template/parse

Ouverte
#362 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Go
Étoiles
2.3k
Forks
136
Merge moyen
14 min
PR mergées (30 j)
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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.