Page MenuHomePhabricator

put_throttle can only be an integer
Closed, ResolvedPublicFeature

Description

Value for put_throttle variable in user-config.py can only be an integer, what is caused by strict type selection in pywikibot/bot.py at line 781. Ideally this variable should accept both int and float values to support very high volume editing e.g. on 3rd party wikis where bots have noratelimit permission.

Event Timeline

Xqt triaged this task as Low priority.Dec 10 2020, 1:08 AM
Xqt changed the subtype of this task from "Task" to "Feature Request".

Change 647653 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [IMPR] put_throttle may be given as float

https://gerrit.wikimedia.org/r/647653

Change 647653 merged by jenkins-bot:
[pywikibot/core@master] [IMPR] put_throttle may be given as float

https://gerrit.wikimedia.org/r/647653

Xqt claimed this task.