hplgit / scitools

Additional scientific computing functionality in Python - extensions to NumPy/SciPy++
http://hplgit.github.io/scitools/doc/web/index.html
Other
64 stars 30 forks source link

How to use scitools with python 3? #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, Does exist any way to use scitools with python 3.2?
Thanks

Original issue reported on code.google.com by lopezto...@gmail.com on 29 May 2012 at 5:53

GoogleCodeExporter commented 9 years ago
Since version 2.7 is still dominating in scientific computing, because many 
packages are not (yet) ported to version 3.2, scitools is still a v2.x package. 
However, the code was written with easy transition to 3.x in mind so the 
necessary modifications should be few. You may download the source and try it 
out with v3.2 and make changes. The 2to3 script may help. We would like to 
incorporate any changes in the official source.

Regards,
Hans Petter Langtangen
hpl@simula.no 

Original comment by h...@simula.no on 29 May 2012 at 7:04

GoogleCodeExporter commented 9 years ago
By the way, this is the diff of the simple bulk changes to make it valid Python 
3 *syntax*. This should keep working under Python 2.6 and 2.7, but not under 
older versions. Further changes would be necessary to make it actually run 
properly under Python 3, but I didn't look into that.

Original comment by tak...@gmail.com on 30 Oct 2013 at 11:04

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for this contribution! The patch will be merged with ongoing changes in 
the source to make scitools run under Python 3.2 and later.

Original comment by h...@simula.no on 6 Nov 2013 at 10:12