Thread:Manual talk:Pywikibot/Removed category is re-added/reply (2)

55165 could be related. If using the core branch, try replacing all occurrences of in pywikibot/page.py with