Override built-in map with imap for PY2