Trying to choose between python and java
Robert Kern
robert.kern at gmail.com
Tue May 15 15:07:22 EDT 2007
sturlamolden wrote:
> On May 15, 7:29 pm, Beliavsky <beliav... at aol.com> wrote:
>
>> print "Hello, world."
>>
>> a substantial fraction of Python programs in existence, including all
>> of my programs, will be broken. Draw your own conclusions.
>
> In the vent that your Python 2.x install will be fubar and suddenly
> stop working the day Python 3k is released: how difficult will it be
> it to make a Python 3k script that corrects your code?
It's worth mentioning that providing such a script is of high priority for the
Python 3.0 team. They've already implemented the translation for print
statements, too:
http://svn.python.org/view/sandbox/trunk/2to3/
http://svn.python.org/view/sandbox/trunk/2to3/fixes/fix_print.py?rev=54501&view=auto
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Python-list
mailing list