Message247647
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:09 | eric.snow | set | recipients:
+ eric.snow, rhettinger, larry, Mark.Shannon, icordasc, Lukasa, xZise, jayvdb |
2015-07-30 03:07:09 | eric.snow | set | messageid: <1438225629.67.0.00135269634718.issue24667@psf.upfronthosting.co.za> |
2015-07-30 03:07:09 | eric.snow | link | issue24667 messages |
2015-07-30 03:07:09 | eric.snow | create | |
|