Re: [C++-sig] Boost.Python indexing suite version 2?

2009-07-23 Thread Matthew Scouten (TT)
This is a sketch of what I want to do. This seems to work seamlessly with the included indexing suite. I cannot figure out how the make it work with the advanced one. -- c++ -- struct foo { int bar; }; class_("foo") .def_re

Re: [C++-sig] boost::python::str and Python's str and unicode types

2009-07-23 Thread Stefan Seefeld
On 07/23/2009 10:17 AM, Robert Smallshire wrote: Hello, I'm looking for some confirmation that my understanding of what boost.python is doing is correct. > From what I understand boost::python::str represents the str (PyStringObject) type in Python. Unless I'm missing something, here doesn't s

[C++-sig] boost::python::str and Python's str and unicode types

2009-07-23 Thread Robert Smallshire
Hello, I'm looking for some confirmation that my understanding of what boost.python is doing is correct. >From what I understand boost::python::str represents the str (PyStringObject) type in Python. Unless I'm missing something, here doesn't seem to be anything like boost::python::unicode repr