This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients abacabadabacaba, rhettinger
Date 2010-04-18.17:33:14
SpamBayes Score 4.4427605e-05
Marked as misclassified No
Message-id <1271611998.81.0.0303742488908.issue8420@psf.upfronthosting.co.za>
In-reply-to
Content
> One solution is to check that so->mask didn't 
> change as well. 

I saw that and agree it would make a tighter check, but haven't convinced myself that it is necessary.

> Also, checking that refcnt > 1 is redundant 
> because if entry->key == startkey then there 
> are at least two references: one from entry->key 
> and another from startkey.

It is a meaningful check.  We have our own INCREF
and one for the key being in the table.  If the
count is 1, then it means that the comparison
check deleted the key from the table or replaced
its value (see issue 1517).
History
Date User Action Args
2010-04-18 17:33:19rhettingersetrecipients: + rhettinger, abacabadabacaba
2010-04-18 17:33:18rhettingersetmessageid: <1271611998.81.0.0303742488908.issue8420@psf.upfronthosting.co.za>
2010-04-18 17:33:15rhettingerlinkissue8420 messages
2010-04-18 17:33:14rhettingercreate