Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不支持 python2 #2

Open
samuelyao314 opened this issue Mar 17, 2020 · 5 comments
Open

不支持 python2 #2

samuelyao314 opened this issue Mar 17, 2020 · 5 comments

Comments

@samuelyao314
Copy link

gdb 编译的python 版本是2, 出现以下错误

File "lua-gdb.py", line 352
yield str(2*i), i
SyntaxError: 'return' with argument inside generator

@xjdrew
Copy link
Owner

xjdrew commented Jul 9, 2020

应该是支持python2的,我没有碰到这个错误;如果知道原因了,可以提个PR;

@Dear-u
Copy link

Dear-u commented Dec 18, 2020

生成器的return 带了参数,"lua-gdb.py", line 429

@Dear-u
Copy link

Dear-u commented Dec 18, 2020

另外,地址转换是用long替换int

@xjdrew
Copy link
Owner

xjdrew commented Dec 22, 2020

提个PR?

@Marskey
Copy link

Marskey commented Jun 2, 2024

不支持python2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants