jayvdb added a subscriber: jayvdb. jayvdb added a comment.
This doesnt quite solve the bug, but it almost does by making __iter__ stateless . that should mean the iterator's second run is identical to the first, unless data has changed.
https://gerrit.wikimedia.org/r/#/c/176013/
TASK DETAIL https://phabricator.wikimedia.org/T85204
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: Aklapper, Daviskr, valhallasw, jayvdb, pywikipedia-bugs