Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pyrasite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
pyrasite
Commits
b98a302e
Commit
b98a302e
authored
Mar 13, 2012
by
Nathaniel Case
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
print is now a reference to a function
parent
27c87e55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
pyrasite/payloads/dump_stacks.py
pyrasite/payloads/dump_stacks.py
+2
-1
No files found.
pyrasite/payloads/dump_stacks.py
View file @
b98a302e
from
__future__
import
print_function
import
sys
,
traceback
for
thread
,
frame
in
sys
.
_current_frames
().
items
():
print
(
'Thread 0x%x'
%
thread
)
traceback
.
print_stack
(
frame
)
print
print
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment