Misleading wikipedia article on Python 3?

Neil Cerutti horpner at yahoo.com
Mon Aug 6 06:49:36 EDT 2007


On 2007-08-06, Neil Cerutti <horpner at yahoo.com> wrote:
> On 2007-08-06, Paul Rubin <http> wrote:
>> Carsten Haese <carsten at uniqsys.com> 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



More information about the Python-list mailing list