On 2007-08-06, Neil Cerutti <[EMAIL PROTECTED]> wrote:
> On 2007-08-06, Paul Rubin <http> wrote:
>> Carsten Haese <[EMAIL PROTECTED]> 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
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to