Re: [C++-sig] why does the "shared_ptr const&" silently become 0xCCCCCCCC

2009-03-11 Thread Roman Yakovenko
2009/3/11 ZaeX : > Hi,Roman: > > I have tried adding call policy on my constructor, but I'm really no good at > this. > I have tried all the combinations below but none of them work: > > init const& >()[with_custodian_and_ward_postcall<0, 2> >()] > init const& >()[with_custodian_and_ward_postcall<1

Re: [C++-sig] [c++-sig] Making a Python tuple from a Boost.Fusion sequence

2009-03-11 Thread Bruno Lalande
> By the way, is there a simple way to iterate through a fusion sequence or > transformation of it with a python iterator? Do you mean making it an indexing suite, like Boost.Python does for vectors and maps? I guess it would be possible by using the indexing_suite base class (never did that befor

Re: [C++-sig] [boost] [Python] GSoC and Python 3.0 Support

2009-03-11 Thread Niall Douglas
I should add that the deadline for this appears to be tomorrow (the 12th). Niall On 11 Mar 2009 at 20:50, Niall Douglas wrote: > On 11 Mar 2009 at 13:42, Ravi wrote: > > > On Wednesday 11 March 2009 12:38:55 Haoyu Bai wrote: > > > > 1. Thread safety > > > > 2. PyFinalize support > > > > 3. Eas

Re: [C++-sig] [boost] [Python] GSoC and Python 3.0 Support

2009-03-11 Thread Niall Douglas
On 11 Mar 2009 at 13:42, Ravi wrote: > On Wednesday 11 March 2009 12:38:55 Haoyu Bai wrote: > > > 1. Thread safety > > > 2. PyFinalize support > > > 3. Easier methods to write to_python/from_python converters > > > 4. Python 3.0 support > > > 5. Ability to extend the fundamental PyTypeObject used

Re: [C++-sig] del dict[key] equivalent ?

2009-03-11 Thread troy d. straszheim
William MariƩ wrote: Hi, I'm looking for a function in boost python ( C++ side ) to do the equivalent of del dict[key] but i can't find it . Thank you very much I think you want: boost::python::object obj; obj["where"].del(); -t ___ Cplusplus-

[C++-sig] del dict[key] equivalent ?

2009-03-11 Thread William MariƩ
Hi, I'm looking for a function in boost python ( C++ side ) to do the equivalent of del dict[key] but i can't find it . Thank you very much -- View this message in context: http://www.nabble.com/del-dict-key--equivalent---tp22462620p22462620.html Sent from the Python - c++-sig mailing list arc

Re: [C++-sig] GSoC and py3k support for Boost.Python

2009-03-11 Thread troy d. straszheim
Haoyu Bai wrote: Hi, I have posted this to Boost development mailling list before and many people suggested me to repost here, so I did. I'm a student who has finished SWIG's Python 3.0 support in GSoC 2008. I'd like to contribute my knowledge of Python 3 migration to Boost.Python, by implement

Re: [C++-sig] [boost] [Python] GSoC and Python 3.0 Support

2009-03-11 Thread Ravi
On Wednesday 11 March 2009 12:38:55 Haoyu Bai wrote: > > 1. Thread safety > > 2. PyFinalize support > > 3. Easier methods to write to_python/from_python converters > > 4. Python 3.0 support > > 5. Ability to extend the fundamental PyTypeObject used by boost.python > > Thanks! Seems there's a lot of

[C++-sig] GSoC and py3k support for Boost.Python

2009-03-11 Thread Haoyu Bai
Hi, I have posted this to Boost development mailling list before and many people suggested me to repost here, so I did. I'm a student who has finished SWIG's Python 3.0 support in GSoC 2008. I'd like to contribute my knowledge of Python 3 migration to Boost.Python, by implementing Python 3 suppor

Re: [C++-sig] [c++-sig] Making a Python tuple from a Boost.Fusion sequence

2009-03-11 Thread Luca Secchi
It seems very useful to me. By the way, is there a simple way to iterate through a fusion sequence or transformation of it with a python iterator? Luca. 2009/2/27 Bruno Lalande > Hello, > > The topic below was opened in the Boost development mailing list, > where it's been pointed out to me tha

Re: [C++-sig] why does the "shared_ptr const&" silently become 0xCCCCCCCC

2009-03-11 Thread ZaeX
Hi,Roman: I have tried adding call policy on my constructor, but I'm really no good at this. I have tried all the combinations below but none of them work: - init const& >()[with_custodian_and_ward_postcall<0, 2> >()] - init const& >()[with_custodian_and_ward_postcall<1, 2> >()] -