Re: [GRASS-dev] Python 3 or Python 2.6?
Michael wrote: > I have not tried Python 3, but the docs say that it is not > backward compatible with Python 2.x. So I'd stick with 2.6. > > Has anyone out there tried Python 3? there are some ways to try python 3 without actually "leaving home". stuff to try: * http://docs.python.org/library/2to3.html * import __future__ http://docs.python.org/library/future_builtins.html http://www.python.org/doc/2.5.2/lib/module-future.html * python2.6 -3 Hamish ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] Python 3 or Python 2.6?
Hi, 2008/12/16 Michael Barton : > I have not tried Python 3, but the docs say that it is not backward > compatible with Python 2.x. So I'd stick with 2.6. right, see http://docs.python.org/dev/3.0/whatsnew/3.0.html > Has anyone out there tried Python 3? this would required changes in wxGUI code... Martin -- Martin Landa * http://gama.fsv.cvut.cz/~landa * ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] Python 3 or Python 2.6?
On Dec 16, 2008, at 3:36 AM, > wrote: Date: Tue, 16 Dec 2008 11:36:43 +0100 From: "Marco Pasetti" Subject: [GRASS-dev] Python 3 or Python 2.6? To: "GRASS Developer Mailing List" Message-ID: Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Dear all, I'm updating the GRASS build environment for MS Windows, and looking for some news in the dependencies I found that Python is currently shipped in two versions: 2.6.1 and 3. What should I install? Thanks, Marco I have not tried Python 3, but the docs say that it is not backward compatible with Python 2.x. So I'd stick with 2.6. Has anyone out there tried Python 3? Michael ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] Python 3 or Python 2.6?
Martin Landa wrote: > > I'm updating the GRASS build environment for MS Windows, and looking for > > some news in the dependencies I found that Python is currently shipped in > > two versions: 2.6.1 and 3. > > What should I install? Thanks, > > 2.6.x for sure. Python 3 is not supported. And probably won't be soon. Or ever (we would do better moving to another language than to Python 3). Python 3 is a disaster on non-Windows systems due to an outbreak of Unicode fundamentalism. E.g. you can't get the original byte strings for argv[], only the Unicode versions (*if* it manages to convert them to Unicode; if any argv[i] isn't text in your locale's encoding, you lose). -- Glynn Clements ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] Python 3 or Python 2.6?
Hi Martin, I'm updating the GRASS build environment for MS Windows, and looking for some news in the dependencies I found that Python is currently shipped in two versions: 2.6.1 and 3. What should I install? Thanks, 2.6.x for sure. Python 3 is not supported. Ok. Thanks. Marco ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] Python 3 or Python 2.6?
Hi, 2008/12/16 Marco Pasetti : > I'm updating the GRASS build environment for MS Windows, and looking for > some news in the dependencies I found that Python is currently shipped in > two versions: 2.6.1 and 3. > What should I install? Thanks, 2.6.x for sure. Python 3 is not supported. Martin -- Martin Landa * http://gama.fsv.cvut.cz/~landa * ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
[GRASS-dev] Python 3 or Python 2.6?
Dear all, I'm updating the GRASS build environment for MS Windows, and looking for some news in the dependencies I found that Python is currently shipped in two versions: 2.6.1 and 3. What should I install? Thanks, Marco ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev