Re: [C++-sig] PyQt (SIP) and Boost.Python interop?

2009-04-09 Thread troy d. straszheim
troy d. straszheim wrote: Ralf W. Grosse-Kunstleve wrote: Well, I asked in #python and #python-dev, got referred to webmas...@python.org, got an autoreply and then silence. Maybe I'll have to join some python dev lists and shout to find out who runs this thing. We'll see. WHOOPS I was a

Re: [C++-sig] PyQt (SIP) and Boost.Python interop?

2009-04-09 Thread troy d. straszheim
Ralf W. Grosse-Kunstleve wrote: Since I didn't see any other responses, I'll offer what I know, even though it doesn't directly answer your question. A few years ago I experimented with SWIG - Boost.Python integration, where you can get easy access from C++ to SWIG-wrapped objects, inside a fu

Re: [C++-sig] Some thoughts on py3k support

2009-04-09 Thread David Abrahams
on Wed Apr 08 2009, David Abrahams wrote: > I think you raised a number of irrelevant issues whose relevance I can't > see, but I agree with the substance of your argument. And I raised a number of redundant issues that were redundant with one another... sorry, I didn't mean to hammer that poin

Re: [C++-sig] strange behavior with respect to numeric and Booleanoverloads

2009-04-09 Thread troy d. straszheim
Ralf W. Grosse-Kunstleve wrote: I checked in (svn rev. 52299) Troy's patch with an additional condition, e.g.: #if PY_VERSION_HEX >= 0x0204 && defined(BOOST_PYTHON_BOOL_INT_STRICT) I.e. the default behavior is unchanged, but people can add -DBOOST_PYTHON_BOOL_INT_STRICT to experiement. Wh

Re: [C++-sig] strange behavior with respect to numeric and Booleanoverloads

2009-04-09 Thread Ralf W. Grosse-Kunstleve
I checked in (svn rev. 52299) Troy's patch with an additional condition, e.g.: #if PY_VERSION_HEX >= 0x0204 && defined(BOOST_PYTHON_BOOL_INT_STRICT) I.e. the default behavior is unchanged, but people can add -DBOOST_PYTHON_BOOL_INT_STRICT to experiement. When I did this in my project, it t

Re: [C++-sig] Recursion problem while testing inheritance

2009-04-09 Thread Stefan Seefeld
Hi Luciano, Luciano M. Wolf wrote: Hi, I'm doing some experiments calling methods from parent (or grandparent) class. I have a "Base" class defining a "test" virtual method. Class "Derived" inherits from "Base" but does not implement "test". At Python side (test.py) I redefine test and do a cal

[C++-sig] Recursion problem while testing inheritance

2009-04-09 Thread Luciano M. Wolf
Hi, I'm doing some experiments calling methods from parent (or grandparent) class. I have a "Base" class defining a "test" virtual method. Class "Derived" inherits from "Base" but does not implement "test". At Python side (test.py) I redefine test and do a call to "Base.test()". The program ends u