Re: Misleading wikipedia article on Python 3?



On 2007-08-06, Neil Cerutti <horpner@xxxxxxxxx> wrote:
On 2007-08-06, Paul Rubin <http> wrote:
Carsten Haese <carsten@xxxxxxxxxxx> writes:
For instance, if you never use print statements in your code,
you won't notice that print is becoming a function. If you
do, you'll have to make appropriate accommodations.

Why on earth did they make this change? It just seems
gratuitous. Is the assert statement also being changed? Are
they going to update all the docs that say that the yield
statement works like the print statement?

From the footnotes of PEP 3100:

http://mail.python.org/pipermail/python-dev/2005-September/056154.html
http://www.python.org/dev/peps/pep-3105

Incidentally, from the second link I find it shocking that the
keyword parameter "file" shadows a builtin. It seems to endorse a
bad practice.

--
Neil Cerutti
.



Relevant Pages

  • Re: Misleading wikipedia article on Python 3?
    ... notice that print is becoming a function. ... appropriate accommodations. ... Why on earth did they make this change? ... Neil Cerutti ...
    (comp.lang.python)
  • Re: Misleading wikipedia article on Python 3?
    ... notice that print is becoming a function. ... appropriate accommodations. ... Why on earth did they make this change? ... Indeed: practicality beats purity. ...
    (comp.lang.python)
  • Re: Misleading wikipedia article on Python 3?
    ... Carsten Haese writes: ... notice that print is becoming a function. ... appropriate accommodations. ... Why on earth did they make this change? ...
    (comp.lang.python)
  • Re: 100 Years of Medical Robbery
    ... >monopoly for the purpose of dramatically increasing physician incomes. ... becoming the most formidable labor union on the ... >face of the earth." ...
    (sci.med)