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

SyntaxError: Missing parentheses in call to 'print' #1

Open
mkevac opened this issue May 21, 2016 · 0 comments
Open

SyntaxError: Missing parentheses in call to 'print' #1

mkevac opened this issue May 21, 2016 · 0 comments

Comments

@mkevac
Copy link

mkevac commented May 21, 2016

SyntaxError: Missing parentheses in call to 'print'

marko@fedora:~/tmp/watch_leaks (master) $ gdb -q --batch -ex 'set python print-stack full' -ex 'source watch_leaks.py' -ex 'watch_leaks 30 je_' -p 9634
[New LWP 9639]
[New LWP 9638]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007f4a272bab1d in poll () from /lib64/libc.so.6
  File "watch_leaks.py", line 148
    print "no allocations - no leaks"
                                    ^
SyntaxError: Missing parentheses in call to 'print'
Undefined command: "watch_leaks".  Try "help".
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

1 participant