in core
def blockuser(self, user, expiry, reason, anononly=True, nocreate=True, autoblock=True, noemail=False, reblock=False):
in compat
def block(self, expiry=None, reason=None, anon=True, noCreate=False,
onAutoblock=False, banMail=False, watchUser=False,
allowUsertalk=True, reBlock=False, hidename=False):The option allowusertalk seems to be available in the api: https://test.wikipedia.org/w/api.php?action=help&modules=block
Should be implemented in Pywikibot too. Do have to take care of https://www.mediawiki.org/wiki/Manual:$wgBlockAllowsUTEdit (might explain why this isn't implemented in Pywikibot)
now how can i do the block and allowUsertalk=True?