[Python-Dev] _cursesmodule linking, and portability

Moshe Zadka Moshe Zadka <moshez@math.huji.ac.il>
Sun, 23 Jul 2000 15:21:31 +0300 (IDT)

On Sun, 23 Jul 2000, Eric S. Raymond wrote:

> OK.  The story is this:
> 1. has_key() is unique to ncurses.  It's not specified in the 
>    X/Open curses API.  
> 2. We added it for a reason :-).  It's hard to write programs that adapt to
>    different numbers of function keys without it -- and this is still an issue.
>    because that number still varies even though all the world is a VT100 
>    emulator these days.
> So I recommend trying to add has_key to the curses module interface in Python,
> conditionalized on whether you can pick it out of the local curses headers.

This sounds just like what Mark did. Or maybe I'm reading you wrong.

Moshe Zadka <moshez@math.huji.ac.il>
There is no IGLU cabal.