Author eric.snow
Recipients Lukasa, Mark.Shannon, eric.snow, icordasc, jayvdb, larry, rhettinger, xZise
Date 2015-07-30.03:07:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It's starting to look like this is threading-related.  There's a single requests.Session defined as a module global in pywikibot.comms.http which is shared by all threads handling requests.  requests.Session uses OrderedDict for an LRU cache for redirects.  That's where we're running into trouble.

So it seems that I missed a spot that is susceptible to issues with threading (not necessarily in pop/popitem).  The catch is that it's not very racy.  The failure is reproducing quite consistently.

I'm going to continue investigating and constructing a simple reproducer.
Date User Action Args
2015-07-30 03:07:09eric.snowsetrecipients: + eric.snow, rhettinger, larry, Mark.Shannon, icordasc, Lukasa, xZise, jayvdb
2015-07-30 03:07:09eric.snowsetmessageid: <>
2015-07-30 03:07:09eric.snowlinkissue24667 messages
2015-07-30 03:07:09eric.snowcreate