tag:blogger.com,1999:blog-496482.post507634985972705259..comments2024-03-26T03:20:19.840-04:00Comments on For Some Value of "Magic": Python 3.0 Is OutStevehttp://www.blogger.com/profile/15732819755000554717noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-496482.post-86036525116538087932008-12-05T11:30:00.000-05:002008-12-05T11:30:00.000-05:00Guido - agreed. I'd switched mine intentionally as...Guido - agreed. I'd switched mine intentionally as I've been doing quite a bit of testing on 3.0 while helping to get a package released for 2.x and 3.0. But I did forget about the *nix package management issue.<BR/><BR/>I've never released a "port" for the FreeBSD Ports system but will do one just to see what the issues are. I don't know how other packages have dealt with dependencies when a major rev comes along. It may particularly tricky when a python package can support both 2.x and 3.x from the same code (which isn't always going to be evil).<BR/><BR/>I guess for now defaulting to requiring 2.x in such a case is the right thing to do, if Python is not already on the system, and if both are on the system, leave it to the sysadmin to adjust.<BR/><BR/>As for 3, I really am enjoying the cleanup, beyond just the great improvements with unicode / text / data. Folks that deal with unicode are going to find Python 3 very refreshing. Tastes great, less filling too!Michael Watkinshttps://www.blogger.com/profile/07422297152178282002noreply@blogger.comtag:blogger.com,1999:blog-496482.post-1096897840855556862008-12-05T10:23:00.000-05:002008-12-05T10:23:00.000-05:00Michael: the 3.0 Makefile warns severely against i...Michael: the 3.0 Makefile warns severely against installing as "python" (and you have to use a different command to do it). Now you know why.<BR/><BR/>Red Hat had the same problem when 2.0 came out -- their install scripts only ran with 1.5.2. This was solved by keeping 1.5.2 the default and using "python2" for 2.x.<BR/><BR/>I expect vendors to do a similar thing for 3.0, though I personally would prefer it if people used<BR/><BR/>#! /usr/bin/env python3.0<BR/><BR/>as the first line of their script.Guido van Rossumhttps://www.blogger.com/profile/12821714508588242516noreply@blogger.comtag:blogger.com,1999:blog-496482.post-70131247627323457612008-12-04T17:37:00.000-05:002008-12-04T17:37:00.000-05:00One thing I'd not considered is the impact on (U|L...One thing I'd not considered is the impact on (U|Li)nix distributions and their package management:<BR/><BR/>http://mikewatkins.ca/2008/12/04/python-3-system-side-effects/<BR/><BR/>Already a web application framework ported/updated in "2 and 3" style:<BR/><BR/>http://mikewatkins.ca/2008/12/03/first-python-3-web-application-framework/Michael Watkinshttps://www.blogger.com/profile/07422297152178282002noreply@blogger.com