boost::python::set missing?
I noticed that the standard python set type is not exposed. Are there any plans to add that? Wichert. -- Wichert Akkerman <wichert@wiggy.net> It is simple to make things. http://www.wiggy.net/ It is hard to make things simple.
On 2011-03-01 17:14, Wichert Akkerman wrote:
I noticed that the standard python set type is not exposed. Are there any plans to add that?
I think that's a fine idea. (My guess is that it didn't make it into the boost.python API because it was added after the initial API had been designed.) Stefan -- ...ich hab' noch einen Koffer in Berlin...
I think that's a fine idea. (My guess is that it didn't make it into the boost.python API because it was added after the initial API had been designed.)
That's exactly right. Boost.Python was developed when Python 2.2 had just come out. (Boost.Python 1 was even based on 1.5.2) I'm not aware of plans for adding boost::python::set, but it would be a great addition. Ralf
On 3/2/11 00:50 , Ralf W. Grosse-Kunstleve wrote:
I think that's a fine idea. (My guess is that it didn't make it into the boost.python API because it was added after the initial API had been designed.)
That's exactly right. Boost.Python was developed when Python 2.2 had just come out. (Boost.Python 1 was even based on 1.5.2)
Looking at the code a lot of it still assumes a pre-python 2.2 C API. What is the minimal python version that must be supported? If that is python 2.4 or later I can try to do a little cleanup and try to add some set wrappers. Wichert.
Looking at the code a lot of it still assumes a pre-python 2.2 C API. What is the minimal python version that must be supported? If that is python 2.4 or later I can try to do a little cleanup and try to add some set wrappers.
I'd support giving up on Python versions before 2.4. Ralf
On 2011-03-04 11:17, Ralf W. Grosse-Kunstleve wrote:
Looking at the code a lot of it still assumes a pre-python 2.2 C API. What is the minimal python version that must be supported? If that is python 2.4 or later I can try to do a little cleanup and try to add some set wrappers.
I'd support giving up on Python versions before 2.4.
That seems reasonable to me, too. Stefan -- ...ich hab' noch einen Koffer in Berlin...
Hello, all. Dreamworks Animation is looking for Production/Pipeline Engineers to help build our production software. If you are a Python and/or C++ Developer interested in working at either our Redwood City or Glendale campus, send your resume to: tim.norman@dreamworks.com. Thanks Tim- Tim Norman Dreamworks Animation Ph 818.695 7801 www.dreamworks.com
participants (4)
-
Norman, Tim -
Ralf W. Grosse-Kunstleve -
Stefan Seefeld -
Wichert Akkerman