25
25
# I'm pretty sure this has to be global, since signal handling is per-process.
27
27
# TODO: Using a dict means that the order of calls is unordered. We could use a
28
28
# list and then do something like LIFO ordering. A dict was chosen so
29
29
# that you could have a key to easily remove your entry. However, you