Re: QuantLib-SWIG port to Python3
Posted by
Minjae David Kim on
Oct 07, 2013; 6:59pm
URL: http://quantlib.414.s1.nabble.com/QuantLib-SWIG-port-to-Python3-tp14548p14561.html
I reviewed your changes and ran the tests in Python 3. Also, thanks for updating the examples.
One minor comment I have is that I see some changes in the relative import syntax (in QuantLib/__init__.py line 19 - 26). Your implementation certainly works, but I am curious why the previous implementation ("import .QuantLib [...]") did not work. Due to PEP 328, all major versions of Python (including 2.5) should support the prefix dot import syntax, but unfortunately, I don't have Python 2.5 on my system to test it. Python 2.7 worked with the previous implementation.
Anyhow, the above comment is just a minor one. The code works fine as far as I can see from the tests in Python 2.7 and 3.3.
Best Regards,
Minjae
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev