Tgr added a comment.
Stepping the code through in a debugger reveals that the cookie jar <https://docs.python.org/3/library/http.cookiejar.html> calls made by Pywikibot do not use the `ignore_discard` flag, ie. do not save/load session cookies. Since bot password cookies are always session cookies (unlike traditional login where checking the "keep me logged in" box adds a non-session-cookie), such logins are never saved. TASK DETAIL https://phabricator.wikimedia.org/T261066 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Tgr Cc: Xqt, Xiplus, Mpaa, Dvorapa, Aklapper, pywikibot-bugs-list, Tgr, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
