This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author llllllllll
Recipients abarry, llllllllll, martin.panter, matrixise, serhiy.storchaka
Date 2015-12-02.07:52:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1449042757.34.0.987214915065.issue25770@psf.upfronthosting.co.za>
In-reply-to
Content
I agree that it is a strange name and I also think that it could be immutable or a copy of the internal dict; however, I think that consistency with existing APIs in the standard library is more important. 'keywords' is still very clear in context and is used in 'functools.partial'. This feature is very similar to 'partial' so I would like to follow the example set there.

I would not mind changing 'partial' to reflect this feedback; but, I imagine that will break people's code and be a harder sell. I would find it frustrating if 'partial' and 'methodcaller' spelled 'keywords' differently or had slightly different behavior when it comes to the keyword argument dictionary. Allowing the mutation is not that unintuitive if you look at the simple python translation I added to the docs.
History
Date User Action Args
2015-12-02 07:52:37llllllllllsetrecipients: + llllllllll, martin.panter, serhiy.storchaka, matrixise, abarry
2015-12-02 07:52:37llllllllllsetmessageid: <1449042757.34.0.987214915065.issue25770@psf.upfronthosting.co.za>
2015-12-02 07:52:37lllllllllllinkissue25770 messages
2015-12-02 07:52:37llllllllllcreate