[Python-Dev] curses module has_key emulation