Automatik added a comment.
In the meantime I resolved the problem by adding the variable "password_file" to my user-config.py, and I'm going to migrate to core as soon as possible (via pywikibot/core/scripts/maintenance/compat2core.py (which is not complete since it does'nt convert function names when they are used via "from wikipedia import *"). Thank you for the aid proposal.
TASK DETAIL https://phabricator.wikimedia.org/T100980
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb, Automatik Cc: jayvdb, Sitic, Aklapper, Automatik, Anshoe, pywikipedia-bugs