class derivation in boost.python v2. Was Re: [C++-sig] Lifetime ofPython object for a pointer argument
Min Xu
minxu at sci.ccny.cuny.edu
Tue Feb 19 05:07:05 CET 2002
Thanks.
Your fix is great. It now reports the uninitialized base class though
with the name prefixed by a digit such as 8geometry. -:)
My build goes like this for bpl
jam -sBOOST_ROOT=/usr/local/src/boost -sTOOLS=gcc -sBUILD=debug
-sPYTHON_VERSION=2.2 -sPYTHON_ROOT=/usr
jam -sBOOST_ROOT=/usr/local/src/boost -sTOOLS=gcc -sBUILD=debug
-sPYTHON_VERSION=2.2 -sPYTHON_ROOT=/usr test
>
> You don't need the try/catch block ;-)
>
> (Aside) How did you build bpl.so? If you use the debug-python build (the
> default in libs/python/Jamfile), you need a Python configured
> with --with-pydebug. Otherwise, you need the "debug" or "release" builds of
> bpl.
>
More information about the Cplusplus-sig
mailing list