added readline support to mac python