Re: [C++-sig] boost::python for Python 3.0

2009-06-01 Thread Dane Springmeyer
On Jun 1, 2009, at 5:52 AM, Alcides Viamontes Esquivel wrote: Good to know that you are on it! Same here, I'm super excited about python 3 compatibility! I work on http://mapnik.org which uses boost python heavily. Cheers, Dane ___ Cplusplus-sig

Re: [C++-sig] Setting up a boost.python workflow on a Mac

2009-10-04 Thread Dane Springmeyer
Hello Randolph, On Oct 4, 2009, at 5:36 PM, Randolph Fritz wrote: I have just successfully--I hope--done this & I want to get my notes down before I forget the problems I encountered. These occurred with Boost 1.39 and Mac OS 10.5.8. 1. Bjam did not automatically detect the Mac OS environment

Re: [C++-sig] cannot find -lboost_python after upgrade to Ubuntu 9.10

2009-11-01 Thread Dane Springmeyer
I think that recent boost packages on ubuntu have added a '-py25' or '- py26' at the end of the library, essentially providing two libraries linked to each of the python versions available on ubuntu. Dane On Nov 1, 2009, at 2:28 PM, Anders Wallin wrote: This example from the tutorial http:/

Re: [C++-sig] Implementation of proper overload resolution

2009-12-17 Thread Dane Springmeyer
Troy, Really __impressive__ write-up and work on this. I'd definitely be interested in build instructions and your work getting into future releases. Cheers, Dane On Dec 17, 2009, at 8:08 AM, Troy D. Straszheim wrote: Here's what I've got on overloading. This turned out to be a lot m

Re: [C++-sig] Implementation of proper overload resolution

2009-12-17 Thread Dane Springmeyer
Troy, Incidentally, do you know the proper way (or is there a proper way?) to support None type keyword arguments? Cheers, Dane On Dec 17, 2009, at 11:11 AM, Dane Springmeyer wrote: Troy, Really __impressive__ write-up and work on this. I'd definitely be interested in

Re: [C++-sig] [boost.python] How can I link against certain python version?

2010-01-05 Thread Dane Springmeyer
On Jan 4, 2010, at 10:50 PM, blp330 wrote: Hi, I try to upgrade my boost from 1.36 to 1.41, but it will link against python26.lib. My own python version is 2.5, How can I tell boost to link with python25.lib? What operating system are you on? Mac OS X? Generally, I on Mac OSX I set up a

Re: [C++-sig] incorrect linking to libpython

2010-02-26 Thread Dane Springmeyer
Amos, I feel your pain, seriously. I've been down many of these paths as well. My overall sense is that direct linking of boost to a python executable may not be necessary, and rather that bjam could use `- undefined dynamic_lookup`, which will mean that when you import the python module yo

[C++-sig] boost python and clang++

2010-06-28 Thread Dane Springmeyer
Anyone tried building a boost python application using clang++? I noticed this post: http://blog.llvm.org/2010/05/clang-builds-boost.html#more and gave it a shot with mapnik (mapnik.org). Compiled fine (in nearly half the time), but it appears that exception translation is not working: http://t

[C++-sig] help finding solution to lack of exception handling with boost python on open solaris 64 bit

2010-12-02 Thread Dane Springmeyer
Hello, I recently recompiled my C++ app (mapnik.org, which uses boost python for python binding) with -m64 flags for 64 bit operation and this broke the boost python exception handling. Instead of C++ exceptions being propagated to python exceptions, I get segmentation faults (core dump). I h

Re: [C++-sig] help finding solution to lack of exception handling with boost python on open solaris 64 bit

2010-12-03 Thread Dane Springmeyer
compile python myself using my custom version of gcc. Dane >> >> On Thu, Dec 2, 2010 at 4:23 PM, Dane Springmeyer wrote: >> >>> Hello, >>> >>> I recently recompiled my C++ app (mapnik.org, which uses boost python for >>> python binding

Re: [C++-sig] Boost.Python and python 3.x?

2011-01-01 Thread Dane Springmeyer
On Dec 30, 2010, at 9:33 AM, Ralf W. Grosse-Kunstleve wrote: > Hi Andrew, > > Yes, the GSoC project was finished. > I checked in a few Python3 related fixes after the > 1.45 release that may be important for you, in > particular the one below, which you could easily apply > manually to your inst