> Providing you can live with adding a pair of parentheses to that, you can > have: > > def print(*args): > sys.stdout.write(' '.join(args) + '\n') > > I think the language would be cleaner if it lacked this weird exception for > `print`.
Charles, I agree that it would be cleaner. I just don't think cleanliness is all that interesting -- usefulness trumps it every time. And if cleanliness was the answer, there would be larger changes to make -- like removing all the syntax variations by standardizing on a common syntax like Lisp's. Bill _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com