A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-July/007158.html below:

[Python-Dev] _cursesmodule linking, and portability

[Python-Dev] _cursesmodule linking, and portability [Python-Dev] _cursesmodule linking, and portabilityMoshe 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.
http://advogato.org/person/moshez




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4