[Python-Dev] PEP 362 Third Revision

Ethan Furman ethan at stoneleaf.us
Fri Jun 15 00:47:45 CEST 2012


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~


More information about the Python-Dev mailing list