[Python-Dev] Signal-resistant code (was: Two random and nearly unrelated ideas)