[Python-3000] Library Change Request: change functools.partial.keywords to kwargs

Brett Cannon brett at python.org
Tue Feb 19 21:03:31 CET 2008


On Feb 19, 2008 11:54 AM, hashcollision <hashcollision at gmail.com> wrote:
> I have a library change request: currently partial Objects created by
> functools.partial has the "keywords" attribute. However, the standard
> name for something like it is kwargs. I request that it be renamed to
> "kwargs".

-1

The change has minor benefit while breaking code in the process. If
you want this to happen it is going to take at least a full release
cycle of having a deprecation warning on the old attribute name and I
still don't see enough benefit to bother.

-Brett


More information about the Python-3000 mailing list