Nick Coghlan wrote:
I like the idea of a kind attribute, I don't like the current names for the possible values.

At the very least, "positional only" needs to be supported to handle nameless parameters in C functions (or those that unpack *args internally)

The level of abbreviation used also seems unnecessary and internally inconsistent.

My proposal:
POSITIONAL- positional only
NAMED_POSITIONAL - normal parameter
VAR_POSITIONAL - *args
KEYWORD - keyword only
VAR_KEYWORDS - **kwds

I could live with this, too -- as long as we lose the 'S' on 'VAR_KEYWORDS'. :)

~Ethan~
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to