Defensive Programming with Python