[Python-Dev] PEP 362 Third Revision
Benjamin Peterson
benjamin at python.org
Fri Jun 15 00:37:44 CEST 2012
2012年6月14日 Nick Coghlan <ncoghlan at gmail.com>:
> 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
Probably POSITIONAL should be the normal one, and there should be
ONLY_POSITIONAL for the weirdos.
--
Regards,
Benjamin
More information about the Python-Dev
mailing list