Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-portage-dev
On 18-06-2010 02:08:04 +0200, René 'Necoro' Neumann wrote:
> In parallel (or thereafter), we build the C-bindings. The API for these
> bindings probably look different -- but I guess they should be
> implemented in terms of the library created above.
>
> By example:
>
> - Operation: get the list of categories
> - Python-API: portage.api.categories() : Category list
> - Implementation: def categories(): return ....
> - C-API: category * categories()
> - C-Implementation: some wrapper around portage.api.categories
If you want to deliver a C implementation, I'd wonder why you wouldn't
just make a full C implementation and create Python wrappers for them
instead of the other way around. Might accidentially speed up Portage,
and make tools like portage-utils happy.
--
Fabian Groffen
Gentoo on a different level
|
|