Re: [C++-sig] boost::python and Date/Time values

2010-02-11 Thread troy d. straszheim
Murray Cumming wrote: On Sun, 2010-02-07 at 22:59 +0100, Murray Cumming wrote: Is there any easy way to get python Date, Time and DateTime values from boost::python::objects? In C, I'm using PyDateTime_GET_YEAR(), PyDateTime_GET_MONTH(), PyDateTime_GET_DAY(), etc, but it would be nice to use som

Re: [C++-sig] boost::python and Date/Time values

2010-02-11 Thread Murray Cumming
On Sun, 2010-02-07 at 22:59 +0100, Murray Cumming wrote: > Is there any easy way to get python Date, Time and DateTime values from > boost::python::objects? In C, I'm using PyDateTime_GET_YEAR(), > PyDateTime_GET_MONTH(), PyDateTime_GET_DAY(), etc, but it would be nice > to use some C++ API for thi

[C++-sig] boost::python and Date/Time values

2010-02-07 Thread Murray Cumming
Is there any easy way to get python Date, Time and DateTime values from boost::python::objects? In C, I'm using PyDateTime_GET_YEAR(), PyDateTime_GET_MONTH(), PyDateTime_GET_DAY(), etc, but it would be nice to use some C++ API for this. -- murr...@murrayc.com www.murrayc.com www.openismus.com __