Author pitrou
Recipients Aaron.Meurer, BreamoreBoy, amaury.forgeotdarc, anacrolix, asvetlov, brechtm, eric.snow, ezio.melotti, giampaolo.rodola, jcea, josh.r, kachayev, meador.inge, pitrou, poke, rhettinger, scoder, serhiy.storchaka, skrah
Date 2014-08-06.15:34:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1407339241.92.0.610376821237.issue14373@psf.upfronthosting.co.za>
In-reply-to
Content
I think a lock is still needed for cache misses. The dict operations (set and del) can release the GIL (as well as course as the PyObject_Call()), therefore you might end up with duplicate list links for a given key.

(and given cache misses are supposed to be much more expensive anyway, I don't think acquiring a lock there is detrimental)
History
Date User Action Args
2014-08-06 15:34:01pitrousetrecipients: + pitrou, rhettinger, jcea, amaury.forgeotdarc, scoder, giampaolo.rodola, ezio.melotti, asvetlov, poke, skrah, meador.inge, anacrolix, Aaron.Meurer, BreamoreBoy, eric.snow, serhiy.storchaka, brechtm, kachayev, josh.r
2014-08-06 15:34:01pitrousetmessageid: <1407339241.92.0.610376821237.issue14373@psf.upfronthosting.co.za>
2014-08-06 15:34:01pitroulinkissue14373 messages
2014-08-06 15:34:01pitroucreate