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

Linux.com

Re: Python 3.0 makes a big break

Posted by: Anonymous [ip: 75.56.58.175] on October 19, 2008 11:28 PM
> 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

This is a good way to get in troubles.
What will you do when someone installs 2.7?
Will you upgrade all your code and replace python2.6 with python2.7?
What about the guy that stayed with 2.6?


Not to mention that a seciour python project works with multiple python versions; at least 2.3+ is the standard these days.
I even had requests to support 1.5... and most of the time I was able to do it!

I agree with most posters... this incompatibility with 3.0 is a HUUUUGE mess.

Igor

#

Return to Python 3.0 makes a big break