[Python-3000] educational aspects of Python 3000

Steven Bethard steven.bethard at gmail.com
Wed Sep 13 04:47:02 CEST 2006


On 9/12/06, Raymond Hettinger <rhettinger at ewtllc.com> wrote:
> Ron Adam wrote:
> >Maybe "input" can be depreciated in 2.x with a messages to use eval(raw_input())
> >instead.  That would limit some of the confusion.
>
> Let me take this opportunity to articulate a principle that I hope this
> group will adopt, "Thou shalt not muck-up Py2.x in the name of Py3k."

I agree 100% with this principle.  But "input" could definitely get a
warning when the Python 2.x --warn-me-about-python-3-incompatibilities
switch is given.  Guido's already suggested that, for example, using
the result of dict.items() for anything other than iteration should
issue such a warning.

STeVe
-- 
I'm not *in*-sane. Indeed, I am so far *out* of sane that you appear a
tiny blip on the distant coast of sanity.
        --- Bucky Katt, Get Fuzzy


More information about the Python-3000 mailing list