This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Python 3.0 makes a big break

Posted by: Anonymous [ip: 24.207.95.37] on October 19, 2008 07:35 PM
Multiple versions of python can (and currently do) peacefully reside in the same PREFIX installation area.

Distros can install both 2.6 and 3.0, and decide which binary (/usr/bin/python2.6 or /usr/bin/python3.0 is linked to /usr/bin/python).

/usr/bin/python is really just for the lay user who's launching "python" from the command line.

Anyone who's developing serious scripts or applications should be specifying the actual version their code have been tested against.

#!/bin/env python2.6
or eventually..
#!/bin/env python3.0

I don't know why people are panicking about 3.0; this is no different than distros including Python2.4 and Python2.5 on the same machine. Or software developers making the jump from gcc 3.4 to 4.x.

#

Return to Python 3.0 makes a big break