Re: [C++-sig] boost::python::make_tuple crashing

2009-07-05 Thread Thomas Berg
On Sun, Jul 5, 2009 at 6:27 PM, Simon Pickles wrote: > Sorry, had a typo or two: > > int main() > { >   int count = 0; >   int target = 10; > >   string s = "spam"; >   unsigned char i = 42; >   float f = 3.14f; [snip] >   cout << "Starting boost.python.tuple test" << endl; >   RakNetTime bptSt

Re: [C++-sig] boost::python::make_tuple crashing

2009-07-05 Thread Simon Pickles
Sorry, had a typo or two: #include "boost//any.hpp" #include "boost//python.hpp" #include #include // RakNet::GetTime for accurate millisecond timimg #include "GetTime.h" #include #include using namespace std; void HandleBoostPythonTuple( const boost::python::tuple& b) { const string s =

[C++-sig] boost::python::make_tuple crashing

2009-07-05 Thread Simon Pickles
Hi, I can't figure why the test program is crashing. I am comparing speeds of boost::python::tuple and boost::any as variable length application message wrappers. #include "boost//any.hpp" #include "boost//python.hpp" #include #include // RakN

[C++-sig] Boost.Python py3k support mid-term status report

2009-07-05 Thread Haoyu Bai
Hi, There is a list of milestones we have reached for the GSoC py3k support project: 1. Made Boost.Python compiled successfully with Python 3 2. Almost all the test cases passed, except some test cases need to be clean up to compatible with Python 3. 3. Basic unicode support by using Python API.