s3:passdb/py_passdb.c - restore Python >= 2.4 compatibility