go-python / go-python/gopy

text/template/parse

Abierto
#362 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Go
Estrellas
2.3k
Forks
136
Merge medio
14 min
PR fusionados (30 d)
2

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.