FEEDBACK WANTED: Type/class unification
Skip Montanaro
skip at pobox.com
Wed Aug 1 15:30:29 EDT 2001
Christian> arg-name pro con
Christian> -------------------------------------------------------------
Christian> class obvious meaning clash with keyword
...
Christian> As the first argument can immediately signify a class method
Christian> if the same name is used by everybody it would be nice if an
Christian> uncontentious name popped up.
I just noticed this thread. Perhaps it's already been suggested, but I
think Python's parser could easily be modified to recognize "class" as the
first parameter in a method function's argument list. There has been talk
in python-dev off-and-on about relaxing Python's keywords-can't-be-names
rules. This might be a good time to revisit it.
Skip
More information about the Python-list
mailing list