Python 3.0a1 released
Posted Aug 31, 2007 23:01 UTC (Fri) by
Lobais (guest, #36605)
In reply to:
Python 3.0a1 released by mikachu
Parent article:
Python 3.0a1 released
Fair talk. Anyhow the name shouldn't be the important point.
I think much of what they are doing with the language is nice, like the greater focus on iterators instead of lists. I very much like the "a, b, *rest = iterator" syntax.
However I really don't see the motivation for those print statement changes:
# Also, print and print (x, y) behave differently without warning: the former used to add a newline in 2.x, but does nothing in 3.0; the latter used to print the repr() of a tuple in 2.x, but prints the individual values in 3.0.
# Youll be finding yourself typing print x a lot in interactive mode. Time to retrain your fingers. :-)
I kinda liked the old way, and they refer to no PEP's for the changes. Do you know why they did this?
(
Log in to post comments)