Re: Misleading wikipedia article on Python 3?
- From: Neil Cerutti <horpner@xxxxxxxxx>
- Date: Mon, 06 Aug 2007 10:49:36 GMT
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
.
- Follow-Ups:
- Re: Misleading wikipedia article on Python 3?
- From: Istvan Albert
- Re: Misleading wikipedia article on Python 3?
- References:
- Misleading wikipedia article on Python 3?
- From: John J. Lee
- Re: Misleading wikipedia article on Python 3?
- From: "Martin v. Löwis"
- Re: Misleading wikipedia article on Python 3?
- From: John J. Lee
- Re: Misleading wikipedia article on Python 3?
- From: "Martin v. Löwis"
- Re: Misleading wikipedia article on Python 3?
- From: John J. Lee
- Re: Misleading wikipedia article on Python 3?
- From: Carsten Haese
- Re: Misleading wikipedia article on Python 3?
- From: Paul Rubin
- Re: Misleading wikipedia article on Python 3?
- From: Neil Cerutti
- Misleading wikipedia article on Python 3?
- Prev by Date: pygtk how to get treeview row(name) from a popup menu
- Next by Date: Re: Something in the function tutorial confused me.
- Previous by thread: Re: Misleading wikipedia article on Python 3?
- Next by thread: Re: Misleading wikipedia article on Python 3?
- Index(es):
Relevant Pages
|