repo.or.cz
/
pysize.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Forgot the remaining_size in the sum.
[pysize.git]
/
pysize
/
core
/
sigquit_traceback.py
blob
640a500ad16ce04df9db2a7e0bd866339b32ffd2
1
import
signal
2
import
traceback
3
4
def
install_sigquit_traceback
():
5
def
handler
(
signum
,
frame
):
6
print
'SIGQUIT triggered traceback (most recent call last):'
7
traceback
.
print_stack
(
frame
)
8
signal
.
signal
(
signal
.
SIGQUIT
,
handler
)