[issue26822] itemgetter/attrgetter/methodcaller objects ignore keyword arguments

Serhiy Storchaka report at bugs.python.org
Fri Apr 22 02:09:13 EDT 2016


Serhiy Storchaka added the comment:

> It really seems like methodcaller should allow additional arguments (positional and keyword though)

This is good argument for raising an exception. Wrong expectations can lead to incorrect code.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26822>
_______________________________________


More information about the Python-bugs-list mailing list