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-December/011010.html below:

[Python-Dev] Splitting up _cursesmodule

[Python-Dev] Splitting up _cursesmodule [Python-Dev] Splitting up _cursesmoduleThomas Gellekum tg@melaten.rwth-aachen.de
14 Dec 2000 14:07:12 +0100
Andrew Kuchling <akuchlin@mems-exchange.org> writes:

> I'm ambivalent about the list_of_panels.  It's a linked list storing
> (PyWindow, PyPanel) pairs.  Probably it should use a dictionary
> instead of implementing a little list, just to reduce the amount of
> code.

I don't like it either, so feel free to shred it. As I said, this is
the first (piece of an) extension module I've written and I thought it
would be easier to implement a little list than to manage a Python
list or such in C.

> So, I suggest we create _curses_panel.c, which would be available as
> curses.panel.  (A panel.py module could then add any convenience
> functions that are required.)
> 
> Thomas, do you want to work on this, or should I?

Just do it. I'll try to add more examples in the meantime.

tg



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