Aahz <[EMAIL PROTECTED]> wrote: > > On Mon, Aug 14, 2006, Guido van Rossum wrote: > > On 8/14/06, Nick Coghlan <[EMAIL PROTECTED]> 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.
At least 40 examples of it being used in a keyword argument in the 2.5b2 standard library (so sayeth my regular expression of '\((.*?\s)?_\w*=' ). - Josiah _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
