You are not logged in.

#1 2010-01-08 18:52:13

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

python3 vs. python2

Does python3 coexist nicely with python2? I'd like to work with python3 but I don't want to give up python2 in case of compatibility issues with older source.

Offline

#2 2010-01-08 19:14:09

jac
Member
From: /home/jac
Registered: 2009-05-19
Posts: 431
Website

Re: python3 vs. python2

It should be noted that I know nothing about python, but it seems there are some problems with code compatibility: http://bbs.archlinux.org/viewtopic.php?id=88136 That thread has some work arounds in it. I'm sure further forum/google searching could give you more information

Edit: Oops, yeah, I think I misunderstood the question, but may have answered a different one you had

Last edited by jac (2010-01-08 19:20:04)

Offline

#3 2010-01-08 19:17:17

Nagian
Member
From: Altach, Austria
Registered: 2009-08-03
Posts: 70

Re: python3 vs. python2

They can coexist very easily, there will be two interpreters, python2 and python3, and python is linked to python2. So you can install both versions without any problems.

Offline

#4 2010-01-08 21:09:14

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

Re: python3 vs. python2

Thanks - yeah, that's what I was looking for - can I install both python2 & python3, and use python2 by default. Perfect.

Offline

Board footer

Powered by FluxBB