Re: Problem building ObjectHandler
Posted by
Bojan Nikolic on
URL: http://quantlib.414.s1.nabble.com/Problem-building-ObjectHandler-tp8266p8268.html
Luigi Ballabio <
[hidden email]> writes:
> On Fri, 2010-05-14 at 14:54 +1000, Erik Schlogl wrote:
>> This looks like Python doesn’t understand the gensrc.py script. I
>> have
>> Python 3.1.2 (r312:79149, Mar 21 2010, 00:41:52) [MSC v.1500 32 bit
>> (Intel)] on win32
>
> I suggest you use a Python from the 2.x series (the current 2.6 should
> work.) The Python 3 series is still kind of experimental.
Not just experimental, but also it intentionally breaks compatibility
with the 2.x series:
http://www.python.org/dev/peps/pep-3000/#compatibility-and-transitionIn the particular case shown by Erik, I think it is the change in
meaning of "print" from a statement to a function that is breaking
things.
Best,
Bojan
--
Bojan Nikolic ||
http://www.bnikolic.co.uk------------------------------------------------------------------------------
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users