lp:~drlh/pybindgen/py3kx
Created by
Doug Heisterkamp
and last modified
- Get this branch:
- bzr branch lp:~drlh/pybindgen/py3kx
Only
Doug Heisterkamp
can upload to this branch. If you are
Doug Heisterkamp
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- dna: Pending requested
-
Diff: 102 lines (+41/-15)3 files modifiedpybindgen/cppclass.py (+15/-3)
pybindgen/typehandlers/base.py (+11/-9)
pybindgen/wrapper_registry.py (+15/-3)
Branch information
Recent revisions
- 790. By Doug Heisterkamp <email address hidden>
-
CObject or Capsule based on python version.
Also, reverted back to throwing a TypeLookupError in base.py so that
an iostream & parameter causes a function to be ignored. - 789. By Dan Eicher <email address hidden>
-
Attribute closure and mapping methods support
* Attribute closure
Little used feature where one can pass a void * into the get/set functions
* Mapping methods
Adds "obj['foo']" and "obj['foo'] = 'bar'" support with functions "__maplen__", "__mapget__", "__mapset__" -- nearly identical to how the sequence methods do it
Adds 'd in obj' using "__contains__" mapped into the sq_contains slot -- may be a py3k only hack, dunno?
- 785. By Dan Eicher <email address hidden>
-
Use CppClass python name for tp_name instead of c[++] mangled name
- 784. By Dan Eicher <email address hidden>
-
CppClass.
add_instance_ attribute pure c function getter/setter wrapper
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~gjc/pybindgen/trunk