go-python / go-python/gopy

text/template/parse

Đang mở
#362 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
2.3k
Fork
136
Merge trung bình
14 phút
Pull request đã merge (30 ngày)
2

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.