Propose merge with branch adding more container methods
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PyBindGen |
New
|
Undecided
|
Unassigned |
Bug Description
I have a branch of pybindgen which has fleshed out more of the sequence slots for use in pybindgen. The branch can be found on launchpad at
lp:~mikeowen/pybindgen/pybindgen-containers
Here's a list of the changes in this branch:
1. The python slots supported now are __len__, __add__, __mul__, __getitem__, __getslice__, __setitem__, __setslice__, __contains__, __iadd__, and __mul__. The unit tests in tests/footest.py have been extended to cover this full set.
2. I added support for adding standalone functions as attributes of wrapped classes via cppclass.
3. We have added an example of functioning cross-module dependencies in examples/
There are also some minor changes:
1. The logic using abi::__
2. Added guards to tests/boost/wscript to only build and run this test if ENABLE_
I would like see these changes incorporated into the mainline pybindgen, so please as you get the chance check them out! I have confirmed that all the pybindgen unit tests pass correctly under "waf --disable-pygccxml check", with the obvious exception of the automatically generated bindings since I don't have gccxml installed. I certainly don't think these additions should break the automatic parsing code, though.
That sounds cool. Maybe you could use the launchpad "propose for merge" feature? I never used it before, but supposedly will help me see the changes more clearly... I can take a look over the weekend.