Barry Scott, barry@barrys-emacs.org
The CXX
Project Page at
gives you access to the releases, the Subversion repository, and more.
CXX/Objects is a set of C++ facilities to make it easier to write Python extensions. The chief way in which PyCXX makes it easier to write Python extensions is that it greatly increases the probability that your program will not make a reference-counting error and will not have to continually check error returns from the Python C API. CXX/Objects integrates Python with C++ in these ways:
PyCXX documentation is split into Python 3 and Python 2 versions. The Python 3 documentation is the most accurate.
Latest PyCXX README file.
Supports Python 3 starting at Python 3.1 and Python 2
Code clean up to fix compiler warnings reported by gcc 4.2.1 on Mac OS X when building for Python 3.
Supports Python 3 and Python 2
This release replaces 5.5.0 and 6.0.0
Speed of method calling has been improved.
Supports Python 3 only
Supports Python 2 only
Add support for rich compare.
Add the simplest code for a module with a single function and a single class (Demo/simple.cxx)
Fix long standing bugs with Dict::iterator
Add Boolean type from Vivian De Smedt.
Patch from Dmitry Kostjuchenko to which improves PyCXX method's calling speed/performance by almost 2 times.
More PY_LONG_LONG support.
No longer allow creation of Py::Int from PY_LONG_LONG as long long cannot fit. Use Py::Long.
Py:Dict can now be constructed from a Py::Object.
PyCXX has a new BSD license to make it open source compatible. Many thanks to Sebastian Sauer for bring this matter to our attention and to Paul Dubios for working with the LLNL people to get the license changed.
Fix compilation issues with GCC 4.1 found on FC6.
Fix compilation issues caused by problems in IRIX header files.
Add PY_LONG_LONG support from patch contributed by Dmitry Kostjuchenko.
Add support for Python 2.5
Add support for PY_LONG_LONG to Py::Int()
More changes to keep GCC 4.0 happy - no warning should be report
Add interator support - thanks to Helmut Jarausch - see pycxx_iter demo
Allow an extension to be part of a python package
Allow creation of Exception hierachies
Fix problem compiling with GCC 2.9X
Fix uninitialise memory problem
Work around compile problems with the example and GCC 4.0.
No details recorded
Added fixes to support problems reported against GCC4 builds and .NET 2003 builds
Download PyCXX 5.3.1 from SourceForge.
I've added Unicode string support to PyCXX and fixed a number of reported bugs.
See the README and documentation for details.
Download PyCXX 5.3.0 from SourceForge.
-- BArry Scott, October 2004
After a long gap I have updated PyCXX (the name I prefer for CXX) to fix a number of bugs and add a small number of features.
I'm using the development of pysvn to drive the need for fixes and features in PyCXX.
-- Barry Scott, November 2003