[Python-Dev] PEP 3102: Keyword-only arguments

Fred L. Drake, Jr. fdrake at acm.org
Mon May 1 15:30:22 CEST 2006


On Sunday 30 April 2006 22:50, Edward Loper wrote:
 > I see two possible reasons:

Another use case, observed in the wild:

   - An library function is written to take an arbitrary number of
     positional arguments using *args syntax.  The library is released,
     presumably creating dependencies on the specific signature of the
     function.  In a subsequent version of the function, the function is
     determined to need additional information.  The only way to add an
     argument is to use a keyword for which there is no positional
     equivalent.


  -Fred

-- 
Fred L. Drake, Jr.   <fdrake at acm.org>


More information about the Python-Dev mailing list