Re: [C++-sig] [Py++] Registration order corner case

2010-03-25 Thread Christopher Bruns
On Thu, Mar 25, 2010 at 2:20 PM, Roman Yakovenko wrote: >... > Is this an option to "drop" base classes: >... > If not, then there is one more option, but you definitely not going to > like it - to manipulate code creators tree. >... Thanks for the in depth explanation. I am glad to learn that t

Re: [C++-sig] examples for add_override_precall_code?

2010-03-25 Thread Roman Yakovenko
On Thu, Mar 25, 2010 at 10:33 PM, Nathan Stewart wrote: > I have pyplusplus churning out code, now I'm trying to get it to resemble > what I need. I need to use add_override_precall_code, to add some thread > locking to my overrides, but I can't seem to figure out how to use it from > the docs. C

Re: [C++-sig] [Py++] Registration order corner case

2010-03-25 Thread Roman Yakovenko
On Thu, Mar 25, 2010 at 10:23 PM, Christopher Bruns wrote: > Thanks Roman for your swift and thoughtful advice.  Your feedback on > this list is one of many admirable features of Py++. Thank you! > I believe that the issue here goes a bit deeper than the classes' sort > order (see below) You ar

[C++-sig] examples for add_override_precall_code?

2010-03-25 Thread Nathan Stewart
I have pyplusplus churning out code, now I'm trying to get it to resemble what I need. I need to use add_override_precall_code, to add some thread locking to my overrides, but I can't seem to figure out how to use it from the docs. Also, I have a set of overloaded virtual functions, and previously

Re: [C++-sig] [Py++] Registration order corner case

2010-03-25 Thread Christopher Bruns
Thanks Roman for your swift and thoughtful advice. Your feedback on this list is one of many admirable features of Py++. I believe that the issue here goes a bit deeper than the classes' sort order (see below) On Thu, Mar 25, 2010 at 12:09 PM, Roman Yakovenko wrote: > On Thu, Mar 25, 2010 at 8:

Re: [C++-sig] [Py++] Registration order corner case

2010-03-25 Thread Roman Yakovenko
On Thu, Mar 25, 2010 at 8:34 PM, Christopher Bruns wrote: > Py++ has produced for me over 97,000 lines of beautiful boost.python > wrapping code on my project, using less than 2500 lines of python. :-. I would say this is pretty good ratio > But I am still experiencing some minor troubles th

[C++-sig] [Py++] Registration order corner case

2010-03-25 Thread Christopher Bruns
Py++ has produced for me over 97,000 lines of beautiful boost.python wrapping code on my project, using less than 2500 lines of python. But I am still experiencing some minor troubles that prevent me from completing my project. Suppose I wish to wrap the following: //## foo.h ### stru