new reserved words in 2.0

Jim Althoff jima at aspectdv.com
Mon Sep 18 14:59:57 EDT 2000


Uh-oh.  Have the famous "xxx-ly y'rs - tim" pearls been permanently
lost all because of the postings of two curmudgeons?

Say it ain't so, Joe!  (Because I'm a big fan!)

Jim


At 11:42 AM 9/18/00 -0400, Tim Peters wrote:
>[dmost at magna.com.au]
> > are copyright, credits and license now reserved words in Python 2.0?
>
>No.
>
>C:\Code\python\dist\src\PCbuild>python
>Python 2.0b1 (#5, Sep 17 2000, 10:24:34) [MSC 32 bit (Intel)] on win32
>Type "copyright", "credits" or "license" for more information.
> >>> copyright
>Copyright (c) 2000 BeOpen.com.
>All Rights Reserved.
>
>Copyright (c) 1995-2000 Corporation for National Research Initiatives.
>All Rights Reserved.
>
>Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
>All Rights Reserved.
>
> >>> copyright = 42
> >>> copyright
>42
> >>> del copyright
> >>> copyright
>Copyright (c) 2000 BeOpen.com.
>All Rights Reserved.
>
>Copyright (c) 1995-2000 Corporation for National Research Initiatives.
>All Rights Reserved.
>
>Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
>All Rights Reserved.
>
> >>>
>
>As that suggests, they're simply new builtin names, and your names shadow
>them.
>
>
>
>--
>http://www.python.org/mailman/listinfo/python-list





More information about the Python-list mailing list