Ticket #583 (new enhancement)

Opened 9 years ago

Last modified 9 years ago

Examples for python bindings

Reported by: alip Owned by:
Priority: Sometime Milestone:
Component: bindings/python Version: scm
Keywords: Cc: peper
Blocked By: Blocking:
Distribution: Gentoo


The attached patch adds 4 examples for python bindings.


paludis-python-examples.diff Download (9.5 KB) - added by alip 9 years ago.
paludis-python-examples-v2.diff Download (9.3 KB) - added by alip 9 years ago.

Change History

Changed 9 years ago by alip


comment:1 Changed 9 years ago by ciaranm

Please update these for the new Query syntax in ticket:559.

Changed 9 years ago by alip


comment:2 Changed 9 years ago by alip

Done, I must say the new Query syntax is sweet :-)

comment:3 Changed 9 years ago by ciaranm

  • Cc peper added

Mm, it'd be nice if we could get these exactly in line with the C++ examples. My measure of how complete bindings are is whether they can implement C++ examples in their entirety. AFAICS, for these we're missing:

  • The details on FetchActionError?
  • slot and additional requirements are missing from dep specs
  • The dep spec example is missing the matches bit, but I think the Python bindings have enough to implement that

I don't have boost.python on my laptop, and I won't have access to my desktop for another week or so, so I won't be able to do bindings work just now. But if no-one else picks them up I will.

Note: See TracTickets for help on using tickets.