<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
>From the VPython wiki, here is my response to a question about Python
2.6:<br>
<div class="content" id="post-content-288920">
<p>Indeed, the version of Visual has to have been built for a specific
version of Python, and a mismatch cannot work. Just this week I worked
a bit with Python 2.6 to see what the issues are going to be. There are
some problems. The Boost libraries, which enhance C++, have to be built
for a specific version of Python, and since there aren't yet available
these binaries for 2.6, I built them from source. Similarly for numpy.
Turns out that something has changed in these components, because
there's now a type mismatch between numpy integers and Python integers
(this is a simplified description). Moreover, for the new Visual about
to be released, there's a problem with a native-mode version for the
Mac because the Mac Python 2.6 has an IDLE that won't run!</p>
<p>Summary: There are various problems in the Python 2.6 world. But
we'll be tracking them and looking for solutions. We would prefer to
release the new Visual for Python 2.6, because the new Python builds a
bridge between Python 2.5 and the coming Python 3.0, a version of
Python that will actually break some existing programs. Python 2.6
offers tools to check on possible incompatibilities.</p>
<p>------------------------<br>
</p>
<p>Also, from James Mueller:<br>
</p>
<p>2.6 only came out in October, so numpy will probably be less than 6
months behind. It would be earlier, but they have other things to take
care of first. Most linux distributions are planning to roll out 2.6
over the next 6 months, so that is the time scale they are looking at.
2.6 might also be the python when OS X 10.6 comes out. 3.0 is a BIG
change, which is why they estimate a year to get numoy ported. I
expect a lot of projects will take some time to move from the 2.x
series to 3.x. There are a lot of non-backward-compatible syntax
changes.
</p>
</div>
<br>
Joe Heafner wrote:
<blockquote
cite="mid:e7f...@ma..."
type="cite">Would updating Mac Python from 2.5.2 to 2.6.x break the
latest Visual?
<div><br>
</div>
<div>Joe</div>
<pre wrap="">
<hr size="4" width="90%">
------------------------------------------------------------------------------
</pre>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Visualpython-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Vis...@li...">Vis...@li...</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/visualpython-users">https://lists.sourceforge.net/lists/listinfo/visualpython-users</a>
</pre>
</blockquote>
</body>
</html>
|