Python interface for c-ares