
On Fri, Dec 5, 2008 at 8:17 AM, Stefan Seefeld <seefeld@sympatico.ca> wrote:
Robert Dailey wrote:
Will Boost.Python 1.37 work with the Python 3.0 library?
That's highly unlikely. Just try it and you'll find out !
Thanks for your response. I thought about trying it but I'm just too busy at work unfortunately. Does anyone on the boost team plan on upgrading Boost.Python to work with Python 3.0 since it was finally released on December 3rd?

Robert Dailey wrote:
On Fri, Dec 5, 2008 at 8:17 AM, Stefan Seefeld <seefeld@sympatico.ca> wrote:
Robert Dailey wrote:
Will Boost.Python 1.37 work with the Python 3.0 library?
That's highly unlikely. Just try it and you'll find out !
Thanks for your response. I thought about trying it but I'm just too busy at work unfortunately. Does anyone on the boost team plan on upgrading Boost.Python to work with Python 3.0 since it was finally released on December 3rd?
I just tried building against python 3, and, as expected, ran into a couple of compilation errors. I have no idea (yet) how big the changes between the Python 2.x C API and the Python 3 C API are, and thus, how much effort is required to add support for Python 3. However, given how much backward incompatibe changes went into Python 3, I expect Python 2(.6) to stay around for quite a long time, so adding support for Python 3 to boost.python may not be a very pressing issue. But that's just my 2 cents, obviously. Regards, Stefan -- ...ich hab' noch einen Koffer in Berlin...

On Fri, Dec 5, 2008 at 9:45 AM, Stefan Seefeld <seefeld@sympatico.ca> wrote:
Robert Dailey wrote:
Thanks for your response. I thought about trying it but I'm just too busy at work unfortunately. Does anyone on the boost team plan on upgrading Boost.Python to work with Python 3.0 since it was finally released on December 3rd?
I just tried building against python 3, and, as expected, ran into a couple of compilation errors. I have no idea (yet) how big the changes between the Python 2.x C API and the Python 3 C API are, and thus, how much effort is required to add support for Python 3.
However, given how much backward incompatibe changes went into Python 3, I expect Python 2(.6) to stay around for quite a long time, so adding support for Python 3 to boost.python may not be a very pressing issue.
But that's just my 2 cents, obviously.
I personally find Python 3.0 to be far more intuitive syntactically as a language. Things are more consistent and I am totally in love with the new features. I really would love to see Boost.Python add support in the near future! Thanks for expressing your opinions on the matter Stefan.

Stefan Seefeld wrote:
However, given how much backward incompatibe changes went into Python 3, I expect Python 2(.6) to stay around for quite a long time, so adding support for Python 3 to boost.python may not be a very pressing issue.
I use Boost.Python mainly for embedding scripting capabilities into my program. I care more about having a simple, easy to use and yet powerful scripting language than about compatibility, personally. Additionally, Python 3 is probably the occasion of revamping the iterator and range mapping in Boost.Python, since they've become much more important now.

Mathias Gaunard wrote:
I use Boost.Python mainly for embedding scripting capabilities into my program. I care more about having a simple, easy to use and yet powerful scripting language
Then you might also consider this: http://cpptcl.sourceforge.net/ It has some properties that Python does not have, which are very useful with embedding, like "safe" interpreters or fully separate interpreters with *linked commands* - both are perfect for security sandboxes. Cheers, -- Maciej Sobczak * www.msobczak.com * www.inspirel.com
participants (4)
-
Maciej Sobczak
-
Mathias Gaunard
-
Robert Dailey
-
Stefan Seefeld