It is a slight extension from that task, but hopefully giving it a new task with a better explanation will break the deadlock, as other patches in Gerrit depend on that patchset.
Here is what the current code does, as is explained in the docstring.
$ python Python 2.7.5 (default, Apr 10 2015, 08:09:05) [GCC 4.8.3 20140911 (Red Hat 4.8.3-7)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pywikibot >>> s = pywikibot.Site('wikidata', 'wikidata').data_repository() >>> i = pywikibot.ItemPage(s, 'Q66') >>> i.get(True, False, 'foo') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "pywikibot/page.py", line 3730, in get data = super(ItemPage, self).get(force=force, *args, **kwargs) TypeError: get() got multiple values for keyword argument 'force' >>> i.get(force=force, get_redirect=True, 'foo') File "<stdin>", line 1 SyntaxError: non-keyword arg after keyword arg
The errors are identical in Python 3.
As far as I know, there is no way that WikibasePage.get could support passing args into DataSite.loadcontent.
Is there some incantation where using args works and needs to be supported?