[Python-3000] PEP3102 Keyword-Only Arguments (original) (raw)
Aahz aahz at pythoncraft.com
Tue Aug 15 05:37:59 CEST 2006
- Previous message: [Python-3000] PEP3102 Keyword-Only Arguments
- Next message: [Python-3000] PEP3102 Keyword-Only Arguments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Aug 14, 2006, Guido van Rossum wrote:
On 8/14/06, Nick Coghlan <ncoghlan at gmail.com> wrote:
However, I'm also wondering if we need an actual syntax, or if a simple convention would do the trick: start the names of positional-only arguments with an underscore. Hm... and perhaps we could forbid keyword arguments starting with an underscore in the call syntax?
Do you mean forbid by convention or syntactically? I'm -1 on the latter; that would be far too much gratuitous code breakage.
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." --Brian W. Kernighan
- Previous message: [Python-3000] PEP3102 Keyword-Only Arguments
- Next message: [Python-3000] PEP3102 Keyword-Only Arguments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]