graceful exit with older Python
test graceful exit with old Python