Why has python3 been created as a seperate language where there is still python2.7 ?

Roy Smith roy at panix.com
Wed Jun 27 07:45:46 EDT 2012


In article <mailman.1503.1340677684.4697.python-list at python.org>,
 rantingrickjohnson at gmail.com wrote:

> On Monday, June 25, 2012 5:10:47 AM UTC-5, Michiel Overtoom wrote:
> > It has not. Python2 and Python3 are very similar. It's not like if
> > you learn Python using version 2, you have to relearn the language
> > when you want to switch Python3.  The syntax is the same, only
> > 'print' is a function instead of a statement.
> 
> However, there is something to be said for "old habits die hard". I myself 
> lament every time i must type->(, then blah, then->) AGAIN!. My fingers are 
> hardwired for the old print statement. Damned that Guido and his mind games!

On the other hand, I hate it (in P2) when I want to change a print to a 
pprint and have to add the parens, then take them back out when I want 
to go back to plain print.



More information about the Python-list mailing list