Commonly-used names in the Python standard library
Marko Rauhamaa
marko at pacujo.net
Thu Feb 20 05:22:29 EST 2014
Chris Angelico <rosuav at gmail.com>:
> In working on a proposal that might result in the creation of a new
> keyword,
I'm looking forward to the day when every application can add its own
keywords as is customary in Lisp.
> I needed to ascertain what names were used extensively in existing
> Python code
One advantage of Perl is that names and keywords are in separate
namespaces so introducing new keywords is easy.
Should Python have something like:
from py35 import *
That way, you could choose between:
unless x > 7:
return
and:
py35.unless x > 7:
return
in case you have already made use of the name "unless" in your program.
Marko
More information about the Python-list
mailing list