Re: [C++-sig] [Py++] Bug in balanced file writer

2011-05-22 Thread Kirill Lapshin
On Sunday, May 22, 2011 03:42 AM, Roman Yakovenko wrote: Suppose you have 24 class_creators and trying to split them into 10 buckets. What it currently does is: - how many creators per bucket? 24/10 = 2. uhm, ok. - split_sequence of 24 creators by 2, this returns 12 buckets -

[C++-sig] [Py++] Bug in balanced file writer

2011-05-19 Thread Kirill Lapshin
Hi Roman/all, Today I've found what I believe a bug in balanced file writer. Suppose you have 24 class_creators and trying to split them into 10 buckets. What it currently does is: - how many creators per bucket? 24/10 = 2. uhm, ok. - split_sequence of 24 creators by 2, this returns 12 buckets

Re: [C++-sig] [Py++] shared_ptr registration

2011-05-19 Thread Kirill Lapshin
On Thursday, May 19, 2011 04:57 AM, Roman Yakovenko wrote: So now that Boost.Python supports it, any chance to get Py++ to automagically recognize it too? Yes of course. I'll fix this bug, but it will not happen this or next week so. That's great, no pressure, I can register them manually for

Re: [C++-sig] [Py++] shared_ptr registration

2011-05-18 Thread Kirill Lapshin
On 18/05/2011 04:27, Roman Yakovenko wrote: Not in a few next months. The SVN contains tested and documented version. It is perfectly save to use it. Fair enough. Just asking. Basically Py++ inspects every exported declaration and looks for smart pointers and stl containers. Take a look on cr

[C++-sig] [Py++] shared_ptr registration

2011-05-17 Thread Kirill Lapshin
Hello Roman/All, I used Py++ before, and was very happy with it, now I'm working on a new project and trying to introduce Py++ here as well. Naturally I decided to get a latest version (was using a bit outdated version before), and noticed that there was no release in quite some time, so here