Announce: PyBindGen 0.9 released

Gustavo Carneiro gjcarneiro at
Sun Jul 27 19:56:37 CEST 2008

PyBindGen is a Python module that is geared to generating C/C++ code that
binds a C/C++ library for Python. It does so without extensive use of either
C++ templates or C pre-processor macros. It has modular handling of C/C++
types, and can be easily extended with Python plugins. The generated code is
almost as clean as what a human programmer would write.

It can be downloaded from:

Bug reports should be filed here:

Special thanks to Roman Yakovenko (lots of help with pygccxml) and Mathieu
Lacage (API suggestions, documentation writing).

=== pybindgen 0.9 ===
    - Fix GCC 4.2 compilation warnings;
    - Works with some GCCXML 0.9/cvs snapshots (tested with 2008-04-20),
      in addition to stable 0.7;
    - Support for overloaded virtual methods;
    - Add 'ignore' annotation support, allowing to ignore functions
      and methods;
    - Generally work hard to make sure the generated code at least
      always compiles, even if we have to disable generation of
      certain wrappers;
    - Add support for protected methods and constructors;
    - Preliminary support for templated classes/methods/functions;
    - Add more type conversions, such as uint64_t and uint16_t;
    - Support implicit conversions also for pass-by-reference parameters;
    - Add supported for nested (i.e. defined inside a class) enums and
    - Add support for adding manually written custom method or function
    - Split the gccxmlparser.ModuleParser.parse() method into several
      smaller methods, to allow greater customization and flexibility;
    - Add support for customising C++ class instance creation code;
    - Much improved support for wrapping pure C code;
    - Support std::ostream << myobject mapped as str(myobject) (Mathieu
    - Support default values in parameters;
    - More intuitive API (thanks Mathieu Lacage for feedback)
    - Support generation of a Python pybindgen script from scanned API;
    - Support splitting of generated python script and/or C/C++ module into
several files;
    - Lots of small bug fixes, and other features I probably forgot;
    - New tutorial (thanks Mathieu Lacage), and API docs.

Gustavo J. A. M. Carneiro
INESC Porto, Telecommunications and Multimedia Unit
"The universe is always one step beyond logic." -- Frank Herbert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-announce-list mailing list