tag:blogger.com,1999:blog-496482.post8667010685282010413..comments2024-03-26T03:20:19.840-04:00Comments on For Some Value of "Magic": No Print Statement? Python 3 Web SeminarStevehttp://www.blogger.com/profile/15732819755000554717noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-496482.post-45237125852601005722007-10-14T21:17:00.000-04:002007-10-14T21:17:00.000-04:00Steve, sorry for the late response, I forgot about...Steve, sorry for the late response, I forgot about my comment until your most recent post.<BR/><BR/>Anyway! it will depend on the project that I plan on doing, so since I can't see 3 years in the future, I can't tell you what's "enough". Right now, I maintain a 2.4 and a 2.5 installation, and use whichever one's convenient for any particular project.<BR/><BR/>I expect to be an early adopter of 3k, barring large-scale failure of library implementors moving towards it.Bill Millhttps://www.blogger.com/profile/10065077215311205545noreply@blogger.comtag:blogger.com,1999:blog-496482.post-6761344562530321672007-10-10T12:15:00.000-04:002007-10-10T12:15:00.000-04:00I plan on switching to 3.0 when, on any one projec...I plan on switching to 3.0 when, on any one project, the benefits of using 3.0 outweigh the inconveniences of moving to 3.0.<BR/><BR/>I believe most of the benefits will be in an improved library, and improved extension modules. <BR/><BR/>Since that part of Python 3.0 has only barely begun it's hard to see at this time any reason to change. <BR/><BR/>Taking a "Wait and See" attitude is very appropriate at this time.Unknownhttps://www.blogger.com/profile/04966635432230802731noreply@blogger.comtag:blogger.com,1999:blog-496482.post-41319944516816467402007-10-08T08:24:00.000-04:002007-10-08T08:24:00.000-04:00lennart: One can hope most users' experience will ...lennart: One can hope most users' experience will allign with the author of the piece you quote, whose last paragraph begins "For me, it’s looking good. I can’t find that many obvious problems that isn’t easily fixable [sic]".<BR/><BR/>I suspect you are being unduly alarmist. These issues have been addressed at the highest possible level: look at Guido's post-PyCon blog, starting at <A HREF="http://www.artima.com/weblogs/viewpost.jsp?thread=197203" REL="nofollow">For me personally, this conference signified the coming together of the Python 3000 project</A>. You can, of course, take it up personally with Guido there too, but the issues you raise are good ones to cover in a web seminar, where people may not have been as closely in touch with development. [It gets hard to follow sometimes, as I know as well as anyone].<BR/><BR/>People need to see a clear migration path.Stevehttps://www.blogger.com/profile/15732819755000554717noreply@blogger.comtag:blogger.com,1999:blog-496482.post-84559782417582929222007-10-08T04:52:00.000-04:002007-10-08T04:52:00.000-04:00Th epossibility is that Guido & Co provides a prac...Th epossibility is that Guido & Co provides a practical upgrade path. So far they have flat out refused. I have no idea what could make them change their mind.<BR/><BR/>http://regebro.wordpress.com/2007/06/23/python-3000-and-compatibility/<BR/><BR/>If we take Catherines question above, how you start making code that runs on on Python 3.0 now, the question is: You don't. You can not today make code that is runnable on 3.0 and still run it on 2.x. When 2.6 comes, some if the thing will be available via __future__ (ie the print() function and some more stuff) but it seems most people agree that it will not be practically possible to write code that runs on both 2.6 and 3.0. The overlap is too small.<BR/><BR/>And if this is the case, it will in practice means that one of the largest Python communities around: The Zope/Plone community, will probably have to stay on 2.x forever.<BR/><BR/>Or, well... Maybe people who want more compatibility can make a completely unauthorized Python 2.7 that actually has a useful level of forward compatibility. That might be an option: Fork Python 2...Lennart Regebrohttps://www.blogger.com/profile/08337807480455483637noreply@blogger.comtag:blogger.com,1999:blog-496482.post-40983446937441457612007-10-07T11:50:00.000-04:002007-10-07T11:50:00.000-04:00Shall we just say I'm skeptical of "... never ever...Shall we just say I'm skeptical of "... never ever ... except ..." statements by prejudice? So there <I>is</I> a possibility, and we are talking about its magnitude, right?<BR/><BR/>Like, "it might be difficult"? Sure it might. Who knows?Stevehttps://www.blogger.com/profile/15732819755000554717noreply@blogger.comtag:blogger.com,1999:blog-496482.post-38178728547666240832007-10-07T09:41:00.000-04:002007-10-07T09:41:00.000-04:00I will switch As Soon As Possible, which is to say...I will switch As Soon As Possible, which is to say: Never, since most stuff in the Zope world can never ever move to Zope 3 unless there is a reasonable migration path which does not include maintaining two separate codebases as the same time.Lennart Regebrohttps://www.blogger.com/profile/08337807480455483637noreply@blogger.comtag:blogger.com,1999:blog-496482.post-62175870959417604372007-10-07T07:48:00.000-04:002007-10-07T07:48:00.000-04:00Bill: OK, but I can't finish writing that piece un...Bill: OK, but I can't finish writing that piece until you *do* define enough. I suppose I'll have to ask the authors of those projects when they plan to port, then.<BR/><BR/>Catherine: I think it will be quite tricky to maintain compatibility between 2.5 and 3.0, as many of the advanced features aren't going to be backported until 2.6. Nevertheless I will try to find out what the best strategy is.Stevehttps://www.blogger.com/profile/15732819755000554717noreply@blogger.comtag:blogger.com,1999:blog-496482.post-13111833091049676512007-10-07T00:01:00.000-04:002007-10-07T00:01:00.000-04:00ASAP, I'd like to start writing code that will run...ASAP, I'd like to start writing code that will run on 2.5+ or 3.0 - through "from future import" commands, perhaps? How do I do that?Anonymoushttps://www.blogger.com/profile/12229578427522022392noreply@blogger.comtag:blogger.com,1999:blog-496482.post-81852900439159668632007-10-06T16:44:00.000-04:002007-10-06T16:44:00.000-04:00My answer is that I'll switch as soon as I can hav...My answer is that I'll switch as soon as I can have, or have replacements for, enough of {ipython, numpy, PIL, cherrypy, reportlab, MySqlDB}, where I define "enough".<BR/><BR/>Libraries > languageBill Millhttps://www.blogger.com/profile/10065077215311205545noreply@blogger.com