[Python-Dev] PEP 362 Third Revision (original) (raw)
Ethan Furman ethan at stoneleaf.us
Fri Jun 15 00:47:45 CEST 2012
- Previous message: [Python-Dev] PEP 362 Third Revision
- Next message: [Python-Dev] PEP 362 Third Revision
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 NAMEDPOSITIONAL - normal parameter VARPOSITIONAL - *args KEYWORD - keyword only VARKEYWORDS - **kwds
I could live with this, too -- as long as we lose the 'S' on 'VAR_KEYWORDS'. :)
Ethan
- Previous message: [Python-Dev] PEP 362 Third Revision
- Next message: [Python-Dev] PEP 362 Third Revision
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]