Steven D'Aprano wrote: > On Tue, 15 Aug 2006 13:16:27 -0700, beliavsky wrote: > > >>The current beta version of Python is 2.5 . How can a Python programmer >>minimize the number of changes that will be needed to run his code in >>Python 3000? In general, he should know what is being removed from >>Python 3000 and if possible use the "modern" analogs in Python. > > > In general, you can't, as Python 3000 hasn't been nailed down yet. > > You shouldn't be asking "How do I write for a language that doesn't exist > yet?" but instead should ask: > > (1) How far away is Python 3000? > > Years away, although not that many years. Three? Four? > Two.
> (2) Will there be automated tools for converting source code from Python 2 > to Python 3000? > > Almost certainly. > Yes. > (3) Once Python 3000 is released, will Python 2 still be supported and if > so, for how long? > > I'm sure there will be a nice long transition period, and if the Python > developers don't want to support Python 2, it will be a wonderful > opportunity for some commercial operation to charge for support. For the answers to questions like these see http://video.google.com/videoplay?docid=-6459339159268485356 which is Guido's rehearsal for his OSCON presentation on Python 3000. regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC/Ltd http://www.holdenweb.com Skype: holdenweb http://holdenweb.blogspot.com Recent Ramblings http://del.icio.us/steve.holden -- http://mail.python.org/mailman/listinfo/python-list