go-python / go-python/gopy

text/template/parse

Aperta
#362 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
2.3k
Fork
136
Merge medio
14m
PR unite (30g)
2

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.